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

Ending a process


Sometimes, in loops, we might want to immediately end a business process before it has finished. BPEL provides the <exit> activity to immediately terminate a process instance that is executing. Often, we use <exit> in conditional branches, where we need to exit a process when certain conditions are not met.

The <exit> activity ends the current business process instance and no fault and compensation handling is performed.

The syntax is very simple and is shown as follows:

<exit/>