Concurrent Activities and Links

In business processes activities often occur concurrently. In BPEL, such concurrent activities are modeled using the <flow> activity. Activities within <flow> start concurrently as soon as the <flow> is started. The <flow> completes when all nested activities complete. Gathering nested activities within <flow> is straightforward and very useful for expressing concurrency scenarios that are not too complicated. We have used it in the examples in this and the previous chapter.

To express more complex concurrency scenarios, <flow> provides the ability to express synchronization dependencies between activities. In other words, we can specify which activities can start and when (depending on other activities) and define ...

Get Business Process Execution Language for Web Services - Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.