Initial State
Last updated
Last updated
An Initial State in a State Machine Diagram represents the starting point of the state machine. It indicates the default state of the object when the state machine begins execution. Every state machine must have exactly one Initial State.
With Initial States in Modeldraw's State Machine Diagram, you can:
Define the starting point of your state machine
Indicate the first state an object enters when the state machine begins
Ensure your state machine has a clear entry point
Initiate the flow of your state-based behavior model
An Initial State in Modeldraw's State Machine Diagram tool is represented by a filled black circle. Key points to understand about Initial States include:
It marks the beginning of the state machine's execution.
There should be only one Initial State per state machine or composite state.
An Initial State cannot have any incoming transitions.
It typically has one outgoing transition leading to the first actual state.
Initial States don't perform any actions themselves.
The transition from the Initial State to the first state is automatic and immediate.
Remember that the Initial State should be connected to only one state, which represents the starting state of your state machine.