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

Apps User Guide

Automation CloudAutomation Cloud Public SectorAutomation Suite
Last updated Nov 11, 2024

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.

  • 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 White
Trust and Security
© 2005-2024 UiPath. All rights reserved.