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.

What is the operator for 'not equal' in Reference Qualifier?

jzhang_wmc
Kilo Explorer

I am using Wizard to collect data. One field needs to read data from CMDB business service table. I want to rule out certain data based on criteria.

u_type=C^ORu_typeV^ORu_type^operational_status!=5

In above qualifier, I want to rule out any records that operational_status is not 5. Do I have correct query using '!=' for 'Not Equal' operator?

Thanks,

-J

3 REPLIES 3

DrewW
Mega Sage

As far as I am aware you have it correct. Are you having some issue that is making you think that this does not work?


No problem so far but I can not find it in any doc. One more question,


Where is the implied paren?
1.(u_type=C^ORu_type=V)^operational_status!=5
Or
2.u_type=C^OR(u_type=V^operational_status!=5)

-J


Thats a really good question because both return diffrent things, but I think its the first one.