Avoiding workflow failure

A failed workflow cannot be continued or restarted. If some information is crucial for next steps in the workflow, but the workflow should not fail, you can use the following approach.

For example: an API call determines the type of a product and that type is required to determine who should approve this item. You can perform these actions:

  • Assign an initial value, 'Unknown', to the Type parameter.
  • Select the Continue workflow without changing parameters option in the runtime settings of the API step.
  • After the API activity, add a decision flow to check the Type parameter. If it is still 'Unknown', send a task to a user to follow up. The user can, for example, look up the product type and specify it in the task.

API activity and flow diagram