Highlighted
Trusted Contributor.
Trusted Contributor.
269 views

next line funcation in rad script

Hi All,

 

I have configured message number for sms (page event) by separating each paramaeter with / like

"Numer - %S / Status: %S / Assignee- %S etc,,

and argumenrs are like " number in $L.file, problem status in $file, assignee.name in $file etc,,,

Now my requirement is to send each paramaeter in a separate line instead of single line in the SMS.

I tried by modifyinghe scmsg by line by line as below

Number - %S /

Status- %S /

Assignee -%S

But still sms is appearing in the mobile as a single line.

Is ther any fucntion i can use while passing message arguments?

Thanks,

VND

 

0 Likes
4 Replies
Highlighted
Outstanding Contributor.. Outstanding Contributor..
Outstanding Contributor..

Re: next line funcation in rad script

try seprating lines with \n that migth work.

0 Likes
Highlighted
Trusted Contributor.
Trusted Contributor.

Re: next line funcation in rad script

Hi,

 

thanks for your reply,

is it in message body Like

Number- %S \n Status- %S \n

or in the arguments

number in $L.file, \n, problem.status in $file,  \n

Please advise.

 

Thanks,

VND

0 Likes
Highlighted
Honored Contributor.. Honored Contributor..
Honored Contributor..

Re: next line funcation in rad script

Hi,

you have to add the \n in the body.

0 Likes
Highlighted
Trusted Contributor.
Trusted Contributor.

Re: next line funcation in rad script

Hi,

 

Tried it is not working, \n getting passed as is.

 

Thanks,

VND

0 Likes
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.