[jboss-user] [JBoss jBPM] - Re: How to attach an Action dinamically to every Node ?

salaboy21 do-not-reply at jboss.com
Fri Apr 18 09:58:25 EDT 2008


i think not necesary need to add a runtime action to every node programatically.. you can do this adding an action to the process definition level related with an event.

if you add something like this at the process definition level you can achiva that:

  | <process-definition>
  | <event type='transition'>
  |       <action class='com.sample.MyActionHandler'>
  |      </action>
  | </event>
  | .... NODES
  | 
  | </process-definition>
  | 
And then in your MyActionHandler class you log anything you want..


View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4145162#4145162

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4145162



More information about the jboss-user mailing list