Book a Demo

Author Topic: relating Use Cases to Activities/Actions  (Read 10899 times)

John_WSP

  • EA Novice
  • *
  • Posts: 10
  • Karma: +0/-0
    • View Profile
relating Use Cases to Activities/Actions
« on: October 15, 2019, 12:24:00 am »
Hi all...

I am attempting to model the realisation of use cases by reference to the actions or activities that implement them.  I have created Use Case diagrams, Activity diagrams and Block Definition diagram to show the relationships.  I'm attempting to use the Operation and Attribute Features of use case blocks/classes to show existing Actions/Activities and Artefacts but I can't see how to do that.  Is this the correct modelling approach; how should I proceed; is there a better way?

Cheers

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13523
  • Karma: +574/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: relating Use Cases to Activities/Actions
« Reply #1 on: October 15, 2019, 12:58:55 am »
To be fair, there are many ways to do that, and EA allows all of them.

There is not really a standard for that I know of, and I've seen this type or traceability implemented in many different ways.

Personally I mostly use
- «trace» if it's a link between two elements
- tagged values (type refGUID) if it's between other stuff. (operations, relations, attributes, ...)

Geert

John_WSP

  • EA Novice
  • *
  • Posts: 10
  • Karma: +0/-0
    • View Profile
Re: relating Use Cases to Activities/Actions
« Reply #2 on: October 15, 2019, 02:57:59 am »
Thanks for responding Geert - my aim is to show the actions/activities and artefacts in the Operations and Attributes compartments of the Element in the bdd.  As far as I can tell, your suggestions don't achieve that.
« Last Edit: October 15, 2019, 03:34:46 am by John_WSP »

Richard Freggi

  • EA User
  • **
  • Posts: 498
  • Karma: +18/-7
    • View Profile
Re: relating Use Cases to Activities/Actions
« Reply #3 on: October 15, 2019, 10:37:34 am »
Is this the correct modelling approach: no
How should I proceed: read up on use cases (search the forum, books have been mentioned); then specify how a use case is realized via a sequence diagram (not an activity diagram)
Is there a better way: yes, see above.  Use cases only show stakeholder goals. Seems like for what you want to do you need to work with sequence and class diagrams

Good luck!

John_WSP

  • EA Novice
  • *
  • Posts: 10
  • Karma: +0/-0
    • View Profile
Re: relating Use Cases to Activities/Actions
« Reply #4 on: October 15, 2019, 07:27:00 pm »
Thanks for the pointers Richard.  I'm a little confused though; my understanding is that sequence diagrams show the relationships between processes (when process modelling) not which process(es) realises which use case.  The latter is what I am attempting to document.  :-\
« Last Edit: October 15, 2019, 07:33:46 pm by John_WSP »

Richard Freggi

  • EA User
  • **
  • Posts: 498
  • Karma: +18/-7
    • View Profile
Re: relating Use Cases to Activities/Actions
« Reply #5 on: October 15, 2019, 09:42:43 pm »
Nope.  Search this forum, several recommendations on good UML books have been made.

John_WSP

  • EA Novice
  • *
  • Posts: 10
  • Karma: +0/-0
    • View Profile
Re: relating Use Cases to Activities/Actions
« Reply #6 on: October 15, 2019, 11:02:54 pm »
Thanks Richard - my problem is not with understanding UML or SysML but rather the implementation in Sparx EA.  I shall continue my researches.

Modesto Vega

  • EA Practitioner
  • ***
  • Posts: 1183
  • Karma: +30/-8
    • View Profile
Re: relating Use Cases to Activities/Actions
« Reply #7 on: October 23, 2019, 04:41:15 am »
Richard -  this sounds to me like a traceability matrix with requirements rather than a diagram. It is the same data but represented in a different way.

Having said this and risking stating the obvious, something you most likely already know, a use case diagram is not the same as a use case element and activity diagram is not the same as an activity element. Matrices depict relationship between elements and AFIK can’t depict relationships between elements and diagrams, or between packages and diagrams.