State Machines in (Cake)PHP
Using the Spryker StateMachine plugin.
Workflow
A classical example is a workflow:
- Order Management (Checkout, Payment, Delivery, Refund)
- Multi-step registration processes
- Complex processes for clear human interaction
Automation
Another common use case is automation of existing processes. This can be partially or in some cases even fully:
- Release Process
- Multi-Step Validation through tooling
- Repeating chain of tasks