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

Bret Smith
Giga Guru

is this what i need?

 

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

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

it doesnt work if do it this way: 

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

 

this was the only way i could get it to work

 

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

 

BretSmith_0-1727820598279.png