Wait until date question

Author Message

Clemens T

Thursday 29 May 2008 3:49:06 am

Heya all,

I've got the following setup:

<b>Trigger 1</b>: After Publish - triggers: <i>Workflow 1</i>

<b>Workflow 1</b>: multiplexer event to 'filter' items of one class - run <i>Workflow 2</i> on these

<b>Workflow 2</b>:
- wait until date event; to make sure the workflow 'continues' after beyond this date
- send an e-mail to a special group of people

However, even if I run my cronjob script manually, I don't get an e-mail at the date time I tell the 'wait until date' to continue the workflow.

What am I doing wrong?

Greets,
Clemens

Maxime Thomas

Sunday 01 June 2008 11:47:16 pm

Have you set up the mail configuration ???

Maxime Thomas
maxime.thomas@wascou.org | www.wascou.org | http://twitter.com/wascou

Company Blog : http://www.wascou.org/eng/Company/Blog
Technical Blog : http://share.ez.no/blogs/maxime-thomas

Clemens T

Monday 02 June 2008 1:49:21 am

Heya Maxime,

Yes, because if I remove the 'wait until date' event, it works perfectly well :). Any thoughts?

Thanks

Clemens T

Monday 02 June 2008 9:21:22 am

Very weird, when I run my workflow with a date in the future (let's say, 2 months from now) and I run the 'runcronjobs' script, my object gets published automatically:

Checking for workflow processes
Status list
Workflow done(2): 1

My table looks like this before the workflows have been published (an example):

|      1212424020 |          0 |               0 | 1212423872 |       11 |              1 |           0 |            0 | 1320 |             0 |                   0 |                 3 |                                  | 1212423872 |       0 | a:5:{s:9:"object_id";s:3:"824";s:7:"version";s:1:"1";s:11:"workflow_id";s:2:"11";s:7:"user_id";s:2:"14";s:17:"parent_process_id";i:1319;} | 4ab2a217696950ed4cb9fa5d839cbd18 | 0           |      4 |      14 |          11 |
|               0 |          0 |               0 | 1212423872 |        8 |              1 |           0 |            0 | 1319 |             0 |                   0 |                 3 | f63874629f56dde0e493efb78450a7f0 | 1212423872 |       0 | a:4:{s:9:"object_id";s:3:"824";s:7:"version";s:1:"1";s:11:"workflow_id";s:2:"10";s:7:"user_id";s:2:"14";}                                 | 33b7e3a4dc6fb18e02c12e3ed295d156 | 0           |      4 |      14 |          10 |

Anyone?

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