- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-12-2019 02:57 AM
displaying if an incident has a problem record attached then incident's related list tab called " problem " should display the problem record automatically , please a advice how to achieve this ..awaiting response .
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-13-2019 05:43 AM
Hi Roopashree,
Is problem_id field on incident populated with the problem record?
If yes then only the related list will show that problem record; if not then it won't show since query is based on that field
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
07-30-2025 06:13 AM
while writing query you mentioned sys_id, can you please explain what exactly sys_id role in achieving this requirement
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-12-2019 11:41 PM
Hi Ankur ,
sorry , it will create the related list tab but it will not display the associated problem record , kindly relook at your script .. and let me know how we can achieve this ..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-13-2019 12:30 AM
Hi Roopashree,
yes we are creating relationship and then adding it as related list for incident form
check screenshot below the incident has problem as PRB0040003 and the same is shown in the related list
Ideally there is a problem_id field on incident form which stores the problem record; if you can use that for display then no need to show related list
since the related list will only have 1 record always
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
11-13-2019 12:39 AM
I went as per your guidelines .. inspite of problem record existing it dint display in the related list .. looks the script is not working .. kindly check and let me know ..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-13-2019 05:43 AM
Hi Roopashree,
Is problem_id field on incident populated with the problem record?
If yes then only the related list will show that problem record; if not then it won't show since query is based on that field
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