Lookup record retrieving old value on UI Builder
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-09-2025 10:21 AM
Hi everyone,
I have a lookup record in UI builder to fetch the record producer of a selected HR Service.
On our button configuration we have a refresh of our lookup so it refreshes every time an hr service is selected / changed and then we have a redirect to a page where we send the result of the lookup.
Problem:
The 1st time we click the button, the lookup isn't retrieving the correct result with the refresh. What we conclude is that maybe it's so fast that the link to destination is running with the old result of the lookup.
Can we put something between these 2 events to prevent this from happening?
We confirmed that refresh works because if we take off 'link to destination' we can see in our logs the record updating correctly, but as I mentioned, we believe it's so fast it's always retrieving the old value...
Any ideia?
Thanks!
- Labels:
-
Agent Workspace
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-09-2025 12:00 PM
Hello @rafas_10
I am not sure why however I have seen if there is a question posted by a Guru or Sage and that too for UI Builder then usually there are less or at times no respones in the community. I can try to recreate the same at my end however it will take some time.
Hope that helps!