HOW TO REFRESH THE RELATED LIST
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-25-2025 12:39 AM
how to refresh the specific related list using client and server script.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-25-2025 12:47 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-25-2025 12:56 AM
you will find lot of UI actions which work on form and refresh related list
See that and ensure you use the correct related list name
something like this
// Replace 'task_list' with the actual name of your related list
var relatedListName = 'task_list';
// Get the GlideList2 object for the related list
var gList = GlideList2.get(g_form.getTableName() + '.' + relatedListName);
// Refresh the related list
if (gList) {
gList.setFilterAndRefresh('');
}
💡 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 || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-25-2025 01:04 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-25-2025 01:25 AM
did you check if it's going inside that IF at Line 12?
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
