Problem with redirect workflow

Author Message

Francisca Hernandez

Friday 03 October 2003 3:18:20 am

I have create a workflow that creates a class B child. The workflow activates each time that somebody publish a class A object.
I want redirect the user after create object B to '/content/edit/xx/1/' in the workflow
I do this in eZWorkflowNameType::execute()

$process->RedirectUrl = '/content/edit/' . $childObjectID . '/' . $childObjectVersion .'/';
return EZ_WORKFLOW_TYPE_STATUS_REDIRECT ;

but it seems that ignore the redirection. can somebody help me?

Thanks in advanced!

Francisca Hernandez

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.