- Getting Started
- Demo apps
- How To
- Build your first app (old)
- Build a Mobile-Friendly App
- General User Experience Guidelines
- Use Master Detail View
- Use Document Viewer
- Use Count With Choice Set Values
- Use Selected Values From a Table
- Embed Apps
- Embed Maps
- Hide Containers Using a Button
- Include MailTo Links
- Include Star Ratings
- Set External Context
- Work With Data Source and Value Bind
- Use the Send Interim Result Activity
- Public Apps
- Notifications
- Using VB Expressions
- Designing your App
- Events and Rules
- Rule: If-Then-Else
- Rule: Open a Page
- Rule: Open URL
- Rule: Close Pop-Over/Bottom Sheet
- Rule: Show Message
- Rule: Show/Hide Spinner
- Rule: Set Values
- Rule: Start Process
- Rule: Upload File to Storage Bucket
- Rule: Get File From Storage Bucket
- Rule: Reset Values
- Rule: Create/Update Entity Record
- Rule: Delete Entity Record
- Rule: Add to Queue
- Function: And, Or, Not
- Function: Concat
- Function: Contains
- Function: Count
- Function: EndsWith
- Function: If
- Function: IsBlank
- Function: Guid
- Function: Length
- Function: List
- Function: StartsWith
- Function: Sum
- Function: Sort
- Function: Now
- Function: Today
- Function: Time
- Function: Year
- Function: Month
- Function: Day
- Function: Hour
- Function: Minute
- Function: New
- Function: Lookup
- Function: Filter
- Leveraging RPA in your App
- Leveraging Entities in Your App
- Leveraging Queues in Your App
- Leveraging Media in your app
- Leveraging Actions in your app
- Leveraging Connections in your apps
- Application Lifecycle Management (ALM)
- UiPath First-Party Apps
- Basic Troubleshooting Guide
To better understand how Functions work, check out the Use Expressions page in the How To section.
To help you define particular Expressions or include individual operations while designing your app, an out of the box set of Functions is provided within the designer.
Depending on the function specifications some have a graphical representation, while others do not.
Start using the available functions by selecting the needed operator, input the parameters, and wait for the output value to be returned.
- The accepted parameters can be the same type of arguments or implicit cast of arguments.
- The output value can be primitive or an object.
Function Operators
Mathematical Operators and Functions
Please access this page for more details.
Arithmetic Operators
| Operator | Description | Example |
|---|---|---|
+ | Addition | x = y + 2 |
- | Subtraction | x = y - 2 |
* | Multiplication | x = y * 2 |
/ | Division | x = y / 2 |
% | Modulus (division remainder) | x = y % 2 |
++ | Increment | x = ++y |
-- | Decrement | x = --yx = y-- |
String Operators
We'll use the following hypothesis to present the string operators: text1 = "Good ", text2 = "Morning", and text3 = "".
| Operator | Example | text1 | text2 | text3 |
|---|---|---|---|---|
+= | text1 += text2 | "Good Morning" | "Morning" | "" |
& | text3 = text1 + text2 | "Good " | "Morning" | "Good Morning" |
Comparison Operators
We'll use the following hypothesis to present the comparison operators: x = 5.
| Operator | Description | Comparing | Returns |
|---|---|---|---|
=, == | equal to ("=" is the same as "==") | x == 8x == 5 | false true |
> | greater than | x > 8 | false |
>= | greater than or equal to | x >= 8 | false |
!= | not equal | x != 8 | true |
< | less than | x < 8 | true |
<= | less than or equal to | x <= 8 | true |
Logical Operators
We'll use the following hypothesis to present the logical operators: x=6 and y=3.
| Operator | Function | Description | Example |
|---|---|---|---|
!, not, NOT | Not() | not | !(x === y) is true |
&&, and, AND | And() | and | (x < 10 && y > 1) is true |
||, or, OR | Or() | or | (x === 5 || y === 5) is false |
Other Operators
The in operator returns a true result if the specified property is in the specified object, otherwise, it returns a false result.
The in operator only supports primitive data types, such as string, number, boolean, null.
The in operator is not supported in Data Service scenarios using choice-set. You can use the contains operator instead, but only for one input.