Sending an email when an item is rejected

Author Message

Olivier Pierret

Tuesday 26 April 2005 6:35:35 am

Hello all

I use an approval event workflow to be able to moderate users inscription to my site. When a user object is created via the user registration form, it is sent for approval to an admin who decide if the registration request should be accepted (approval) or denied.

I am able to send an email to the requesting user by triggering an email notification wokflow on the trigger event "publish after". Well I'd like to send a different email to the requesting user if he(or she) is rejected however I can't use the "publish after" trigger because it is never fired.

Has someone an idea on how to send this email ?

Thank you for your tips

Olivier

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 02:36:41
Script start
Timing: Jan 19 2025 02:36:41
Module start 'layout'
Timing: Jan 19 2025 02:36:41
Module start 'content'
Timing: Jan 19 2025 02:36:43
Module end 'content'
Timing: Jan 19 2025 02:36:43
Script end

Main resources:

Total runtime1.4519 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.0062 589.2891152.6406
Module start 'layout' 0.00620.0043 741.929739.4766
Module start 'content' 0.01051.4397 781.4063399.1875
Module end 'content' 1.45020.0016 1,180.59388.1250
Script end 1.4518  1,188.7188 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00370.2553160.0002
Check MTime0.00160.1094160.0001
Mysql Total
Database connection0.00090.064510.0009
Mysqli_queries1.411197.1938460.0307
Looping result0.00050.0341440.0000
Template Total1.405796.820.7029
Template load0.00240.162720.0012
Template processing1.403496.658720.7017
Template load and register function0.00020.016010.0002
states
state_id_array0.00180.122110.0018
state_identifier_array0.00170.115920.0008
Override
Cache load0.00190.129590.0002
Sytem overhead
Fetch class attribute can translate value0.00070.046310.0007
Fetch class attribute name0.00050.035210.0005
XML
Image XML parsing0.00010.010010.0001
class_abstraction
Instantiating content class attribute0.00000.000210.0000
General
dbfile0.00080.0555100.0001
String conversion0.00000.000840.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
1content/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: 4
 Number of unique templates used: 4

Time used to render debug report: 0.0001 secs