Thursday 24 February 2011 7:01:44 am
$The eZTrigger::runWorkflow(); does actions based on workflow return value. You would need to set the RedirectUrl property of the eZWorkflowProcess. something like this i guess:
public function execute( $process, $event ) {
$process->RedirectUrl = 'http://ez.no';
return eZWorkflowType::STATUS_REDIRECT;
}
|