You're on your way to the next level! Join the Kudos program to earn points and save your progress.
Level 1: Seed
25 / 150 points
Next: Root
1 badge earned
Challenges come and go, but your rewards stay with you. Do more to earn more!
What goes around comes around! Share the love by gifting kudos to your peers.
Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!
Join now to unlock these features and more
I'd like to be able to run an IQL Query to determine where i have mismatched attribute values between referenced objects.
I have a Monitor object, and a Computer object.
I have a query which returns all Monitors that have a Computer linked to them as an inbound reference.
object HAVING inboundReferences(objectType = Computer) AND objectType = Monitor
I want to be able to add a comparison clause to say of those 'linked assets' also " where monitor.site name != computer.site name"
so only show me monitors which are linked to a computer, but where the site name doesnt match the computer site name.
I have exactly the same problem, where I need an IQL to return all computer objects where the department attribute doesn't match the referenced user objects department field. Tying to use dot notation as per the documentation doesn't seem to work:
ObjectType = Computer AND Department != "Users.Department"
Any suggestions would be gratefully recieved
Following the format a little closer as stated in the advanced IQL searching docs, as far as I can tell the query should be:
<parent referenced attribute name>.<attribute in the referenced object> <operator> <value>
So in my case with the parent attribute being "Primary User" (referenced to the users object) and the attribute in the users object being Department. And the value being the Department field in my parent object:
"Primary User".Department != Department
This however still returns objects where the parent Department matches the referencesd primary users Department.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.