- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-29-2020 11:55 PM
I am asked to created a report on customer communication for incident. I created a database view to link the journal entry table with task table by element_id in journal entry table with sys_id in task table. But element id from journal entry doesn't amp to the sys_id in task tabel when task type is incident. May I please ask if anyone know if there is anything can be done to resolve this?
Solved! Go to Solution.
- Labels:
-
Reporting
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-30-2020 12:53 AM
Hi,
Try to create database view on "Incident" and "Journal Entry" tables.
Further try writing a where clause on Journal Entry table like inc_sys_id=journal_element_id.
(Assuming prefix inc for incident and journal for journal entry tables).
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-30-2020 05:14 PM
I also copied some element id from journal entry table and searched them in incident table. No match found. However, if I join journal entry table with task table, there are match found for requested items.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-30-2020 11:01 PM
Hi,
what is the where clause you are using
Regards
ankur
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader