Try OpenEdge Now
skip to main content
User's Guide
Setting workstep properties : Defining a Rollback
 

Defining a Rollback

Business Process Modeler allows you to add a “rollback” operation to a workstep in a Process Model, which has already been completed earlier in a process; that is, the workflow is restarted from the designated rollback workstep in the process. This process is required to restore the original information and eliminate the numerous changes that can occur to the process between the designated rollback workstep and the currently activated workstep.
To define the Rollback, you must set a workstep as a rollback point and specify which dataslot values are saved. In addition, you have the option of:
*Writing JavaScript code to handle a rollback request.
*Configuring an Activate workstep that, after the rollback is performed, activates the given workstep and returns to the same state as when that workstep was first performed.
In a rollback, the workflow is restarted from the workstep selected as the rollback point in the process. You can only apply a rollback point to Activity, Adapter and Subprocess worksteps in Process Models.
You can define a a rollback by using the Compensation Flow type of connector.
* Using the Compensation Flow connector