Administration Guide > Configuration > Settings in Variables > UC_OBJECT_COUNTER - Counter Reading in Object Name

UC_OBJECT_COUNTER - Counter Reading in Object Name

This variableIt stores or retrieves values dynamically at runtime. An individual Automation Engine object type. contains a counter whose reading - a run number - is appended to the name of newly created objects.

Key
Value

New start required

Short form of the object typeAn individual object is provided for the individual activities: There are User, UserGroup, Notification, Cockpit, CodeTable, Documentation, Event, Agent, FileTransfer, Group, Include, Job, Workflow, Calendar, Login, Client, RemoteTaskManager, Schedule, Script, Server, Sync, Variable and TimeZone objects

Number ranging from 0 to 2147483647

No

Description

This variable is available in the clientA closed environment within an Automation Engine system where you can create and run objects. A client name consists of a 4-digit number that must be indicated when a user logs on to the Automation Engine system. Users and their rights are also defined in clients. A particular Automation Engine object type. 0000. From there, it can be transferred to the own client and adjusted upon requirements.

Usually an objectAutomation Engine controlled activities and processes are structured in the form of objects. See also: Task newly created in the Explorer obtains a standard name. This name consists of the short form of the object type, the term "NEW." and a run number (e.g. JOBS.WIN.NEW.5) which indicates the number of already existing standard names. If you rename or delete the object JOBS.WIN.NEW.5, for example, the number 5 is available again for the next new Windows jobAn Automation Engine object type for a process that runs on a target system..

The variable UC_OBJECT_COUNTER can be used to specify a counter whose reading - a 10-digit number with leading zeros -  increments by one with each new object. The resulting number is automatically appended to the name, thereby replacing the default setting "NEW.n" .

Example: JOBF.0000000100

The object type and starting number of the first counter reading can be specified in the variable. If these settings are deleted lateron, the standard settings apply once again.

The counter cannot be used for TimeZones (TZ) as their names must not exceed 8 characters!

Example

Key

Value

JOBF

100

 

See also:

Overview of all variables in table form
Variable

 


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

Copyright © 2016 Automic Software GmbH