Creating a trigger on attribute change

Author Message

Robert Munteanu

Wednesday 15 December 2004 9:14:23 am

Hi all,

I want to achieve the following:

If user with role A edits a certain object, and changes a certain attribute a custom event should be triggered. I do not know how to create that trigger. Can someone please point me in the right direction?

Thanks,

Robert

Silke Fox

Thursday 16 December 2004 1:09:52 am

Hi Robert,

I would suggest to use the "content publish after" trigger to start the event and then check if that attribute is changed within the event, otherwise do nothing.
Unfortunately this will start the event whenever an object is published, but perhaps you can use the "multiplexer" workflow to restrict this on a certain content class.

I hope this is feasible for you; as far as I know it's not too easy to create a new trigger...

silke

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.