# Conditions

This tab allows you to select conditions that need to be met before a product can make the transition. These conditions come from a predefined list.

If you add more than one condition, they will be connected with the AND logical operator, which means all conditions present must be met for a product to make the transition. No other operators are currently possible.

<figure><img src="/files/QYCMF0CDhYyco99A4ZMl" alt=""><figcaption></figcaption></figure>

You can choose from the 6 conditions or leave the transition without any of them.

Available conditions :&#x20;

* **Attribute has value** - checks if the specified attribute contains any value.

<figure><img src="/files/AAnSpSw3bsHF2CkBnXrI" alt=""><figcaption></figcaption></figure>

* **Product category** - checks if the product is assigned to at least one category.

<figure><img src="/files/8r4jGPyDuwCCxSlYSk3I" alt=""><figcaption></figcaption></figure>

* **Product completness** - checks the content completeness in a specific language.

<figure><img src="/files/hGxR5bv3RPysg3nRbxCB" alt=""><figcaption></figcaption></figure>

{% hint style="info" %}
During product work and status changes, setting this condition means that each language will be treated separately.

**Example:**\
\
In the system, there are two active languages — English and Italian — assigned to the same workflow.\
In this workflow, at the final stage, there are two statuses defined: **approved → published**.\
The transition condition is only one - **product completeness**.

The product **SKU\_01** in English has already reached full completeness (100% of required attributes are filled) – the status can be changed to **published**.\
\
The same product **SKU\_01** in Italian has reached only 80% completeness – for the Italian version, the status cannot be changed to **published**, because the completeness condition for the product in this language has not been met.
{% endhint %}

* **Product completness set** - checks if the required attributes defined in the assigned completeness set are filled within a specific template section.

<figure><img src="/files/nBiI4hH3SPa8cCwMWVwI" alt=""><figcaption></figcaption></figure>

{% hint style="info" %}
When configuring the ‘Product Completeness Set’ condition, you have the option to select&#x20;

‘Is Completed or Not Applicable.’ By choosing this option, you ensure that the transition will be available under two conditions:

1. If the specific completeness set is present on the product template and it is 100% completed.
2. If the completeness set is **not** present on the product template, indicating that the product is still suitable for the transition.
   {% endhint %}

* **User** - allows defining which user(s) can change the status (more than one user can be selected from the list).

<figure><img src="/files/3lQdLsAQ6D5kNo7y72iT" alt=""><figcaption></figcaption></figure>

* **User role** - allows defining which user role(s) can change the status (more than one role can be selected from the list).

<figure><img src="/files/UABxxZZseUdEfgJgNRlp" alt=""><figcaption></figcaption></figure>

Once you have set up all the statuses and transitions between them to your needs and satisfaction, your workflow is complete, but before it becomes usable, it needs to be connected to a language. That can be done from System -> Settings -> [Language](/system/settings/languages.md).


---

# 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://usermanual.ergonode.com/workflow/information/designer/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.
