UiPath Documentation
apps
latest
false
  • Getting Started
    • Introduction
    • Using App Studio
    • Exporting an App
    • Importing an App
    • Regions and Instances
  • Demo apps
    • Demos summary
  • How To
    • Build your first app (old)
    • Build a Mobile-Friendly App
    • General User Experience Guidelines
    • Use File Control
      • Upload a File Using the File Picker Control
      • Download a File Using the File Picker Control
      • Download a File Using a Link
      • Download a File Using an Image Control
    • Use Master Detail View
    • Use Required Input Validation
      • Container Validation
    • 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 Excel Charts in Apps
      • Prerequisites
      • Procedure
      • Result
    • 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
    • About notifications
    • My notifications
    • Managing notifications
  • Using VB Expressions
    • Overview
    • Limitations
    • Using the Expression editor in controls
    • The Query builder
      • Using the Fetch functions
    • Migrating legacy apps to VB expressions
    • Legacy versus VB expressions
    • Useful VB functions
    • Custom VB functions
  • Designing your App
    • Controls Overview
    • Layout and Styling
    • Sample App Layouts
    • Input Controls
      • Button
      • Checkbox
      • Date Picker
      • Dropdown
      • Multiselect Dropdown
      • File Picker
      • Radio Button
      • Rich Text Editor
      • Slider
      • Switch
      • Text Area
      • Textbox
      • Textbox (Email)
      • Textbox (Number)
    • Container Controls
      • Differences Between Container Controls
      • Container Layout
      • Container
      • Page
      • Page Container
    • Display Controls
      • Custom List
      • Divider
      • Document Viewer
      • Header
      • IFrame
      • Image
      • Label
      • List
      • Table
      • Icons
      • Tabs
    • User Context References
    • Saving Your App
    • App Errors & Troubleshooting
  • Events and Rules
    • About 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
    • About Expressions
      • Using Expressions
    • About Functions
      • 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
    • Referencing a Process From Orchestrator
      • Input and Output Type Properties
      • Send Interim Result Activity
    • Supported Process Argument Types
    • Replacing a Process Referenced in an App
    • Referencing a Storage Bucket From Orchestrator
    • Configuring an On-Premise Orchestrator for Use by Apps
    • Orchestrator Permissions
    • Data Flow Between UiPath Apps and Orchestrator
  • Leveraging Entities in Your App
    • Referencing an Entity in Your App
    • Replacing an Entity
    • About Data Context
      • Using Data Context
      • Using Choice Set
    • Using Apps With Data Service
  • Leveraging Queues in Your App
    • Referencing a Queue in Your App
    • Replacing a Queue
    • Using Apps With Queues
  • Leveraging Media in your app
    • Referencing a media document in your app
    • Binding a media document to Image controls
  • Leveraging Actions in your app
    • Adding an action to your app
    • Adding an action app to an automation
    • Binding an action to app controls
  • Leveraging Connections in your apps
    • Adding a connection to your app
    • Replacing a connection
    • Using connections in List controls
    • FAQ for connections in Apps
  • Application Lifecycle Management (ALM)
    • About ALM
      • General Settings
      • Permission Management
      • Managing App Versions
      • Packaging an App as a Client
  • UiPath First-Party Apps
    • Automation Launchpad
  • Basic Troubleshooting Guide
    • Apps Troubleshooting and FAQs
important :
For documentation on app projects in Studio Web, refer to the App Projects chapter in the Studio Web documentation: https://docs.uipath.com/studio-web/automation-cloud/latest/user-guide/apps-in-studio-web.
UiPath logo, featuring letters U and I in white
DEPRECATED

Legacy Apps user guide

Last updated Oct 28, 2025

About Events and Rules

When designing your app, you often want to provide logic for when X happens do Y. Apps provides the ability for these dynamic actions:

  • X is called an Event.
  • Y is called a Rule.

Here are a few examples:

  • When the "Submit deposit" button is clicked, run an automation.
  • When the value of the "Cash In" textbox changes, change the label color to red if the value is < 0.
  • When the help icon is clicked, open the browser to show a documentation page.
  • When a tab button is clicked, change the page container to show a different page.

By specifying what rules to execute when an event occurs, your app transforms from being a simple display of information to an interactive console.

Events

Events are triggers that happen when a user interacts with an app or control. Each control supports a single event:

Event

Control(s)

Clicked On

Button, Header, Label, Icon, Image

Value Changed

Checkbox, Date picker, Dropdown, Slider, Switch, Text Area, Textbox, List

Loaded

Page, Table

Rules

Rules allow your app to take an action when a certain event occurs. Below is a list of the rules that Apps provides:

Rule

Description

Provides support for conditional statements in the rules builder

Opens a page of the app as a pop-over or as the contents of a page container

Opens a URL in the browser

Closes the current Pop-Over

Show a message as a toast notification

Show or hide a spinner overlay to show the app as busy

Set the value of a property

Starts an Automation

Uploads files to a selected storage bucket.

Downloads files from a selected storage bucket.

Reverts a control to a default value, or clears it if a default value is not configured.

Create or updates an entity.

Deletes an entity from Data Service.

Adds an item to queue.

Reordering Rules

You can reorder rules by clicking and dragging the "gripper" on the colored chip next to the rule's name:



  • Events
  • Rules
  • Reordering Rules

Was this page helpful?

Connect

Need help? Support

Want to learn? UiPath Academy

Have questions? UiPath Forum

Stay updated