Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

Populate users based on other field value

may13
Tera Contributor

Hello team I need help with the requirements below

 

In a record producer, I have created two variables:

Requested By (which refers to the User table) and

Employee ID (which also refers to the User table).

In the Employee ID field, I want to display only those employees whose company matches the company of the Requested By user.

 

For example, if I select user ABC in the Requested By field, and that user’s company is "Samsung", then in the Employee ID field should only display users whose company is "Samsung".


may13_0-1756647305890.png

 

6 REPLIES 6

@may13 

 

Did you get a chance to review this ?

 

You would be able to filter the reference field based on the information I provided. If my response helped to answer your query, please mark it helpful & accept the solution.

 

Thanks,

Bhuvan

Sandeep Rajput
Tera Patron
Tera Patron

@may13 You need to use a reference qualifier on the the Employee ID variable as follows.

Screenshot 2025-08-31 at 7.40.10 PM.png

@may13 Thanks for marking the response helpful. Please mark the response accepted solution if it addressed your question.