BPM Designer allows you to add a “rollback” operation to a workstep in a Business Process, 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 will be 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 Business Processes.
You can define a a rollback either by using the Compensation Flow type of connector or by using the workstep’s Properties view.