Configuring a state machine

circle-exclamation

You can either use Symfony workflowarrow-up-right or Winzou state machinearrow-up-right. The recommended way is to use the Symfony workflow component.

If only Symfony workflow is on your requirements you have nothing to do.

But you can configure it explicitly:

Configuring Symfony workflow as state machine`

sylius_resource:
    settings:
        state_machine_component: symfony

Configuring Winzou as state machine`

If Winzou state machine is on your requirements you have nothing to do even if Symfony workflow is on your requirements too.

But you can configure it explicitly:

sylius_resource:
    settings:
        state_machine_component: winzou

Applying a transition`

You can create a route to apply any transition

Last updated

Was this helpful?