Forums / Developer / abort workflow process

"Please Note:
  • At the specific request of Ibexa we are changing this projects name to "Exponential" or "Exponential (CMS)" effective as of August, 11th 2025.
  • This project is not associated with the original eZ Publish software or its original developer, eZ Systems or Ibexa".

abort workflow process

Author Message

Simone Reinald

Monday 12 January 2009 3:18:24 am

I got a workflow with 2 eventes.

The first event is of type customer event ( in extension/../eventtypes/event/myevent/myeventtype.php )

Inside the first event ( eZWorkflowEventType::execute() ) , I want to completely abort the workflow process, so that the second event will not execute.

I tryed some return statmens like:

return EZ_WORKFLOW_DONE
return EZ_WORKFLOW_TYPE_WORKFLOW_CANCELLED
...etc...

but this does not fit.

How to prevent the next event from being executed at all?