State Machine

In e-commerce, every item which is ordered then needs to be processed, packed and shipped to the end customer. This can be very complex and looks different for every company. State machines are essentially ‘business process models’ which create a standard way of configuring and executing business processes such as payment, shipping, and more to ensure uniformity.