Details
-
Fix
-
Status: Released (View Workflow)
-
Minor
-
Resolution: Fixed
-
2.5.9, 2.6.6, 2.7.0
Description
Current Situation
- Consider a workflow that holds a Retry Instruction which includes jobs.
- If an order fails in a job then it moves to the Retry Instruction and waits for the related delay (DELAYED_AFTER_ERROR).
JS-2110resolves the functional requirement that orders can be suspended while being attached to an Agent.JS-2110does not resolve the requirement that the suspend transition is immediately completed. Instead, the order is marked for suspension (waiting/suspending state) and will be suspended when the wait interval expired.
Desired Behavior
- Orders in a waiting state in a Retry Instruction that are delayed after an error should support to be immediately suspended.
- This is achieved by two operations performed by the API:
- Suspend Operation
- If an order is in the waiting state, then first a "suspend" operation is performed, then a "go" operation ("let run") is performed. As a result the wait interval is immediately completed and the order is suspended.
- Resume Operation
- If an order is in the waiting state, then similarly the "suspend" operation followed by a "go" operation is performed. Only then the "resume" operation is performed that starts from the suspended state. This resolves
JS-2132that occurs due to the fact that an order in the waiting/suspending state cannot change its position when being resumed. The order can change its position when being resumed from the suspended state.
- If an order is in the waiting state, then similarly the "suspend" operation followed by a "go" operation is performed. Only then the "resume" operation is performed that starts from the suspended state. This resolves
- Suspend Operation
Attachments
Issue Links
- is related to
-
JOC-1792 Orders hold the information being resumable and suspendible
- Released
-
JS-2132 Failed orders should be resumable from any position in a workflow if the offending job is skipped
- Released
- relates to
-
JOC-1763 Add operation to let run pending, scheduled and waiting orders
- Released
- requires
-
JS-2111 GoOrder command continues order waiting for timeout
- Released