This documentation supports the 21.3 version of BMC Helix Innovation Studio.To view an earlier version, select the version from the Product version menu.

Automating tasks by using Automation Anywhere RPA bots


As an application business analyst, you can automate tasks and repetitive actions by using the Automation Anywhere Robotic Process Automation (RPA) bots. RPA bots provide the following capabilities:

  • Reduces the operating costs with automated tasks.
  • Provides accuracy and error free execution.
  • Enables automation of any process.
  • Requires minimal or no change to the underlying business processes.

The following image describes the actions to automate a task by using an RPA bot:

Automate a task by using a RPA bot.jpg

To automate a task by using an RPA bot, in your application, you can create a process to trigger an RPA bot by using the Run Automation Anywhere Bot element in the Process designer of BMC Helix Innovation Studio. You can create an RPA bot or use an existing RPA bot in Automation Anywhere.

For information about how to create or use an RPA bot, see Build bots.

Before you begin

Make sure that an administrator has configured a webhook callback URL and the Automation Anywhere connector.

To create a process to use an Automation Anywhere RPA bot

  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 click New.
    The system opens the Process designer.
  4. In the Process designer, drag the Run Automation Anywhere Bot 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 Automation Anywhere connector.

    File ID or name

    Name of the bot that you want to trigger.

    Process Correlation ID

    Correlation ID that can be used to uniquely identify a process instance execution.

    (Optional) Variables

    Value for the variables defined in your process.

    The Run Automation Anywhere Bot output property is JSON that provides the schedule ID of the bot. For example,

    {"id":"16"}
  6. If required, add the other process elements and specify the flow of execution that you want to create for your business logic.
  7. Save the process.

The following video (2:49) explains how to automate a task by using an Automation Anywhere RPA bot:

icon_play.pnghttps://youtu.be/WuNdVaKGDY4

Example: Automating the task of resetting passwords by using an RPA bot

Ajay is an application business analyst at Calbro Services. He wants to automate the task of resetting a user password by using an RPA bot so that no manual intervention is required to complete the task. To automate the task, Ajay creates a process. Ajay uses the Create Document element to access attributes within the schema of the AutomationAnywhereBotParams document definition. He adds the values for the document nodes and uses these values as input to trigger the RPA bot. He uses the Run Automation Anywhere Bot element to run the RPA bot that performs the password reset and uses the Send Message element to notify the user.

Ajay performs the following actions to create the process to automate the triggering of an RPA bot:

  1. Create the process as shown in the following image:
    RPA process.png
  2. Add the process properties as shown in the following image:
    RPA process properties.png
  3. Add the Create Document element properties as shown in the following image:
    RPA Create document properties.png

    1. To add a document, select the AutomationAnywhereBotParams document definition as shown in the following image:
      Select Automation Anywhere document definition.png
    2. To add values for the document nodes, click Add/Remove Document Nodes, and select the key and value check boxes of nodes as shown in the following image:
      Automation Anywhere document nodes.png

    Important

    Make sure that you specify the bot parameters in the bot script same as that you specify as keys in the document nodes.

  4. Add the Run Automation Anywhere Bot element properties as shown in the following image:
    Run RPA properties.png
  5. Add the Send Message element properties as shown in the following image:
    RPA send message properties.png
  6. Save the process.

Example: Using Automation Anywhere Callback to receive notifications about bot execution

Ajay is an application business analyst at Calbro Services. He automates a task by using an RPA bot. He wants to receive a notification about the bot execution so that he gets to know whether the task was completed by the bot or not. Ajay performs the following actions to automate the task and receive notification about the completion or failure of the task:

  1. In your application, create the following process to automate the task:
    AA_callback_process.png
    1. Add the process output variable as shown in the following image:
      AA_callback_output_variable.png
    1. Add the Run Automation Anywhere Bot element properties as shown in the following image:
      Callback_RunAAbot.png
    2. Add the Receive Task element properties as shown in the following image:
      AA_callback_recieve_task.png
    3. Add the Timer element properties as shown in the following image:
      Callback_timer.png
    4. Add the Send In App Notification element properties as shown in the following image:
      AA_callback_notify_on_bot_failure.png
    5. Add the Send In App Notification element properties as shown in the following image:
      Send In app notification properties.png

  1. Create the following rule that is triggered by the Automation Anywhere callback:
    AA callback rule.png
    1. Add the following Trigger element properties:
      Callback rule trigger properties.png
    2. Add the following Qualification properties:
      AA callback qualification.png
    1. Add the following Signal Process element properties:
      AA_callback_rule_signal.png

Related topics

Creating-a-document-instance

Process-variables-and-data-types

Managing-processes-by-using-the-Manage-Processes-dashboard

 

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