1
Automation Interface, Add-Ins and Tools / 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?
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?