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

@Ankur Bawiskar 

 

Error:  invalid field or a field that is not visible (ritm_request)

my where clause for sc_req_item is not correct which field should i use here? ritm_request_item=req_sys_id does not work?

 

Regards 

CarolMa

@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