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 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 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 - Long Running UI and provide instructions to save the plan in database.
  13. Plan is saved in database.
  14. Provide instructions to execute this plan.
  15. Plan is validated by using the validation framework provided by the server.
  16. If plan is valid then the orchestrator is notified with the final plan and it starts execution of the plan.
  17. If plan is not valid then application returns back specifying that plan is not valid and the plan can be corrected.

For amended order, a template plan is generated, which you can edit from the TIBCO Order Management - Long Running UI. This template plan can be generated in 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 amended order. A property with value TRUE indicates that existing plan is used as template plan for editing plan by 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 user
existingPlan Use existing old plan as template plan for this order