Book a Demo

Author Topic: Transitions between States linked with Activities  (Read 3095 times)

Guillaume

  • EA Practitioner
  • ***
  • Posts: 1405
  • Karma: +42/-2
    • View Profile
    • www.umlchannel.com
Transitions between States linked with Activities
« on: January 20, 2012, 07:49:17 pm »
Hi

On a statechart diagram, is there a way to associate a transition with an activity or a use case in the model?
Let's say that you have states of your system defined in a diagram, and you would like to show the effect of your use cases on the system.

This way you could also trace the effect of a given use case onto a selected statechart

thx
Guillaume

Blog: www.umlchannel.com | Free utilities addin: www.eautils.com


Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13523
  • Karma: +574/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: Transitions between States linked with Activit
« Reply #1 on: January 20, 2012, 08:34:30 pm »
Guillaume,

You can add triggers to a transition, and you can specify the specification for the trigger (signal or operation), but I don't see a direct link between the trigger and an activity or use case.
What you can always do is add a RefGUID type tagged value that links the transitions to the use case or activity.
If you choose this last option then you can use my EA Navigator to quickly navigate between the use case and the transition (both ways)

Geert

KP

  • EA Administrator
  • EA Expert
  • *****
  • Posts: 2919
  • Karma: +55/-3
    • View Profile
Re: Transitions between States linked with Activit
« Reply #2 on: January 23, 2012, 09:33:57 am »
In the Transition Properties dialog, on the Constraints page, tick the "Effect is a Behavior" option and select an Activity from the dialog that pops up. (You won't be able to select a UseCase because they are BehavioredClassifiers, not Behaviors).
The Sparx Team
[email protected]