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.

Database view on field changes in the change_request table

huynhw1
Giga Contributor

Hello, 

 

I need to generate a database view from the change_request table that captures the time stamp of when the change records moves from its process state e.g New>Assess>Authorize>Scheduled etc. 

 

I've tried to join change_request against tables sys_history_line & sys_history_set, but i dont think my organisation captures those field changes in those tables.

 

My next solution is to join against the sys_audit table, but there are too many records that impact performance.

 

Is there any other simple means to create this view? - We need this as a view as we will be also synching it to SNOW Mirror. 

 

Thanks

 

 

1 REPLY 1

Dr Atul G- LNG
Tera Patron
Tera Patron

Hi @huynhw1 

 

No need to create data base view for this. The Best solution is use Performance Analytics , which Is easy.

 

2. Create Metric on state change,  plz check ootb metric of incidents on assignment group.

 

3

 Create SLA on different states and map. ( not much recommended but a workaround)

*************************************************************************************************************
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]

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