Automating tasks by using UiPath processes
Before you begin
Make sure that an administrator has configured a webhook callback and UiPath connector. For more information, see Adding-a-UiPath-connector-configuration.
To create a process to use a UiPath RPA process
- Log in to BMC Helix Innovation Studio.
- Navigate to the Workspace tab, and select the application in which you want to create a process.
- In the application, select Processes, and click New.
- In the Process designer, drag the Run UiPath Process element to the canvas.
In the element Properties pane, enter the values of the following input properties:
Property
Description
Connection ID
Connection ID of the UiPath connector.
Process name
Name of the UiPath process that you want to trigger.
Select the process from the Process Name list.Important: The values in the list are fetched from the server configured in the respective connector.
Jobs Count
The number of times you want to run a job that is to run the UiPath process.
Learn about jobs in UiPath at About Jobs.(Optional) Job Priority
Job execution priority.
Specify any one of the following priorities:- Low
- Normal
- High
Learn about job priorities in UiPath at About Jobs.
Strategy
Specifies the robots to run.
You must specify the value as ModernJobsCount.(Optional) Runtime Type
The supported value is Unattended.
You cannot change this value. Learn about runtime types in UiPath at Managing Jobs.Parameters
Parameters for the process.
Important: The supported data types are String, Number, Integer, Boolean, and Date.The Run UiPath Process output property is JSON that provides the response and status of the UiPath process. For example:
out "{startedJobs=[{\"Id\":\"57566841\",\"Key\":\"24cb74f5-3628-4368-b9d9-c9b70fdf3f4a\",\"State\":\"Pending\",\"Info\":null,\"Source\":\"Manual\",\"SourceType\":\"Manual\",\"InputArguments\":\"{\\\"arg2\\\":\\\"MishiByCode\\\",\\\"arg1\\\":\\\"SwethaByCode\\\"}\",\"OutputArguments\":null}]}"- If required, add the other process elements and specify the flow of execution that you want to create for your business logic.
- Save the process.
Example: Automating the task of uploading expenses by using a UiPath RPA process
Ajay is an application business analyst at Apex Global. He wants to automate the task of uploading expenses by using an UiPath RPA process so that minimal manual intervention is required to complete the task. Ajay performs the following actions to create a process to trigger the UiPath RPA process that performs the task:
Step | Description | Example |
---|---|---|
1 | Create the process. | |
2 | Add the process properties to map the UiPath process input variables. | |
3 | Add Create Document properties. | |
a. To add a document, select the UiPathParams document definition. | ||
b. To add values for the document nodes, click Add/Remove Document Nodes, and select the key and value check boxes of nodes. | ||
3 | Add Run UiPath Process properties. | |
4 | In the UiPath Process Properties, select the process from the Process Name drop-down list. | |
5 | Save the process. |
Example: Using UiPath callback to receive notifications about process completion
Ajay is an application business analyst at Apex Global. He automates a task by using an RPA process in UiPath. He wants to receive a notification about the process completion. Ajay performs the following actions to automate the task and receive notification about the completion or failure of the task:
Step | Description | Example |
---|---|---|
1 | In your application, create the process to automate the task. | |
a. Add the process properties to map the UiPath process input variables. | ||
b. Add Create Document properties. | ||
i. To add a document, select the UiPathParams document definition | ||
ii. To add values for the document nodes, click Add/Remove Document Nodes, and select the key and value check boxes of nodes | ||
c. Add Run UiPath Process properties. | ||
d. Add Receive Task properties. | ||
e. Add Timer properties. | ||
f. Add Send In App Notification properties. | ||
g. Add Send In App Notification properties. | ||
h. Save the process. | ||
2 | Create the rule that is triggered by the UiPath callback. | |
a. Add the Trigger properties. | ||
b. Add the Qualification properties. | ||
c. Add the Signal Process properties. | ||
d. Save the rule. |