# Set up an Activity

{% hint style="info" %}
Activities are an essential component of the TilliT system and offer a range of capabilities. The full extent of their power is beyond the scope of a brief example, as their potential applications are vast and varied.

For this specific use case, we will build a straightforward activity to illustrate the basic process.
{% endhint %}

When defining an activity, you will setup the What, When and When of that process step.

<figure><img src="https://352909507-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FrNT40XJFAFlAhUX8CcQS%2Fuploads%2Fgit-blob-c6ea7a7cb9eb5ed8673c5ba5d2567b1c598c775a%2Fimage.png?alt=media" alt="" width="324"><figcaption></figcaption></figure>

**Go to Settings -> Activity Template -> Actions -> Create**

## <mark style="color:blue;">**Basic Information**</mark>

1. Enter 'Prestart check' for the name for the activity
2. For the User groups select at least operators<br>

   <figure><img src="https://352909507-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FrNT40XJFAFlAhUX8CcQS%2Fuploads%2Fgit-blob-f8f55cadca8bdef692ccf16a00fbcfb4e83794d5%2Fimage.png?alt=media" alt=""><figcaption></figcaption></figure>
3. Click **Continue**

## <mark style="color:blue;">**Where will this activity be available**</mark>

1. In the 'Where will this activity be available' section, add a new condition for asset and select the Asset you added. Then click Save

<figure><img src="https://352909507-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FrNT40XJFAFlAhUX8CcQS%2Fuploads%2Fgit-blob-a0b9dd43e575666edf16f09fdc895464954f6b4f%2Fimage.png?alt=media" alt=""><figcaption></figcaption></figure>

## <mark style="color:blue;">**Where should this trigger**</mark>

1. In the 'Where should this trigger' section select **Add Trigger** -> **Order** -> **Order Ready**

   <figure><img src="https://352909507-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FrNT40XJFAFlAhUX8CcQS%2Fuploads%2Fgit-blob-0041482fa10b5f27247867d58f420b0808cc9262%2Factivity-when-should-it-trigger.png?alt=media" alt=""><figcaption></figcaption></figure>
2. Click **Add**
3. Click **Open form**

### Add Activity Elements

Now we are ready to add elements to the activity.

<figure><img src="https://352909507-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FrNT40XJFAFlAhUX8CcQS%2Fuploads%2Fgit-blob-cdd17d45dc31a6473210c167651bf0290abc4fbb%2Factivity-empty-elements.png?alt=media" alt=""><figcaption></figcaption></figure>

1. Select **Add an Element**
2. Choose **Data Entry** -> **Pass/Fail**
3. For the name lets use 'Confirm order is ready' . Click into the item key in put field and it will auto populate with a suitable key for the element.
4. Click **Confirm**
5. In the next screen click **Save**

<figure><img src="https://352909507-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FrNT40XJFAFlAhUX8CcQS%2Fuploads%2Fgit-blob-2b3843e05457608e5cdbeec287d3b007dbdd6f07%2Factivity-element-pass-fail.png?alt=media" alt=""><figcaption></figcaption></figure>

Next lets start the Order. We will see the Activity get triggered when the order is started.

{% content-ref url="start-the-order" %}
[start-the-order](https://help.tillit.cloud/tillit/getting-started/start-the-order)
{% endcontent-ref %}
