- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-14-2022 02:39 AM
Hi all,
I am trying to make a list to refresh automatically when the amount of records from the list changes or after a certain time interval.
The client wants that after a record changes state, after fullfilling the record conditions, (this is done in a second tab in the list, not from the list quick edit) the list automatically update so the user doesn't have to press the refresh button.
Is there a psosible way to accomplish this?
Thanks in advance.
Solved! Go to Solution.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-14-2022 07:15 AM
Currently, the only way to programmatically refresh a list component is to bind a client state parameter to the component and pass the client state parameter a timestamp that tells the list when it should refresh (usually just the current time). The oob list page already has this setup so I think you could achieve what you're looking for by doing something like:
- Clone the list page to a new variant
- Add an optional parameter to the list page for the page refresh
- Bind the optional page parameter to the listRefresh client state parameter
- On your form page, using whatever event needs to trigger the refresh, route the user back to the list page and pass the current datetime into your optional parameter on the list page. It shuold cause the list to refresh.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-15-2024 12:34 AM
I used the Record Watcher data resource to achieve this. I then bound the result to the Refresh Requested property of the list component. Record Watcher has the benefit of only refreshing when things change as opposed to a constant refresh.
Explained in more detail in this post by Jon G Lind ServiceNow Employee or search the forums for 'How to use AMB Record Watcher in ServiceNow UIB'
I hope this helps the next reader.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-10-2024 06:23 PM
Thanks for the follow-up reply to this thread! Between Brad's solution and your recommendation to use the "Refresh Requested" property, I was able to get it refreshing when desired. Appreciate your additional comment!
In case it helps anyone else, here is the list component documentation to reference for using the "Refresh Requested" property: https://developer.servicenow.com/dev.do#!/reference/next-experience/washingtondc/now-components/now-...