I’m trying to wrap my head around the state manager.
Using default Litium, when: waitingconfirmation => confirmed
the email about the order is sent. (default).
Then init is set in delivery
there we want to run an integration to TA system that if success it will go to processing and await deliverystart
Init => processing seems to never trigger for delivery when I use Directpay.
Do i need to add related state? I tried to do with related against orderconfirmed and the delivery state did change to processing for however the init => processing was never executed.
Do I only use relations on the statemanager to trigger said states between order and delivery or can I trigger specific state from one and other?
I have checked the documentation regarding states:
But still cannot seem to wrap the idea on how it should be done.
When Order is created and it is in “init” mode then you need to set the Deliverystatus to Processing in order to change the orderstatus to Processing and when Order is delivered then you can choose to set the Deliverystatus to “Delivered/Canceled or ReadyToShip”. So you will need to handle the statuses with changing DeliveryStatus.
Yeah I understand the basic flow as you explain it, but how can I do it automatically, right now it needs someone in BO to set processing status for delivery.
How can I automatically trigger the init => processing step when the order is confirmed? Do I have to define the related state in StateTransitionBuilder?