Hi,
I've seen that the with one variable we are bound to select only one transition/event on "Fire on change" property of that variable.
What if I want to map more than 1 transition/event to "Fire on change" property of any variable?
PFA file for more details.I captured the snapshot of my concern.
Thanks & regards,
Shruti
Mapping more than 1 event on change of variable
- ShrutiK
- Posts: 34
- Joined: Sun Feb 06, 2011 2:03 am
- ksaenz
- Enovation Controls Development
- Posts: 263
- Joined: Thu Aug 19, 2010 7:53 am
Re: Mapping more than 1 event on change of variable
If you want to fire more than 1 event on change of a variable you can create a state machine with one state and a transition to itself. Put the events you want in the state machine and call the transition from the variable's fire on change.
- ShrutiK
- Posts: 34
- Joined: Sun Feb 06, 2011 2:03 am
Re: Mapping more than 1 event on change of variable
Thanks ksaenz!
However the solution you provided seems feasible for single state machine.
But what if one variable has to be mapped with the transition/event of different state machines?
Thanks and regards,
Shruti
However the solution you provided seems feasible for single state machine.
But what if one variable has to be mapped with the transition/event of different state machines?
Thanks and regards,
Shruti
- ShrutiK
- Posts: 34
- Joined: Sun Feb 06, 2011 2:03 am
Re: Mapping more than 1 event on change of variable
To be more precise, I've attached my problem snapshot.
Shruti
Thanks and regards,Shruti
- ksaenz
- Enovation Controls Development
- Posts: 263
- Joined: Thu Aug 19, 2010 7:53 am
Re: Mapping more than 1 event on change of variable
The single-state machine would be separate. You would use "fire on change" to fire the transition in the single-state machine, and from the single state machine you fire the three events for your existing state machine every time.