It is a type of automation that uses finite number of states in its execution. Only when an activity is triggered it enters a state, and it exits the state when another activity is triggered. The activities of state machine are Entry, Exit and Transitions.