Wednesday 19 May 2010 8:03:53 am
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
|