> 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/coherent-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="/files/r7gXPrkHRjkrhQsvpWHW" 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="/files/GqVuNpqtcSdxmsN6TNiv" alt="" width="375"><figcaption></figcaption></figure>

<figure><img src="/files/9lv1wQSJBveMYO5YSmDo" 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="/files/wsDEWhMR83wAoctXOIdL" 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)


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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.coherent.global/coherent-control/workflow-templates/conditions.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.
