Summary

In this chapter, we have learned about conditions in BPEL processes. We explained the syntax of the <if>, <elseif>, and <else> activities and we have shown an example of how to implement conditions.

We have also taken a close look at the loops. We have learned that BPEL provides three types of loops: <while>, <repeatUntil>, and <forEach>. The <forEach> loop also provides the ability to execute the loop instances in parallel. We have implemented the <while> and <forEach> loops, the latter in sequential and parallel ways.

We have also become familiar with delays, which can be useful in loops. With delays, we can specify a certain deadline or duration. We have learned how to specify both. Finally, we have seen how to end a BPEL process with ...

Get WS-BPEL 2.0 Beginner's Guide 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.