Terminate Activity

This activity enables you to end the tasks of an activity (for example, the fault handling tasks in a catch branch). For example, if a client's bad credit history is identified or a social security number is identified as invalid, a loan application process is terminated, and the client's loan application document is never submitted to the service loan providers.

Note:

  • The terminate activity is replaced by the exit activity in BPEL 2.0 projects.

  • Do not use the terminate activity with a synchronous BPEL process because it can lead to timeouts.

Figure A-43 shows several terminate activities in the otherwise branch of a switch activity.

For more information about the terminate activity, see Stopping a Business Process Instance with the Terminate Activity in BPEL 1.1.