cancel
Showing results for 
Search instead for 
Did you mean: 

listener for adding spaces and files.

savic_prvoslav
Champ on-the-rise
Champ on-the-rise
hi,
is there a way to add listener that will execute on adding spaces and files?

<config evaluator="string-compare" condition="Node Event Listeners">
   <node-event-listeners>
         <listener>CreateEventListener</listener>
      </node-event-listeners>
   </config>

something like this.
4 REPLIES 4

mrogers
Star Contributor
Star Contributor
You may want to use the policy framework.   For example you can bind a behavior to onCreateChildAssociation.

savic_prvoslav
Champ on-the-rise
Champ on-the-rise
this works great.

savic_prvoslav
Champ on-the-rise
Champ on-the-rise
one more quetsion, is there a way to add policy for assigning workflow.
we would also like to add mail notification on this metter . can you help, please.

mrogers
Star Contributor
Star Contributor
I don't think there are policies for workflow.   

My first thought is to add "notification" tasks or actions into the workflow processes that you are interested in.