Record watcher in UI Builder - reload page once state changes?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-07-2024 03:08 AM
Hi,
I want to refresh the HR Case form on the HR Agent workspace whenever state value changes. When the flow runs and conditions are met, the flow updates the state, but the UI action buttons presented on the form remain from the previous state. Therefore, I need to reload the page to see the current buttons.
I added a Data resource called "Record producer" in the UI builder for the HR Case table with a condition. On the "Message received" event, I added the event handler "Reload - Data resource glide form".
The flow runs and changes state, but the UI actions are still showing from the previous state.
This might be misleading since the "Suspend" button is still visible.
After manually reloading the form, we see the correct buttons with "Resume".
This is what I expect after record watcher will be triggered.
Configuration:
My assumption is that once the state changes, the HR Case form reloads. However, nothing happens. I'm not sure how to trigger it properly.
My first approach was to use Glide Modal and display an alert, and then a client script reloads the page (and this works). But I want to try if Record Watcher does the same.
Has anyone implemented Record Watcher in UI Builder? If so, your advice would be helpful.
I already checked this AMB Record Watcher Data Resource and I tried add some logs but with no luck.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-07-2024 06:12 AM
Hi @Jon G Lind would you please take a look at this thread? I would be grateful. Thanks in advance.