Book a Demo

Author Topic: Activity Diagram Semantics  (Read 21281 times)

jas11

  • EA Novice
  • *
  • Posts: 9
  • Karma: +0/-0
    • View Profile
Activity Diagram Semantics
« on: September 22, 2015, 05:21:21 pm »
I’m trying to create an activity diagram but I notice EA doesn’t allow activities with the same name to be added onto the same diagram. For example, if I have a common activity called “Log Event” which needs to be called along the different control paths of the activity diagram, how can I depict this?

philchudley

  • EA User
  • **
  • Posts: 750
  • Karma: +22/-0
  • EA Consultant / Trainer - Sparx Europe
    • View Profile
Re: Activity Diagram Semantics
« Reply #1 on: September 22, 2015, 05:52:27 pm »
Use a Call Behaviour Action and not an Activity

When re-using an Activity from the Project Browser select

Invocation rather than Link

Cheers

Phil
Models are great!
Correct models are even greater!

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13523
  • Karma: +574/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: Activity Diagram Semantics
« Reply #2 on: September 22, 2015, 08:50:23 pm »
Jas11,

You activity diagram should never not contain action just like a state machine diagram never contains state machines.
For more information see: UML Best Practice: There are no Activities on an Activity Diagram

Geert

jas11

  • EA Novice
  • *
  • Posts: 9
  • Karma: +0/-0
    • View Profile
Re: Activity Diagram Semantics
« Reply #3 on: September 23, 2015, 02:05:28 am »
Perfect. Thanks Phil and Geert for the explanation.