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

Legacy Apps User Guide for Automation Suite

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

Function: And, Or, Not

Logical functions

These functions are based on the Logical Operators.

Function

Syntax

Operator

Description

Example

And

And(Condition1, Condition2 [,Condition3 …])

&&

Returns true if all arguments are true.

And(TRUE, TRUE): True
And(TRUE, FALSE): False
And(FALSE, FALSE): False
And(TRUE, TRUE, TRUE): True
docs image

Or

Or(Condition1, Condition2 [,Condition3 …])

||

Returns true if any of the arguments are true.

Or(TRUE, TRUE): True
Or(TRUE, FALSE): True
Or(FALSE, FALSE): False
Or(FALSE, FALSE, TRUE): True
docs image

Not

Not(Condition)

!

Returns true if its arguments is false, and returns false if its argument is true.

Not(TRUE): False
Not(FALSE): True
Not(NOT(TRUE)): True
docs image

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.