Forums / Install & configuration / workflow notification

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