I am modeling in SPARX EA - and first I just came across two different icons:
Now my understanding is: A composite activity is one possibility for a structured activity. SPARX EA says, the chain symbol indicates a composite element (icon not being part of UML, but comes in handy).
The trident indicates a sub-activity. It is part of other stack-questions. Got that. here or here
But my question is:
How do they differ?
Thanks for your clarifications :)
[I am asked what I tried. Well I googled. :)]
UPDATE 2023-05-08: Here I would expect the glasses:
The glasses are not UML-compliant. I think it was present in earlier versions of the UML specs, but I'm not sure. To be UML-compliant, use the rake instead.
The disadvantage of the glasses (structured activity) is that they create a strict parent-child relationship between activities and subactivities, i.e. a tree. With the rake (call behavior), you can create any network of activities calling each other. This allows you to reuse an activity in multiple other activities.
By default, the symbol with the rake represents a synchronous call. The UML specification says that asynchronous calls are also possible. It defines a property isSynchronous
on metaclass CallAction
, which is true by default, but it does not specify how to an asynchronous call shall be visualized in an activity diagram.