> For the complete documentation index, see [llms.txt](https://docs.coherent.global/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.coherent.global/control/workflow-templates/conditions.md).

# Conditions

### Add conditions to a task (Task Properties)

Conditions control whether a task can be completed (example: only specific roles can submit, validations must pass).

1\.     On the canvas, **click the task card** you want to control.

2\.     On the right panel, open **Task Properties → Details**.

3\.     Expand **Conditions**

4\.     Click **Add New Condition**.

<figure><img src="https://2002559430-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3iT8EXgVSEYEufmp7Bne%2Fuploads%2F1TzfhA9rEZtQkidICH2U%2Fimage.png?alt=media&amp;token=3f258e1c-8751-4279-96b5-4a20be9dcbe9" alt=""><figcaption></figcaption></figure>

#### Fill “Add Task Condition”

In the **Add Task Condition** popup, enter:

·       **Condition Name** *(required)*: A clear name for the rule (example: “Only checker can submit” or “Hash must be valid”).

·       **Condition Type** *(required)*: Select one from the dropdown. Options shown in your screenshots include:

o   **Role Condition**

o   **User Condition**

o   **Task Condition**

o   **Cell Value**

o   **Hash Validation**

·       **Target Description** *(optional)*: Short description of what the condition applies to (keep it simple).

·       **Operator Overridable** *(optional toggle)*: Enable only if you want the operator to be changeable.

·       **Error Message** *(optional)*: What the user sees if the condition fails (write it in customer-friendly language).

Click **Add** to save the condition.

<figure><img src="https://2002559430-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3iT8EXgVSEYEufmp7Bne%2Fuploads%2FVsQ0U1lgEFHgFuaGvB2E%2Fimage.png?alt=media&amp;token=fa18bd01-de2b-4353-9a6e-5bad9691fe45" alt="" width="375"><figcaption></figcaption></figure>

<figure><img src="https://2002559430-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3iT8EXgVSEYEufmp7Bne%2Fuploads%2FuLgQkFoNC4f6XLJ8jRoo%2Fimage.png?alt=media&amp;token=64e3cdf2-b1a2-427a-a8ba-a69ece24d0a8" alt="" width="375"><figcaption></figcaption></figure>

#### Notes (when Enable Executables is enabled)

If you see a banner stating **“Some conditions are hidden because Enable Executables is currently enabled.”**, it means turning **Enable Executables = TRUE** limits which condition types are available.

{% hint style="info" %}
**Enable Executables** allows actions such as approval to be performed directly in the Control UI without requiring the Excel file to be downloaded and opened.
{% endhint %}

<figure><img src="https://2002559430-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3iT8EXgVSEYEufmp7Bne%2Fuploads%2Frs2XXfDnWVID8iEU5XoK%2Fimage.png?alt=media&amp;token=e52bffc2-ff2f-4180-be8b-f4791aaf5dfb" alt="" width="375"><figcaption></figcaption></figure>

#### Manage existing conditions <a href="#workflowtemplates-manageexistingconditions" id="workflowtemplates-manageexistingconditions"></a>

In **Task Properties → Details → Conditions**, you can:

·       **Edit** a condition (pencil icon)

·       **Delete** a condition (trash icon)
