Guidelines for checkpoint placement and usage

Checkpoint system functions should be placed in a workflow definition in the following order:

  1. BeginCheckpoint — save the work item data fields specified in the corresponding RollbackCheckpoint.
  2. A number of steps that might have some risk.
  3. A step that checks if the previous steps executed correctly, with a decision to either execute the rollback or end the checkpoint processing.
  4. RollbackCheckpoint-restore the saved data field values.
  5. EndCheckpoint — discard the saved data fields values.

See About checkpoint processing for additional information.

Placement

Usage considerations