Service Development Help : Mapping Data in Flow Services : About Linking Variables : Linking Variables Conditionally : Linking Multiple Source Variables to a Target Variable
Linking Multiple Source Variables to a Target Variable
By applying conditions to the links between variables, you can link more than one source variable to the same target variable. When you draw more than one link to the same target variable, at most, only one of the conditions you apply to the links can be true at run time. The conditions must be mutually exclusive.
At run time, Integration Server executes all conditional links whose conditions evaluate to true. If more than one conditional link to the same target variable evaluates to true, the value of the target variable will be the result of whichever link executes last. Because the order in which links are executed at run time is not guaranteed, the final value of the target variable may vary.
Tip:  
If the conditions for links to the same target variable are not mutually exclusive, consider using a flow service containing a BRANCH step instead. In BRANCH steps, child steps are evaluated in a top to bottom sequence. Integration Server executes the first child step that evaluates to true and skips the remaining child steps. For more information about the BRANCH step, see The BRANCH Step.
Applying a Condition to a Link
Copyright © 2017 Software AG, Darmstadt, Germany. (Innovation Release)

Product LogoContact Support   |   Community   |   Feedback