Handling Real-Time Field Updates in Record Producer Forms
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-20-2025 03:13 AM
When an application owner(user) fills out the Record Producer application form, then there is a chance that the other owner of that application might be updating the same form at the same time.
So here we do not want to lose any data. And for example, if user1 has opened and filling the form but by that time if user2 has already made changes to that form and submitted then we want to notify the user1 in the same form that the backend fields have been updated by user2, and they have to refresh the page so that they will not lose the data.
Is it possible to receive real-time updates on the Record Producer form directly from the backend? Alternatively, what would be an efficient way to notify the user that certain fields were recently updated?
Do we have any ServiceNow Feature available to implement this? If not, how can we implement though customization?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-06-2025 05:25 AM
is that user trying to update the same record via record producer?
are you having any reference variable which refers to the target table on which update will happen?
if yes then you can use record producer script and query the target table and get the update count.
Also onLoad of record producer use GlideAjax and onChange of that reference variable store the update count for the record
Using record producer script compare the update count present in hidden variable and that of target record and throw error to user.
If my response helped please mark it correct and close the thread so that it benefits future readers.
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader