Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

Line Break in Mail script

dpi
Kilo Contributor

Hi ,

My issue is related to Mail script . i need to Print the Following text along with water mark , But i need space of 2 lines after this text . i have tried with the Following for the desired output

template.print()

template.space()

<br/>

<p/>

\n and others

But the output shows like   Please let us know why you are very satisfied: :undefinedRef:MSG20671352

var body2 = "Please let us know why you are very satisfied: + '<br/>' + email.watermark;

can some one suggest me how to break the line after the text "Please let us know why you are very satisfied:"

desired output is like :

"Please let us know why you are very satisfied: <user will enter comments here>

email.watermark

Thanks

Durgaprasad

18 REPLIES 18

hi can you please share me the script?

HI,


before that can you just outline how your email should look.

 

Give ,me a paint view i will give you code.


Thanks,

Ashutosh

dilgit_dinesh
Kilo Contributor

this is the mailto script which i have written.  In body i need to add space before watermark

find_real_file.png

Ashutosh Munot1
Kilo Patron
Kilo Patron

Hi,


If i assume properly, you just want a space, you dont want it on new line, if so then use below

var body2 = "Please let us know why you are very satisfied: "+ email.watermark;

 

See there is space between : and ".


Thanks,
Ashutosh

no i want the watermark after two lines