Sparx Systems Forum

Enterprise Architect => Uml Process => Topic started by: jas11 on May 23, 2025, 09:21:11 pm

Title: SysML Action (accept event)
Post by: jas11 on May 23, 2025, 09:21:11 pm
With Activities, when dragging an Action (accept event) onto a diagram, why does EA prevent you from adding more than one instance of the same element? Same applies to Action (send signal). I want to use the same Action (accept event / send signal) in multiple places on the same diagram.

Using EA 17.0.1703.
Title: Re: SysML Action (accept event)
Post by: Geert Bellekens on May 23, 2025, 11:54:19 pm
The you make a new action. Even though they may look similar, they have different relations, and thus are different actions.

Unless you really want to have the same action (with the same relations) but want to show it on the diagram in different places because of layout.
In that case you can use virtualized connector ends.

Geert
Title: Re: SysML Action (accept event)
Post by: PDC on May 27, 2025, 05:24:24 pm
If it's just AcceptEventAction that you are looking at, then I don't think you need multiple instances of it anyway.
According to UML 2.5.1 section 16.10.3.1, I see no reason (but happy to be proved wrong!) why the AcceptEventAction cannot be triggered multiple times, and at ANY point during the execution of other Actions within the Activity.
If there are different reasons for triggering it (or if it can be triggered by different incoming signals) then you might need a Decision immediately after the AcceptEventAction to test why it was triggered, what was received and decide what to do about it. But it would seem messy/cluttered to me to have multiple AcceptEventActions within the same Activity which are all receiving basically the same incoming trigger/signal.

As always, I know I don't have the full context and I'm happy to be proved wrong about semantics too - it's how I learn! :)