workflow

Author Message

Amina Bacar

Friday 02 May 2003 11:08:16 am

Hi there,

I'm trying workflows using version 3.0.2 with demo data. So i setup a workflow with two approval events approved by different users, and set trigger to before publish.

I created an article using a third user, the first user to approve receives a notification. Once approved, the second user doesn't receive any notification.
The third user (the one that created the article) receives a notification saying something like the article is waiting to complete the workflow. The article is not published.

There is something else i have to do?

A workflow using only one approval event works fine.

Paul Borgermans

Friday 02 May 2003 11:36:52 am

Did you run the runcronjobs.php?

This is necessary for the workflow to proceed (and to get the article published).

Best setup a cronjob that runs say once every 15 minutes.

See also:
http://ez.no/developer/ez_publish_3/forum/setup_design/workflow

hth

Paul

eZ Publish, eZ Find, Solr expert consulting and training
http://twitter.com/paulborgermans

Amina Bacar

Sunday 04 May 2003 10:44:20 am

Thanks Paul, it worked.

Now I have another problem, when the user in the second event receives the notification it loses all previous comments of the workflow.

If the user in the second event deny ou hit pushback I was expecting the process to rollback to user of the first event, however nothing happens, neither user receives a notification about it.

What is missing now?

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 04:12:20
Script start
Timing: Jan 18 2025 04:12:20
Module start 'layout'
Timing: Jan 18 2025 04:12:20
Module start 'content'
Timing: Jan 18 2025 04:12:20
Module end 'content'
Timing: Jan 18 2025 04:12:20
Script end

Main resources:

Total runtime0.8839 sec
Peak memory usage4,096.0000 KB
Database Queries57

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0087 587.7891152.6094
Module start 'layout' 0.00870.0041 740.398439.3984
Module start 'content' 0.01280.8697 779.7969534.0859
Module end 'content' 0.88250.0014 1,313.882812.2031
Script end 0.8839  1,326.0859 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00390.4359160.0002
Check MTime0.00150.1737160.0001
Mysql Total
Database connection0.00110.128210.0011
Mysqli_queries0.829993.8969570.0146
Looping result0.00080.0905550.0000
Template Total0.843495.420.4217
Template load0.00210.238320.0011
Template processing0.841395.181820.4207
Template load and register function0.00020.024210.0002
states
state_id_array0.00210.238710.0021
state_identifier_array0.00180.209020.0009
Override
Cache load0.00170.1949230.0001
Sytem overhead
Fetch class attribute can translate value0.00070.079820.0004
Fetch class attribute name0.00130.149740.0003
XML
Image XML parsing0.00070.074920.0003
class_abstraction
Instantiating content class attribute0.00000.001240.0000
General
dbfile0.00090.1021170.0001
String conversion0.00000.001540.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
3content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
5content/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
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 13
 Number of unique templates used: 6

Time used to render debug report: 0.0001 secs