DATA base view
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thursday
HI team,
We have two ticket tables ( 1 HR and 2. payroll) requirement is to show two tables tickets into one list. Opened for is common field which is referring to user table in both tables can we use that ..?can anyone help to create data base view step by step process confused about "where clause" field in data base view or any other best solution
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thursday
something like this
| Order | Table | Prefix | Where clause |
| 100 | HR Ticket table | hr | |
| 200 | Payroll Ticket table | pay | hr_openedFor = pay_openedFor |
💡 If my response helped, please mark it as correct ✅ and close the thread 🔒— this helps future readers find the solution faster! 🙏
Ankur
✨ Certified Technical Architect || ✨ 10x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thursday
Hey @Ankur Bawiskar ,
Thanks for your quick response i have tried this but i am getting only one hr table records by using this sharing screen shot for reference
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thursday
field name is correct i.e. opened_for in both the tables?
try with small prefix upto 3 characters
Ankur
✨ Certified Technical Architect || ✨ 10x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thursday
Now i am getting the both tables data @Ankur Bawiskar could you please give me some info on my below query
in the list view its mixed up with both tables data how can assignee know which is payroll related data and which is hr related data if they want to download the excel report..? sharing screen shot for reference
