Details
-
Fix
-
Status: Released (View Workflow)
-
Major
-
Resolution: Fixed
-
None
-
None
Description
Current Situation
- If a Fail Instruction using the "uncatchable: true" setting is used inside of a Retry Instruction then the "uncatchable" setting is not considered and the order is retried.
- Negative test case to reproduce the error:
- The Else branch of the If Instruction includes the Fail Instruction using "uncatchable: true" which is not considered. Instead, the error is caught by the Retry Instruction and the order is retried.
- Controller Workflow JSON representation: pdwRetryCatchOnReturnCode.controller.workflow.json
- JOC Cockpit Workflow JSON representation: pdwRetryCatchOnReturnCode.workflow.json
- Positive test case to work around the error:
- Introducing an Options Instruction with the "stopOnFailure: true" setting works around the error: the order will remain with the Fail Instruction in a failed stated.
- Controller Workflow JSON representation: pdwRetryCatchOnReturnCodeOptions.controller.workflow.json
- JOC Cockpit Workflow JSON representation: pdwRetryCatchOnReturnCodeOptions.workflow.json
Desired Behavior
- A Fail Instruction using the "uncatchable: true" setting should make an order fail without being retried by an outer Retry Instruction.
- This corresponds to the behavior observed when using an Options Instruction as given with the above positive test case.