Display Breached assignment group for an incident in a reporting using data base view

Priyanka145
Tera Contributor

Hi All,

I want to display the assignment group in which the incident is breached. We are trying using data base view between metric instance table and task table. I am trying to write a logic in where clause like start time of incident sla is less than breach time and breach time is less than end time of incident sla. But I'm unable to achieve it.

Could anyone of you please help me in achieving it or if is there any other approach also kindly let me know.

Thanks 

8 REPLIES 8

Mike_R
Kilo Patron
Kilo Patron

There's already a database view for this OOTB called incident_sla

instanceName.service-now.com/incident_sla_list.do?sysparm_query=&sysparm_view=

Hi Mike,

Incident_sla is giving the latest assignment group but not the breached assignment group for an incident

Group it by has breached field 

 

Saurav11
Kilo Patron
Kilo Patron

Hello,

 

Please do the below:-

 

Create a database view with the below configurations:-

 

Saurav11_0-1665213520907.png

 

Then create a report on that database view and apply filter breach time is not empty:-

Saurav11_1-1665213571714.png

Select these fields as column:-

 

Saurav11_2-1665213652654.png

 

Then you will get all the incidents with their breach time and you can check which incident was in which group during the breach time comparing the breach time and created date.

 

Please mark answer correct/helpful based on Impact.