Script Function: Supplies part of the message text in a notificationAn Automation Engine object type used to send messages to users and user groups. [Formerly called "CallOperator."]
GET_ATT_SUBSTR(CALL_TEXT, Begin, Length)
Syntax |
Description/Format |
---|---|
CALL_TEXT |
Name of the attribute whose value should be partially read |
Begin |
Position where reading should be started |
Length |
Number of characters to be read |
Return codes |
---|
Part of the message text |
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,… can only be used in the Process tab of a notification. It supplies part of the message text in a notification.
If the statement :PUT_ATT_APPEND is written before this script function, the part is taken from the extended message text.
The following example shows how to read the first 20 characters of the message text.
:SET &SECTION# = GET_ATT_SUBSTR(CALL_TEXT,1,20)
See also:
Script element | Description |
---|---|
Adds recipients to a notification at runtimeThe duration of a task's execution. It refers to the period between a task's start and end. It does not include its activation period (see also: activation and start). | |
:REMOVE_ATT | Removes recipients in a notification at runtime |
:PUT_ATT | This is used to change the value of an attribute during generation |
:PUT_ATT_APPEND | Extends the notification's message text at runtime |
GET_ATT | This function returns the values of a taskAn executable object that is running. Tasks are also referred to as activities.'s attributes during generation. |
Script Elements - Read or Modify Objects
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 |