Automating tasks by using Blue Prism processes


As an application business analyst, automate tasks and repetitive actions, such as onboarding employees, scheduling systems, and data processing, by using the Robotic Process Automation (RPA) processes in Blue Prism. To trigger a Blue Prism RPA process, create a process in your application by using the Run Blue Prism Process element in the Process designer.

The following image describes the actions to automate a task by using a Blue Prism process:

22_1_Automating_processes_BluePrism.png

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

  1. Log in to BMC Helix Innovation Studio.
  2. Navigate to the Workspace tab and select the application in which you want to create a process.
  3. In the application, select Processes, and then click New.
  4. In the Process designer, drag the Run Blue Prism Process element to the canvas.
  5. 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.
  6. If required, add the other process elements and specify the execution flow that you want to create.
  7. Save the process.

Important

  • The process in BMC Helix Innovation Studio invokes a Blue Prism RPA process in synchronous mode with a timeout interval of 1 minute. After you run the process, if a synchronous call completes within the timeout interval, you receive the response from the RPA process. If a Blue Prism process takes more than one minute to respond, use the Blue Prism callback mechanism to receive the response from the RPA process.
  • In Blue Prism, you can run one process at a time for one digital worker. If you want to run multiple processes, you must configure a Resource Pool.

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.

22_1_Run Blue Prism process.png

2

Add the process properties.

22_1_Run Blue Prism process properties_new.png

3

To access attributes within the schema of the BlueprismParameters document definition, add the Create Document element, and enter the element properties.

22_1_Blueprism parameters_new.png

a. To add a document, select the BlueprismParameters document definition.


22_1_BlueprismParameters document definition.png

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.


22_1_BlueprismParameters Add Document Nodes.png

4

To trigger the RPA process in Blue Prism, add the Run Blue Prism Process element, and enter the element properties.

22_1_Process_name_drop_down.png

5

In Run Blue Prism Process properties, in the INPUT MAP section, select the process from the Process Name list.

22_1_Process_name_list.jpg

a. In the Parameters field, map the Create Document output.

22_1_Run Blue Prism Process parameters.png

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.

22_1_BP callback process.png


a. Add the process output variable.

22_1_BP callback output variable_new.png


b. Add Create Document properties.

22_1_BP callback create doc.png


i. To add a document, select the BlueprismParameters document definition.

22_1_BlueprismParameters document definition.png



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.

Important

Make sure that you use the authkey, processCorelationid, and callbackurl nodes as process parameters in your Blue prism process script.

22_1_BlueprismParameters Add Document Nodes.png


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.

22_1_Process_name_drop_down_example.png


d. Add Receive Task properties.

22_1_BP callback recieve task.png


e. Add Timer properties.

22_1_BP callback timer_new.png


f. Add Send In App Notification properties.

22_1_BP callback send notification1.png


g. Add Send In App Notification properties.

22_1_BP callback send notification2.png


h. Save the process.


2

Create the rule that is triggered by the Blue Prism callback.

22_1_BP callback rule.png



a. Add the following Trigger properties.

22_1_BP callback rule trigger.png


b. Add the Qualification properties.

Important

Make sure you specify the Expression field value in the following format:

22_1_Blue Prism callback expression.png="<application bundle ID:Callback Configuration name>"

For example, if you are using the BMC Digital Workplaceapplication and BlueprismConfig callback configuration, the Expression value is 22_1_Blue Prism callback expression.png="myit-sb:BlueprismConfig"

22_1_BP callback rule condition.png


c. Add the following Signal Process properties.

22_1_BP callback rule signal process_new.png


d. Save the rule.


 

Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*