Get Order Status ASI

This workflow queries the outside application to retrieve the latest information on the order. It returns the new information and synchronizes the order on the current application.

Workflow Description

This workflow performs the following actions:

  1. Query Order By Id. Queries for the order on the current application using the object id. Returns an order property set containing all the order information.

  2. Isolate Integration ID. In the next step, the workflow will use a query by example. Query by example will take the property set and look for an order with the same exact values for the fields in the property set. If the order has changed on the outside application, then those values will no longer match. The workflow needs to query by a value that will not change, the integration ID. Isolate Integration Id takes in a property set and removes all the fields, except the integration ID

  3. External Order Proxy. Using the property set, which only has an integration ID, this step queries by example on the outside applications. After it finds the order with that integration ID, it returns an order property set containing all the order information.

  4. Synchronize Order. Takes the order property set returned by the previous step and synchronizes it with the order in the current application.