Book a Demo

Author Topic: Internal transitions in statemachine diagrams  (Read 4079 times)

Ignacio G. T.

  • EA User
  • **
  • Posts: 38
  • Karma: +0/-0
    • View Profile
Internal transitions in statemachine diagrams
« on: October 29, 2012, 06:19:14 pm »
How can I set an internal transition in a state?

Paul Lotz

  • EA User
  • **
  • Posts: 248
  • Karma: +1/-0
    • View Profile
Re: Internal transitions in statemachine diagrams
« Reply #1 on: October 30, 2012, 03:15:15 am »
In a state machine diagram, select a state and create a transition back to that originating state (e.g., a self-transition).  Right-click on the transition and select "Transition Properties...."  On the Advanced Page set kind = internal.  (The other options are external and local.)

P.S.  I think this is not a satisfactory way to indicate an internal transition, since there is no visual indication of the "kind" on the diagram.

Ignacio G. T.

  • EA User
  • **
  • Posts: 38
  • Karma: +0/-0
    • View Profile
Re: Internal transitions in statemachine diagrams
« Reply #2 on: October 30, 2012, 04:19:18 am »
Wow, that was hidden... And yes, the presentation (i. e., the no presentation) is unsatisfactory, and it departs from the standard  >:(

An alternative, also very unsatisfactory, is to treat an internal transition as a kind of entry, do, or exit activity: right button, operations, action = the trigger you need, name = the action you need (with a guard, if you need it), and there you have it: at least it *appears* as an internal transition, but it is not  :(

Paul Lotz

  • EA User
  • **
  • Posts: 248
  • Karma: +1/-0
    • View Profile
Re: Internal transitions in statemachine diagrams
« Reply #3 on: October 30, 2012, 06:29:29 am »
See also this thread, where I mention I submitted a suggestion: http://www.sparxsystems.com/cgi-bin/yabb/YaBB.cgi?num=1335180922/6#6.

I recommend that you submit a suggestion as well.

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13523
  • Karma: +574/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: Internal transitions in statemachine diagrams
« Reply #4 on: October 30, 2012, 06:14:10 pm »
If in fact EA is deviating from the UML standards then I strongly suggest to submit a bug report.

Sparx seems to be quite sensible for that kind of bugs (I guess they want to present themselves as "UML 2.4 compliant"), and I've noticed that they usually get fixed quickly.

Geert