<< Click to Display Table of Contents >> Executing a configured Automation Anywhere bot from a Process |
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 configure the execution of an RPA bot from Bizagi: From an Activity Action and Defining an integration interface.
Before you start
Before you start your bot configuration, take into account the following considerations:
•Bots can only be configured in bot type tasks.
•The execution of the bot type tasks is always asynchronous.
•If you configure the execution of a bot in an activity action, you must do an on exit configuration.
Configuring the execution of an RPA bot from an 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.
Be careful when doing this kind of configuration, since any problem with the bot may cause your process to get stuck. |
1.Configure the task that is going to be executed by a bot on your model, by changing its type to a Bot Task.
2.A bot task is identified by the icon.
3.Go to the fourth step of the Process Wizard and select Activity Actions
4.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.
Configuring the execution of an RPA Bot defining an integration interface
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.
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. |
1.Configure the task that is going to be executed by a bot on your model, by changing its type to a Bot Task.
2.A bot task is identified by the icon.
3.Go to the Sixth step of the Wizard Define Integration Interfaces, to configure the execution.
4.Click the Bot Task of your process to launch the RPA Execution Configuration Wizard.
Configuring the execution of a bot
Independently of which alternative you used to trigger the bot, from an Activity Action or defining an integration interface, 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. |
Changing the execution of a bot
After you configure a bot through the RPA Execution Configuration Wizard, an activity action is created in the task where the bot is being executed. Once the bot is configured, the bot configurations in the wizard are disabled. Thus, in case you need to change its execution, you need to delete the existing activity action and configure a new bot.
Last Updated 1/23/2023 12:05:09 PM