[Zope-CMF] Re: [dev] DCWorkflow: notifyBefore, notifySuccess and notifyException

Florent Guillaume fg at nuxeo.com
Sun Jun 4 20:31:28 EDT 2006


Damien Baty wrote:
>   FWIW, I raise my hand. ;) CMFNotification [1] is a product which sends 
> notification emails when specific events occur, which includes when a 
> workflow transition is triggered.
> 
>   To do that, it monkey-patches 'DCWorkflow.notifySuccess()' (among 
> others) to call an appropriate handler (see [2]).
> 
>   To me, this is the only (and less intrusive) way to be notified when 
> any workflow transition occurs. However, I would be glad to hear about 
> other (cleaner) implementations. Particularly, I know about Zope 3 
> events model, but there is no event for workflow transitions, is there?

No there isn't yet, but that's the next logical step in event conversion 
in CMF. Would you like to work on that? It should be quite simple.

Florent

-- 
Florent Guillaume, Nuxeo (Paris, France)   Director of R&D
+33 1 40 33 71 59   http://nuxeo.com   fg at nuxeo.com


More information about the Zope-CMF mailing list