We've updated the ServiceNow Community Code of Conduct, adding guidelines around AI usage, professionalism, and content violations. Read more

Can we format multi line text field in email script?

Gayathri5
Tera Guru

Hey Community,

 

I am trying to format the attached multi line text, meaning  it look good like in word we format a paragraph, can we do the same in email script ?

 

 

Regards,

G

 

 

 

1 REPLY 1

Ankur Bawiskar
Tera Patron

Hi,

how are you printing the multi line text field in email body?

are you directly using ${fieldName}?

If yes then it won't by default show new lines

You need to use email script and try to replace the new line \n with <br/> and then it would show

example

Regards,
Ankur
Certified Technical Architect  ||  10x ServiceNow MVP  ||  ServiceNow Community Leader