Automation Engine Script Guide > Ordered by Function > User Data > SYS_ACT_CLIENT

SYS_ACT_CLIENT, SYS_USER_CLIENT

Script Function: Returns the number of the current 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.

Syntax

SYS_ACT_CLIENT ()
SYS_USER_CLIENT
()

Return code

Number of the current client

Comments

The number returned is the four-digit client number with leading zeros. The client in which the taskAn executable object that is running. Tasks are also referred to as activities. calling this scriptA particular Automation Engine object type. functionPre-defined run book template in the Automation Engine. One single step only, e.g. Start Windows Service, Copy file,… runs is used.

Example

The number of the current client is read in the script variableA placeholder for a value within a script.. One line with this information (e.g.: "0003") is given in the reportA report provides more detailed information about a task's execution or a component..

:SET &CLIENT# = SYS_ACT_CLIENT() 
:
PRINT "Current client: &CLIENT#"

 

See also:

Script element Description

SYS_ACT_CLIENT_TEXT

Returns the text of the current client

Script Elements - User Data

About Scripts
Script Elements - Alphabetical Listing

Script Elements - Ordered by function

 


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

Copyright © 2016 Automic Software GmbH