2.70 If Dialog - General Tab
Use to define conditional behavior for specific activities to decide between the execution of two or more branches.
Only one activity is selected for execution from a set of branches. The if activity consists of a list of one or more conditional branches that are considered for execution in the following order:
-
if branch
-
Optional elseif branches
-
Optional else branches
To add an elseif branch or another else branch, highlight the if activity and click the Add icon.
The first branch whose condition evaluates to true is taken, and its contained activity is performed. If no branch with a condition is taken, the else branch is taken (if present). The if activity is complete when the contained activity of the selected branch completes, or immediately when no condition evaluates to true and no else branch is specified.
Note: The if activity is supported in BPEL projects that support version 2.0 of the BPEL specification. This activity replaces the switch activity that was supported in version 1.1 of the BPEL specification.
For more information about the if activity, see the Web Services Business Process Execution Language Version 2.0 Specification at http://www.oasis-open.org
.
Element | Description |
---|---|
Name |
Enter a name or accept the default value of |
Expression Language |
Displays the XPath expression version and BPEL specification version of this BPEL project. This field cannot be edited. |
Condition |
Click the XPath Expression Builder icon to enter an if condition expression. |
Related Topics
Defining Conditional Branching with the If Activity in BPEL 2.0 in Developing SOA Applications with Oracle SOA Suite
BPEL Process Activities and Services in Developing SOA Applications with Oracle SOA Suite