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 the <exit> activity and learned why and when to use <empty> activities.

Now that we are familiar with loops and conditions in BPEL, we will move on to asynchronous invocations, which is the topic of the next chapter.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset