# Evaluating Conditions

## Evaluating Conditions

The following activities are used for evaluating conditions:

EvaluateCondition

EvaluateConditions

### EvaluateCondition Activity

The EvaluateCondition activity is used to evaluate a condition in appRules.&#x20;

To configure a EvaluateCondition activity, drag the EvaluateCondition activity from the Base module of the toolbox on to the designer.  Select the Condition or configure a new one.  Then save the workflow activity.

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

### EvaluateConditions Activity

The EvaluateConditions activity is used to evaluate a group of conditions. &#x20;

To configure the EvaluateConditions activity, drag the EvaluateConditions activity from the "Business Rules" module of the toolbox on to the designer.  The following modal will be displayed:

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

#### To configure the Conditions to be evaluated.

1. Click the "Evaluation Option" toolbar button to set the evaluation option for the Conditions to be included in the list.                                                                                ![](/files/pP8hKFMjGOM6PnZzI2zb)
2. Configure the Conditions by entering a unique description for each Condition, and clicking the configuration button to select or configure the Condition.  **Note:**  Right-Mouse-Click on any row to view a menu of additional options.

#### To configure the optional Actions to be performed if the Conditions evaluate to True

1. Click the "Evaluation Option" toolbar button to set the execution option for the Actions to be performed if the Conditions evaluate to True - (Then Actions Option)                                        ![](/files/rpreqnfOmunWu2tuiHyc)                 &#x20;
2. Configure the optional THEN Actions by entering a unique description for each Action, and clicking the configuration button to select or configure the Action.  These Actions will be performed only if the Conditions evaluate to True.  **Note:**  Right-Mouse-Click on any row to view a menu of additional options.

#### To configure the optional Actions to be performed if the Conditions evaluate to False

1. Click the "Evaluation Option" toolbar button to set the execution option for the Actions to be performed if the Conditions evaluate to False - (Else Actions Option)                                        ![](/files/rpreqnfOmunWu2tuiHyc)  &#x20;
2. Configure the optional ELSE Actions by entering a unique description for each Action, and clicking the configuration button to select or configure the Action.  These Actions will be performed only if the Conditions evaluate to False.  **Note:**  Right-Mouse-Click on any row to view a menu of additional options.


---

# 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://docs.appstrategy.com/apprules-r-documentation/platform-products/apprules-integration-and-automation-engine/business-rules/evaluating-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.
