Routing Rules
Learn about Routings.
Last updated
Learn about Routings.
Last updated
As discussed, routing, also known as routing rules, enable retailers to create specific order batches based on their business requirements, such as a same-day delivery batch, a next-day delivery batch, and a standard order batch. These routing rules help in efficiently looking up orders based on urgency and shipping promises.
Multiple routing rules within a single brokering run are useful when different order batches, like same-day, next-day and standard orders, need to be routed at the same interval.
If these order batches need routing at the same frequency but require different inventory allocation strategies, unique inventory rules can be applied to each batch. This way, even with a shared routing frequency (single brokering run), each order batch is managed according to its specific requirements. We’ll understand more about inventory rules in the coming sections.
This section explains how to create order batches in a brokering run using filters and sorting options to match business needs. We’ll demonstrate this by creating two routing rules:cSame-day/Next-day orders and Standard orders within our previously created Everyday order routing brokering run.
In this example, we’re routing Same-day/Next-day orders and Standard orders at the same frequency. If a business scenario requires these batches to be routed at different frequencies then separate brokering runs should be created.
Click the Create order batch
button to create a new routing rule.
Name the routing rule and click Save
to add it to the list of routing rules.
To add the next routing rule click on the New
button next to the "Order batches" label and name your new routing rule.
Continuing our example, let's name our two routing rules as Same-day/Next-day orders and Standard orders.
For a routing to actively process orders, you’ll need to change its status from Draft to Active. Just click Draft to update it to Active, or, if needed, revert an active routing back to Draft by clicking on Active.
This step should be done only after setting up all routing rules.
To prioritize which the routing rule is applied first:
Click and drag the chip on the top right of the routing card.
The sequence number on the card will automatically update based on the card's position.
Continuing our example, we’ll position Same-day/Next-day orders before Standard orders so that the higher-priority order batch is routed first.
Creating an order batch is a two-step process:
The first step in setting up routing rules is to create a batch of orders using specific filters. This helps the brokering algorithm group and prioritize orders accurately for each routing rule, enabling more targeted and effective fulfillment strategies.
Here are the available filters to create order batches:
Origin facility group: This parameter allows retailers to filter orders based on the facility group from which they originated. For example, many times when walk-in customers cannot find their preferred items in store, store associates place the order on their behalf. These are known as Send Sale orders. In this scenario, the origin facility becomes the specific physical location. If a retailer wants all Send Sale orders from specific facilities to be routed differently, then they can apply this filter to create a batch of orders and proceed to create their routing.
Order priority: Not all orders carry the same level of urgency. In HotWax Commerce, orders can be assigned a priority level of high, medium, or low. By default, orders are set to "medium priority," but retailers can adjust the order priority in HotWax Commerce as needed. By filtering orders based on priority, the most critical ones (high-priority orders) are routed before less urgent ones.
Promise date: Pre-orders or backorders can be filtered based on their promise date. Retailers may choose to broker orders that have passed their promise date first for the timely fulfillment of overdue orders.
Queue: The parking location to pick orders from. HotWax Commerce has virtual queues to park orders that are not yet brokered to a facility. Retailers can filter by queue type (Brokering Queue, Pre-order/Backorder Parking, Rejected Parking, or Unfillable Parking) to decide which orders should be brokered to available inventory.
All orders that are not pre-orders or backorders in HotWax Commerce and are waiting for the inventory are in the Brokering Queue
. In most of the cases this will be the filter you will use to make your order batch.
Sales channel: Channel where the order was captured. Different sales channels (eCommerce or marketplaces) may require different routing strategies. Orders can be filtered by channel so that the right group of orders is picked for routing based on channel-specific fulfillment rules, reducing the risk of penalties or delays in fulfilling orders from marketplaces like Amazon.
Shipment method type: SLA promised to the customer. When customers choose specific shipping methods, like expedited or same-day delivery, these orders must be prioritized differently. Retailers can use this filter to create a batch of orders based on the selected shipping method, so orders requiring fast shipping are processed first.
Continuing with our example, let’s take a closer look at how to apply the right filters and sorting options for Same-day/Next day routing rule.
Applying filters to create order batches:
Open the Same-day/Next-day orders routing rule’s details, then navigate to the Filters option.
Filters help define which orders should be looked up to create a batch. For the “Same-day/Next-day” routing rule we will choose the “Queue” and "Shipment method type" filters.
From the “Queue” we will choose the “Brokering Queue” to include all orders that are waiting for the inventory allocation.
From the “Shipping Method” dropdown, we will choose “Same Day" and "Next Day” shipping methods to include only same-day and next-day shipping orders in our batch.
Since our objective is to prioritize orders with tight SLAs, we are not selecting additional filters like order priority, promise date, and sales channel.
Outcome? With these filters in place, the brokering algorithm will specifically look for orders in the Brokering Queue
that need same-day or next-day delivery. This means that urgent orders are prioritized in your batch for quicker inventory allocation and fulfillment.
If you are not selecting any filter then all orders in all parkings will be attempted for brokering.
After filtering, the next step is choosing the Sorting criteria to prioritize the sequence in which individual orders within each batch are picked for inventory allocation. Sorting allows you to align order routing with your fulfillment goals, prioritizing high-priority orders first.
Available sorting options:
Order date: Sort by order date to prioritize older orders first, following a first-in, first-out (FIFO) approach.
Order priority: Orders can be sorted by priority levels, such as high, medium, low allowing retailers to prioritize orders based on their urgency.
Ship by
Ship after
Shipping method: Sorting by shipping method enables the brokering engine to priortize orders based on the promised SLA. HotWax records the delivery days associated with each shipping method, Same-Day as 0, Next-Day as 1, Two-Day as 2, etc. For example, applying shipping method sorting for a Same-Day/Next-Day batch allows the brokering engine to pick same-day orders before next-day orders, so inventory is allocated first to the most urgent orders. Sorting orders by shipping method becomes unnecessary when all orders in the batch have the same shipping method.
Choosing sorting options to define order priority:
Navigate to the Sort
option. Continuing our example, for the Same-day/Next-day order batch we will choose the "Shipping Method” sorting so that all same-day orders are sequenced first following by all the next day orders.
Finally, click on the Save
icon in the right most corner to save your configured routing rule.
If you are choosing multiple sorting options, you can prioritize them into the desired sequence using drag and drop.
Orders will be brokered based on order date if no sorting is specified.
Now that you already know what filters and sorting options are available and what they mean, you can easily use them for your next routing rule.
Let’s see what should be the right filters and sorting options for our second routing rule Standard orders.
From the filters option, we will choose the "Queue" and "Shipment method type" filters.
From the “Queue” dropdown we will choose the “Brokering Queue” to include all shipping orders that are waiting for the inventory allocation.
Now, from the "Shipping Method" dropdown we will choose the “Standard” shipping method to include only standard shipping orders present in the Brokering Queue
.
From the sorting option, even if we don’t choose any option all standard orders are sequenced based on their order date that is FIFO basis, so older orders are picked first for inventory allocation.
We did not apply the Shipping Method sorting for our Standard orders because all of these orders use the same standard delivery shipping method. Therefore, sorting by shipping method in this case would not make any difference.
Finally, click on the Save
icon in the right most corner to save your configured routing rule.
These examples help understand how retailers can use different filters and sorting options to create order batches and strategically fulfill orders, aligning each routing rule with specific business objectives.
When a routing is no longer needed in a brokering run you can Archive
it:
Click on the Archive
button at the bottom right of the routing card.
This action moves the routing to the archive, removing it from the brokering run flow.
Archived routings can be reactivated if needed and are accessible from the archive drawer at the bottom of the list.
Congrats! You now have a clear understanding of how to create brokering runs and set routing rules. The final step is choosing inventory rules to complete the order routing setup.
Filters
Look up orders and group them in a batch.
Sorting
Determine the sequence in which orders are picked up during routing.