Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

Report on sys_template table

Tanvi modak1
Tera Contributor

We have a requirement to report on sys_template table to add all fields related to templates like-CI, AG, Category, sub-category, priority, etc. within report

6 REPLIES 6

Ankur Bawiskar
Tera Patron
Tera Patron

@Tanvi modak1 

so what's the challenge?

it's system table and hence you cannot directly report on it.

Update this property "glide.ui.permitted_tables" with that table name at the end and then you can create report on that table

AnkurBawiskar_1-1762932479863.png

 

Before:

AnkurBawiskar_0-1762932442028.png

 

After:

AnkurBawiskar_2-1762932545727.png

 

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

We need to get the template values in the report so that the end users can sort or filter it by assignment group, priority, CI, category etc. 

@Tanvi modak1 

if you are looking to add this in report so that users can filter etc, then that's not possible.

it's a UI macro which renders that

AnkurBawiskar_0-1763009593404.png

 

💡 If my response helped, please mark it as correct and close the thread 🔒— this helps future readers find the solution faster! 🙏

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

Dr Atul G- LNG
Tera Patron
Tera Patron

Hi @Tanvi modak1 

 

Sys template is not allowed to create report so you need to first update the system property to add sys template Thier and then you can report on it and then you can use the field in same to report

*************************************************************************************************************
If my response proves useful, please indicate its helpfulness by selecting " Accept as Solution" and " Helpful." This action benefits both the community and me.

Regards
Dr. Atul G. - Learn N Grow Together
ServiceNow Techno - Functional Trainer
LinkedIn: https://www.linkedin.com/in/dratulgrover
YouTube: https://www.youtube.com/@LearnNGrowTogetherwithAtulG
Topmate: https://topmate.io/atul_grover_lng [ Connect for 1-1 Session]

****************************************************************************************************************