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 reference variable options based off another reference variable.

Mark OToole1980
Tera Contributor

Hope you can help.  I am building a catalog item and need 2 reference variable to link to each other.

 

Variable 1 Faculty which a lookup select box referenced to a custom faculty table.  

Variable 2 School also needs to be a lookup select box referencing the custom school table.

 

The custom school table has a parent field that links to the Faculty table.

 

So I need the school variable to only show the records in the school table that have a parent of the option chosen in the faculty variable.

 

I have posted a picture of the simple form so far. How do I achieve this?  many Thanks

1 ACCEPTED SOLUTION

Sandeep Rajput
Tera Patron
Tera Patron

@Mark OToole1980 Please update the reference qualifier of the school field as follows.

 

Screenshot 2024-02-29 at 4.33.22 PM.png

View solution in original post

11 REPLIES 11

@Mark OToole1980 Could you please confirm the name of the Faculty variable? is it faculty or something else?

 

Hi Sandeep. Actually works as a reference field, but not as a lookup select box?  Any Ideas?

@Mark OToole1980 It should work for lookup select box too. please confirm the name of the faculty variable.

Hi Sandeep.  Variable name is faculty

@Mark OToole1980 I have sent you a Direct message, could you please check.