Suspend and Activate Order
The order can be suspended at any point during the fulfillment process.
- If the order is in any of the pre-EXECUTION states, it is suspended immediately.
- If the order is in EXECUTION state, the Orchestrator sends the suspend requests to all the process components associated with the plan items that are in execution state. At this time, order is moved to SUSPEDING state. These process components might either respond with an execution suspends response, if they can suspend the processing or execution complete response, if they cannot. Based on the response, the running plan items go into SUSPENDED or COMPLETE state. Finally, the order and plan state is changed to SUSPENDED.
- The orders that are in final states such as COMPLETE or CANCELLED or already in SUSPENDED state cannot be suspended again.
The suspended orders can be activated back into the EXECUTION state to proceed ahead with the fulfillment.
- If the order was in any of the pre-EXECUTION states before suspension, it is activated immediately, and processing carry on further.
- If the order was in EXECUTION state before suspension, the Orchestrator activates it by sending the activation requests for all the process components associated with the plan items that were SUSPENDED. Finally, the order and plan state is changed to EXECUTION.