Creates a custom state.
The name of the custom state.
Ordinal of the custom state used to identify system states.
false
Whether this is a final state.