Read and Review Automation Anywhere Documentation

Automation Anywhere Version 11.3

Close Contents

Contents

Open Contents

Value Type variables

  • Updated: 10/11/2021
    • 11.3.x
    • Explore
    • Enterprise

Value Type variables

Use this variable to hold a single data point and use it in multiple places.

When/Why To Use a Value Type variable

This "placeholder" value can represent either text or numeric data.

After you create the variable, you can use it by inserting the variable in several of the Workbench commands. When the value of the variable is modified, this value is reflected in any subsequent commands that are run in the TaskBot / MetaBot Logic.

You can mark a Value Type variable as either:

  1. Log to Analytics - to upload data to Bot Insight dashboard for data analysis. By default, this is enabled.
    Note: If your automation is migrated from an earlier version to Enterprise Client 11, you can select the option manually by editing the variable. Such variables will not be selected for analysis by default.
  2. Regular Expression - to use the variable in automation that require pattern-based searches in files, folders and window title commands.
    Note:
    • You can input only the first line of text in the Value text box.
    • Regular Expression in variables can be used in commands that support wild cards. For instance, you can use regular expressions in certain sub-commands of Files/Folders; namely Copy, Delete, Zip and Print Multiple Files/Folders.

Examples of Value Type variables:

  • Name: ValueDB, Value: Oracle

  • Name: email, Value: contact@automationanywhere.com
  • Name: Pathname, Value: C:\Automationanywhere\
  • Name: RegExDt, Value: ^(19|20)\d\d[- /.](0[1-9]|1[012])[- /.](0[1-9]|[12][0-9]|3[01])$

Common examples of names you can use for Value Type variables include:

Pathname, CounterValue, DatabaseName, email, etc.

Commands that support regular expression

How to Create a Value Type variable

You can create value type variables in two ways: using direct assignment or using a file.

Send Feedback