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

Antonio Muñoz Lopez antonio.munoz at iavantefundacion.com
Thu Mar 23 17:45:45 CET 2006



-----Mensaje original-----
De: Antonio Muñoz Lopez 
Enviado el: jueves, 23 de marzo de 2006 17:43
Para: 'Julien Anguenot'
Asunto: RE: [CPS-devel] Launch a script when an event happens



-----Mensaje original-----
De: Julien Anguenot [mailto:ja at nuxeo.com] 
Enviado el: jueves, 23 de marzo de 2006 3:31
Para: Antonio Muñoz Lopez
CC: cps-devel at lists.nuxeo.com
Asunto: Re: [CPS-devel] Launch a script when an event happens

Antonio Muñoz Lopez wrote:
>    I´m working with event subscriptions and  I want , when an event
> (with subscriptions added) happens, a script to be launched.
> 
>  
> 
> I have read in CPSSubscriptions/doc/subscriptions-draft.txt that when an
> event is generated, it can launch some script, but I don´t see how to do it.
> 
>  
> 
> 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

	J.

-- 
Hi!
	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?

Thanks



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.