Read and Review Automation Anywhere Documentation

Automation Anywhere Version 11.3

Close Contents

Contents

Open Contents

Add Logic and variables to an advanced MetaBot

  • Updated: 5/12/2020
    • 11.3.x
    • Build
    • Enterprise

Add Logic and variables to an advanced MetaBot

Add Logic to define the MetaBot actions. MetaBots can include multiple commands and DLLs.

Prerequisites

Verify that you have the following access and permissions:

Complete the Add multiple DLLs to a MetaBot task before starting this task.

Procedure

  1. From the Enterprise Client, open the CryptoCurrencyBot.mbot in the My MetaBots list.
    The MetaBot Designer is opened.
  2. Click the LOGIC tab.
  3. Click Add Logic.
    A Workbench window opens with a tab named NewLogic1. The DLLs MyApp4Lib.dll and RestSharp.dll are visible.
  4. Click New in the Workbench menu ribbon.
  5. Select CryptoCurrencyBot.mbot and click Create.
  6. Click VARIABLE MANAGER.
  7. Click Add.
  8. In the Add Variable dialog, select Input from the Parameter Type drop-down list.
  9. Enter Currency in the Name field.
  10. Verify that Create New Variable is selected.
  11. In the Value field, enter USD.
  12. Click Save.
    Important: If a message window appears stating that the variable has a "null" value, click OK. The value does not need to be set now.
  13. Repeat the above steps to create the local variable Price:
    • Parameter Type = Output
    • Name = Price
    • Value = USD
  14. In the Workbench, click Save.
  15. Enter Get Bitcoin Price in USD in the Logic Name field.
  16. Click Save.

Next steps

After creating variables, assign value to them, go to Manage variables in an advanced MetaBot.
Send Feedback