Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork9.6k
Description
Description
When using the symfony workflow component, I have the issue, that I don't really can easily see, what happens before, on, after different transitions.
It is only possible to see, what states can be reached and which transition can be applied.
I think it would be very helpful, to visualize in some way the different EventListeners which subscribes to the various transition events. Maybe in the Symfony Debugger, otherwise in the state machine graph. We could use here the EventListeners name (+ Method Name, if it does not have only an invoke method).
Example
Imagine, we have a payment state machine with a transition "capture", from "processing" to "captured".
When the state machine dispatches the "workflow.payment.completed.capture" event, I have an EventListener called "BookAccountingItemsListener::invoke", "PaymentNotificationListener::sendCapturedCustomerEmail".
Seeing that information in some way, could be helpful to understand and see the full process and business logic behind that.