Modifying filter on a related list
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
Hey Community.
So, in change records, I want to update the filters for 'Affected CI' related list. I don't just want to modify it in change record only, but when someone tries to add a new CI, the filter should be present there too. See if I select 'Add' option in SS1, SS2 opens. In SS2, just like how some classes are present on the filter, I need to add one more condition regarding status of CIs. From where can I do this?
Thanks for your help.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
hi @AwanishK
1) open the relationships and search for "affected ci"
2)modify the query condition , in script
If you found my solution helpful, please mark it as Helpful or Accepted Solution...!
thanks,
tejas
Email: adhalraotejas1018@gmail.com
LinkedIn: https://www.linkedin.com/in/tejas1018
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
the filter comes from Script Include "AssociateCItoTask" and function getURL()
this article explains well on how to change
update the filter on this line
Apply Filter to ADD Button on Impacted Services/CI RelatedList
💡 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

