Try OpenEdge Now
skip to main content
Application Developer's Guide
Developing applications with rollback support : Attributes of the compensatory enabled process
 

Attributes of the compensatory enabled process

The primary attributes of the compensatory enabled process are rollback point and dataslot selection. However, dataslot selection is an optional attribute. The other optional attributes are compensatory JavaScript and activate rollback points.
Once you set these attributes, execution of the rollback occurs when you set the rollback point so that if the current workstep fails under execution, then Business Process Server internally rollbacks to a specified point defined in this workstep.
To prepare the compensatory enabled process for activation, set the mandatory and optional attributes covered in the following sections.
* Creating rollback points
* Selecting dataslots for replacement
* Writing compensatory JavaScript code (optional)
* Activating rollback points (optional)