State machine states

I have defined several values for a field that I have mapped in a state workflow. One is initial, but there are other two that can follow each other in either order. Is it necessary to have one as a final state type? As both can be either running or final which value should I choose?

Is it necessary to have one state set as a final type? And if there is a state set as final what happens when I add a possible state change?

It is not necessary to have a final state machine state. It does not have a special function and it is there only because it makes sense to diagram it that way sometimes. An example can be traffic lights – they do not have a final step.

The only mandatory step is an initial step. You can have one or more of them. In an extremely flexible case you might only have initial steps (so the workflow could begin with any of them) and then some transitions.

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.