Script Function: Returns a line break
UC_CRLF()
In the first example, the message of the notification 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 variable.
: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 script function 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