Book a Demo

Author Topic: State machine operations  (Read 4056 times)

Michael Rufer

  • EA Novice
  • *
  • Posts: 5
  • Karma: +0/-0
    • View Profile
State machine operations
« on: May 05, 2010, 08:44:54 pm »
I would like to define state entry operations.
I found that I can drag and drop an existing operation to a state on the diagram. But the operation is simply copied not referenced. Why can't I use operations from the model, just as in the transitions?
I see no reason why I should define new operations for each state. This behaviour makes state operations almost useless for any reasonable sized model. You can't reuse or organize operations, they are bound to the state :(

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13523
  • Karma: +574/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: State machine operations
« Reply #1 on: May 05, 2010, 08:51:47 pm »
Michael,

You can link an entry operation to an existing operation using the behavior tab. (click on the [...] button to select the existing operation).
I think in most cases this is the desired behavior since an operation can only be owned by one classifier.

Geert