Book a Demo

Author Topic: Using %SEND_EVENT("evt1", CONTEXT_REF(a))%;  (Read 3791 times)

YannM

  • EA User
  • **
  • Posts: 22
  • Karma: +0/-0
    • View Profile
Using %SEND_EVENT("evt1", CONTEXT_REF(a))%;
« on: February 05, 2020, 05:25:39 am »
Hi all,

I'm using EA13.5. I'm working on UML state machines and simulation.
I'm using pseudo code as %SEND_EVENT("evt1", CONTEXT_REF(a))%; to send message from one stm to another.

This pseudo code only works in the Effect property of a Transition.

Is-it possible to use this pseudo-code in a State in order to send "evt1" each time a state is entered ?