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.

Advanced reference qualifier based on Company

alexfossa
Tera Contributor

Hi,

We are trying to filter using a reference qualifier CI's that belong to the company that the incident is opened by.

This is working using " javascript:'company='+current.company "

However, we want to add another qualifier where 'current.company.vendor!=true' - to not restrict the CI's if the company that the incident is opened by is a Vendor.

How can we achieve this easily? I tried with the below but could not get it to work.

javascript:if(company.vendor!=true^EQ){'company='+current.company}

Thanks

Alex

 

5 REPLIES 5

Archana Reddy2
Tera Guru

Hi,

Try using the following:

javascript:'company='+current.company+'^company.vendor=false';

Hope this helps.

Thanks,

Archana