Read and Review Automation Anywhere Documentation

Automation Anywhere Version 11.3

Close Contents

Contents

Open Contents

Task List MetaBot

  • Updated: 7/13/2020
    • 11.3.x
    • Explore
    • Enterprise

Task List MetaBot

The Human-Bot Collaboration Task List MetaBot is used for creating advanced logic, which can start automated bots or request user approvals to complete a task.

The Human-Bot Collaboration MetaBots are primarily classified into the following types:
Logic Description
Ask Boolean Used to assign the default Boolean value of a task list to a local variable.
Configure Formats Used to configure expected formats of inputs and outputs for the task list, such as:
  • Date
  • Double
  • Culture Code
Create Row Used to create rows in a task list. Rows can have empty or populated fields.
Note: This command can also return the ID of the created row.
Fetch Rows Used to retrieve a list of row IDs from a task list and return the list variable.
Get Row Used to retrieve the field values of a row. It can return a list of key values in the following pattern:

<fieldname>:<fieldvalue>

Update Row Used to update the status and field values of a row.

Sample use case

Consider a scenario where a client requires an invoice payment form used by a front-desk employee to trigger a bot. The bot can process any pending payment requests, which can further alert an authorized user (Manager) for approval before a payment is processed. The Task List MetaBot can be used to design this script in the Enterprise Client Workbench.

Workbench and creating Logic

  1. In the new Workbench screen, go to Human-Bot Collaboration > Task List and click Create Row.

    Create Row is used to create empty or populated fields in a file (form). This can help in creating rows on the linked form.

    1. In the Input Parameters field, update the following:
      1. iStatusID: Enter the status ID of the row you want to create.
      2. iTaskListID: Enter the task list ID where you want create the row.

        You can use the Human-Bot Collaboration Designer to review the task list and retrieve the ID.

      3. iFieldsValue: Press F2 in the keyboard to select one of the variable fields or values.
    2. In the Output Parameters > oRowID field, insert a variable where the output must be assigned.

      Press F2 to view the available values. For example, you can select row as the output variable.

  2. Go to Human-Bot Collaboration > Task List and click Fetch Rows.

    Fetch Rows is used to retrieve a row value from the task list.

    1. In the Input Parameters field, update the following:
      1. iTaskListID: Enter the task list ID where you want create the row.
      2. iStatusID: Enter the status ID of the row you want to create:

        You can use the Human-Bot Collaboration Designer to review the task list and retrieve the ID.

      3. iFieldsValue: Press F2 to select one of the variable fields or values.
    2. In the Output Parameters > oRowIDList field, insert a variable where the output must be assigned.

      Press F2 to view the available values. For example, you can select row as the output variable.

  3. Click Save.

    The run logic for the form is created in the Workbench.

  4. Click Commands and drag the Message box.

    This enables you to display the selected value from the linked form as a message on the screen.

  5. In the Message Box screen, enter a message that the user must see.

    For example, you can enter Approve payment: $Prompt-Assignment$.

  6. Repeat the run logic and message box for all the fields in the form that you want to link.
  7. Click Save.
  8. Choose the folder where you want to save this script.
  9. On the Human-Bot Collaboration Designer, link the script to the invoice payment task list and publish it.

    Creating and publishing a task list

    When the front-desk employee runs a bot, it collects and verifies the invoice details. Any pending payments are returned and the front-desk employee triggers a payment approval request. The manager receives an approval request, and the payment is authorized.

Send Feedback