# Incorrect Facility Configurations

For orders to be routed correctly, the facilities need to be associated with the appropriate facility group. If the facilities are not correctly configured in the facility groups, orders might be routed to the wrong locations, causing delays and inefficiencies.

## Scenario: Facility not associated with Facility Group

### Resolution Steps

1. Navigate to the Facilities App.
2. Navigate to the [Facility Groups page](https://github.com/hotwax/oms-documentation/blob/user-guides-pub/documents/system-admin/administration/facilities/manage-groups.md).
3. Identify the facility group with the "Brokering\_Group" subtype.
4. Click on the chip available against the facilities.
5. From the submenu, click on "View Facilities" to verify the facilities or "Quick Edit" to add or remove any facility from the group.

<figure><img src="/files/cnKecoRv3yHwGnkNA67S" alt=""><figcaption></figcaption></figure>

### Resolution Steps

1. Navigate to the Order Routing App.
2. Navigate to inventory rules by clicking on the brokering run and order batch for the orders you would like to broker.
3. Click on the inventory rule you would like to configure.
4. Click on "Filter", select "Facilities," and choose the correct facility group to which you would like to broker the order.

For more details on Order Routing, refer to our [user manual](/documents/retail-operations/orders/order-routing.md).


---

# Agent Instructions: 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:

```
GET https://docs.hotwax.co/documents/retail-operations/orders/order-routing/troubleshooting/incorrect-facility-configurations.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
