RV: [CPS-devel] Launch a script when an event happens

Julien Anguenot ja at nuxeo.com
Thu Mar 23 22:18:34 CET 2006


Antonio Muñoz Lopez wrote:
[...]
>> Is it possible to launch a script when a event is generated?, and if it
>> is possible where do I indicate to the event the script to execute?.
> 
> Yup. Check the ComputeRecipientsRule objcect type.
> 
> Check out this :
> 
> http://svn.nuxeo.org/trac/pub/file/CPSSubscriptions/trunk/doc/computed_recipients_rule.txt

I check out computed_recipients_rule.txt and I have created a
ComputedRecipientsRules object within my subscription object , but
ancestor, event_type, triggering_user and DateTime are not available in
tales expression propertie namespace.

How can I access those objects?

Those are supposed to be available within the namesapce as the
documentation specifies it. Can you give us the actual TALES expression
you're using ?

	J.

-- 
Julien Anguenot | Nuxeo R&D (Paris, France)
CPS Platform : http://www.cps-project.org
Zope3 / ECM   : http://www.z3lab.org
mail: anguenot at nuxeo.com; tel: +33 (0) 6 72 57 57 66

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 252 bytes
Desc: OpenPGP digital signature
Url : http://lists.nuxeo.com/pipermail/cps-devel/attachments/20060323/6848f160/signature.pgp


More information about the cps-devel mailing list
More information about CPS: CPS project - CVS - API

Hosting: Nuxeo: Zope service provider


This list archive provided by Nuxeo, the leaders of open source ECM. Check out the Nuxeo 5 open source, standards-based ECM project.