workflow notification

Author Message

Jun Zheng

Tuesday 02 February 2010 1:37:04 am

Hi All:

I setup a approval workflow and it can work, the approver and the editor have checked the approval notification, they can got the approval email, but now i have a problem, when the approver deny the approval or add some commits, the editor didn't recevie any email notification. I really need the deny notification. how could i do?

Gaetano Giunta

Tuesday 02 February 2010 2:13:57 pm

Iirc there is an open feat. request aboth this in the issue tracker. For now you're out of luck: you will have to create your own custom approval event.

The good news is that you can take the standard approval event and add 3 lines of php (towards the bottom of the file) for this email.

Principal Consultant International Business
Member of the Community Project Board

Jun Zheng

Wednesday 03 February 2010 1:53:00 am

which file? could you tell me more. thank you very much.

my gtalk is zhengjun.whizz@gmail.com please give me more information when you free.

Gaetano Giunta

Saturday 06 February 2010 4:35:18 am

The file is ezapprovecollaborationhandler.php, in version 4.2.0 the email sending is on line 275, "if ($approve)"

Principal Consultant International Business
Member of the Community Project Board

patrice brun

Monday 31 May 2010 11:57:15 pm

Hello I have the same problem Jun Zheng. Do you have solve your problem ? I have not "if ($ approved)" at line 275. Can you give me an example to solve my problem.
Thank you

Nicolas Pastorino

Monday 27 September 2010 10:39:07 am

"

Hello I have the same problem Jun Zheng. Do you have solve your problem ? I have not "if ($ approved)" at line 275.

"

Same here, no such content at line 275.

@Gaetano : were we talking about the same file ?

Cheers !

--
Nicolas Pastorino
Director Community - eZ
Member of the Community Project Board

eZ Publish Community on twitter: http://twitter.com/ezcommunity

t : http://twitter.com/jeanvoye
G+ : http://plus.tl/jeanvoye

Gaetano Giunta

Monday 04 October 2010 10:58:48 am

must have been talking of the line "if ( $addComment )"...

Principal Consultant International Business
Member of the Community Project Board

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 02:02:06
Script start
Timing: Jan 18 2025 02:02:06
Module start 'layout'
Timing: Jan 18 2025 02:02:06
Module start 'content'
Timing: Jan 18 2025 02:02:07
Module end 'content'
Timing: Jan 18 2025 02:02:07
Script end

Main resources:

Total runtime1.0736 sec
Peak memory usage4,096.0000 KB
Database Queries74

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0049 587.9141152.6250
Module start 'layout' 0.00490.0026 740.539139.4609
Module start 'content' 0.00741.0647 780.0000657.3125
Module end 'content' 1.07220.0014 1,437.312516.1719
Script end 1.0736  1,453.4844 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00310.2879160.0002
Check MTime0.00120.1152160.0001
Mysql Total
Database connection0.00100.091310.0010
Mysqli_queries1.013394.3874740.0137
Looping result0.00080.0714720.0000
Template Total1.042997.120.5214
Template load0.00240.227420.0012
Template processing1.040496.912120.5202
Template load and register function0.00010.011910.0001
states
state_id_array0.00100.091710.0010
state_identifier_array0.00220.201120.0011
Override
Cache load0.00220.2014290.0001
Sytem overhead
Fetch class attribute can translate value0.00080.073540.0002
Fetch class attribute name0.00110.099990.0001
XML
Image XML parsing0.00130.123440.0003
class_abstraction
Instantiating content class attribute0.00000.0020110.0000
General
dbfile0.00090.0855220.0000
String conversion0.00000.000640.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
7content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
9content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
4content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
1content/datatype/view/ezxmltags/link.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/link.tplEdit templateOverride template
1content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
1content/datatype/view/ezxmltags/quote.tpldatatype/ezxmltext/quote.tplextension/ezwebin/design/ezwebin/override/templates/datatype/ezxmltext/quote.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 25
 Number of unique templates used: 8

Time used to render debug report: 0.0001 secs