Database Reference
In-Depth Information
Switch
Switch
and
While
activities are some of the examples of BPEL activities that
create dynamic relationships based on the runtime data. They provide conditional
branching with decision points based on the data.
Switch activity is very similar to the Java programming language's
switch
API. It
provides conditional branching. The following example depicts the typical structure
of a
switch
activity.
<Switch>
<case>
Evaluation condition - Do something and exit.
<case>
Evaluate condition - Do something and exit
<otherwise>