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

eZ Community » Forums » eZ Publish 5 Platform » Future of the workflow
expandshrink

Future of the workflow

Future of the workflow

Tuesday 23 April 2013 11:28:54 am - 4 replies

What about the workflow in eZPublish 5 ?

I would like to have an event like "before content read" in the old workflow.

The PreContentViewListener is a cool feature, but how to have a redirect without changing the whole routing ?

In the old days in the execute method of an eZWorkflowEventType, I used the following lines to redirect the content :

$process->RedirectUrl = $redirectUrl;                            

return eZWorkflowType::STATUS_REDIRECT;

 

Maybe the solution is to create a new controller, and then forward to the ez controllers, but I think this will break the whole part.

Tuesday 23 April 2013 11:45:23 am

Hi Bruno

Workflows are currently not implemented in 5.x. This is something we'll probably focus on for 5.2, with a new workflow system.

Tuesday 23 April 2013 11:54:20 am

Meanwhile, I suppose we have to rely on our old extensions, rather trying to redirect with the controller methods ?

Tuesday 23 April 2013 12:11:52 pm

If you want to use content/read workflow, I guess so.

Tuesday 23 April 2013 2:15:37 pm

Thanks Jerôme.

expandshrink

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

36 542 Users on board!

Forums menu

Proudly Developed with from