Hi Thomas,

On Jun 16, 2010, at 23:44 , Thomas Negeli [celum] wrote:

> Hi list members,
> 
> is it in version 4.3 possible to listen to object state changes?
> Is there a handler or do I have to tweak the system :)
> Some of my state changes would require an immediate notification, others a 
> notification on a daily basis.


Have a look at the available operation. First in workflow.ini, uncomment the 
following : 
[OperationSettings]
# AvailableOperationList[]=content_updateobjectstate

This makes available the updateonbjectstate operation, defined at l.657 in 
kernel/content/operation_definition.php (ezp 4.3), exposign two new triggers : 
pre & post updateobjectstate. That means you can safely use workflows to plug 
your notificaitons in  :)
Let us know !
-- 
Nicolas
-- 
Sdk-public mailing list
[email protected]
http://lists.ez.no/mailman/listinfo/sdk-public

Reply via email to