This site has been archived and you can no longer log in or post new messages. For up-to-date community resources please visit

eZ Community » Forums » Developer » Redirecting and cancelling the...

Redirecting and cancelling the workflow in workflow event

Redirecting and cancelling the workflow in workflow event

Tuesday 16 June 2009 1:31:16 pm - 3 replies

Hi all

I am trying to redirect in a workflow event. Which is the right way of doing this if I want to cancel the workflow in process?

I see there is a STATUS_WORKFLOW_CANCELLED return code, but than I get an ugly error page, which I want to avoid. Another possibility is using STATUS_REDIRECT, but then the workflow remains in workflow/processlist.

Is there a way of redirecting, and cancelling the workflow in the same step?

Thnx in advance...

Modified on Tuesday 16 June 2009 4:55:31 pm by Igor Vrdoljak

Thursday 30 July 2009 4:41:23 pm

See this issue (not solved yet):

Tuesday 08 September 2009 2:40:39 pm

I have attached a possible solution to the issue tracker. Please test. I recommend you subscribe to the issue, then you will be notified about all changes automatically.

Friday 26 November 2010 1:18:18 pm

So what you're saying is, the below quote should do the job ? Because it doesnt redirect in my case - this is an event trigger on content/publish.

 return eZWorkflowEventType::STATUS_REDIRECT;

Modified on Friday 26 November 2010 1:19:04 pm by *- pike


You must be logged in to post messages in this topic!

36 542 Users on board!

Forums menu

Proudly Developed with from