We've updated the ServiceNow Community Code of Conduct, adding guidelines around AI usage, professionalism, and content violations. Read more

Reference Qualifier to lookup business apps that match company and are active

Bret Smith
Giga Guru

what is the syntax to add active=true to this reference qualifier

 

javascript: 'company =' + current.variables.business_app_company

 

BretSmith_0-1727809141554.png

 

1 ACCEPTED SOLUTION

That should work, or it's a little cleaner with one less concatenation to put it first

 

'active=true^company=' + current.variables.business_app_company

 

with the javascript colon prefix

View solution in original post

6 REPLIES 6

opps your are correct... I had a typo .....

 

this does work....

javascript: 'active=true^company =' + current.variables.business_app_company;

 

Jim Coyne
Kilo Patron

Here's a trick: look at the list view of the target table, build out the filter you want then right-click the Breadcrumb and select "Copy query" to get the encoded query for use in scripts or your Reference qualifier.

 

https://docs.servicenow.com/bundle/xanadu-platform-user-interface/page/use/using-lists/concept/c_Usi...