- Getting Started
- Setup and Configuration
- Automation Projects
- Dependencies
- Types of Workflows
- Control Flow
- File Comparison
- Automation Best Practices
- Source Control Integration
- Debugging
- Logging
- The Diagnostic Tool
- Workflow Analyzer
- About Workflow Analyzer
- ST-NMG-001 - Variables Naming Convention
- ST-NMG-002 - Arguments Naming Convention
- ST-NMG-004 - Display Name Duplication
- ST-NMG-005 - Variable Overrides Variable
- ST-NMG-006 - Variable Overrides Argument
- ST-NMG-008 - Variable Length Exceeded
- ST-NMG-009 - Prefix Datatable Variables
- ST-NMG-011 - Prefix Datatable Arguments
- ST-NMG-012 - Argument Default Values
- ST-NMG-016 - Argument Length Exceeded
- ST-NMG-017 - Class name matches default namespace
- ST-DBP-002 - High Arguments Count
- ST-DBP-003 - Empty Catch Block
- ST-DBP-007 - Multiple Flowchart Layers
- ST-DPB-010 - Multiple instances of [Workflow] or [Test Case]
- ST-DBP-020 - Undefined Output Properties
- ST-DBP-021 - Hardcoded Timeout
- ST-DBP-023 - Empty Workflow
- ST-DBP-024 - Persistence Activity Check
- ST-DBP-025 - Variables Serialization Prerequisite
- ST-DBP-026 - Delay Activity Usage
- ST-DBP-027 - Persistence Best Practice
- ST-DBP-028 - Arguments Serialization Prerequisite
- ST-USG-005 - Hardcoded Activity Arguments
- ST-USG-009 - Unused Variables
- ST-USG-010 - Unused Dependencies
- ST-USG-014 - Package Restrictions
- ST-USG-017 - Invalid parameter modifier
- ST-USG-020 - Minimum Log Messages
- ST-USG-024 - Unused Saved for Later
- ST-USG-025 - Saved Value Misuse
- ST-USG-026 - Activity Restrictions
- ST-USG-027 - Required Packages
- ST-USG-028 - Restrict Invoke File Templates
- ST-USG-032 - Required Tags
- ST-USG-034 - Automation Hub URL
- Variables
- Arguments
- Imported Namespaces
- Coded automations
- Introduction
- Registering custom services
- Before and After contexts
- Generating code
- Generating coded test case from manual test cases
- Trigger-based Attended Automation
- Recording
- UI Elements
- Selectors
- Object Repository
- Data Scraping
- Image and Text Automation
- Citrix Technologies Automation
- RDP Automation
- VMware Horizon Automation
- Salesforce Automation
- SAP Automation
- macOS UI Automation
- The ScreenScrapeJavaSupport Tool
- The WebDriver Protocol
- Extensions
- About extensions
- SetupExtensions tool
- Hardware and software requirements
- Installing the UiPath Remote Runtime
- Task Scheduler
- UI Automation dependency
- Side-by-side support
- Adding Remote Runtime dependencies
- Remote Runtime architecture
- Group Policies
- Cannot communicate with the browser
- Chrome extension is removed automatically
- The extension may have been corrupted
- Check if the extension for Chrome is installed and enabled
- Check if ChromeNativeMessaging.exe is running
- Check if ComSpec variable is defined correctly
- Enable access to file URLs and Incognito mode
- Multiple browser profiles
- Group Policy conflict
- Known issues specific to MV3 extensions
- List of extensions for Chrome
- Chrome Extension on Mac
- Group Policies
- Cannot communicate with the browser
- Edge extension is removed automatically
- The extension may have been corrupted
- Check if the Extension for Microsoft Edge is installed and enabled
- Check if ChromeNativeMessaging.exe is running
- Check if ComSpec variable is defined correctly
- Enable access to file URLs and InPrivate mode
- Multiple browser profiles
- Group Policy conflict
- Known issues specific to MV3 extensions
- List of extensions for Edge
- Extension for Safari
- Extension for VMware Horizon
- Extension for Amazon WorkSpaces
- SAP Solution Manager plugin
- Excel Add-in
- Studio testing
- Troubleshooting

Studio User Guide
Using the Data Manager
The Data Manager panel allows you to manage various types of data in your automation project. This data includes:
- Variables - Store data of different types and pass it between activities in a project.
- Arguments - Store data of different types and pass it between workflows.
- Constants - Store global immutable values of basic types.
- Resources - Activities that add resources such as files, email accounts, applications, or browsers to the project.
- Connections - Links between your automation and external applications.
- Namespaces - Define the scope of your expressions, variables, and arguments. Importing namespaces makes it easier to refer to elements from those namespaces.
- Variables
- Arguments
- Namespaces
- Connections
For additional information about variables, see Managing Variables.
- Navigate to the Variables tab.
- Select Create variable. Your new variable appears at the top of the list of variables.
- Indicate the name, data type, scope, and default value for the variable.
The scope can be set to global (available in the entire project), the current workflow file, or any container activity within the workflow file. The default value is the current workflow file.
- Global variables cannot be used in isolated workflows (files invoked using Invoke Workflow File activities configured with the Isolated option).
- Global variables are not supported in library projects.
- In C# projects, using a global variable or a global constant in activities requires
following the format:
GlobalVariablesNamespace.GlobalVariables.YOUR_GLOBAL_VARIABLE_NAME
. In VB projects, you can reference the global variable or global constant by its name directly.
- Select the Name column to sort variables by their name.
- Search for variables by selecting the search icon.
- Select the Data Type column to sort variables by their data type.
- Select the Scope column to sort variables by their scope.
- Select the Sync with active scope button. When an active scope is in focus, for example, a Use Excel File activity is selected, it only displays the variables with the matching scope assigned to them.
- See the default value of variables in the Default Value column.
- Edit the name, data type, scope, or default value of a variable. In the case of global variables, you can edit the value, but not the name, type, or scope.
- New > Global variable - Creates a global variable.
- New > Constant - Creates a constant.
- Create trigger - Creates a trigger from a global variable. Global variables are used in trigger-based attended automation to store data about user or application events. This data can then be used to trigger other activities or workflows (for example, when the value of a global variable changes). To learn more, refer to Trigger-based Attended Automation.
- Convert to Argument - Converts the variable to an argument. The newly converted argument can be found in the Arguments tab.
- Copy - Copies the variable. You can also use the CTRL + C keyboard shortcut.
- Paste - Pastes the copied variable. You can also use the CTRL + V keyboard shortcut. When a variable with the same name already exists, a number is added to the duplicate's name. For example, if a variable with the name number already exists, the copied variable is renamed to number_1.
- Delete - Deletes the variable.
- Add watch - Adds the variable to the Watch panel. This is available only during debugging.
- Annotations - Displays the options to work with annotations. Use annotations to
provide context or just to better keep track of the purpose and contents of
variables:
- Add annotation - Creates a new annotation.
- Edit annotation - Edits an existing annotation. Alternatively, you can edit annotations by selecting the annotation icon next to a variable and changing the text.
- Delete annotation - Deletes an existing annotation.
- Find References - Opens the Find references panel, which displays all references to the variable in the project.
For additional information about arguments, see Managing Arguments.
- Navigate to the Arguments tab.
- Select Create argument. Your new argument appears at the top of the list of arguments.
- Indicate the name, direction, data type, whether it is required, and the default value. By default, all new arguments are of String type and have an In direction.
- Select the Name column to sort arguments by their name.
- Search for arguments by selecting the search icon.
- Select the Direction column to sort arguments by their direction.
- Select the Data Type column to sort arguments by their data type.
- Indicate if an argument is required in the Required column.
- See the default value of arguments in the Default Value column.
- Edit any of the following: direction, data type, whether it is required, and default value.
- Select multiple variables by clicking and dragging the mouse cursor over the variables or by using the CTRL + A keyboard shortcut.
- Convert to Variable - Converts the argument to a variable. The newly converted variable can be found in the Variables tab.
- Copy - Copies the argument. You can also use the CTRL + C keyboard shortcut.
- Paste - Pastes the copied argument. You can also use the CTRL + V keyboard shortcut. When an argument with the same name already exists, a number is added to the duplicate's name.
- Delete - Deletes the argument.
- Annotations - Displays the options to work with annotations:
- Add annotation - Creates a new annotation.
- Edit annotation - Edits an existing annotation. Alternatively, you can edit annotations by selecting the annotation icon next to an argument and changing the text.
- Delete annotation - Deletes an existing annotation.
- Find References - Opens the Find references panel, which displays all references to the argument in the project.
- Select multiple arguments by clicking and dragging the mouse cursor over the arguments or by using the CTRL + A keyboard shortcut.
Constants enable you to define fixed values that do not change during project execution. Constants are available globally and can be referenced in activity input fields throughout a project. For example, if a company name or department name is an input in multiple screens, you can store the name in a constant and reference it in the activities that interact with each screen.
- Constants are not available in Windows - Legacy projects and are not supported in library projects.
- Currently, you cannot change the name or data type of a created constant. You can only change the constant's default value.
- Variables that do not have a global scope can have the same name as a constant. To
distinguish between a constant and a variable with the same name, access the constant
using its full name
(
GlobalConstantsNamespace.GlobalConstants.YourConstantName
).
- Navigate to the Variables tab.
- Right-click a variable or constant.
- Select New > Constant.
- Provide the following information:
- Enter the name of the constant.
- Select the data type of the constant: Text, Number, True or False, Number with decimals, Date, or Duration.
- Enter the value of the constant.
- Select OK. Your new constant appears at the top of the list of variables.
- New > Global variable - Creates a global variable.
- New > Constant - Creates a constant.
- Copy - Copies the constant. You can also use the CTRL + C keyboard shortcut.
- Paste - Pastes the copied constant. You can also use the CTRL + V keyboard shortcut.
- Delete - Deletes the constant.
- Find References - Opens the Find references panel, which displays all references to the constant in the project.
For additional information about namespaces, see About Imported Namespaces.
- Open the Data Manager.
- Navigate to the Namespaces tab.
- Select Add namespace.
- A drop-down menu listing available namespaces is displayed. To filter through the list, use the search box at the top of the menu.
- Select the namespace to import it.
To remove a namespace, right-click the namespace and select Delete.
- Open the Data Manager.
- Navigate to the Connections tab to view a list of connectors used in the project and their corresponding connections.
In Windows - Legacy and Windows projects, you can navigate to the Variables tab in the Data Manager to view and manage the following resources in the current project file:
- Applications and browsers added in Use Application/Browser activities.
- Word documents added in Word Application Scope activities.
- PowerPoint presentations added in Use PowerPoint Presentation activities.
- Email accounts added in Use Desktop Outlook App, Use Outlook 365, and Use Gmail activities.
- Excel files used in the automation:
- Files added in Use Excel File activities for use with modern Excel activities.
- Files added from the Data Manager using the Connect to new Workbook file option for use with Workbook activities.
Managing Excel file resources (modern Excel activities)
After you add an Excel file with a Use Excel File activity, you can manage the resource as follows:
- To configure the resource, right-click
it in the Variables tab and select Configure. The Manage resource
window is displayed.
- Select Excel file - Browse to and select the Excel file.
- And give it a name for later - Enter the name by which to refer to the file in the project (by the default, Excel). This is the name of the option that will be available in the Plus menu in children activities of the Use Excel File activity, allowing you to reference the Excel file.
- Save changes - Select this option if you want the file to be saved at the end of the automation. Otherwise, the file is returned to the initial state after project execution. This option is selected by default.
- Read only - Select this option if you want to open the file in read-only mode. This allows you to perform data extraction operations if the file is locked for editing or has an edit password. This option is not selected by default.
- To remove the Use Excel File activity and all its children activities from the project, right-click the Excel resource and select Delete.
Connecting to an Excel file (Workbook activities)
In projects where you use multiple Workbook activities with the same large Excel file, you can achieve the best runtime performance by connecting to the Excel file from the Data Manager to add it as a resource. This ensures the file is loaded in the memory once for all activities at runtime. If you choose to provide the path to the Excel file in each Workbook activity, the file is loaded in the memory for each activity.
To add an Excel workbook as a resource:
- Navigate to the Variables tab.
- Right-click in the panel and select New > Connect to a new Workbook file. The Manage resource window is displayed.
- Configure the resource:
- Select Excel file - Browse to and select the Excel file.
- And give it a name for later - Enter the name by which to refer to the file in Workbook activities (by the default, the file name). This is the name of the option that will be available in the Plus menu of the Workbook property allowing you to reference the workbook file.
- Password - Enter the password of the file, if applicable.
- Scope - Select the scope of the resource. By default, the scope is set to the main container. To optimize performance, set the scope to the container closest to where the activities that use the resource are placed in the workflow.
After the resource is created, you can edit its configuration by right-clicking it in the Variables tab and selecting Configure. You can reference the resource in multiple Workbook activities by selecting the resource from the Plus menu.
Managing resources
To manage a resource from the Variables panel, right-click the resource and select one of the options in the context menu:
- Open - Opens an Excel, PowerPoint, or Word file added as a resource.
- Open file location - Opens the
folder containing an Excel, PowerPoint, or Word file added as a resource.
This option is not available when working with remote files (for example, SharePoint).
- Configure - Opens the Manage resource window where you can edit the properties of an Excel resource.
- Delete - Removes the resource from the project.