ShouldFailedPlanItemSuspend Flag introduced
The default value of the
ShouldFailedPlanItemSuspend
flag is false. This flag is considered only in cases when the
ExternalErrorHandler
is configured.
Use-cases
When the Orchestrator sends an execute request to the process-component and based on certain logic, the process-component decides to reply with an error. In such cases, the request is forwarded to the configured
ExternalErrorHandler
which is a custom component.
Similarly, when a suspend request is sent by the Orchestrator to the process-component and the process-component replies with an error,
- If the
ShouldFailedPlanItemSuspend
flag is set to false, on receiving an error in a suspend reply from the process-component, the plan item is sent toExternalErrorHandler
. - If the
ShouldFailedPlanItemSuspend
flag is set to true, on receiving an error in a suspend reply from the process-component, the plan item is suspended.