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.

Help with record producer advanced reference qualifier

Joe Weisiger
Giga Expert

Hello,

I have a record producer with a reference variable that requires an advanced reference qualifier. 

It is not working and looking for some help with the code.

javascript:'vendor='+current.variables.vendor^current.contract_model="8881e836c3102000b858fd251eba8f28";

Any help is appreciated.

Joe

1 ACCEPTED SOLUTION

Nick Parsons
Mega Sage

Looks like your quotes are in the wrong positions, try this instead:

javascript: 'vendor=' + current.variables.vendor + '^contract_model=8881e836c3102000b858fd251eba8f28';

I'm guessing contract_model is a field in the table that you're reference qualifier is being used to query.

View solution in original post

10 REPLIES 10

The operator should just be IN not IN=:

javascript: 'parentIN' + current.variables.u_requested_by_lob_v2;