About failed workflows

Workflows that fail to finish successfully end in a failed state called compensation.

A compensation workflow is a workflow that is executed if the defined workflow fails to run to completion. A workflow can fail due to unavailability of resources, such as an adapter, or when the workflow takes longer to complete than the allotted timeout value.

Every workflow or activity can have a compensation workflow defined.