Book a Demo

Author Topic: Code template statemachine collection AllStates is similar to States  (Read 3727 times)

achappuis

  • EA Novice
  • *
  • Posts: 1
  • Karma: +0/-0
    • View Profile
Hello everyone.

I'm currently trying to generate a state machine containing a submachine on EA 13.
I already have a Code template which generate state machines close to what I want except for the submachines.

According to http://sparxsystems.com/enterprise_architect_user_guide/13.0/model_domains/easl_collections.html the
AllStates collection shall gave me access to the states of the submachine, but in my case AllStates is similar to States.

Can anyone reproduce this or am I doing this the wrong way (When I edit the state machine chart, I create a submachine by dropping a "State Machine" from the Toolbox.)?

thanks,
Aurélien.

jpapp

  • EA Novice
  • *
  • Posts: 13
  • Karma: +0/-1
    • View Profile
Re: Code template statemachine collection AllStates is similar to States
« Reply #1 on: February 20, 2017, 09:22:18 pm »
Hello Aurélien!

I'm just facing the problem, what you described right here. Have you found any solution already? Could you please share your template file?