Trigger with several workflows

Author Message

Rune Hamnvik

Friday 24 June 2005 4:44:05 am

Hello
I want an articles created by an author to be sent to an editor for approval. Then, when the author has approved the articles, the article is put on hold until a date is reached. I have created two workflows, one for approval and one for publish on date, and they seems to work when I use them individually. But when I try to combine them the article is published before the publish date has arrived. Any ideas what I am duing wrong? I am using the before publish trigger.

Rune Hamnvik
Mobinor AS

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 19 2025 04:21:15
Script start
Timing: Jan 19 2025 04:21:15
Module start 'layout'
Timing: Jan 19 2025 04:21:15
Module start 'content'
Timing: Jan 19 2025 04:21:16
Module end 'content'
Timing: Jan 19 2025 04:21:16
Script end

Main resources:

Total runtime0.7137 sec
Peak memory usage4,096.0000 KB
Database Queries46

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0058 590.2734152.6250
Module start 'layout' 0.00580.0033 742.898439.4609
Module start 'content' 0.00920.7029 782.3594400.5703
Module end 'content' 0.71210.0016 1,182.92978.1641
Script end 0.7137  1,191.0938 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00320.4498160.0002
Check MTime0.00130.1780160.0001
Mysql Total
Database connection0.00100.136710.0010
Mysqli_queries0.675794.6725460.0147
Looping result0.00050.0744440.0000
Template Total0.681295.420.3406
Template load0.00230.322520.0012
Template processing0.678995.118420.3395
Template load and register function0.00020.024010.0002
states
state_id_array0.00100.133110.0010
state_identifier_array0.00160.226220.0008
Override
Cache load0.00170.244170.0002
Sytem overhead
Fetch class attribute can translate value0.00070.092810.0007
Fetch class attribute name0.00060.081810.0006
XML
Image XML parsing0.00020.025110.0002
class_abstraction
Instantiating content class attribute0.00000.000610.0000
General
dbfile0.00060.0852100.0001
String conversion0.00000.001440.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
1content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
2content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
2content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 7
 Number of unique templates used: 5

Time used to render debug report: 0.0001 secs