Skip to main content
Question

FeatureMerger with conditional parameters


Forum|alt.badge.img
I would like to know if it is possible use conditional value for the requestor and supplier in a FeatureMerger in order to achieve something like this:

 

 

IF Requestor's Attribute_A = 'some_value'

 

    JOIN Requestor's Attribute_A WITH Supplier's Attribute_A

 

ELSE

 

    JOIN Requestor's Attribute_B WITH Supplier'S Attribute_B

 

 

I have made many tryes, but it seems we cannot change the Supplier join attribute in function of the Requestor's attribute value.

3 replies

gio
Contributor
Forum|alt.badge.img+15
  • Contributor
  • January 28, 2015
The conditional relating is just a preselector of data to be related form suplier as wel as requestor based on a chosen attribute.

 

Attribute cannot be changed conditionally, only its value chosen.

 

 

 

 

takashi
Influencer
  • January 28, 2015
Hi Burton,

 

 

How about simply using two FeatureMergers? i.e. one for features that have "some_vaue" as Attribute_A, another for others.

 

You can branch the flow of requestor features into two streams by the Tester.

 

 

Takashi

Forum|alt.badge.img
  • Author
  • January 28, 2015
Ok thank you, actually I was asking that question to use one featureMerger instead of two. But anyway I dont think there would be a gain in speed...

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