Dynamic Parallel Flow

In Chapter 3 we became familiar with the <flow> activity, which enables to start several parallel activities. In our Travel process example we used <flow> activity to start two parallel sequences that acquired plane ticket offers from American and Delta Airline web services. As the operation invocations for the ticket offers were asynchronous, we had to use <receive> activities to wait for the callbacks.

The problem with the <flow> activity is that we need to know in advance how many parallel activities are required. The number of parallel activities is specified by the BPEL code. In several real-world use cases this is limiting, because the number of required parallel branches can depend on the information stored in a variable ...

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.