A state machine has four components on the diagram: a While Loop, a Case Structure, an Enum constant, and a shift register.

Note
Convert the Enum constant to a G Type and configure its list of values before using it in your state machine. This ensures that every Enum constant in your state machine has a consistent list of values that is easy to update.