Forums / General / Workflow not working at all

Workflow not working at all

Author Message

Pratibha Gannavarapu

Friday 21 April 2006 1:36:01 am

Hi
I am experiencing some major problem here with workflows. I have a simple workflow setup which requires admin approval for new content that is created. The whole workflow system looks to be working fine till the administrator approves the content object. But after approving the status of the object does not get updated to 'published' because of which the item still remains in 'my pending items'. Am I missing out any steps that are necessary in here? Can some one help!!??
Cheers
Pgan

Bertrand Dunogier

Friday 21 April 2006 2:49:07 am

Have you run the runcronjobs.php script ? This one should execute cronjobs/workflow.php and will take care of moving the relevant items to the next workflow step (in your case, publish the object).

Bertrand Dunogier
eZ Systems Engineering, Lyon
http://twitter.com/bdunogier
http://gplus.to/BertrandDunogier

Pratibha Gannavarapu

Sunday 23 April 2006 6:13:43 pm

Yes I tried running the cron jobs script and I get the following error:
Fatal error: Call to a member function on a non-object in /ezpublish/kernel/classes/ezworkflowprocess.php on line 429

I have also tried placing the code in index.php to run the cron once every 2 hours
http://ez.no/products/ez_publish/documentation/configuration/configuration/cron_jobs

Though the script is executing the workflow is not completing..

:(

thomas BAILLEUL

Monday 21 August 2006 8:16:11 am

I have still the same problem, I've tried to launch runcronjobs.php with php interpreter(OS:XP)
but it doesn't not work!
my pending list is not empty at all!
if someone could answer us I will appreciate
thks