# How to set up business rule to trigger for business units

When designing a business rule, you can set a condition for the trigger. In this scenario, the condition will be business units. This condition checks to see if the entity that triggered has any relation to or is owned by a business unit.

In this quick guide we will create a business rule that will check if the entity has any relation to the 'Asia' business unit.

{% hint style="info" %}
Don't have any business units set up yet? Learn [how to do that in this guide](/reference/settings/data-governance/business-units.md).
{% endhint %}

### Setting the condition

First, create a business rule and add a trigger that you would like to use. In this scenario we will be using the 'Product value has changed'-trigger.

When you have selected a trigger, click the 'Add condition'-button.

<figure><img src="/files/4LVcsfRg1MILn3TXqm97" alt="The business rule editor window"><figcaption><p>Inside the business rule creator window</p></figcaption></figure>

Inside the context window, you will be presented with all the available conditions for that specific trigger.&#x20;

Click 'Business units'.

<figure><img src="/files/oHg8HlAv0VE6wmOH38iw" alt="The business rule condition context window"><figcaption><p>The list of all available condition for our trigger</p></figcaption></figure>

As mentioned in the beginning, we want to check if the product has any relation to the 'Asia'-business unit.

So, we click the 'Add business unit', select 'Asia' and set the relation type to 'Has any relation'.

<figure><img src="/files/19ZZVfJejHM8QmjZdduU" alt="Setting the condition to a specific business unit"><figcaption><p>Setting the business unit condition</p></figcaption></figure>

Click 'Confirm'.

You can add any action you want to inside the condition block. We want to create a task whenever this condition is met, so we can check up on the change made.

<figure><img src="/files/AC4VWgkIXOeipt9gsUgz" alt="The final preview page of the business rule"><figcaption><p>The final stage of the business rule we've created</p></figcaption></figure>

Now, whenever this business rule triggers, it will check the condition which checks if the entity has any relation to the specified business unit(s). If so, it will create a new task, and assign the colleagues from Asia to it so that they can check up on the change.


---

# 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.struct.com/tutorials/guides/how-to-use-business-rules/how-to-set-up-business-rule-to-trigger-for-business-units.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.
