> For the complete documentation index, see [llms.txt](https://help.tillit.cloud/tillit/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://help.tillit.cloud/tillit/knowledge-base/setting-up-tillit/activity-templates/activity/where.md).

# Where

In this section, you will set the where the activity will be available.

## Where will this activity be available? (2/3)

In this section, you define the conditions that determine where the activity will be available using a dynamic condition builder.

### Setting up conditions:

{% stepper %}
{% step %}

#### Open the Condition Menu

Click **+ Add Condition** to open the dropdown menu.

<figure><img src="https://352909507-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FrNT40XJFAFlAhUX8CcQS%2Fuploads%2FBJMvqc2G9odwt6XdVMmu%2Fimg.png?alt=media&amp;token=0d30eef6-3a4d-40de-82e8-e2039437de58" alt="Modal showing the &#x27;Add Condition&#x27; button highlighted under the &#x27;Where will this activity be available&#x27; section"><figcaption></figcaption></figure>
{% endstep %}

{% step %}

#### Select the Condition Type

Select the rule type you want to apply:

<figure><img src="https://352909507-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FrNT40XJFAFlAhUX8CcQS%2Fuploads%2FAq6aY3PjjA02Utv6USqa%2Fimage.png?alt=media&amp;token=b81ec29c-a14e-414c-a5ec-0fb082ca8ed0" alt="Expanded dropdown menu showing available condition types"><figcaption></figcaption></figure>
{% endstep %}

{% step %}

#### Define Field Value

Select the required value for the added field.
{% endstep %}

{% step %}

#### Add Additional Rules (Optional)

To add more rules, click **+ Add Condition** again (these will be evaluated using **AND** logic).

{% hint style="info" %}
To remove a condition, click the **X** icon next to it.

<img src="https://352909507-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FrNT40XJFAFlAhUX8CcQS%2Fuploads%2FQ0aByPtQKmV7COfbZ37T%2Fimg.png?alt=media&amp;token=94834fdc-839f-4fc4-8fce-5f61d2fd0103" alt="Condition field with an active asset selected, highlighting the &#x27;X&#x27; icon used to remove the condition" data-size="original">
{% endhint %}
{% endstep %}

{% step %}
Once configured, click **Save** to apply the rules.
{% endstep %}
{% endstepper %}

{% hint style="info" %}
Once you've completed *Where*, click save to move onto the [*When*](/tillit/knowledge-base/setting-up-tillit/activity-templates/activity/when.md) config.
{% endhint %}

### Advanced Settings (More Options)

Click **More** at the bottom to configure advanced event and trigger behavior:

<figure><img src="https://352909507-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FrNT40XJFAFlAhUX8CcQS%2Fuploads%2FfnozH8kfgcggns4rG1AQ%2Fimg.png?alt=media&amp;token=4724ca4d-e270-4bd6-b31f-2bbcc56bf299" alt="Modal highlighting the &#x27;More&#x27; button to expand advanced options"><figcaption></figcaption></figure>

<figure><img src="https://352909507-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FrNT40XJFAFlAhUX8CcQS%2Fuploads%2Fxrfjys7E1iHVdFsgIgSp%2Fimage.png?alt=media&amp;token=59f9cfcb-c86b-4cdb-9325-04eda5b13bbe" alt="Advanced options expanded fields for Event Source Evaluation and Trigger Application Scope"><figcaption></figcaption></figure>

* **Event Source Evaluation:** (*Accepting event from source asset*)

  > *Determines whether filters are evaluated against where the source event occurred rather than the target asset.*
* **Trigger Application Scope:** (*Applying only for trigger*)

  > *Restricts the configured filters so they only apply specifically to this trigger.*
* **Wait for Requirements:**

  > *For a triggered activity with a delay or interval, controls what happens if its Requires Order or Asset Status condition is still unmet once the activity falls due. Off (default) resolves the activity once at its due time — it activates if the condition is now met, otherwise it is set to inactive rather than continuing to wait. On keeps the activity waiting in a scheduled state until the condition is met, as before.*

## Available Conditions (+ Add Condition)

**Primary Conditions**

| Condition                                                                                  | Description                                                      |
| ------------------------------------------------------------------------------------------ | ---------------------------------------------------------------- |
| [**Site**](/tillit/knowledge-base/setting-up-tillit/asset-hierarchy/site.md)               | Select the site location where the activity should be available. |
| [**Asset Class**](/tillit/knowledge-base/setting-up-tillit/asset-hierarchy/asset-class.md) | Select a specific asset class/category to apply the activity to. |
| [**Asset**](/tillit/knowledge-base/setting-up-tillit/asset-hierarchy/assets.md)            | Select a specific asset.                                         |

**More Conditions (Expanded Menu):**

| Condition                                                                                            | Description                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 |
| ---------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **Parent Asset**                                                                                     | Filter by the direct parent asset in the hierarchy.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         |
| **Parent Asset Class**                                                                               | Filter by the direct parent asset class in the hierarchy.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   |
| [**Material**](/tillit/knowledge-base/setting-up-tillit/material-definition/material.md)             | Restrict availability to a specific material.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               |
| [**Material Group**](/tillit/knowledge-base/setting-up-tillit/material-definition/material-group.md) | Restrict availability to a group of materials.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              |
| [**Attribute**](/tillit/knowledge-base/setting-up-tillit/configuration/copy-of-attribute.md)         | Filter based on a custom asset attribute (and its defined value). If that attribute is a Boolean type, then you will be given Yes/No options. If the attribute is a number or string/text type, then you will need to enter the value.                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
| **Requires Order**                                                                                   | <p>Choose <em><strong>an order required</strong></em> to ensure the activity can only be created on an order, otherwise choose <em><strong>or without an order</strong></em> to allow the activity to be created regardless of an order being present.</p><div data-gb-custom-block data-tag="hint" data-style="info" class="hint hint-info"><p>If the activity is created via an event trigger with no delay and has <em><strong>an order required</strong></em>, then the event must have occured on an order for the activity to be created. If the trigger has a delay or interval, then the activity will be scheduled and ONLY activated if the asset has a <strong>running order</strong>.</p></div> |
| **Asset Status**                                                                                     | Restrict availability based on the current operating status of the asset (e.g., Running, Stopped).                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          |
| [**Shift Template**](/tillit/knowledge-base/setting-up-tillit/shift/shifts.md)                       | Restrict the activity to specific shift templates.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          |
