Create Logic for a MetaBot

You must add Logic to MetaBots to manage the assets and make the functionality available for use by other bots.

Prerequisites

The Add an asset to a MetaBot task must be completed successfully before you can complete this task.

This is the second subtask for the Create a basic MetaBot parent task.

Note:

You can convert existing bots created in Internet Explorer to Microsoft Edge with Internet Explorer mode using the Bot conversion utility. With Internet Explorer mode enabled, you can now run your automation in Microsoft Edge. Additionally, you can create bots as the system now supports the Microsoft Edge browser.

Procedure

  1. Select the asset created in Add an asset to a MetaBot.
  2. Click LOGIC.
  3. Click Add Logic.
  4. Click VARIABLE MANAGER.
    1. Click Add.
    2. Type the vFirstName in the Name field.
    3. From the Parameter Type drop-down list, select Input.
    4. Click Save.
      Restriction: Do not use reserved names such as AUX, CLOCK$, COM1, COM2, COM3, COM4, COM5, COM6, COM7, COM8, COM9, CON, LPT1, LPT2, LPT3, LPT4, LPT5, LPT6, LPT7, LPT8, LPT9, NUL and PRN. See this Microsoft blog.
    5. Click Yes to leave the information window.
      Note: When a null variable is added, an information window appears. The variable value can be assigned later.
      The new variable is added to the list of Local Variables.
  5. Repeat the previous steps to add each of the following variables:
    • vLastName
    • vCompanyName
    • vEmail
    • vPhone
    • vUserName
    • vPassword
  6. Click Save.
  7. In the Logic Name field, type Add New Users.
  8. Click Save.

Next steps

You must add the ability for the MetaBot to import and use the data from the CSV file. The next task is Import data to a MetaBot.