Yes I speak about the trigger content_delete that I activated in workflow.ini.append.php, in my extension.
My trigger that call a workflow allow to check a lot of condition in the content of datatype, for exemple the date, the number, etc.
And after, as follows result, it rejects or accepts the deletion ...
But like I explained, if there are more than one object removed, my trigger received a list of object (node id), and for exemple if the first object fails the conditions, it returns eZWorkflowType::STATUS_REJECTED and the others object are not checked :s
Could you share the code of your custom workflow event with us ? That will help us better understand the logic in it, and give us better chances to help you.
Cheers,
--
Nicolas Pastorino
Director Community - eZ
Member of the Community Project Board
I'd like to see an example of code for the content_delete triggers as well. eZ Publish finds my event, and allows me to set up a workflow, but it doesn't call the code when I delete an object.