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

SYS_ACT_CLIENT_TEXT

Script Function: Returns the text 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_TEXT ()

Return codes

Title of the current client
" " - no title has been defined

Comments

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,… returns the client's title which can be entered in the Header tab of the Client objectAutomation Engine controlled activities and processes are structured in the form of objects. See also: Task. The client in which the taskAn executable object that is running. Tasks are also referred to as activities. calling this script function runs is used.

Example

The text of the current client is read in the script variableA placeholder for a value within a script.. The result "Current client: Productivity environmentAn Environment consists of Deployment Targets which represent your endpoints. Different environments are used for different phases in the software delivery cycle, for example Development, QA, Staging, Production. An environment is typically set up once and used by several applications." - for example -  is given in the reportA report provides more detailed information about a task's execution or a component..

:SET &TXT# = SYS_ACT_CLIENT_TEXT() 
:
PRINT "Current client: &TXT#"

 

See also:

Script element Description

SYS_ACT_CLIENT or SYS_USER_CLIENT

Returns the number 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