Read and Review Automation Anywhere Documentation

Automation Anywhere Version 11.3

Close Contents

Contents

Open Contents

Forms MetaBot

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

Forms MetaBot

The Human-Bot Collaboration Forms MetaBot is used for creating logic that can retrieve values from the specified fields.

The following table lists the various logic associated with the Forms MetaBot:
Logic Description
Get Control Value Used to retrieve the Generic Control value and assign it to a local variable.
Note: Retrieving a Date value returns the output as date and time values.
Get File Control Value Used to retrieve the File Control value and assign it to a local variable.
Note: Value is a path string.
Get Screenshot Control Value Used to retrieve the Screenshot Control value and assign it to a local variable.
Note: Value is a path string.

Sample use case

Consider a scenario where a client requires an insurance registration form. This form is then linked to a bot using a script from the Human-Bot Collaboration Designer. The script is created on the Enterprise Client Workbench by a user with a Bot Creator role.

Workbench and creating Logic

  1. In the new Workbench screen, go to Human-Bot Collaboration > Form and click Get Control Value.

    Control Value can retrieve a specific input from a file (form) and assign it to an output variable. This can help in retrieving the value that the user enters on the form and display it on the screen.

    1. In the Input Parameters > iControlPropertyName field, enter the Property name value of the form.

      Select a form field for the input parameter.

    2. In the Output Parameters > oVariable field, insert a variable where the output must be assigned.
      Tip: Press F2 from the keyboard to view the available values. You can select $Prompt-Assignment$ as the output variable.
  2. Click Save.

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

  3. 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.

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

    For example, you can enter New Applicant: $Prompt-Assignment$.

  5. Repeat the run logic and message box for all the fields in the form that you want to link.
  6. Click Save.
  7. Choose the folder where you want to save this script.

    This script is linked to the form that you create in the Human-Bot Collaboration Designer.

Send Feedback