Ah, you mean, just dispatch event here, and in event listener do:

```
 $shipmentProcessor = $this->get('sylius.order_processing.shipment_processor');
        $shipmentProcessor->updateItemStates($order, ShipmentInterface::STATE_SHIPPED, ShipmentInterface::STATE_READY);
        $shipmentProcessor->updateShipmentStates($order, ShipmentItemInterface::STATE_SHIPPED, ShipmentItemInterface::STATE_READY);
```