‎08-08-2025 05:20 PM
Hi,
When writing ERQL queries - sometimes I see a "duplicate" metaclass and I have trouble knowing which object to pick.
For example, consider writing "SELECT [Participant Application]" statement.
There are two options with the same name. Only one of them is the one I want? How do I know which to select ?
Is there a trick to this?
@PBessodes As always, I'd appreciate any suggestions.
‎19-08-2025 10:18 AM
Hi,
We agree we have something to improve here. To make it short: metamodel structure requires that "leg name" of MetaAssociation must all be different from the linked MetaClass perspective. Hence the use of GuiName. But display and handling of those objects requires some UI adaptation and some are missing.
I will ask concerned POs to see what can be done.
‎08-08-2025 05:53 PM
At least one part of the confusion seems to be that 2 different Metaclasses have the Same GUI_Name defined.
So - that explains why I would "see" two of the same Metaclasses when using the CTRL-Space to build my query.
However - that still doesn't explain why my query "reverts" from using Participant Application (App Syst Scenario) to Participant Application
is this just a defect in the Query builder or is there some trick to get it to use specific metaclass I want ?
‎08-08-2025 05:41 PM
One more update.
So, as I just discovered. when I use the Syntax Helper (CTRL-Space) to select one of the "Participant Application" metaclases I can get the query to return the actual object type that I want (the App Syst. Scenario participant)
But - After I Save and Logout and log back in.
The exact same query - starts returning the "other" "Application Participant" object type.
‎08-08-2025 05:25 PM - edited ‎08-08-2025 05:26 PM
To add to this confusion.
Sometimes, and only sometimes, the ERQL code window displays a different name for one of those "Participant Application" metaclasses. For example,
Sometimes I see this:
But, then - if I run the query few times the name simply changes to "Participant Application" : the (App Syst Scenario) part is gone.