Use the checkpoint system functions to roll back work item data field values and
processing to a previous step.
Guidelines for checkpoint placement and usage
In a workflow definition, place checkpoint system functions in the
following order: BeginCheckpoint, RollbackCheckpoint, and
EndCheckpoint.
BeginCheckpoint system function
Use this instruction to save the current values of the work item's data fields. These
values are retained until an EndCheckpoint or
RollbackCheckpoint executes.
RollbackCheckpoint system function
Use this instruction to mark the point at which saved data
values replace the current values in the data fields that are designated
for rollback. RollbackCheckpoint configuration
options determine both which data fields are to be rolled back and
where work item processing resumes after the rollback.
Wait behavior
When WaitForCondition runs, the workflow system checks
the system for a work item that matches the specified criteria. If no existing work item meets the
condition, the waiting work item is moved to the Delay system queue.