In many examples I see that process managers are started when some event happened.
PlaceOrder -> Order Aggregate -> OrderPlaced -> Purchase Process Manager -> ...
But is it ok to start process manager by command?
Start Process -> Purchase Process Manger -> PlaceOrder -> Order Aggregate -> Order Placed -> Purchase Process Manger -> Charge credit card -> Payment Service -> ...
The problem I see with 1st approach is that when Order Aggregate published OrderPlaced event, the event could be lost and Purchase Process Manager would never start and I would have corrupted state in the system.
But in the second approach, I can retry PlaceOrder command if after some time Process Manger did not receive OrderPlaced event.