# Check True

> `UiPath.Core.Activities.CheckTrue`

`UiPath.Core.Activities.CheckTrue`

Checks if a given Boolean expression is true and throws an exception with a custom message at runtime when the expression is false. This activity can be used in the [**Retry Scope**](https://docs.uipath.com/activities/other/latest/workflow/retry-scope) activity.

**Project Compatibility**

**Windows - Legacy** | **Windows** | **Cross-platform**

## Configuration

* **Expression** - The expression to be evaluated.
* **ErrorMessage** - The error message to be shown if the expression is not true.

**Properties Panel**
* **Private** - If selected, the values of variables and arguments are no longer logged at Verbose level. 
  :::important
  Only applies to Windows and Windows - Legacy projects.
  :::

#### **Output**

* **Result** - A `Boolean` variable that stores the result of the Check action. This field supports only `Boolean` variables.
