2 workflows on the same trigger

2 workflows on the same trigger

Thursday 11 February 2010 9:48:12 am - 4 replies

Modified on Thursday 11 February 2010 2:51:53 pm by Pascal France

Author Message

Robin Muilwijk

Thursday 25 February 2010 11:29:02 am

Hi Pascal,

Have you been able to solve your problem yet? If not, what if you try running the "runcronjobs -frequent" part? The frequent part of the cronjobs runs the workflow.php. (http://ez.no/doc/ez_publish/technical_manual/4_x/features/cronjobs/configuring_cronjobs).

Regards Robin

Board member, eZ Publish Community Project Board - Member of the share.ez.no team - Key values: Openness and Innovation.

LinkedIn: http://nl.linkedin.com/in/robinmuilwijk // Twitter: http://twitter.com/i_robin // Skype: robin.muilwijk

Gaetano Giunta

Thursday 25 February 2010 3:37:34 pm

As Robin stated, by default the workflow cronjob is part of the frequent group (or 'part', in ez parlance)

the command is: php runcronjobs -s test frequent

As for wait+approve, just add the two events in the same workflow. Put approve first, otherwise approvers will have to wait before being able to approve. The end result is that content will have to be approved first and then wait until the established date before it is shown.

Principal Consultant International Business
Member of the Community Project Board

Pascal France

Friday 26 February 2010 7:17:11 am

Thank's Robin and Gaetano ;-)

Of course, all is written in the doc...

About my first point (2 workflows with 1 trigger) I think I was not clear enough.

In fact, I have some objects (class object = class_one) which have to be approuved and other ones (class object = class_tow) which have to be delayed.

And I don't know how to do that.

Pascal

Ce qui embellit le désert c'est qu'il cache un puits... quelque part... (A. de Saint-Exupéry) - http://luxpopuli.fr/eZ-Publish

Pascal France

Friday 26 February 2010 7:34:56 am

In fact, the solution proposed by Gaetano works perfectly for what I wish to achieve.

Thanks again for your help.

Pascal

Ce qui embellit le désert c'est qu'il cache un puits... quelque part... (A. de Saint-Exupéry) - http://luxpopuli.fr/eZ-Publish

You must be logged in to post messages in this topic!

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