Script Function: Returns a line break
UC_CRLF()
In the first example, the message of the notificationAn Automation Engine object type used to send messages to users and user groups. [Formerly called "CallOperator."] is given in two lines.
:PUT_ATT CALL_TEXT = "The workflow MM.DAY blocks."
:PUT_ATT_APPEND CALL_TEXT = UC_CRLF()
:PUT_ATT_APPEND CALL_TEXT = "Escalation in 10 Minutes."
In the second example, the same message is given. The line break is realized by a script variableA placeholder for a value within a script..
:SET &NL#=UC_CRLF()
:PUT_ATT CALL_TEXT
= "The workflow MM.DAY is blocked.&NL#Escalation
in 10 Minutes."
The third example shows that 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 also be used for texts that should be sent by email.
:SET &NL#
= UC_CRLF()
:SET &TEXT# = "The workflow MM.DAY is blocked.&NL#Escalation
in 10 Minutes."
:SET &RET# = SEND_MAIL("smith@automic.at",,"A task could not be started!",&TEXT#)
See also:
Script Elements -
Error Handling and Messages
Script Elements - Strings
Sample Collection:
Retrieving Error Message and Number
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 |