Workflow Update Basket

Author Message

Wenzel Wondra

Tuesday 07 April 2009 10:15:16 am

Hi @all,

I made a WorkflowEventType and assigned it to "updatebasket/before"... Now I check some attributes of the basket and if something is not ok, I need to return to the basket and set a message there.

function execute( $process, $event )
{
...
$tpl = templateInit();
$tpl->setVariable('myeventerror' , 'errorcode');
return eZWorkflowType::STATUS_REJECTED;
}

I get redirected to the basket, but $myeventerror is not available :(

What am I doing wrong?
Any help would be appreciated :)

regards,
wewo

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