Author Topic: SysML Action (accept event)  (Read 1204 times)

jas11

  • EA Novice
  • *
  • Posts: 7
  • Karma: +0/-0
    • View Profile
SysML Action (accept event)
« 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.

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13404
  • Karma: +567/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: SysML Action (accept event)
« Reply #1 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

PDC

  • EA User
  • **
  • Posts: 109
  • Karma: +4/-0
  • Systems Engineer
    • View Profile
Re: SysML Action (accept event)
« Reply #2 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! :)
Phil