Automating tasks by using Blue Prism processes
The following image describes the actions to automate a task by using a Blue Prism process:
Before you begin
Make sure that an administrator has configured a webhook callback and Blue Prism connector. For more information, see Adding-a-Blue-Prism-connector-configuration.
To create a process that triggers a Blue Prism 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 then click New.
- In the Process designer, drag the Run Blue Prism 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 Blue Prism connector.
Process Name
Name of the RPA process that you want to trigger. Select the process name from the list.
Important: The RPA process must be exposed as a web service in Blue Prism.
Parameters
Parameters for the process.
Important: The following data types are supported:- String
- Time
- Number—To use Number, in Blue Prism, accept a number parameter in the string type and internally convert it to Number.
- Date—In Blue Prism, Date is used in the UTC format.
- DateTime—In Blue Prism, DateTime is used in the UTC format.
- Boolean—To use Boolean, in Blue Prism, accept a Boolean parameter in the string type and internally convert it to Boolean.
- Timespan—To use Timespan, specify a duration in minutes.
- If required, add the other process elements and specify the execution flow that you want to create.
- Save the process.
Example: Automating the task of onboarding an employee by using a Blue Prism RPA process
Ajay is an application business analyst at Apex Global. He wants to automate the task of onboarding an employee by using a Blue Prism 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 Blue Prism RPA process that performs the employee onboarding task:
Step | Description | Example |
---|---|---|
1 | Create a process. | |
2 | Add the process properties. | |
3 | To access attributes within the schema of the BlueprismParameters document definition, add the Create Document element, and enter the element properties. | |
a. To add a document, select the BlueprismParameters document definition. | ||
b. Add the values for the document nodes and use these values as input to trigger the Blue Prism RPA process. To add values for the document nodes, click Add/Remove Document Nodes, and select the key and value checkboxes of nodes. | ||
4 | To trigger the RPA process in Blue Prism, add the Run Blue Prism Process element, and enter the element properties. | |
5 | In Run Blue Prism Process properties, in the INPUT MAP section, select the process from the Process Name list. | |
a. In the Parameters field, map the Create Document output. | ||
6 | Click Ok and then click Save to save the process. |
Example: Using Blue Prism Callback to receive notifications about process execution
Ajay is an application business analyst at Apex Global. He automates a task by using an RPA process in Blue Prism. 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 output variable. | ||
b. Add Create Document properties. | ||
i. To add a document, select the BlueprismParameters document definition. | ||
ii. Add the values for the document nodes and use these values as input to trigger the Blue Prism RPA process. To add values for the document nodes, click Add/Remove Document Nodes, and select the key and value checkboxes of nodes. | ||
c. In the Run Blue Prism Process properties, select CallBackUserEndPoint from the Process Name drop-down list, and in the Parameters field, map the output of Create Document. | ||
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 Blue Prism callback. | |
a. Add the following Trigger properties. | ||
b. Add the Qualification properties. | ||
c. Add the following Signal Process properties. | ||
d. Save the rule. |