The lifecycle functionality is based on the principles of a state machine lifecycle. A lifecycle is a defined process consisting of several steps that implement the needed behaviour. There are two kinds of lifecycles: sequential lifecycles and state machine lifecycles.
In sequential lifecycles, the lifecycle itself makes all decisions on progression. There is a well-defined start and a well-defined end. Between them, a flow of branches and loops directs the progression. This means the lifecycle is in control.
A state machine lifecycle does not require Anywhere Mobility Solutions predefined steps to be followed. The state machine lifecycle waits for actions to happen and, based on the actions, changes the state. Use state machines when decisions come from an external application and are unpredictable, or when user interaction is required.
For each lifecycle, you can define one or more states and one or more next states. You can define conditions, actions, and authorizations for each state-to-next-state combination. Use the OnStatusChange or AfterStatusChange type to trigger an action.