- Release Notes
- 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
- UiPathRemoteRuntime.exe is not running in the remote session
- UiPath Remote Runtime blocks Citrix session from being closed
- UiPath Remote Runtime causes memory leak
- UiPath.UIAutomation.Activities package and UiPath Remote Runtime versions mismatch
- The required UiPath extension is not installed on the remote machine
- Screen resolution settings
- 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
- Test Suite - Studio
- Troubleshooting
- About troubleshooting
- Assembly compilation errors
- Microsoft App-V support and limitations
- Internet Explorer X64 troubleshooting
- Microsoft Office issues
- Identifying UI elements in PDF with Accessibility options
- Repairing Active Accessibility support
- Validation of large Windows-legacy projects takes longer than expected
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.
- Entities - Records from the Data Service, a centralized data modeling and storage service.
-
The following resources from Orchestrator, provided that the Robot is connected to Orchestrator:
- Processes - A process represents a package version linked to a particular folder. When you deploy a new process, it becomes available for all accounts that have access to that Orchestrator folder.
- Assets - Assets usually represent shared variables or credentials that can be used in different automation projects. They allow you to store specific information so that the Robots can easily access it.
- Queues - Container that enables you to hold an unlimited number of items. Queue items can store multiple types of data, such as invoice information or customer details, and enable you to create large automation projects underlined by complex logic.
- 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.
- Create - Contains the options to create a new Variable, Argument, and Constant.
- Expand All - Expands all of the categories in the Data Manager.
- Collapse All - Collapses all of the categories in the Data Manager.
- Refresh - Refreshes the Data Manager and reloads the data into it. Categories can be refreshed independently. A loading icon is displayed next to each category while it is loading. Resources are disabled while they are loading and become available after the loading finishes.
- Group items by scope - Groups your variables in the panel depending on the scope assigned to them.
- Sync with active scope - 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.
- Sort sections elements - Lets you sort data by selecting one of the available options: Default, Name A-Z, Name Z-A.
- Data manager filters - Lets you select what data is visible in the panel.
For additional information about variables, see Managing Variables.
Creating variables in bulk
To create multiple variables at once, right-click Variables in the Data Manager, and then select Bulk Create Variables. In the Variables Panel window, click New and add the details for each variable you want to add.
Editing a Variable
Removing a Variable
- Open the Data Manager panel.
- Expand the Variables node, then right-click a variable and select Delete Variable.
Converting a Variable to an Argument
- Open the Data Manager panel.
- Under Variables, right-click a variable to open the context menu.
- Select Convert to Argument.
The newly converted argument can be found in the Arguments section of the panel.
Finding All the References to a Variable
Creating 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, see Trigger-based Attended Automation.
To create a trigger from a global variable:
- Open the Data Manager panel.
-
Under Variables, right-click a global variable to open the context menu.
-
Select Create trigger.
-
The Add New File window appears, where you can specify the name of the trigger file and the location where it is stored.
For additional information about arguments, see Managing Arguments.
Creating arguments in bulk
To create multiple variables at once, right-click Arguments in the Data Manager, and then select Bulk Create Argument. In the Arguments window, click Add and add the details for each argument you want to add.
Editing an Argument
Removing Arguments
- Open the Data Manager panel.
- Under Arguments, right-click an argument to open the context menu.
- Select Delete.
Converting an Argument to a Variable
- Open the Data Manager panel.
- Under Arguments, right-click an argument to open the context menu.
- Select Convert to Variable.
The newly converted variable can be found in the Variables section of the panel.
Finding All the References to an Argument
You can copy and paste arguments or variables within the task. Right-click a variable or argument and select Copy. To paste it, right-click in the Data Manager panel and select Paste.
When a variable or argument 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.
You can add annotations to your variables and arguments to provide context or just to better keep track of the purpose and contents of those variables or arguments.
To add an annotation:
To edit or remove annotations, simply right-click an argument or variable and select either Edit Annotation or Remove Annotation.
Alternatively, you can edit pinned annotations by clicking them in the panel and changing the text.
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.
After you create a constant, you can edit its value, but not its name, type, or scope.
- Constants are not available in Windows - Legacy projects and are not supported in library projects.
- You can order variables, arguments, and constants freely by dragging and dropping them. This feature is disabled when you select the Group items by scope option.
- 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
).
In Windows - Legacy and Windows projects, you can expand the Resources node 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.
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 Data Manager 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.
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:
- At the top of the Data Manager, select Plus > 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 Data Manager and selecting Configure. You can reference the resource in multiple Workbook activities by selecting the resource from the Plus menu.
To go to the activity where a resource is defined in the project, double-click the resource in the Data Manager.
To manage a resource from the Data Manager, 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.
For information about managing entities, see Importing Entities.
The Data Manager displays Orchestrator resources (processes, assets, and queues) available in the currently selected Orchestrator folder. The panel displays resources from both classic and modern folders. Read more about folders.
If the Robot connected to Orchestrator is of type Standard, then the Data Manager panel can display only the Classic folder which has this Robot provisioned. If the Robot is of type Floating, then the panel displays all Classic and Modern folders that this Robot has access to. Read more about creating Robots in Orchestrator .
To use a process, asset, or queue, drag-and-drop it from the Data Manager into the Designer panel. A set of activities is suggested depending on the resource type, and selecting one adds the activity to the project preconfigured to use the selected resource. For example, if you drag-and-drop a process, the Add Activity search bar is displayed with the suggested activities Invoke Process, Start Job, and Run Parallel Process. Selecting Invoke Process adds the activity with the folder path and process name fields configured with the data of the process.
You can manage the Orchestrator resources as follows:
- Right-click any resource under Assets, Queues, and Processes to access the context menu where you have the option to open the resource in Orchestrator or copy the name and use it in activities that interact with such resources.
-
To update Orchestrator resources, click the Refresh button at the top of the Data Manager panel.
Note:- When using a classic,
manually provisioned robot, it must be granted
View
permissions for the corresponding resources (that is, Assets, Queues, and Processes) to appear in the panel. Read more about setting up Roles and permissions in Orchestrator. - If there are both classic and modern folders in Orchestrator and you are connected to Orchestrator using a robot from a modern folder (you signed in to your account or connected using a machine template key), the processes in the classic folders are not available in the Data Manager panel. To have access to the processes from a classic folder, connect to Orchestrator using a classic robot with a standard machine key connection.
- When using a classic,
manually provisioned robot, it must be granted
The folder from which resources are currently loaded in the panel is displayed in the Studio status bar. You can switch to a different folder that you have access to by clicking the current folder name, and then selecting another Orchestrator folder from the menu that appears. In addition to the resources that are available in Studio, the folder selection also determines the default targets available when publishing your processes.
To load resources into the panel, click the Refresh button at the top of the panel. Hover over the folder name in the status bar to see the Orchestrator URL.
Drag and drop assets, queues, or processes from the Data Manager panel directly to your automation project. Upon doing so, suitable activities are suggested in the Add activity search bar. For example, after dragging a queue in your project, pick the Add Queue Item activity from the Add activity search bar and notice that the queue was automatically assigned to the activity's Queue Name property.
You can also right-click any item in the Data Manager panel, and then select Copy to copy its name and use it in activities that interact with such resources.
For additional information about namespaces, see About Imported Namespaces.
- Open the Data Manager, then right-click Namespaces and select Add namespace.
- A dialog listing available namespaces is displayed. To filter through the list, use the search box at the top of the dialog.
- Select the namespace to import it.
- Menu Options
- Variables
- Creating a Variable
- Managing Variables
- Arguments
- Creating an Argument
- Managing Arguments
- Copying and Pasting Arguments and Variables
- Adding, Editing, and Removing Annotations on Variables and Arguments
- Constants
- Creating a Constant
- Managing Constants
- Resources
- Managing Excel file resources (modern Excel activities)
- Connecting to an Excel file (Workbook activities)
- Managing resources
- Entities
- Processes, Assets, and Queues
- Selecting an Orchestrator Folder
- Using Orchestrator Resources In Your Projects
- Connections
- Viewing the Connections Used in a Project
- Namespaces
- Adding a Namespace
- Removing a Namespace