Order Change On Cancel Edge action

The Order Change On Cancel Edge action is invoked by the ON_CANCEL event of the Change Order transaction on the edge deployment server. This action invokes the cancelOrderXML service, which sends the output messages to the same queue which is configured as a part of Order Confirm On Success Edge action.

About this task

The following steps describe how to locate the Order Change On Cancel Edge action in the Applications Manager.

Show me

Procedure

  1. From the Applications menu of the Applications Manager, click Application Platform.
  2. From the tree in the application rules side panel, double-click Process Modeling.
  3. Click the Order Fulfillment process type. The Repository Details window and work area display for the Order Fulfilment process type.
  4. Click the Actions tab.
  5. Expand the Edge Deployment branch.
  6. Right-click Order Change On Cancel Edge, and click details. The Action Detail window displays in the work area.

Configuring action on the ON_CANCEL event

About this task

The following steps describe how to configure action for the ON_CANCEL event of the Change Order transaction on the edge deployment server.

Show me

Procedure

  1. From the Applications menu of the Applications Manager, click Application Platform.
  2. From the tree in the application rules side panel, double-click Process Modeling.
  3. Click the Order Fulfillment process type. The Repository Details window and work area display for the Order Fulfilment process type.
  4. Click the Transactions tab.
  5. Right-click Change Order and click details.
  6. From the Events tab, right- click ON_CANCEL event and click details.
  7. Select the Is Active? checkbox to enable the ON_CANCEL event.
  8. Click OK.
  9. Double-click the ON_CANCEL event. The Event Handler Definition : ON_CANCEL screen is displayed which contains the OrderChange_OnCancel action.
  10. Navigate to the Conditions tab from the Repository Details window, and expand the Edge Deployment branch.
  11. Select the Is Edge Deployment Instance condition and drag it to the Event Handler Definition : ON_CANCEL screen
  12. Navigate to the Actions tab in the Repository Details window, and expand the Edge Deployment branch.
  13. Select the Order Change On Cancel Edge action and drag it to the Event Handler Definition : ON_CANCEL screen.
  14. In the Event Handler Definition : ON_CANCEL screen connect (True) the Is Edge Deployment Instance condition to the Order Change On Cancel Edge action.
  15. In the Event Handler Definition : ON_CANCEL screen, connect (False) the Is Edge Deployment Instance condition to OrderChange_OnCancel action.
  16. Click Save.

    The following figure shows how the Is Edge Deployment Instance condition is connected to the Order Change On Cancel Edge action and OrderChange_OnCancel action in the Event Handler Definition : ON_CANCEL screen.