"wait until date" & content modification

Author Message

Seb gaillard

Tuesday 07 July 2009 9:18:21 am

Hi,

I would like to know if it's possible to modify a content object when the datetime attribute used for the event "wait until date" is > currentDate().

For exemple:
the attribute "publish date" of myObject has the value: 10/07/2009 15:00.
To day we are the 07/07/2009 18:15 and I publish myObject.

Is'it possible to modify myObject before the 10/07/2009 15:00 ?

 

André R.

Tuesday 07 July 2009 2:41:58 pm

No unfortunately not, its a weakness of the default workflow events(also approval), you should look into alternative workflow extensions like these to be able to do that:
http://projects.ez.no/ezapprove2
http://projects.ez.no/gwutils

eZ Online Editor 5: http://projects.ez.no/ezoe || eZJSCore (Ajax): http://projects.ez.no/ezjscore || eZ Publish EE http://ez.no/eZPublish/eZ-Publish-Enterprise-Subscription
@: http://twitter.com/andrerom

Seb Gaillard

Wednesday 08 July 2009 1:29:21 am

Thank's André,

If I do this:
1/ approval
2/ wait until date
I can have the same result ?
I will try to do this...

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 30 2025 21:41:05
Script start
Timing: Jan 30 2025 21:41:05
Module start 'layout'
Timing: Jan 30 2025 21:41:05
Module start 'content'
Timing: Jan 30 2025 21:41:05
Module end 'content'
Timing: Jan 30 2025 21:41:05
Script end

Main resources:

Total runtime0.0278 sec
Peak memory usage6,144.0000 KB
Database Queries3

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0085 588.1563151.2109
Module start 'layout' 0.00850.0042 739.3672220.6875
Module start 'content' 0.01270.0133 960.0547997.8359
Module end 'content' 0.02610.0017 1,957.890633.9922
Script end 0.0277  1,991.8828 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002910.3300140.0002
Check MTime0.00113.9580140.0001
Mysql Total
Database connection0.00165.799810.0016
Mysqli_queries0.003412.225830.0011
Looping result0.00000.053210.0000
Template Total0.00124.210.0012
Template load0.00093.079610.0009
Template processing0.00031.097210.0003
Override
Cache load0.00062.123110.0006
General
dbfile0.00103.590080.0001
String conversion0.00000.029240.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

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

Time used to render debug report: 0.0001 secs