I have a need to centralize the event handling of task creation events.  
Basically, I've got some code that needs to be notified if ANY process creates 
ANY tasks for ANY user.

If I understand the way jBPM works, I can create a process definition like this:


  | <process-definition name="processA">
  |   <event type="task-assign">
  |        <action class="com.example.GlobalAssignmentListener">
  |   </event>
  | </process-definition>
  | 

and "GlobalAssignmentListener" will be called any time "processA" assigns a 
task to some user (or user group).  First, is this assumption correct?

Second, is there any way to "register" GlobalAssignmentListener to be notified 
of assignment events on ANY process? Or, does the above boilerplate code need 
to be placed in every single process definition before it is deployed?


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

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


-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to