apps
2024.10
false
UiPath logo, featuring letters U and I in white

Apps user guide

Last updated Dec 22, 2025

Rule: If-Then-Else

To condition the behavior of a control, use the If-Then-Else rule.

The If-Then-Else rule consists of:

  1. the condition(s) to check (the If statement)

  2. what happens if the condition is true (the Then statement)

  3. what happens if the condition is false (the Else statement)

    docs image

The If Statement

Use the Expression editor docs image to define a condition query.

You can compare two values, or group multiple comparisons by using the And or Or operators.

The Then/Else Statements

You can insert any other rule in the Then and Else statements.

  • The If Statement
  • The Then/Else Statements

Was this page helpful?

Get The Help You Need
Learning RPA - Automation Courses
UiPath Community Forum
Uipath Logo
Trust and Security
© 2005-2026 UiPath. All rights reserved.