Skip to main content

Hi, everyone!

Maybe you could help me with transformers: VariableRetriever and VariableSetter. I need to test models for some parameters and make a report. So that's why I have several VariableSetter's and several VariableRetriever's. And when I run hole workspace one of them works wrong, and VariableSetter set parameter, but VariableRetriever doesn't receive it. But when I run only several transformers near VariableSetter and VariableSetter, everything is excellent and works right. What's wrong? Where could I find a problem? Or maybe there is another idea, how could I make a test "if at least one thing has special feature" then take this chain, and if not, I want to use another one. Any ideas? Thank you, everyone, in advance! Hope somebody could help me!!!

 

Consider using the FeatureMerger to transfer the attributes from one stream to the other. I've come to find VariableSetter/Retriever to be unreliable.


The important thing with VariableSetters and VariableRetrievers is to make sure the stream with the VariableSetter need to run before the stream with the VariableRetriever.

A FeatureMerger as suggested by @dustin​ can be a good alternative. Requestor and Supplier both set to 1 if you don't have an ID to merge by.


Reply