Running sub-task bots
For our given scenario, the main task bot runs three sub-task bots. To run a sub-task bot from within your main task bot, you need to use the Task Bot package. This package contains actions such as Pause, Run, and Stop. The Run action will run another task. The configuration of this action includes the following:
- Specifying the location of the task bot
- Specifying any input variables
- Specifying the repeatable status of the task
When a sub-task is actioned, Automation Anywhere will run that task, and once it's completed, it returns back to the main task and continues from the next line. Later on in this chapter, there is a walk-through that will take you through building our bot for this scenario. You will build your sub-tasks and the main task. This will give you the practical knowledge of applying the Task bot: Run action. Often you will need to pass parameters to sub-tasks. In the next section, we will have a look at passing variables...