How to refresh related list from business rule
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-10-2017 01:11 PM
Hi: I am trying to refresh a related list from a business rule. (the related list is release_task table.) I tried:
GlideList2.get('release_task').refresh();
g_list.refresh(1);
top.gsft_main.location.reload();
None of which are working. Any advice?
Thank you!
- Labels:
-
Scripting and Coding

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-10-2017 02:35 PM
You can refresh related list with onsubmit client script.
Please check below for solution
Regards,
Sachin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-10-2017 05:39 PM
Hi Sachin:
Thanks for the info. I needed the refresh to work on list update. The onsubmit client script did not work. So I did on celledit. Here is my list control:
and here's the client script I created:
When I go to the related list and update the percent complete, a business rule runs to update status to complete. With the refresh client script above the refresh happens about half the time. I can't figure out why. Any ideas?