03-07-2012 11:41 AM
As the subject say I would like to create a query that is returning a collection of objects of different metaclasses (like you can do using the target selection from the query assistant).
Solved! Go to Solution.
03-07-2012 02:24 PM
Thank you Claudio,
using the Generic Object as Target Metaclass I was able to achieve the desired result.
Lorenzo
03-07-2012 12:29 PM
Hello,
yes it is possible.
In both code and standard queries. Here are many options:
If you want to put in a query both objects (like business processes) and system object (like descriptors) then the answer will be: soory, it is not possible.
Kind Regards,
03-07-2012 12:27 PM
Thank you.
03-07-2012 12:21 PM
It is possible to query on mutliple MetaClasses only with the quick search tool in the top right on the MEGA workspace only.
With written ERQL queries, the assistant tool (check boxes, operators and values), and registered queries, only one MetaClass can be searched at a time.
You may use the "Cumulative" as opposed to the default "Reinitialize" mode in order to perform multiple queries and cumulate the results.
Even registered query implemented with a macro are limited to a single "MetaClass Target".
Outside of the query context, MEGA APIs (code) can be used to return a heterogeneous list of objects.