g_lsit.refresh() not working in UI action
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-17-2023 11:58 AM
Hello experts,
I have written a UI action script to remove all incidents from a table. When I click on that button, it deletes all the records and refreshes the page. However, the deleted records are still visible until I manually refresh the page. I'm wondering if the g_list.refresh() function is working or not. If it is working, why are the deleted records still showing? Please guide me on this. Thank you.
UI action Code
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-17-2023 02:16 PM - edited 09-17-2023 02:16 PM
How is this working?
var gr = new GlideRecord('');
is your ui action server side or client side?