Order Routing Runs

An order routing run is a record of one attempt by the Order Routing Engine to route an order. Each run shows which routing rules were checked, which locations and inventory were considered, and what happened: the shipping requests and exceptions that were created. Use routing runs to find out why an order was routed the way it was, or why it wasn't routed at all. Runs are read-only. To change the outcome, change your routing rules, locations or inventory, and the next run uses the new setup.


When a run is created

The Order Routing Engine creates a new run every time it evaluates an order, for example:

  • When a new order is ready to be routed.
  • When the engine tries again later for an order it couldn't fully route, such as an order that is waiting for inventory or one that failed.
  • When Auto re-route stuck orders every 3 hours is turned on in the Order Routing Settings tab and the order is still unrouted.

Because of retries, one order can have many runs. Each run is a separate attempt with its own result.

Test routing rules on the Routing Rules tab doesn't create a run. It only simulates routing. For more information, see Creating Order Routing Rules.

When the Order Routing Engine is turned off, it doesn't route orders, so no new runs are created. Runs that already exist stay available.

How long runs are kept

Runs are kept for 30 days from when they were created, then they're removed automatically. Routing runs aren't a permanent audit history.


Where to find routing runs

There are two ways to open routing runs:

  • All runs: Go to Order Routing in the left navigation, then select the Routing Runs tab.
  • Runs for one order: Open the order and find the Order Routing History card. Each line is one run, showing when it ran and its status. Select a line to open the run.

You can also filter the Routing Runs list by Ext Order ID or Order ID to see every run for one order.

Permissions

  • To see Order Routing in the left navigation, your role needs Read and List on Routings.
  • To see the Order Routing History card on an order, your role needs List on Order Routing Runs.

Administrators have both.


The Routing Runs list

The Routing Runs tab of the Order Routing Engine

Column What it shows
Run ID The unique ID of the run. Select it to open the run details.
Ext Order ID The order's ID in your sales channel. Select it to open the order. If the run has no Pipe17 order ID, the value is plain text.
Status The result of the run. See Run statuses below.
Created When the run started.
Updated When the run record was last updated.

You can sort by Created and Updated, and hide either column.

Filter the list

Use the filters above the list:

  • Run ID: Find one run.
  • Status: Show runs with one or more statuses. In this filter, the Nothing Routed status is listed as Not Applicable.
  • Ext Order ID: Show all runs for an order, using the ID from your sales channel.
  • Order ID: Show all runs for an order, using the Pipe17 order ID.

The list has no search box. Use the filters instead.


Run statuses

Status What it means Do I need to act?
Fully Routed Every line item that needs shipping was assigned to a location, and shipping requests were created. No.
Partially Routed Some line items were routed and got shipping requests. The rest are waiting, usually for inventory. This status is also used when some shipping requests couldn't be created; the run then shows Error creating shipping request. under System Failure. Usually no. The engine tries again for the remaining items. Check System Failure and the Final Summary if the order stays partly routed.
Nothing Routed No shipping requests were created in this run. Either there was nothing to route (for example, the items were already routed or don't need shipping), or no rule or location could route the order. In the Status filter, this status is called Not Applicable. Only if the run created an exception. Check the Final Summary and the Exceptions panel.
Error The run failed because of a system problem, such as a filter that couldn't be found. Yes, if it repeats. Check the System Failure section.

A run's status describes that one attempt. It isn't the order's current routing or fulfillment status, and Fully Routed doesn't mean the order has shipped.


Read a run

Select a Run ID in the list, or a line in an order's Order Routing History card, to open the run.

The details page of a routing run

The top of the page shows the run ID and status, the order's Ext Order ID (select it to open the order), the Order ID (a dash if the run has no order snapshot), and when the run was Created.

Run messages

The left panel lists the engine's messages in the order it evaluated them, grouped into sections. A section appears only when it has messages.

Section What it tells you
System Failure Shown in red when the run failed. Explains what went wrong.
Pre Routing What the engine found before applying rules: how many line items need shipping, existing shipments for the order, items already routed, and shipping groups.
Routing One heading per rule the engine checked, such as Rule #1: Western US, or Unnamed Rule when the rule has no name. The number is the rule's position on the Routing Rules tab. Messages that aren't tied to one rule come first. Under each rule: whether the order passed the rule's filter, which locations were tried, the inventory found for each line item, and whether the rule allows splitting.
Final Summary The result: how many line items were or weren't routed, how many shipping requests were created, and whether an exception was created.

Routing and Final Summary sections of a run

See the data the engine used

Some words in the messages are links, such as order, line items, rule, filter, inventory, a location name, or shipping request. Select one to open a read-only view of that record as it was when the run happened. This is a snapshot, so it can differ from the record today. A word stays plain text when the run has no snapshot for it, and transfer order and purchase order are never links.

To view a snapshot:

  1. Select the linked word in a message.
  2. Review the data. Use Copy to copy it, or Format to tidy it.
  3. Select Close to return to the run.

Links in messages open data from the time of the run. The Ext Order ID at the top and the links in the Shipping Requests and Exceptions panels open the current records.

Snapshot of a location at the time of the run

Shipping Requests and Exceptions

The right panel shows what the run created:

  • Shipping Requests: Each shipping request created by this run. Select one to open it. If none were created, it says No shipping requests were created during this run.
  • Exceptions: Each exception created by this run, shown by its type, for example eRouteOutOfStock (or by its ID if the type wasn't saved). Select one to open the order, where you can see and resolve the exception. If none were created, it says No exceptions were created during this run.

View an order's routing history

The Order Routing History card on the order page lists the order's runs, newest first, 10 per page.

Order Routing History card with empty runs hidden

By default, the card hides Nothing Routed runs, because they often don't change anything. These are called empty runs. An empty run can still hold useful messages and an exception, such as an out-of-stock exception. If all of an order's runs are empty, or the order has no Order Routing integration, the card shows None.

To see every run, including empty ones, turn on Show Empty Runs. The card goes back to the first page. The app remembers your choice in this browser for all orders. It isn't an organization setting, and it doesn't affect the Routing Runs tab, which always lists every run.

Order Routing History card with Show Empty Runs turned on


Use a run to answer common questions

Why wasn't my order routed?

  1. Open the order's most recent run.
  2. In Routing, look for each rule's filter result. Order did not pass the destination filter means the rule didn't apply to this order.
  3. For rules that applied, look for inventory messages, such as No inventory record for sku or does not have enough inventory.
  4. Check the Final Summary and the Exceptions panel. An out-of-stock exception means no location in the matching rules had enough inventory.

Why was my order split?

Look for This rule allows for splitting under the rule that routed the order. The engine first looks for one location that can ship the whole order. If none can, and the rule allows splitting, it sends items to different locations. The Shipping Requests panel lists each shipping request.

Why did my order go to an unexpected location?

Under the rule that routed the order, check the list of locations in the order the engine tried them, and whether the rule optimizes for location priority. The first location with enough inventory wins. Select the location name to see the location as it was at run time.


Troubleshooting

  • The Routing Runs tab shows "Something went wrong fetching this data"
    Refresh the page. If the error continues, check that the Order Routing Engine is connected, then submit a support request.
  • An order has no runs
    Check whether the Order Routing History card shows None because Show Empty Runs is off. If the order still has no runs, it may not have reached routing yet, its runs may be older than 30 days, or the Order Routing Engine may be turned off. Check the Order Routing Settings, including Only enable order routing for orders created after this time.
  • A run has status Error
    Read the System Failure section. If the error mentions a filter that couldn't be found, check the filters on your routing rules. If the error repeats, submit a support request with the run ID.
  • An order has many Nothing Routed runs
    The engine is retrying an order it can't route, usually because of missing inventory. Open the latest run to see which rules and locations were checked, then add inventory, adjust the rule, or add a fallback rule.
  • The Status filter has no "Nothing Routed" option
    Select Not Applicable. It is the same status.
  • The rule or inventory in a snapshot doesn't match what I see today
    Snapshots show the data from the time of the run. Later changes don't update old runs; the next run uses the current setup.

Need Help?

If you need additional assistance:

  • Use Ask Pippen, our AI agent, located at the top of the platform page.
  • Submit a support request with as much relevant detail as possible. Learn how to submit a request.

We're here to help you succeed with your operations.

Was this article helpful?
0 out of 0 found this helpful

Comments

0 comments

Article is closed for comments.

Have more questions?
Submit a request
Share it, if you like it.