Tip #93: When to cancel workflow

When a workflow needs to be stopped, workflow editor offers two choices: Succeeded and Canceled. The main difference is that Canceled status is considered to be an error which has the following implications:

  1. Log records are retained (if flag is set to retain logs for failed workflows).
  2. For real-time workflows the transaction the workflow is part of is rolled back and the entire operation fails.

In short, canceling workflow is considered to be abnormal termination and should only be used when something unexpected has happened, the entire operation should be canceled (for real-time workflows) and further investigation is warranted.

2 thoughts on “Tip #93: When to cancel workflow

  1. […] you decided to follow our previous tip and cancel workflows only when necessary, you may wonder what does the Set Properties button for […]

  2. […] you decided to follow our previous tip and cancel workflows only when necessary, you may wonder what does the Set Properties button for […]

Leave a Reply

Your email address will not be published. Required fields are marked *