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.

Remove Lines for comments in email script

Harika Thota
Tera Expert

Hi,

 

I have a requirement to remove lines for every comment in email script. 

HarikaThota_0-1748454258445.png

Thanks in Advance,

Harika

1 ACCEPTED SOLUTION

Hey Harika,

 

Replace:

html += '<p><strong>' + createdOn + ' - ' + author + '</strong><br>' + comment + '</p>';

with: 

html += '<p><strong>' + createdOn + ' - ' + author + ' – Additional comments</strong><br>' + comment + '</p>';

 

Could you also mark my response with correct and helpful?

Thanks in advance! 

View solution in original post

5 REPLIES 5

Hey Harika,

 

Replace:

html += '<p><strong>' + createdOn + ' - ' + author + '</strong><br>' + comment + '</p>';

with: 

html += '<p><strong>' + createdOn + ' - ' + author + ' – Additional comments</strong><br>' + comment + '</p>';

 

Could you also mark my response with correct and helpful?

Thanks in advance!