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 script for advanced reference qualifier

Lon Landry4
Mega Sage

Hi Community,

The last current.variables works fine. (+'assigned_to=' + current.variables.tb_submitted_for;) no issues

But, 'sys_idNOT LIKEcurrent.variables.first_list_of_assets^' is not working. - no errors

 

javascript&colon'install_statusNOT IN7,8,17,^'+'model_categoryNOT LIKEServer^'+'sys_idNOT LIKEcurrent.variables.first_list_of_assets^'+'assigned_to=' + current.variables.tb_submitted_for;

 

The value in the first_list_of_assets field is a list of Sys IDs separated by a comma.

5 REPLIES 5

This is the only syntax I have found that does not break the filter. (attached)
But, as before only the basic filters & '^assigned_to=' + current.variables.tb_submitted_for; work

The comma separated list is not being applied to filter...