I would like to create a dynamic managed component query to create a service. I would like the service to contain Net Monitor Devices but only those that also have an Oracle agent on the host that the Net Monitor is checking. I was hoping to use a query such as:
NetMonitorDevice where deviceReference.referredObject.agents instanceof DBO_Agent_Model
but this does not work as an error says the NetMonitorDevice does not have a property "agents". I thought I was doing a "walk along a property path" because I could follow this path in the script console, but maybe not.
Is what I would like to do possible?
Thanks,
Kris