User Guide > Objects > Alphabetical Listing > Variable

 Variable

Variables are objects that store values or retrieve them dynamically.

Object class: Active objectAutomation Engine controlled activities and processes are structured in the form of objects. See also: Task
Object type (short name):
VARA 

Variable objects can either be static or dynamic. Already when you create a Variable object, you can define its type in the Source setting in the Attributes tab. Note that you cannot change this type subsequently. 

Variable Source Description
Static
STATIC
XML

In a static Variable object, you can enter values manually or by using scriptA particular Automation Engine object type.. These values remain stored in the object.

The variableIt stores or retrieves values dynamically at runtime. An individual Automation Engine object type. tab includes a table that displays all values. Users can either modify these values manually or specify additional values. Each entry (line) consists of one key and five value columns.

The script elements :PUT_VAR, :PUT_VAR_COL and :DELETE _VAR are only available for static variablesA Variable object with the setting "Source" - "Static": Variable values are entered by a user or with a script and remain stored in the object..

Dynamic
EXEC
SQL
SQL SECURE
SQL - internal
SQL - internal SECURE
Multi
File listShows entities in a grid view
Backend

The values of dynamic Variable objects are not stored in the object. They are directly retrieved from the specified data source while they are accessed. This process is referred to as variable resolution. Values can neither be defined by a userIn the Automation Engine, a user is an instance of a User object, and generally the user is a specific person who works with Automic products. The User object is assigned a user ID and then a set of access rights to various parts of the Automation Engine system and product suite. These access rights come in the form of Automation Engine authorizations and privileges, Decision user roles and EventBase rights and ARA web application object rights. You can manage all these centrally in the ECC user management functions. See also, Unified user management. nor by script.

The values of static and dynamic Variable objects can be read using the script element GET_VAR.

Depending on a variable's content, you can use it to influence the processes of your AE system. Static variables can also be used to have current values displayed in cockpits.

In addition to the manual handling of static Variable objects in the Explorer, you can also use the following script elements:

In addition to Variable objects, AE also uses script variables. Information about agents is provided in the document that describes agent variables.

The Search functionPre-defined run book template in the Automation Engine. One single step only, e.g. Start Windows Service, Copy file,… can be used to search for object names, keys and values of static Variable objects.

 


Automic Documentation - Tutorials - Automic Blog - Resources - Training & Services - Automic YouTube Channel - Download Center - Support

Copyright © 2016 Automic Software GmbH