Microbots are reusable, centrally managed and stand-alone usable processes. The Microbot Repository, for example, includes a collection of common processes such as login, logout or processes you may use in several automation projects. We typically recommend that you use a microbot in combination with artefacts. Artefacts are centrally managed applications, screens and their elements. Each artefact includes a so-called Selector Value. The Selector Value lets the robot know which element where to click or where to perform its actions.
To work with the Microbot Repository, the user first needs to make sure that the Microbot Repository Path is set correctly. This can be done in the settings of the AM Composer.
Create a microbot
To create a microbot, you need to right-click on a building block and select Extract Workflow. In the save-dialogue, the user can select a folder and choose if the microbot should be created locally or globally (meaning locally as well as in the repository).
To correctly map variables from the main workflow to the microbot, you can use the variable mapping dialogue. This dialogue opens automatically when dragging in the microbot. To perform the mapping, select the parent variable1 (1) and the child argument1 (2). Then press the link button (3).
The mapping result looks like this:
Handling of the Microbots in the Composer is done using the solution explorer, which is located on the bottom right.
Add a Microbot to the Repository
To add a microbot to the repository, right-click on the file and select Add Workflow to Repository.
Remove/Rename a Microbot
To remove/rename a microbot from the Solution Explorer, right-click on the file and select Rename workflow file/Remove workflow file.
Update a Microbot in the Repository
To update a microbot in the repository, right-click on the file and select Commit.
Add a Microbot from the Repository
Right-click on a folder in the solution explorer and select Add file from the repository.
Revert a Microbot
To revert an edited microbot to the state of the repository microbot, simply right-click on the file and select Revert.
Unlink Microbot from the Repository
If the microbot should not be affected by global changes to the repository microbot, you can unlink it from the repository. This is done by right-clicking on the file and selecting Unlink.