Book a Demo

Author Topic: Picking up transition Signal Parameters into State Machine Guards  (Read 3819 times)

vkc1020

  • EA Novice
  • *
  • Posts: 10
  • Karma: +0/-0
    • View Profile
Picking up transition Signal Parameters into State Machine Guards
« on: September 24, 2019, 11:32:51 am »
Hello,

I was trying to find a way to use a variable sim.a == 1 in a State Machine Transition Guard (where all elements in the state machine are in javascript) where the "a" in sim.a is a parameter value from the signal that is trying to create this transition. When I use "sim.a" or "this.a" in the Guard Expression, it does not pick this value up from one of the signal parameters which is also represented by "a".

Any thoughts?
« Last Edit: September 24, 2019, 11:50:30 am by vkc1020 »