Email client templates don't apply to record when conditions are met

JulienRouge1549
Tera Contributor

I'm working with the SIR module and noticed something weird. I have several email client templates set up for SIR depending on the category of the record i.e if the category is Malware, then the Malware email template applies automatically to the record. However, certain templates are applying when the conditions are met, i.e: if the category is unathorized access, then the unauthorized access template should be applied but is not. The values are the same, the conditions are minimal but, for some reason, only some of the templates are applied when their condition is met and some don't. 
Does anyone know why this could be happening?

1 ACCEPTED SOLUTION

Rafael Batistot
Tera Sage

Hi @JulienRouge1549 

In ServiceNow, Email Client Templates have an "Execution order" field.

 

The system processes these templates in ascending order (0, 100, 200, etc.). When a record is opened, the system starts from the lowest number and applies the first template whose condition is met.

RafaelBatistot_0-1755103651523.png

 




View solution in original post

5 REPLIES 5

Sheldon  Swift
ServiceNow Employee
ServiceNow Employee

Hi @JulienRouge1549, it might be helpful if you can provide the exact conditions on an email client template, and the relevant field values from a record you're expecting to match that isn't.

JulienRouge1549_0-1755106123274.png

Here's the email template condition
And here's the condition on the record 

JulienRouge1549_2-1755106223244.png

So, this specific record should have the template applied but it's not. Hope this provides some more info

 

Rafael Batistot
Tera Sage

Hi @JulienRouge1549 

In ServiceNow, Email Client Templates have an "Execution order" field.

 

The system processes these templates in ascending order (0, 100, 200, etc.). When a record is opened, the system starts from the lowest number and applies the first template whose condition is met.

RafaelBatistot_0-1755103651523.png

 




The order of the non-functional templates is the same as the functional one. What would be the default template order?