- About this guide
- Getting started
- Installing
- Upgrading
- Connecting and licensing
- Configuring
- Running workloads
- RPA processes and tests
- Agents, functions, and API workflows
- Limits
- Securing and governing
- Monitoring
- Troubleshooting
- Reference
Attended automations
Attended automations run under human supervision, with users providing credentials and triggering processes from the Assistant.
What are attended automations
Attended automations are designed to run under human supervision, making them ideally suited for smaller, more fragmented tasks, such as submitting expense reports. For example, once the user logs into the system, the automation takes over to fill in necessary information, attach requested items, and submit the report.
To ensure security, attended automations should only be permitted to undertake tasks or actions that fall within a specific user access rights. This preventive measure is important because there is no security isolation between an active automation and the user controlling it. Users must provide all required credentials during the execution of an attended process.
If the automation executes actions outside of the user access, it unknowingly provides the user with unauthorized access. For example, if an expense report automation also includes approval access, the user could potentially manipulate the automation to approve any report, an action not ordinarily permitted with their own credentials.
Where does Orchestrator come into play
In attended automation, Orchestrator ensures the centralized management and correct delivery of package versions to robots for execution.
To allow an attended automation access to resources in an Orchestrator folder, the administrator has to add the corresponding account (either a user or a robot account) to that specific folder. The account also needs permissions for operations required by the automation within the designated folder. For example, some automations might run exclusively under a specific account.
Where does Assistant come into play
The Assistant works as a user sidekick in automating processes, allowing the attending user to manage and run automations with a few clicks. From a technical standpoint, the Assistant is the client of the User Mode Robot Service, which is the brain behind all operations performed during automation execution.
The User Mode Robot
The User Mode Robot is best suited in attended scenarios, as it runs under the local user that starts it and has the exact rights as that particular user. By default, the Robot Service starts when a user signs in, assuming it is configured to start upon login. Otherwise, opening the Assistant starts the Robot Service automatically.
Licensing
To perform attended operations, the user under which the robot runs must be assigned a license that provides that user rights to use attended licenses. These are the user licenses that include the attended robot: Basic, Plus, Pro, and App Test Developer in Unified Pricing, and Attended, Citizen Developer, and Automation Developer in Flex. App Tester and the Flex Tester license don't include it.
Permissions to run attended automations
To run attended automations, you need to have the following permissions and roles:
- Role permissions
- Machines - View, Create, and Edit
- Users - View, Create, Edit, and Delete
- Robots - View, Create, and Edit
- Organization Administrator role - this is needed in order to create an account at the organization level and assign it to the Everyone group.
- At least one of these four action combinations:
- You have permission to view and edit robot units.
- You have permission to view robot units and edit subfolders.
- You have permission to view subfolders and edit robot units.
- You have permission to view and edit subfolders.
The following roles are automatically allocated:
- When creating a robot account, the Allow to be Automation User tenant role is allocated.
- When selecting a folder, the Automation User folder role is allocated.
Authenticating
To authenticate robots in order to execute attended automations, Orchestrator verifies the identity of the UiPath Robot that needs to access Orchestrator resources. Validating that identity determines a trust relationship for further interactions.
For attended automations, there are two options to authenticate robots: Interactive Sign-in (the Service URL option in Assistant) and Hybrid, which allows both user sign-in and machine key connections. These authentication options are found in Orchestrator > Tenant > Settings > Robot Security.
Interactive Sign-in SSO (Recommended) - This option only allows for robot connections with tokens that expire. Users can authenticate their robots only by signing-in with their credentials in Assistant. User sign in is required to run attended automations, make Orchestrator HTTP requests, or view automations in Assistant. When using interactive sing-in, there is no need to create machine objects in Orchestrator.
Hybrid - This option allows both user sign-in and machine key connections. Machine key connections are deprecated. Users can still sign in with their credentials to connect Studio and Assistant to Orchestrator, but it is not mandatory. For the security differences, refer to Client credentials and machine keys.