Flow
You use a Flow activity to provide a container where enclosed activities can execute concurrently. Activities within a Flow start at the same time as the Flow and the Flow completes when the activities are complete. Basically, a Flow activity, through links, provides concurrency and sychronization.
For example, if you wanted a process that made sure you had approval from two parties before a transfer of funds activity took place, you could have two Invoke activites run concurrently when the Flow starts. If both of these Invokes require a response, the Flow completes when both parties respond. Then, the other Invoke, transferFunds, executes.
You can use links within a Flow to define dependencies between activities and control the order in which they execute. See Using Links for more information.
To add a Flow:
- From the Palette, drag a Flow to the BPEL Editor.
-
Drag an activity, such as Receive, inside the Flow.
You can continue to drag other activities into the Flow that you want to execute concurrently.
-
Define the properties for each activity in the Flow.
More information