How to link incident table with alert table?

John Sudhakar
Tera Contributor

Hi, Need help with reports. Using incident table is there a way to also list the alert information. I am able to use the alert table and get the incident information, however unable to generate a report using the incident table to capture the alert information. Is it possible to link incident table and alert table to get the information?

1 ACCEPTED SOLUTION

Gianpaolo Pagan
ServiceNow Employee
ServiceNow Employee

Few options from the top of my head...

 

Option 1 - Drilldown capability in Madrid

If you are using the Madrid release you can take advantage of the new drilldown capability, so, as an example, if you keep using the em_alert table you can group and drill down based on task number:

Create a simple report on em_alert and group by task->number

find_real_file.png

 

Click on the new report structure button and then on the add drilldown button:

find_real_file.png

 

Select the criteria for your drilldown, in this example em_alert data shown on a list widget:

find_real_file.png

 

Grouping on Task->number

find_real_file.png

 

When you click on the desired task number you can see the associated alerts:

find_real_file.png

 

 

Option 2 - Incident table

If you still want to start from the incident table you could do something similar but less nice (staying in the realm of simple reports), you could use relatedlist conditions and select Alert->Task:

find_real_file.png

Then from here you can drill down from incidents into alert via the form:

find_real_file.png

 

Option 3 - For the highest control you can use database views.

 

I hope this helps,

Gp

View solution in original post

2 REPLIES 2

Gianpaolo Pagan
ServiceNow Employee
ServiceNow Employee

Few options from the top of my head...

 

Option 1 - Drilldown capability in Madrid

If you are using the Madrid release you can take advantage of the new drilldown capability, so, as an example, if you keep using the em_alert table you can group and drill down based on task number:

Create a simple report on em_alert and group by task->number

find_real_file.png

 

Click on the new report structure button and then on the add drilldown button:

find_real_file.png

 

Select the criteria for your drilldown, in this example em_alert data shown on a list widget:

find_real_file.png

 

Grouping on Task->number

find_real_file.png

 

When you click on the desired task number you can see the associated alerts:

find_real_file.png

 

 

Option 2 - Incident table

If you still want to start from the incident table you could do something similar but less nice (staying in the realm of simple reports), you could use relatedlist conditions and select Alert->Task:

find_real_file.png

Then from here you can drill down from incidents into alert via the form:

find_real_file.png

 

Option 3 - For the highest control you can use database views.

 

I hope this helps,

Gp

Hello GP,

Sorry for the late reply and thank you for the suggestion. It helps.

 

Regards,

John