Forums / Developer / Wait until date question

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?

eZ debug

Timing: Jan 18 2025 11:25:02
Script start
Timing: Jan 18 2025 11:25:02
Module start 'content'
Timing: Jan 18 2025 11:25:02
Module end 'content'
Timing: Jan 18 2025 11:25:02
Script end

Main resources:

Total runtime0.2156 sec
Peak memory usage2,048.0000 KB
Database Queries141

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0082 587.7109180.8359
Module start 'content' 0.00820.0057 768.546997.9922
Module end 'content' 0.01380.2017 866.5391526.7734
Script end 0.2156  1,393.3125 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00381.7668200.0002
Check MTime0.00130.5862200.0001
Mysql Total
Database connection0.00160.760610.0016
Mysqli_queries0.166777.31391410.0012
Looping result0.00140.66721390.0000
Template Total0.201493.410.2014
Template load0.00120.573710.0012
Template processing0.200192.821410.2001
Override
Cache load0.00100.450410.0010
Sytem overhead
Fetch class attribute can translate value0.00060.286210.0006
XML
Image XML parsing0.00020.105310.0002
General
dbfile0.00281.2862200.0001
String conversion0.00000.002230.0000
Note: percentages do not add up to 100% because some accumulators overlap

CSS/JS files loaded with "ezjscPacker" during request:

CacheTypePacklevelSourceFiles
CSS0extension/community/design/community/stylesheets/ext/jquery.autocomplete.css
extension/community_design/design/suncana/stylesheets/scrollbars.css
extension/community_design/design/suncana/stylesheets/tabs.css
extension/community_design/design/suncana/stylesheets/roadmap.css
extension/community_design/design/suncana/stylesheets/content.css
extension/community_design/design/suncana/stylesheets/star-rating.css
extension/community_design/design/suncana/stylesheets/syntax_and_custom_tags.css
extension/community_design/design/suncana/stylesheets/buttons.css
extension/community_design/design/suncana/stylesheets/tweetbox.css
extension/community_design/design/suncana/stylesheets/jquery.fancybox-1.3.4.css
extension/bcsmoothgallery/design/standard/stylesheets/magnific-popup.css
extension/sevenx/design/simple/stylesheets/star_rating.css
extension/sevenx/design/simple/stylesheets/libs/fontawesome/css/all.min.css
extension/sevenx/design/simple/stylesheets/main.v02.css
extension/sevenx/design/simple/stylesheets/main.v02.res.css
JS0extension/ezjscore/design/standard/lib/yui/3.17.2/build/yui/yui-min.js
extension/ezjscore/design/standard/javascript/jquery-3.7.0.min.js
extension/community_design/design/suncana/javascript/jquery.ui.core.min.js
extension/community_design/design/suncana/javascript/jquery.ui.widget.min.js
extension/community_design/design/suncana/javascript/jquery.easing.1.3.js
extension/community_design/design/suncana/javascript/jquery.ui.tabs.js
extension/community_design/design/suncana/javascript/jquery.hoverIntent.min.js
extension/community_design/design/suncana/javascript/jquery.popmenu.js
extension/community_design/design/suncana/javascript/jScrollPane.js
extension/community_design/design/suncana/javascript/jquery.mousewheel.js
extension/community_design/design/suncana/javascript/jquery.cycle.all.js
extension/sevenx/design/simple/javascript/jquery.scrollTo.js
extension/community_design/design/suncana/javascript/jquery.cookie.js
extension/community_design/design/suncana/javascript/ezstarrating_jquery.js
extension/community_design/design/suncana/javascript/jquery.initboxes.js
extension/community_design/design/suncana/javascript/app.js
extension/community_design/design/suncana/javascript/twitterwidget.js
extension/community_design/design/suncana/javascript/community.js
extension/community_design/design/suncana/javascript/roadmap.js
extension/community_design/design/suncana/javascript/ez.js
extension/community_design/design/suncana/javascript/ezshareevents.js
extension/sevenx/design/simple/javascript/main.js

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1pagelayout.tpl<No override>extension/sevenx/design/simple/templates/pagelayout.tplEdit templateOverride template
 Number of times templates used: 1
 Number of unique templates used: 1

Time used to render debug report: 0.0004 secs