- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-31-2020 04:49 AM
Hello everyone!
I need help with the where clause for this database view
I want All requested items, catalog tasks connected to the requested items and the SLA connected to the catalog task!
how can I achieve this ?
screenshot is also attached!
thanks a bunch
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-31-2020 05:12 AM
Hi,
please update the below:
1) change the order of the view tables
2) use where clause as per screenshot
3) ensure you add below fields for view fields in respective view tables
Screenshots below:
RITM View Table Fields:
Catalog Task View Fields:
Task SLA View Fields:
When you do try it; add these columns using gear icon:
Output:
Mark ✅ Correct if this solves your issue and also mark 👍 Helpful if you find my response worthy based on the impact.
Thanks
Ankur
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-31-2020 05:12 AM
Hi,
please update the below:
1) change the order of the view tables
2) use where clause as per screenshot
3) ensure you add below fields for view fields in respective view tables
Screenshots below:
RITM View Table Fields:
Catalog Task View Fields:
Task SLA View Fields:
When you do try it; add these columns using gear icon:
Output:
Mark ✅ Correct if this solves your issue and also mark 👍 Helpful if you find my response worthy based on the impact.
Thanks
Ankur
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-31-2020 05:47 AM
Brilliant, I just want to add that I made left join true on Catalog task and SLA so I can get all requests even if they do not have tasks in them
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-31-2020 07:54 AM
Hi,
Okay on which table you made left join as true?
Also does it make sense showing all requests even if they don't have sc tasks in them
Regards
Ankur
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-01-2020 12:31 AM
I made left join as true on both the SLA and Catalog task.
In my case I needed to show all requests for reporting purposes because Tasks are created after some approvals 😄