How to report on template usage on incident table

purbalipc
Tera Expert

Hi

I am trying to create a field on Incident form which references sys_template table and should be populated when user selects template from template bar.

I have already checked https://www.servicenowguru.com/system-definition/advanced-templates/

but this does not mention anything related to new template bar functionality.

 

Any guidance on this would be highly appreciated!

 

Thanks

Purbali

2 REPLIES 2

Adam Lankford
Tera Guru

I don't know that ServiceNow tracks which templates are applied to a specific form.  I'd be surprised if they do.  You could always add a field to the Incident table called template and populate this field with the template sys_id or name when the template is used.

Hi Adam,

Thank you for your response. I was planning to implement that but was not sure how track the event when a template has been applied and how to fill that new field with template information.

 

So if I think about script what should be the triggering condition for that script and how to find out which template is used.

 

If you have any idea would be of great help.

 

Thanks,

Purbali