Skip to main content
Question

AttributeKeeper keeps the attribute only for the first feature


Hello,

I'd like to "remember" an attribute and use it to populate an attribute of another feature in the same execution.

I thought AttributeKepper would do the job (because of the name haha), but the value of the attribute is empty, except in the first pass through the breakpoint.

 

3 replies

caracadrian
Contributor
Forum|alt.badge.img+23
  • Contributor
  • January 19, 2022

Can you give us a more detailed example of what you would like to do? Maybe a sample of your work.


nielsgerrits
VIP
Forum|alt.badge.img+54

Do you want to use an attribute from a previous row? You can do this in an AttributeCreator using "Adjacent Feature Attributes":

AttributeCreatorParameters


  • Author
  • January 19, 2022

Many thanks guys!

I have sorted it out. The problem was, I had 2 attributes / features going to the Supplier port of a FeatureMerger. Both come from an particular AttributeKeeper. The flow looked like this:

feature_merger1When I added a dedicated FeatureMerger for both, the behavior was as expected.

Thank you for your time!

 


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