Interested in a ServiceNow event built for developers? Registration for now[dev]26 is officially open!

Where is this Apply Template button defined?

thomaskennedy
Kilo Sage

Where is this Apply Template button defined? It appears on the email template card under Email template contextual sidebar.

 

thomaskennedy_0-1791904580394.png

The reason I ask is that, for a particular template having two To email addresses, when I apply it to my email, the addresses appear to be duplicated. That is, one data pill appears twice, while the other does not appear.

thomaskennedy_1-1791904995772.png

thomaskennedy_2-1791905043687.png

But if I copy the data pills out to a text editor, the labels are wrong while the underlying addresses are correct.

thomaskennedy_3-1791905088299.png

 

"Insider Threat" <Legal_LitHold@xxxxx.com>

"Insider Threat" <InsiderThreat@xxxxx.com>

 

So the data pills are getting messed up, somehow. This doesn't happen for any other case.

 

So I want to get a look at the code that is running when I click on Apply Template, but the debugger doesn't tell me anything. Where does this button live?

 

1 REPLY 1

Vishal Jaswal
Tera Sage

Hello @thomaskennedy 

Ensure the email template recipients are comma separated (you may or may not have a whitespace post comma) as shown below:

VishalJaswal_2-1791906081252.png

 

VishalJaswal_1-1791906068885.png

 

 


Hope that helps!