Filter condition is not coming as expected in the related list
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-17-2025 04:12 AM
Hi Team,
I have created one related list on the Change record , Name> CI Outcomes
using below Relationship
but the filter condition is not coming
it should come like below,
i tried searching the edit default filter , its not showing,
How to achieve this , can anyone let me know.
Regards,
Abhilasha G T
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-17-2025 04:19 AM
script looks good to me
Are you sure the choice value is correct for field "change_task_type" on change_task table?
If my response helped please mark it correct and close the thread so that it benefits future readers.
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-17-2025 09:31 PM
hi Ankur,
yes choice value is correct.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-17-2025 04:27 AM
other way is Configure -> List control on OOB "Change Tasks" related list and add the default filter
1) you might not find "Edit default filter" on form but you can modify the form layout in default update set of global scope and add it
2) then you can give your Type Condition
If my response helped please mark it correct and close the thread so that it benefits future readers.
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-17-2025 05:58 AM
Hi Ankur,
Thanks for your reply,
i did the same way as you mentioned, but in Edit default filter , options are not coming only showing the keywords ,
Any modification required in the code, please let me know.
in show related fields also ntg coming.
Thank you in advance
Regards,
Abhilasha G T