creating database view connecting task table and sn_hr_core_case_operations table
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-10-2022 11:10 PM
hi all,
I'm trying to create DB view containing both task table coloumns and hr tech (sn_hr_core_case_operations) table. I need pull all tickets dump. what is where clause I need to apply here ?
please give solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-10-2022 11:24 PM
well, you have one there already as sn_hr_core_case_operations table is extended from TASK (after extended from sn_hr_core_case).
So, even if you create this view, you would not get any more information!?
What is your requirement here?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-10-2022 11:30 PM
I'm trying to show coloumns from both the tables in a single report. Is there any other way I can get this.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-10-2022 11:34 PM
but you have all the columns already there - if you look the table straight in the sys_db_object you may see that all the fields are there:
https://[YOURINSTANCeNAME].service-now.com/nav_to.do?uri=sys_db_object.do?sys_id=36aff81ddbb1a41023a...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-10-2022 11:39 PM
Hi,
sn_hr_core_case_operations extends HR Case and HR Case extends Task
What's your actual requirement?
Why to join those 2 tables?
Example: it makes no sense joining incident table with task since incident is already extending task table
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader