I use Papyrus neo to design state machine definition.
The language used: SPEL
After I setup a state action("Do activity"), I expected it to be executed when stay in this state.
The actual behavior is: state action not executed, unless it goes out of this state after another trigger.
I found the code, which confused me:
UmlModelParser:494, if state action language is LANGUAGE_BEAN, then put it into state actions which looks good.
UmlModelParser:503, if state action language is LANGUAGE_SPEL, then put it into state exit actions which is confusing
Can you tell if this is a bug, or a decent design for some painful reason?
I use Papyrus neo to design state machine definition. The language used: SPEL After I setup a state action("Do activity"), I expected it to be executed when stay in this state. The actual behavior is: state action not executed, unless it goes out of this state after another trigger. I found the code, which confused me: UmlModelParser:494, if state action language is LANGUAGE_BEAN, then put it into state actions which looks good. UmlModelParser:503, if state action language is LANGUAGE_SPEL, then put it into state exit actions which is confusing Can you tell if this is a bug, or a decent design for some painful reason?