Need to pass the value from SLA percentage calculator to the event in the workflow

Abdul
Tera Contributor

Abdul_2-1751626927877.png

We have the above workflow to calculate the SLA percentage and trigger the notifications. 

We have an enhance that we need to include the SLA percentage in the email that is notifying the users.

how can we pass the SLA percentage dynamically to the event?

My initial thought was to create a run script after each SLA calculations and the pass it as a parameter to the event and  then use it in the email.

Would this work?

Is there any better way to do this?

1 ACCEPTED SOLUTION

G Ponsekar
Mega Guru

Hi @Abdul 

 

Get the notification by filtering with "Event name" mentioned in Create Event Activity which is triggering notifications

you can add the percentages in notifications by clicking necessary fields in "Message HTML" under what it will contain tab

This will send email with latest percentage

 

Please mark correct if it is working for you

 

Thanks,

View solution in original post

2 REPLIES 2

G Ponsekar
Mega Guru

Hi @Abdul 

 

Get the notification by filtering with "Event name" mentioned in Create Event Activity which is triggering notifications

you can add the percentages in notifications by clicking necessary fields in "Message HTML" under what it will contain tab

This will send email with latest percentage

 

Please mark correct if it is working for you

 

Thanks,

Ankur Bawiskar
Tera Patron
Tera Patron

@Abdul 

you are using event to invoke email, pass event parm1 or event parm2 and then use that in email body like this

${event.parm1}

If my response helped please mark it correct and close the thread so that it benefits future readers.

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