I want to add empty space line in email body of Notify Change calender OOB Notification

bhargavi143
Tera Contributor

Hi,

I am trying to add empty line under Hi there, in the email body of Notify change calender oob notification.

But it is not reflecting when the email has triggered.

please help me.

This is the Code:
<div>Hi ${assigned_to.first_name},<br><br></div>
<div>&nbsp;</div>
<div><br>Change ${number} is scheduled for this time period.</div>
<div>&nbsp;</div>
<div>To view it, please click the link below.</div>
<div>&nbsp;</div>
<div>Link: ${URL}</div>
<div>&nbsp;</div>
<div>Description:</div>
<div>${description}</div>
<p>Thank you,</p>
<div>&nbsp;</div>
<p style="margin: 0;">Change Enablement Team</p>

11 REPLIES 11

It might be cache issue. try cache.do

*************************************************************************************************************
If my response proves useful, please indicate its helpfulness by selecting " Accept as Solution" and " Helpful." This action benefits both the community and me.

Regards
Dr. Atul G. - Learn N Grow Together
ServiceNow Techno - Functional Trainer
LinkedIn: https://www.linkedin.com/in/dratulgrover
YouTube: https://www.youtube.com/@LearnNGrowTogetherwithAtulG
Topmate: https://topmate.io/dratulgrover [ Connect for 1-1 Session]

****************************************************************************************************************

Hi Atul,

Please check the attachment.

bhargavi143
Tera Contributor

Please check the below screenshot

Sure, I see you already have it. But how to preview which is coming—can you share that screenshot?

*************************************************************************************************************
If my response proves useful, please indicate its helpfulness by selecting " Accept as Solution" and " Helpful." This action benefits both the community and me.

Regards
Dr. Atul G. - Learn N Grow Together
ServiceNow Techno - Functional Trainer
LinkedIn: https://www.linkedin.com/in/dratulgrover
YouTube: https://www.youtube.com/@LearnNGrowTogetherwithAtulG
Topmate: https://topmate.io/dratulgrover [ Connect for 1-1 Session]

****************************************************************************************************************

vaishali231
Mega Guru

hey @bhargavi143 


 Use an Email Script

 

Create a new Email Script

Name: Change Calendar Body Script

 

Script:

(function runMailScript(current, template, email, email_action, event) {

    template.print('<p>Hi ' + current.assigned_to.first_name + ',</p>');

    template.print('<p style="margin-top:15px;">' +
        'Change ' + current.number + ' is scheduled for this time period.' +
        '</p>');

    template.print('<p>To view it, please click the link below.</p>');

    template.print('<p>Link: ' + gs.getProperty("glide.servlet.uri") +
        current.getLink(true) + '</p>');

    template.print('<p>Description:</p>');

    template.print('<p>' + current.description + '</p>');

    template.print('<p>Thank you,</p>');

    template.print('<p style="margin:0;">Change Enablement Team</p>');

})(current, template, email, email_action, event);


Open the Notify Change Calendar OOB notification

Replace the email body with:

${mail_script:Change Calendar Body Script}


*************************************************************************************************************
If this response helps, please mark it as Accept as Solution and Helpful.
Doing so helps others in the community and encourages me to keep contributing.

Regards
Vaishali Singh