eZ Community » Forums » Developer » Object creation during a workflow
expandshrink

Object creation during a workflow

Object creation during a workflow

Wednesday 19 May 2010 5:03:53 pm

Hi,

I would like to create an object during a workflow event

I have develloped my own workflow event, which is called after updateobjectstate

If my new state has a special value, I would like to be redirect to my page creation.But if I redirect during the execute function without returning the eZWorkflowType::STATUS_ACCEPTED value, my state is changed to the precedent value.

$http->redirect('/my_module/object_creation/'.$objectID);
 eZExecution::cleanExit();

So I don't redirect and I try to put some parameters like

$process->RedirectUrl ='/my_module/object_creation/'.$objectID;
 
eZWorkflowType::STATUS_REDIRECT;

but nothing happens ..

Any idea how to do it ?

thx

Fabien

No reply yet!

expandshrink

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

36 542 Users on board!

Forums menu

Proudly Developed with from