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.

Reference Qualifier from field value in current record

chriscorbett
Giga Contributor

Hello All -

I am trying to create a reference qualifier that populates a choice list from a table based on the value of a field in the current record.

The current record has a field called u_requested_system. In a second table, I have a field u_system_name and some other fields like role, status, etc. My goal is to populate a field called u_role on the current record with the roles listed in the second table based on the shared system names.

I currently have it set up like this:

u_role is a reference field to a table u_sar_roles.

My reference qualifier I set up where System Name is current.u_requested_system

I have three record in my Roles table that should display but it is pulling nothing.

I would appreciate any ideas on how to change this.

Thanks!

Chris

1 ACCEPTED SOLUTION

put this in the reference qualifier section



javascript: "u_system_name="+current.u_system_requested;


View solution in original post

14 REPLIES 14

Abhinay Erra
Giga Sage

Chris,



  I am sorry, it is a bit confusing. can you provide few screenshots?


Abhinay Erra
Giga Sage

Is "u_requested_system" a reference field to the second table?


Mujtaba Amin Bh
Mega Guru

Share a screen shot of your reference qualifier.


chriscorbett
Giga Contributor

Sure.



I want to populate the Role field of the current record


find_real_file.png



with values from a second table based on what is selected in the System Requested field of the current record:


find_real_file.png



My Roles table looks like this


find_real_file.png


and my attempt at a qualifier:


find_real_file.png