Mashups in MashZone NextGen Wires : Creating Mashups in Wires : Add If/Else Conditions : Execution Condition Limitations
Execution Condition Limitations
There are some specific limitations you must consider when constructing if/else logic in Wires:
*If you want only one condition to be met, all of the conditions must be mutually exclusive. The common usage for if/else logic in programming languages is to check each condition until one is found to be true. Once a condition is met, that clause is executed and all subsequent conditions are skipped.
With execution conditions in Wires, each branch is independent. Every branch is evaluated to determine if it should execute without regard to any other branch. If the conditions are not mutually exclusive, multiple branches will run.
*The mathematical operators, such as > or != are best used with numeric data . You may need to use casting functions, such as ToNumber, in the Data Decorator, Mapper or Transformer blocks to make sure that data is treated as numeric.
*Block conditions do not have a way to specify Else logic (no previous conditions are met). To handle the behavior you want if no conditions are met, you must define a condition that is the reverse of all other conditions. See If/Else Examples for an example.
Copyright © 2013-2016 Software AG, Darmstadt, Germany.

Product LogoContact Support   |   Community   |   Feedback