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

1 reply

fmelizard
Safer
Forum|alt.badge.img+19
  • Safer
  • 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'


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings