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.

eZ debug

Timing: Jan 18 2025 15:53:50
Script start
Timing: Jan 18 2025 15:53:50
Module start 'layout'
Timing: Jan 18 2025 15:53:50
Module start 'content'
Timing: Jan 18 2025 15:53:51
Module end 'content'
Timing: Jan 18 2025 15:53:51
Script end

Main resources:

Total runtime0.8656 sec
Peak memory usage4,096.0000 KB
Database Queries60

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0064 587.9141152.6250
Module start 'layout' 0.00640.0034 740.539139.4453
Module start 'content' 0.00980.8545 779.9844553.5547
Module end 'content' 0.86420.0014 1,333.539112.1641
Script end 0.8656  1,345.7031 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00390.4508160.0002
Check MTime0.00170.2001160.0001
Mysql Total
Database connection0.00090.101510.0009
Mysqli_queries0.803492.8064600.0134
Looping result0.00060.0636580.0000
Template Total0.830195.920.4150
Template load0.00230.262320.0011
Template processing0.827895.628820.4139
Template load and register function0.00020.020410.0002
states
state_id_array0.00110.126010.0011
state_identifier_array0.00070.075820.0003
Override
Cache load0.00180.2122270.0001
Sytem overhead
Fetch class attribute can translate value0.00050.061220.0003
Fetch class attribute name0.00120.140750.0002
XML
Image XML parsing0.00400.461120.0020
class_abstraction
Instantiating content class attribute0.00000.001350.0000
General
dbfile0.00840.9657160.0005
String conversion0.00000.001140.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1node/view/full.tplfull/forum_topic.tplextension/sevenx/design/simple/override/templates/full/forum_topic.tplEdit templateOverride template
4content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
8content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
2content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
1content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
2content/datatype/view/ezxmltags/literal.tpl<No override>extension/community/design/standard/templates/content/datatype/view/ezxmltags/literal.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 19
 Number of unique templates used: 7

Time used to render debug report: 0.0001 secs