> For the complete documentation index, see [llms.txt](https://docs.hotwax.co/documents/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.hotwax.co/documents/retail-operations/orders/order-routing/troubleshooting/scheduling-error.md).

# Scheduling Errors

### Scenario: The Brokering Engine Won't Run Due to Incorrect Scheduling

The brokering engine relies on correctly scheduled runs to process and route orders. If the scheduling is incorrect, the engine won't execute, leading to unprocessed orders and potential delays in order fulfillment.

### Resolution Steps

1. **Verify Brokering Schedule**
   1. Navigate to the Order Routing App.
   2. Click on the Brokering Run card you would like to run for routing.
   3. Verify the run time and the frequency to ensure they are set correctly.
2. **Check Inventory Rules**
   1. If the brokering run schedule is correct, proceed to check the inventory rules by clicking on the order batch you would like to run.
   2. Verify if the order batches are correctly sorted. The sorting should align with the expected order processing sequence.
3. **Verify Inventory Rule Configuration**
   1. Check the inventory rules by clicking on the inventory rule associated with the order batch.
   2. Verify if the order brokering facilities are correctly configured. Ensure the facilities to which the orders should be routed are specified accurately.
   3. Verify if the inventory sorting criteria are correctly set to prioritize the orders as needed.
4. **Confirm Status**
   1. Finally, verify the status of the inventory rule, order batch, and brokering run. Ensure that each status is set to "Active" and not in "Draft."

Read our [order routing](https://docs.hotwax.co/documents/retail-operations/orders/order-routing) user manual to learn more

**Example**

**Incorrect Scheduling**: If the brokering run is set to execute at 3:00 PM daily but needs to run every hour, adjust the frequency to "Hourly" in the Brokering Run settings.

{% embed url="<https://youtu.be/fRni_V6Yc3U>" %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.hotwax.co/documents/retail-operations/orders/order-routing/troubleshooting/scheduling-error.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
