Book a Demo

Author Topic: Using Inner Actions in Enterprise Architect V11  (Read 4251 times)

Majid

  • EA Novice
  • *
  • Posts: 2
  • Karma: +0/-0
    • View Profile
Using Inner Actions in Enterprise Architect V11
« on: December 15, 2014, 05:49:05 am »
I am new here and would be grateful If anybody helps me. recently I have been working on state machine diagrams and UML language in general. I have been using Enterprise Architect (EA) V11 for drawing some state machine diagrams like drawing states, triggers, guards and events. It is known that there are two types of triggers 1. transition triggers that cause a transition from a state to another 2. inner triggers that doesn't cause a transition. EA supports only three types of inner triggers ( Entry, Exit, Do ) because of this I can't put in my own inner triggers as an example if enter button is pressed turn on a device. Another thing that I can't write commands that are going to be executed inside the state. So I have two questions 1. How to name my own inner triggers? 2. how to write commands inside a state?

Paul Lotz

  • EA User
  • **
  • Posts: 248
  • Karma: +1/-0
    • View Profile
Re: Using Inner Actions in Enterprise Architect V1
« Reply #1 on: December 16, 2014, 04:32:04 am »
See this thread http://www.sparxsystems.com/cgi-bin/yabb/YaBB.cgi?num=1351495155/3#3 and the thread referenced there.  There are details about how to create an internal transition.

A more recent update to EA has indeed moved the visual representation of internal transitions within the state element (yay!), although not in a clearly labeled compartment, unfortunately.  I guess that's close....

We can formally show an action that will execute either as an effect on the transition, or by making the trigger a Call.  Using either approach, we can link to an operation on a class.

Majid

  • EA Novice
  • *
  • Posts: 2
  • Karma: +0/-0
    • View Profile
Re: Using Inner Actions in Enterprise Architect V1
« Reply #2 on: December 18, 2014, 01:00:42 am »
Very helpful, thanks. It shouldn't be that tricky!