When transcribing a request to a mail notification, the formatting of the description is being lost.

AanchalSri
Tera Contributor

When transcribing a request to a mail notification, the formatting of the description is being lost, I am currently using current.description.toString() in the mail script but it is skipping the new lines and adding just single space.

6 REPLIES 6

Paul Curwen
Giga Sage

If it's the OOTB Description field then it is already in a string format so there is no need to use toString() 

***If Correct/Helpful please take time mark as Correct/Helpful. It is much appreciated.***

Regards

Paul

Slava Savitsky
Giga Sage

Why do you have to use a mail script for that? Have you tried referencing Description directly in email template using the standard syntax: ${description}

There is a particular template that needs to be followed so there is need to use mail script, I have attached the request's description and how it is being formatted

Have you tried current.description instead of current.description.toString() ?