To offer a well-rounded approach to cutting edge technologies, Bizagi features its RPA integration capabilities with Automation Anywhere.
Automation Anywhere is one of the leading RPA vendors on the market. They provide a robot development environment called Automation Anywhere Enterprise Cilent, and an online Bot Store where you can download several Automation Anywhere bots designed to solve common issues that companies want to approach with RPA.
You can program a RPA robot to perform pretty much any task a person is able to do in a GUI, and are particularly useful for tasks require consulting multiple information systems, or involve repetitive operations. With Automation Anywhere integration, you can trigger the execution of a bot at a specific step of a process and send the parameters it needs to perform its task successfully. After that, you have to wait for the bot to finish executing its task, which probably would take much less time than a person doing it manually. For additional information on RPA and its possibilities, refer to Bots.
In this article, you can find a step-by-step guide on how to configure the integration between a Bizagi project and a Automation Anywhere bot, relevant notes regarding this topic, and a simple example of this integration.
When integrating an RPA bot with a Bizagi Project, Bizagi is only responsible for triggering the execution of the sequence of actions that the bot is programmed to do. Any error during the execution of the bot and any miscalculation or problem with the logical sequence of steps that the bot takes, is a consequence of what the developer of the bot programmed it to do.
Configuring a connection with your Automation Anywhere server
To configure the integration of a bot with a Bizagi process, you first need to develop your bot and publish it into the Automation Anywhere Control room. Make sure that you have access to the control room and permissions to add workitems to queues.
Once you have taken care of the Automation Anywhere setup of the robot, head to Bizagi Studio and go to the Expert view.
Click the Bots option and locate the Automation Anywhere branch under RPA bots.
Click Automation Anywhere and then select Add Connection.
At this point, the Automation Anywhere RPA configuration wizard appears. The following list, explains the parameters you need to configure in order to assure a successful connection to your server, which hosts the process you want to trigger from Bizagi.
•Display Name: A name for the connection to let you identify it in later steps. It can be any name you want.
•Base URL: The URL associated with your Automation Anywhere server along with the port used to established the connection.
•Username/e-mail: The username you use to access the server.
•Password: Password of the user introduced in the previous field.
Once you are finished filling in the form fields, click Test connection and check that the resulting connection status in the text field below, shows a message indicating a successful connection.
If a message indicating otherwise appears, review the inputted information or your server configuration, and try again. Once your connection is successful, click OK.
You can configure a different connection for each of your Environments by creating a new configuration in their respective tab. You can change these connections for your Test or Production environment from the Management Console.
You don't have to configure a Callback URL unless you are using Automation Anywhere Callbacks.
Under the Automation Anywhere branch, the new connection appears. Its name is the same as the Display Name.
Adding a Automation Anywhere Queue to your configured connection
After successfully configuring the connection, you need to add the Automation Anywhere process that you want to trigger from Bizagi. You can do this by clicking the connection and then clicking the Add Automation Anywhere queue button.
The Automation Anywhere Queue Configuration wizard appears. Here you can see all the available queues from your control room.
Configuring a Queue
In the first step of the Wizard select your queue and provide a Display Name for your queue and click Next.
In the next window you will see the expected queue structure. Verify that this is your expected structure.
Executing a configured Automation Anywhere bot from a Process
At this point, you have configured a connection to your Automation Anywhere server and made some of its processes available to be triggered from a Bizagi Process. However, you have not actually configured the process execution yet. There are two different ways to trigger the execution of an RPA bot from Bizagi: From an On Exit Activity action and From a Bot Task.
Triggering the execution of an RPA Bot from an On Exit Activity Action
Use this way of triggering the execution of a Bot whenever you want to launch the process just before a task is actually completed. This is useful for capturing values on forms and using them as parameters for execution.
When you configure a bot to be executed as an Activity Action, its execution is synchronous. This means that the task will not complete until the bot successfully completes its execution.
Be careful when doing this kind of configuration, since any problem with the bot may cause your process to get stuck. Keep in mind that this option is not available for Service Tasks since they are asynchronous.
To use this alternative, go to the fourth step of the Process Wizard and select Activity Actions, click the task on which you want to add the On Exit Activity and then click the plus icon to add a new Activity Action.
Select the option RPA Bot and the RPA Execution Configuration Wizard appears.
Triggering the execution of an RPA bot from a bot Task
Use this way to trigger execution of a bot when you want to set the process executed by the bot as a task in itself. With this alternative you can also send parameters to the bot from a queue or your Data Model.
By configuring a bot to execute as an Activity Action, its execution is asynchronous. This means that other active tokens continue their execution, while the bot is executed.
Keep in mind that Bizagi is only responsible for triggering execution of the bot and sending and receiving parameters. Execution of the bot is entirely dependent of Automation Anywhere and whatever the developer configured in Automation Anywhere - Robotic Process Automation Software.
Configure the task that the bot executes on your model, by changing its type to a Bot Task.
A bot task is identified by the icon.
Then go to the Sixth step of the Wizard Define Integration Interfaces (Optional), to configure the execution.
Click the task you just converted to a Bot Task, to launch the RPA Execution Configuration Wizard.
No matter whether you are triggering the bot from an Activity Action or a Task, the RPA Execution Configuration Wizard appears.
In this Wizard you can configure the triggering of an RPA bot when your process reaches this point on its flow. First, select the corresponding RPA vendor on the left panel, in this case click Automation Anywhere.
After you select your vendor, you can see on the main panel the list of available bot configurations. This list corresponds to what you have previously configured on the Expert View. Select the queue you want to use at this point of your process.
In a Automation Anywhere Bot you don't need to configure any runtime parameters.
Once you are done providing this information, click Next. If your bot receives parameters, you will see a mapping interface in which you can select which attribute of your data model is going to be used as a parameter by the bot. You will be prompted to map in which attribute of your data model the resulting information from the bot is going to be stored.
If you configured the process in the Expert View, indicating that it does not receive any parameters, these steps are automatically skipped.
Otherwise map the inputs to your data model an click Next.
In this example, the bot receives the name of the CV it will read in the input nameFile as a parameter, reads the CV looking for information about the candidate.
Once you are done mapping all inputs click Finish.
You have now configured a bot to execute each time the process flow gets to that specific point.
When using an Automation anywhere no output is provided by the bot. To get obtain the results of a bot you need to program it to use the Bizagi Metabot directly from Automation Anywhere. For more information go to Automation Anywhere Metabot.
Here are all the data types you can use when using a Automation Anywhere bot from Bizagi: