- Getting Started
- Test Sets
- Executing Tests
- Test Results
- Export Data
- Bulk Operations
- Mobile Device Automation
- Mobile Device Automation architecture
- Getting Started
- Managing Mobile Device Manager
- Managing Applications
- Creating Mobile Automation Workflows
- Device Interaction
- Automation for React Native Apps
- Mobile Automation Activities
Running a job inside Orchestrator
- Create a process in Orchestrator.
- Run the CLI
exe(for Windows) or
dll(for Linux) file.
- Add the Orchestrator API Access Application Scopes below:
Assets read and write access in Orchestrator.
BackgroundTasks read and write access in Orchestrator.
Execution read and write access in Orchestrator.
Folders read and write access in Orchestrator.
Jobs read and write access in Orchestrator.
Machines read access in Orchestrator.
Monitoring read and write access in Orchestrator.
Robots read access in Orchestrator.
Settings read access in Orchestrator.
TestSets read and write access in Orchestrator.
TestSetExecutions read and write access in Orchestrator.
TestSetSchedules read and write access in Orchestrator.
Users read access in Orchestrator.
uipcli job. Now you can see a list of the available the sub-tasks.
Specify the required parameters and run the
runsub-task.See the list of parameters below.
Process Name (pos.0)(Required)
The name of the process that you want to run.
Orchestrator URL (pos.1)(Required)
The URL of the Orchestrator instance.
Orchestrator Tenant (pos.2)
- (Required) for SaaP deployments.
- (Optional) for PaaS deployments.
The tenant of the Orchestrator instance, where you want to run processes.
--input_path(Required only if the entry point of the workflow has input parameters)
The full path to the JSON input file corresponding to the process that you want to run.
--username(Required if you use Basic Authentication, through a username and a password)
The username used for authenticating to Orchestrator. You must pair it with the corresponding password.
--password(Required if you use Basic Authentication, through a username and a password)
The password used for authenticating to Orchestrator. You must pair it with the corresponding username.
--token(Required if you use token-based authentication)
The OAuth2 refresh token used for authenticating to Orchestrator. You must pair it with the Account Name and Client ID.
--accountName(Required if you use token-based authentication)
The Orchestrator CloudRPA account name. You must pair it with the OAuth2 refresh token and Client ID.
--applicationID(Required if you use external application authentication)
The external Application ID. You must pair it with the Application Account, Application Secret, and Application scope.
--applicationSecret(Required if you use external application authentication)
The external Application Secret. You must pair it with the Application Account, Application ID, and Application scope.
--applicationScope(Required if you use external application authentication)
The list of application scopes, separated by single spaces. You must pair it with the Application Account, Application ID, and Application Secret for external application.
The priority that you want to run the job with:- Low.- Normal (default).- High.
A list of specific robot names, separated by commas.
The number of times that you want to run the process. The default number of times that the process runs is one.
The name of the user. This should be a machine user, not an Orchestrator user. For local users, the format is MachineName\UserName.
The name of the machine that you want to run the process on.
The full path to a JSON file, or to a folder, where you want to store the results of the job. The results return as JSON files.
The timeout for job executions (seconds). The default is 1800 seconds.
The command fails when one job fails, The default for this is True.
The command waits for the job to finish. The default for this is True.
--job_type(for modern folders only)
The type of runtime for the job. You can choose:-
The Orchestrator CloudRPA account name. You must pair it with the Application ID, Application Secret, and Application scope for external application.
The name of the Orchestrator folder (organization unit).To input subfolders make sure to input both the parent folder name and the name of the subfolder. For instance, use
job run ProcessName "https://uipath-orchestrator.myorg.com" default -u admin -p 123456 -P High -o MyFolder
job run ProcessName "https://uipath-orchestrator.myorg.com" default -t a7da29a2c93a717110a82 -a myAccount -P High -j 3 -w false
job run ProcessName "https://uipath-orchestrator.myorg.com" default -t a7da29a2c93a717110a82 -a myAccount -r robotName -R C:\Temp\status.json
To register an external application so that it can access your UiPath resources using OAuth:
- Log in to the tenant as an Administrator.
- Go to Tenant > Manage access > Assign roles and click Manage Accounts & Groups.
The tenant-level opens.
- Along the left, select External Applications.
The External Applications page opens, listing all the existing external applications registered for the current tenant:
- Above the table, on the right, click Add Application.
- Fill in the Application Name field.
- Select an option for Application Type.
If you select Confidential application, you receive an app secret at the end, so make sure your application can store it securely. If it can't, select Non-confidential application.
- Under Resources, click Add Scopes.
The Edit Resource panel opens on the right, where you can select the resources to which the application should have access.
- From the Resource drop-down list, select the UiPath API that the application can use.Note: You can only add scope for one resource at a time. If you want to allow access to multiple resources, repeat this process to add scope for each resource.
- On the User Scope(s) tab, select the check boxes for the logical API permissions that you want to grant, as needed.
Granting permissions under user scope means that the external application can access those resources within a user context and a user with the appropriate permissions must be logged in.
- If this is a confidential application, you can switch to the Application Scope(s) tab to also grant application-level permissions for the selected resource, as needed.
With permissions under application scope, the external application has access to application-wide data for the selected scopes without the need for user interaction.
Non-confidential applications cannot access application scope.
- Click Save.
The panel closes and the selected resource and scopes are added to the Resources table in the form.
- If the external application can accept it, you can add a URL in the Redirect URL field and the authorization response is sent there. The application can then use it to access UiPath resources.
- Click Add to create the registration.
A confirmation message opens. For confidential applications, the confirmation message includes the app secret that the registered external application can use to request authorization. Make sure you save it in a secure location because you cannot see it again.