Plan Item Execution Failed
This is the flow of events through standard order fulfillment with one or many process components indicating that execution of a plan item has failed. The sequence is shown in the following diagram:
Standard Order Fulfillment–Plan Item Execution Failed Sequence
- The order is submitted from Order Entry through the Orchestrator Submit Order interface. Note that this might use intermediate service layers. The order now has start status
- The orchestrator sends a request to Data Service to store the order. The order now has submitted status.
- The data service saves the order and returns a response to the orchestrator. The order now has feasibility status.
- If feasibility is enabled, the orchestrator sends a request to the feasibility provider to perform feasibility checking on the order.
- The feasibility provider might delegate the feasibility checking call to Validation as well as perform some internal checking.
- Validation returns the result of the order validation back to the Feasibility Provider.
- The feasibility Provider aggregates all order feasibility checks and concludes that the order is feasible and sends a response back to the Orchestrator.
- If feasibility is not enabled or the Feasibility Provider has returned the result then the order status is now Plan Development.
- The orchestrator sends a request to Automated Order Plan Development to analyze the order and design an execution plan.
- Automated Order Plan Development sends a response back to Orchestrator with the execution plan definition. The orchestrator then generates a plan based on this definition. The order now has execution status and the plan now has start status.
- The orchestrator sends a request to Data Service to store the plan. The plan now has submitted status.
- Data Service saves the plan and returns a response to the orchestrator. The plan now has pending status.
- The orchestrator changes the plan status to execution and begins invoking process components in the correct sequence. This is repeated for each plan item.
- The process component returns a response to the orchestrator for each invocation.
- If a Process Component response indicates that the invocation was incomplete or resulted in an error, the Orchestrator sends a request to the Plan Item Error Handler with the details of the plan item failure for manual intervention.
- The Plan Item Error Handler sends a response back to the Orchestrator with one of three possible actions:
- Complete the plan item and continue execution as normal.
- Resume the plan item from the point that the error occurred and continue execution as normal.
- Retry the plan item from the beginning and continue execution as normal.