-----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:[EMAIL PROTECTED] 
Enviado el: jueves, 23 de marzo de 2006 3:31
Para: Antonio Muñoz Lopez
CC: [email protected]
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

_______________________________________________
cps-devel mailing list
http://lists.nuxeo.com/mailman/listinfo/cps-devel

Reply via email to