Problems with 2 events in a workflow

Author Message

Francisca Hernández

Thursday 02 August 2007 4:14:23 am

I'm tryng to add a new event in a workflow, after publish workflow, but only the first event works if i change the order of events it still works the first one, i mean each event work separatly.

They are a simple events, one to hide objects and the second one to change section id.
could someone help me?

thanks, fran

Iguana IT, SL - http://www.iguanait.com

Lazaro Ferreira

Friday 03 August 2007 2:27:16 am

Hi Fransica,

You can use the multiplexer event to do it :

http://ez.no/doc/ez_publish/technical_manual/3_9/reference/workflow_events/multiplexer

Regards

Lazaro
http://www.mzbusiness.com

Fabrice PEREZ

Monday 06 August 2007 12:07:22 am

Hello Francesca.

Verify that all event return an EZ_WORKFLOW_TYPE_STATUS_ACCEPTED but not EZ_WORKFLOW_TYPE_STATUS_WORKFLOW_DONE.

Hope this helps.

Fabrice, Internethic

Vincent Lepot

Monday 13 August 2007 5:09:44 am

Francesca have seen it, but I reply to have more communciation about it.

The workflow system with PostgreSQL is buggy for many eZ publish versions. I posted a patch that seems to work for some time now.

http://issues.ez.no/IssueView.php?Id=10243

I can't go further than sending the patch... If someone can tell them to integrate it to next versions...

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

Main resources:

Total runtime0.0228 sec
Peak memory usage4,096.0000 KB
Database Queries3

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0054 588.1563151.2109
Module start 'layout' 0.00540.0036 739.3672220.6875
Module start 'content' 0.00900.0124 960.0547997.8047
Module end 'content' 0.02140.0014 1,957.859433.9922
Script end 0.0228  1,991.8516 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002511.1083140.0002
Check MTime0.00114.8377140.0001
Mysql Total
Database connection0.00073.016110.0007
Mysqli_queries0.003113.614530.0010
Looping result0.00000.039710.0000
Template Total0.00104.610.0010
Template load0.00083.651610.0008
Template processing0.00020.930110.0002
Override
Cache load0.00062.519710.0006
General
dbfile0.00114.835780.0001
String conversion0.00000.026140.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