Database view for task_sla, sc_task and incident tables

Alina-Maria_S
Tera Expert

Hello everybody, 

 

I want to create a database view where to see data from the following tables: task_sla, sc_task and incident - as I need to be able to see all task_sla associated with Incidents and Catalog tasks on the same view, together with the Requested for Catalog task and Caller for Incidents. 

I have configured the Database as below:

AlinaMariaPas_0-1698750254012.png

But no records are displayed: 

AlinaMariaPas_1-1698750290389.png

Could you please help? 

1 ACCEPTED SOLUTION

@Alina-Maria_S 

you create database view usually between tables which are linked to each other in some sense.

In this case incident and sc_task are not linked

Incident is something which is created for something not working

sc_task is created for catalog items

If my response helped please mark it correct and close the thread so that it benefits future readers.

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

View solution in original post

7 REPLIES 7

Bu there is link between sc_task and task_sla and between incident and task_sla.

@Alina-Maria_S 

you create database view usually between tables which are linked to each other in some sense.

In this case incident and sc_task are not linked

Incident is something which is created for something not working

sc_task is created for catalog items

If my response helped please mark it correct and close the thread so that it benefits future readers.

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

@Alina-Maria_S 

Thank you for marking my response as helpful.

If my response helped please mark it correct and close the thread so that it benefits future readers.

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