The CreatorCon Call for Content is officially open! Get started here.

How to display the business elapsed percentage of SLA as round number in email notification

Arjun Reddy Yer
Tera Guru

Can anyone help me @Ankur Bawiskar @Vasantharajan N @Pradeep Sharma 

 

As I need to display the business elapsed percentage of SLA results as Round number in the SLA Email Notification.

Currently it's triggering as mentioned in the below screen shot

ArjunReddyYer_1-1692943528535.png

So I need to display the business elapsed percentage of SLA as 50% only not 50.11% in the Email Notification.

As currently I had configured the Email Notification as mentioned in below screen shot

ArjunReddyYer_2-1692943674308.png

 

 

1 ACCEPTED SOLUTION

@Arjun Reddy Yer - Please include '%' after you do round of in the subject. I've highlighted where you need to include.

Math.round(current.business_percentage) + "%"

VasantharajanN_0-1692965994242.png

 

For your reference

VasantharajanN_1-1692966369621.png

Result

VasantharajanN_0-1692966343931.png

 


Thanks & Regards,
Vasanth

View solution in original post

13 REPLIES 13

Vasantharajan N
Giga Sage
Giga Sage

Please  use notification email script to achieve it. Please try and let us know for any support.


Thanks & Regards,
Vasanth

can you please share the script which needs to be used to get business elapsed percentage of SLA results as Round number in the SLA Email Notification

@Arjun Reddy Yer - FYI.

 

Step 1: Add Email notification script with Math.round() function for the business_percentage value.

VasantharajanN_0-1692948870612.png

Step 2: Update the Email notification to include the mail script content.

 

VasantharajanN_3-1692948968686.png

 

Result:

VasantharajanN_1-1692948921805.png

 

VasantharajanN_2-1692948942341.png

 

 


Thanks & Regards,
Vasanth

in subject line can we get this roundof % as tried with below script but it's not working in subject line

ArjunReddyYer_0-1692950108549.pngArjunReddyYer_1-1692950144615.pngArjunReddyYer_2-1692950183925.png