UI Builder - create dynamic Look up record based on other selection field

Andr_1
Tera Contributor

Hello.

 

In the UI Builder, I created a button that redirects the user to a page where a catalog item (record producer) is opened.

Before clicking the button, the user selects an HR service from a field. Based on the selected HR service, I want the corresponding record producer to open on a new page. I’m already retrieving the correct sys_id of the record producer depending on the selected HR service.



Andr_1_0-1744146878075.png


To do this, I use a "Look Up Record" action to get the full record of the selected HR service. This way, I can access the record producer associated with it. .

Andr_1_1-1744147098482.png

I'm also passing this information correctly when I redirect to the catalog item page

Andr_1_2-1744147146750.png

 

But my lookup is always returning the same data — it doesn’t update dynamically. It keeps fetching a random HR service instead of the one the user selected.

How can I make the lookup dynamic, so it retrieves the data based on the HR service selected by the user?

 

Thank you

 

André Ramos

0 REPLIES 0