Book Image

WS-BPEL 2.0 Beginner's Guide

Book Image

WS-BPEL 2.0 Beginner's Guide

Overview of this book

Table of Contents (19 chapters)
WS-BPEL 2.0 Beginner's Guide
Credits
About the Authors
About the Reviewers
www.PacktPub.com
Preface
Index

Time for action – executing <forEach> in parallel


To change our example to execute the <forEach> loop in parallel, we need to do the following:

  1. Double-click the <forEach> activity in the BookOrderForEach BPEL process. The Edit For Each dialog window will appear.

  2. Check the Parallel Execution checkbox:

What just happened?

We have modified our BookOrderForEach BPEL process to execute the <forEach> loop in parallel. This results in the following declaration in the source code:

The <forEach> loop will now execute in parallel. You can observe this in the audit trail on the process server.