In a state machine diagram, actions can be executed within states and also during transitions?
This definition is true or false?
In a state machine diagram, actions can be executed within states and also during transitions?
This definition is true or false?
yes, replacing 'actions' by 'behavior' to be more precise (and in a state machine, 'diagram' is not relevant here)
from formal/2017-12-05 §14.2.3.4.3 State entry, exit, and doActivity Behaviors :
and from formal/2017-12-05 § 14.2.3.8 Transitions :
A Behavior can be an OpaqueBehavior, Activity, StateMachine, or Interaction (see formal/2017-12-05 § 13.4.2.4 Specializations concerning the abstract class Behavior)