- Issue created by @marco aurelio rocca
- 🇳🇱Netherlands johnv
I think you can react on
$this->dispatchEvent(WorkflowEvents::POST_TRANSITION);
Events are the new hooks.
I hope my answer is not too late. - 🇧🇷Brazil marco aurelio rocca
Thank you, @johnv!
I was trying to achieve such a reaction through the Drupal interface, not programatically, and I guess I got that:- Workflow status is stored in a workflow-type field on the content-type
- Node to be automatically transitioned will have this new field value set through a normal "Entity Set Field Value" action
- Also, a Transition is "found" (and thus will trigger an ECA model) through the "Update Content Entity" event