Hi community!
I have a quick IQL question that I could not find an answer for as of yet:
I have two Insight object types DEVICE and CONTRACT. A device can have many contracts and stores them in the attribute device.contracts. In addition CONTRACT has two sub types CONTRACTA und CONTRACTB. Now I want to filter all objects to only return objects that have contracts of type B.
So I guess I would need some IQL like "contracts IS NOT empty AND contracts.objectType = CONTRACTB". Unfortunately it doesn't work that way. Can anyone help me?
Cheers,
Markus
Hi @mvdetten ,
please look at function inbound/outboundReferences.
Your IQL could look something like this:
objectType = DEVICE AND object HAVING outboundReferences(objectType IN ("CONTRACTB"))
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.