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

Studio User Guide

Last updated Jan 17, 2025

The If Activity

The If activity contains a statement and two conditions. The first condition (the activity in the Then section) is executed if the statement is true, while the second one (the activity in the optional Else section) is executed if the statement is false.

If activities can be useful to make decisions based on the value of variables.

Note: The If activity is almost identical to the Flow Decision one. However, the latter can only be used in flowcharts.

Was this page helpful?

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