Author Topic: tracing from Activities to Actions  (Read 1150 times)

Robert Sheridan

  • EA User
  • **
  • Posts: 105
  • Karma: +0/-0
    • View Profile
tracing from Activities to Actions
« on: January 10, 2014, 05:30:18 am »
I am looking to use actions on activity diagrams (as recommended by Geert :-)).  I am anticipating that the users will want to be able to find every diagram that an action for an activity appears on in order to do impact analysis, but I have not found a way to do this.  Does anyone Know how to do this?

(I am trying to avoid having to put in manual links)

Thanks
« Last Edit: January 10, 2014, 05:33:08 am by RobertS »

Helmut Ortmann

  • EA User
  • **
  • Posts: 924
  • Karma: +39/-1
    • View Profile
Re: tracing from Activities to Actions
« Reply #1 on: January 10, 2014, 06:57:44 am »
Hi Robert,

I'm not sure I understood you right.

1. Diagrams which contains an action
Click on action + CTRL+U

2. Impact analysis by Search (SQL)

By the way: Usually an action is an aromatic thing which runs inside an activity. Therefore actions usually only occur once on that diagram which specify an activity. They are beneath/nested the activity which runs the action.

You may think of an action as one or more lines of code. Each line or group of code is unique within software module. For reuse of code/action you usually use similar strategies like in code. These are:
  • Call Operation Action
  • Call Behavior Action

Mostly, reuse of action isn't a good idea. Reuse of operations or behavior by calling them is a good idea.

Helmut
Coaching, Training, Workshop (Addins: hoTools, Search&Replace, LineStyle)

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 8484
  • Karma: +207/-26
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: tracing from Activities to Actions
« Reply #2 on: January 10, 2014, 06:01:32 pm »
Hi Robert,

First of all, I'm happy you are following my advice about Activities/Actions :)
I just checked myself in EA (v10.0.1009). If I create an Action that calls my Activity, and I then right click on the Activity and select "Find in all Diagrams" it perfectly find all diagrams where there is an invocation action for this Activity.

Geert

Robert Sheridan

  • EA User
  • **
  • Posts: 105
  • Karma: +0/-0
    • View Profile
Re: tracing from Activities to Actions
« Reply #3 on: January 10, 2014, 06:49:42 pm »
Thanks for the help (I forgot to check the right click option, comes of doing stuff at the end of the day).
We are trying to set up a repository with a master functional hierarchy which will be used for business analysis rather than development at this stage.  As a process in the hierarchy may be used in many different business process flows I was looking at using an action to instantiate it rather than putting links on all the various diagrams as they are created as it not only allows multiple instances of a process on a diagram but may reduce the risk of changes by one team impacting another.  Does this make sense?
« Last Edit: January 10, 2014, 06:51:22 pm by RobertS »

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 8484
  • Karma: +207/-26
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: tracing from Activities to Actions
« Reply #4 on: January 10, 2014, 08:11:44 pm »
Yes, makes perfect sense to me.

Geert