- 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 12:00 AM
Hi,
please share your configuration
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
‎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 11:15 PM
journal_element_id=task_sys_id
It is working. The missing incidents were the one that migrated from an old system, hence don't have journal collected in the new system 🙂
All good now thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-30-2020 05:12 PM