The State Machine Diagram
Which state will be reached and when? Which event will trigger the state transition? In a State Machine, all states that an element will be in are described. It describes which events occur or which guards have to be in place, so that a transition in state will be made. It also describes which actions will be taken, when a transition in state occurs or a state is reached.