- Getting started
- Administration
- Designing automations
- Creating an automation from an idea
- Creating a project
- How to start an automation
- Managing project files and folders
- Connecting automations to your accounts
- Configuring activities
- Managing the activities in a project
- Passing values between activities
- Iterating through items
- Managing the data in a project
- Configuring a project to use your data
- Using file and folder resources
- Using UI Automation for browser interactions
- Running and testing your projects
- Managing automations
- Studio Web API
Managing the data in a project
The Data Manager allows you to manage the data in an automation project. This data includes:
- Variables - Store data and pass it between activities in a project.
- Arguments - Store data and pass it into or out of a project.
- Entities - Data stored in records from the UiPath® Data Service, a centralized data modelling and storage service.
- Connections - Links between your automation and external applications.
Variables and arguments have different types depending on the data they store. There are multiple types of variables and arguments that you can create in Studio Web, the following being the most commonly used:
- Text - Stores text data. This type can be used to store any text-based information such as employee names, usernames, and any other string.
- Number- Stores numbers without decimals. You can use it to perform calculations, equations, and comparisons.
- True or false - Also called Boolean, this type has only two possible values, true or false. These enable you to make decisions and control the flow of your automation.
- Number with decimal- Similar with number, but useful when you need to use decimals for more precision.
- Date - Stores an instance in time represented by the date, hour, and minute.
- File - Stores a file or folder as a resource you can use in your project.
- List - Stores multiple values of the same type (text, number, true or false, number with decimal, date, or file). You can manipulate lists in your project by adding or removing values.
- Array [] - Stores a fixed number of multiple values of the same type (text, number, true or false, number with decimal, date, or file).
- Dictionary - Stores a collection of key-value pairs. You select the data type for both the keys and the values (text, number, true or false, number with decimal, date, or file). The data type can differ between keys and values.
If you need to use a different data type, when you create a variable or an argument, select Advanced types to explore all available data types.
The date and time data type enables you to store information about any date and time. Keep these guidelines in mind when working with date and time formats:
- To output a date (without time),
select the DateOnly advanced data type. For example, you can use:
DateOnly.FromDateTime(DateTime.Now)
DateOnly.FromDateTime(DateTime.Parse("2024/05/30"))
- To output a date with time, select
the Date advanced data type. For Date outputs, the time zone is
mandatory. If no time zone is specified, the output is rejected as not ISO
compliant. For example, you can use:
DateTime.SpecifyKind(DateTime.Now, DateTimeKind.Local)
DateTime.SpecifyKind(DateTime.Parse("2024/05/30T12:24:00"), DateTimeKind.Local)
DateTimeKind.Local
or
DateTimeKind.Utc
. Do not use
DateTimeKind.Unspecified
, as it lacks time zone information.
You can use the Data Manager to manually create and manage variables. Variables that are automatically generated for activity outputs can be managed from the Data Manager after they are used in an activity.
- In a project, click on the upper-right side of the page.
- Click next to Variables.
-
Provide the following information:
- Variable name - Enter the variable name.
- Scope - The context in which the variable can be used. All variables are currently Global (available in the entire workflow)
- Type - The data type.
- Default value - The default value.
- Select Create.
- In a project, click on the upper-right side of the page.
- Under Variables, expand the variable you want to edit.
-
You can edit the following information:
- Type - The data type.
- Default value - The default value.
- In a project, click on the upper-right side of the page.
- Under Variables, select Actions next to the variable, and then select Rename.
- In a project, click on the upper-right side of the page.
- Under Variables, select Actions next to the variable, and then select Remove. Please note that you can't remove automatically generated variables.
- In a project, click on the upper-right side of the page.
- Click next to arguments.
-
Provide the following information:
- Argument name - Enter the argument name.
-
Direction - The argument direction:
- In - The argument can be used to pass data into the project. This is the default option.
- Out - The argument can be used to pass data out of the project.
- In/Out - The argument can be used to pass data both into and out of the project.
- Type - The data type.
- Default value - The default value.
- Select Create.
- In a project, click on the upper-right side of the page.
- Under Arguments, expand the argument you want to edit.
-
You can edit the following information:
- Direction - The direction of the argument.
- Type - The data type.
- Default value - The default value.
- In a project, click on the upper-right side of the page.
- Under Arguments, select Actions next to the argument, and then select Remove.
Studio Web integrates with the Data Service to make it easy to process entity records. Data Service activities are available to create, update, query, get, or delete entity records. You select the entity to use directly from Data Service activities in your projects, and the entities are then added to the Data Manager.
To view and manage entities added to your project:
- In a project, click on the upper-right side of the page.
-
Select next to Entities to expand the list of entities.
The name and number of records of each entity is displayed.
-
You can manage entities from the Actions menu as follows:
- To create an entity that is missing from the tenant, select Actions next to the entity, and then select Create missing entity.
- To update all entities, select Actions next to Entities, and then select Update entities.
- To remove an entity from the project, select Actions next to the entity, and then select Remove from project.
- To view an entity in the Data Service, select Actions next to the entity, and then select Show in Data Service.
- To view all entities in the Data Service, select Actions next to Entities, and then select Show all entities.
- In a project, click on the upper-right side of the page.
-
The connections used in the project are displayed under Connections. This includes Integration Service connections as well as UI automation connections.
For each Integration Service connection, you can see the connection name, which activities use the connection, the activities and properties where user-specific data is used, and for some activities, you can click the icon next to each entry to scroll to the activity where the connection is used in the project. If a connection is invalid, the icon is displayed next to the connection,
To more easily identify connections, you can add a few details that describe the role of each connection by selecting See more > Add purpose.
To identify connections more easily, select the Connection purpose button next to a connection. Inside the connection purpose window, you can add a few details that describe the role of the connection, or you can delete the purpose of the connection. You can also hover over the Connection purpose button in the Data Manager to see details about the purpose. Hovering over a connection also shows information about the properties of that connection.
- Variable and argument types
- Advanced data types
- Managing variables
- Creating a variable
- Editing a variable
- Renaming a variable
- Deleting a variable
- Changing a variable into an argument
- Managing arguments
- Creating an argument
- Editing an argument
- Deleting an argument
- Changing an argument into a variable
- Managing entities
- Managing the connections used in a project