Skip to main content
Best Answer

Change attribute based on dublicated id

  • June 3, 2019
  • 2 replies
  • 16 views

jugoslaviaa
Enthusiast
Forum|alt.badge.img+6

Hi all,

The image you can see the attribute table of my datasets. I would like to change the attribute position based on a logic like this

  • If the position of an object is UNDEFINED, I would like to find an object that has same _id value and then if the object with same _id's position is RIGHT, assign the position value as LEFT.
  • For example, the object with _id_rule 14 has position as UNDEFINED, so i would like the find the other object that has _id 11 (it is common in both object). In my case, It would be the object with _id_rule 10. Then I would like the check the position value of the object with _id_rule 10. If it is RIGHT, I would like to change UNDEFINED value to LEFT for the object with _id_rule 14

I have tried to use combination of tester & sampler but could not figure out so far. Any idea? Thanks in advance.

Best answer by takashi

If I understand the rules correctly, this workflow could work as well.

This post is closed to further activity.
It may be an old question, an answered question, an implemented idea, or a notification-only post.
Please check post dates before relying on any information in a question or answer.
For follow-up or related questions, please post a new question or idea.
If there is a genuine update to be made, please contact us and request that the post is reopened.

2 replies

jugoslaviaa
Enthusiast
Forum|alt.badge.img+6
  • Author
  • Enthusiast
  • June 3, 2019

I have solved it by using combination of NeigborFinder and Tester =)


takashi
Celebrity
  • Best Answer
  • June 4, 2019

If I understand the rules correctly, this workflow could work as well.