Skip to main content
Question

swap value with criteria

  • April 7, 2020
  • 1 reply
  • 8 views

Forum|alt.badge.img

Hello

 

 

I can't find a simple solution for the scenario below:

 

if you look on the diagramm, I want to put my uuid value with fk_type=1 in the fk_parent_uuid field when fk_type=2

 

but I make a big package of spaghetti instead

 

Would you have a brilliant idea ?

 

thanks

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.

1 reply

fmelizard
Safer
Forum|alt.badge.img+20
  • Safer
  • 3719 replies
  • April 7, 2020

Hi @jerome If you need the attribute from the previous record then Enable Adjacent Feature Attributes in the AttributeManager.

If you need to set fk_parent_uuid to the value of uuid where fk_type_ = 1 - for all following records where fk_type = 2, then use a VariableSetter and VariableRetriever. You'll need a Tester on fk_type_ - warning! be sure to set the Advanced parameter Preserve Feature Order to 'Across Output Ports'