No records generation after creating a sc_request --> requested_item --> sc-task database view

CarolMa6
Tera Expert

Hi 

 

I created a Database view but for some reason no records are generated i think my "where clause" is the issue. The business requirement is report on all requests, requested items and catalog task on one view. What am i missing please help.

 

Database View

CarolMa6_0-1748353391717.png

 

1. View Table 

CarolMa6_1-1748353454559.png

2. View Table 

CarolMa6_2-1748353502606.png

 

3. View Table 

CarolMa6_3-1748353528392.png

 

Regards 

CarolMa

 

1 ACCEPTED SOLUTION

@CarolMa6 

Don't add any field as View field under any of the View tables.

Then use the database view and click Try It

It should work fine then

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

11 REPLIES 11

Dr Atul G- LNG
Tera Patron
Tera Patron

Hi @CarolMa6 May I know why you are creating a DB view for REQ/RITM and SCATALK? You can create a direct report on these tables instead.

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

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

Hi @Dr Atul G- LNG 

 

There isn't a single table that shows Requests and their associated Requested Items alongside whether a Catalog Task was created or not. We want to build a report that highlights Requests and Requested Items where the Catalog Task is missing, so we can investigate why it wasn't generated. And also report on requests where the catalog task was created.

 

Regards 

CarolMa

Hi @CarolMa6 

We want to build a report that highlights Requests and Requested Items where the Catalog Task is missing

 

What do you mean by “missing”? Do you mean the RITM doesn’t have any tasks? If that’s the case, it is still possible to create a report directly on the RITM table.

Something like this.

 

DrAtulGLNG_0-1748355902164.png

 

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

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

Hi @CarolMa6 

 

Did you try my solution?

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

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