Processing Amended Order with Manual Order Plan Development Enabled

The sequence diagram for processing an amended order with Manual Order Plan Development enables is as follows:

Sequence Diagram for Processing Amended Order with Manual Order Plan Development Enabled

The following steps provide a high-level flow for manual order submission in case of amendment:

  1. Identify an order, which needs to be amended.
  2. Suspend the identified order. Order is suspended and the database is updated.
  3. Submit an amendment request.
  4. Orchestrator sends the amend order Request to Automated Order Plan Development, JMS, or third party for draft plan generation.
  5. Orchestrator receives the draft plan and stops the further execution until the final plan is not received.
  6. Search for the manual order, which needs to be edited manually.
  7. Retrieve the order details for manual order and gets order details in the Order Management Server UI.
  8. Traverse to the draft plan, which was saved earlier.
  9. Draft plan in UI is visible.
  10. Provide Instructions to get draft plan in UI. This provides an indication to the system that you want to edit the plan.
  11. Edit the plan by adding, modifying, or deleting plan item, milestones, and dependencies in the plan developed by Automated Order Plan Development.
  12. Edit the draft plan through the TIBCO® Order Management UI and provide instructions to save the plan in the database.
  13. Plan is saved in database.
  14. Provide instructions to run this plan.
  15. Plan is validated by using the validation framework provided by the server.
  16. If the plan is valid, then the orchestrator is notified with the final plan, and it starts execution of the plan.
  17. If the plan is not valid, then the application returns back specifying that the plan is not valid, and the plan can be corrected.

For the amended order, a template plan is generated, which you can edit from the TIBCO® Order Management UI. This template plan can be generated in the following ways:

  1. Using the existing plan
  2. New plan generated by the Automated Order Plan Development

The following property provides an indication whether the plan is generated by using Automated Order Plan Development or not:

<ConfValue description="Template for Mopd amendment plan generation" isHotDeployable="true" name="Template for Mopd amendment plan generation" propname="com.tibco.fom.orch.mopd.amendment.templatePlan" readonly="false" sinceVersion="3.0" visibility="Basic">
   <ConfString default="AOPD" value="AOPD" />
</ConfValue>

A property with value FALSE indicates that the existing plan is not used and a plan is generated by using Automated Order Plan Development for the amended order. A property with value TRUE indicates that the existing plan is used as a template plan for editing the plan by the user.

Property Name Value Purpose
com.tibco.fom.orch.mopd.amendment.templatePlan AOPD Template plan is generated by using Automated Order Plan Development for editing by the user.
existingPlan Use the existing old plan as a template plan for this order.