07-11-2019 06:12 PM
Hello,
I'm trying to get a report that connects the same properties but on different metaclasses.
In this particular case, I have:
Content with 3 custom properties: CustomProp A, CustomProp B & CustomProp C
This Content is used in a DataObject or a MsgFlow.
On the DataObject, the content has 2 custom properties: CustomProp1 & CustomProp2
On the MsgFlow Content, each content have the same custom properties.
Basically, it would look like the following :
Content fetched by the following query:
Select [Message Flow] Into @MF Where ([Containing Diagram].[Short Name] Like &"diag") Select [Data Object] Into @DO Where ([Containing Diagram].[Short Name] Like &"diag") Select [Content] Where (([Data Object] in @DO) Or ([Message Flow] in @MF))
I'm stucked at "Data Object or Message Flow".
It works well if I choose either Data Object or Message flow content, to get my custom properties.
But I cannot choose both (Complains about Metaclasses not being the same).
Is it possible to achieve ?
Thanks a lot !
02-01-2020 03:11 PM
In your case do you have an abstract metaclass that contains the attributes ? and for which the 2 metaclass inherit ?