Table of Contents

Search

  1. Preface
  2. Part 1: Using Process Developer
  3. Part 2: Creating and Modifying Processes
  4. Part 3: Functions, Events, Errors, and Correlation
  5. Part 4: Testing and Deployment
  6. Part 5: Process Central and Process Server (On-Premises)

Process Developer

Process Developer

Using a Termination Handler for a Scope

Using a Termination Handler for a Scope

BPMN Implementation: Cancel catch event
Activities can be terminated in a process through fault handling, early termination via a completion condition on a parallel
forEach
or through the execution of a Process Developer extension break activity. The Scope is the only activity that provides a means to control what happens when an activity is terminated. The termination handler for a scope is enabled while the scope is executing its main activity or its event handlers. The termination handler is disabled as soon as the scope completes its execution or if the scope's fault handlers execute. If a scope is eligible for termination, the termination of a scope begins by terminating its primary activity and all running event handler instances. Following this, the custom
<terminationHandler>
for the scope runs. If there is no termination handler for the scope, the default termination handler executes.
The default termination handler is:
<terminationHandler> <compensate/> </terminationHandler>
For the main discussion of a scope's properties, see Scope.

0 COMMENTS

We’d like to hear from you!