Configuration
We can configure what the workflow engine should do in case of an incident through Incident Strategies.
Global
The default strategy is FaultStrategy
, but we can change it by setting the IncidentStrategy
property of the WorkflowOptions
class:
The default strategy will be used for all workflows that do not have a strategy configured explicitly.
Workflow Specific
We can configure the incident strategy for a workflow by setting the WorkflowOptions
property of the Workflow
class:
We can also configure the incident strategy for a workflow via Elsa Studio:
Last updated