Defining conditions
You can specify conditions in If..Then and While Loop activities to define a criteria that must be met before the orchestration continues with that branch.
In most cases, conditions test the value of data in a message or in other variables defined within the orchestration. Use the Expression Builder to define conditions.
Expression Builder
The Expression Builder is used to define conditions for If..Then and While Loop activities. It is displayed beneath the orchestration, in the Property pane, when you select an If..Then or While Loop activity in the orchestration.
These conditions are boolean expressions that describe the criteria against which the Integration Appliance compares a message. During runtime, the result of this comparison determines the execution path through the orchestration. For a complete list of operators that you can use in the Expression Builder, see Valid Operators for Conditions. For more information about the order precedence of the conditions in the Expression Builder, see http://www.w3.org/TR/xpath#booleans.
The Expression Builder allows you to add, delete, and edit conditions as well as change their processing order.
- Click Add. A new condition displays beneath the existing list of conditions.
- To or the new condition with the previous condition in the link, right-click and select or from the list.
- Select the condition, then click Delete.
To edit a condition:
- Select any field in the Expression Builder and make your edits. If the Expression Builder is not displayed, click Use Builder. You can edit left-hand expressions, select operators, and right-hand expressions.
-OR-
- Click Advanced to directly edit XPath expression that defines the condition. For more information, see Basic Condition Syntax, Basic XPath Expressions, and bpws:getVariableData Function
- Select a condition in the Expression Builder and click the up or down arrows.