Author Topic: How do element types work in Sparx  (Read 1817 times)

BobM

  • EA User
  • **
  • Posts: 144
  • Karma: +9/-0
    • View Profile
How do element types work in Sparx
« on: June 28, 2023, 08:17:51 pm »
Dear,

First one is a bug which I already reported and easy enough to reproduce, less easy to fix:
A BPMN businessprocess element is not equal to an archimate businessprocess, first one on the list is the one in the filter:
eg.

and to change the order of types:


where in the database it is clear it is a different kind of businessprocess



So far so good

But why a subprocess activity isn't an activity is beyond my comprehension (do notice that all BPMN (not subprocess) activities are filtered out):



I'm slowly becoming insane by not understanding the logic behind this.
Is a subprocess a different type of activity?

In database both have Object Type activity and stereotype Activity

Unless Ntype is a factor (which is usually reserved for traverse capabilities of the element)?

Can anyone give a logical explanation why this could happen?

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13286
  • Karma: +556/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: How do element types work in Sparx
« Reply #1 on: June 28, 2023, 08:50:43 pm »
What EA displays as Element Type is actually the metatype as defined in the MDG.
This metatype is not directly related to either the actual Object_Type or Stereotype.

In fact both the ArchiMate MDG as the BPMN MDG define BusinessProcess as the metatype of their respective business process stereotypes, so that is why EA is showing them both.

I'm not exactly sure what you mean with the remark about the subprocess, but I would expect a BPMN Activity with subtype Sub-Process to be listed amongst the Activities.

Having said that, EA is not always consistently using the metatype, so there might be places or circumstances where you see the actual Object_Type instead of the metatype.

Geert

BobM

  • EA User
  • **
  • Posts: 144
  • Karma: +9/-0
    • View Profile
Re: How do element types work in Sparx
« Reply #2 on: June 28, 2023, 09:27:46 pm »
Thanks Geert,

It helped me a lot into further elaborate the bug and how they could determine the problem and potentially fix it.

I still don't understand the subprocess difference neither.
My assumption now is that they use an exclude filter but they drag in parameters with which does not filter out the desired parameters.

Do take notice that it the query behind insert related elements used to be very broken (giving weird results) and got recently changed.