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

Apps User Guide

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)



The If Statement

Use the Expression editor 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.

Was this page helpful?

Get The Help You Need
Learning RPA - Automation Courses
UiPath Community Forum
Uipath Logo White
© 2005-2025 UiPath. All rights reserved.