Hi,
assume 2 states which have the same event, but one is setup as global transition and the other as local transition. Now it seems the global transition is either executed first always or this is some kind of event setup order result.
What i need is a way that would prioritize the same local event first, so the state can have special logic.
As example, think of a global "Power Off" event, that should only trigger "closing" logic, if the Fsm is in the open/opening states.
I did add the "Power Off" event to those states, but those are never triggered and always the default global version is used.
The alternative would be to add local "Power Off" transitions to every single state in the Fsm, assuming that most things this objects do, need power. Aside from the visual clutter, this also increases the chance to forget this transition in future added states, thats why i would like to keep the global version and just add special transition logic on a per state basis.
thx Andy
PS: Just noticed there is a other way to use "get previous state" with a "Fsm State Test" action.