[jboss-user] [JBoss jBPM] - Notifications when the state of a user task is changed

Randysv do-not-reply at jboss.com
Sun Jun 21 03:08:12 EDT 2009


Is there any way to tell jbpm to notify a listener class when ever a particular user has been assigned a task or the state of the task assigned to a user has been changed?

<?xml version="1.0" encoding="UTF-8"?>
  | 
  | <process-definition  xmlns="urn:jbpm.org:jpdl-3.2"  name="simpleTask">
  | 
  | 
  | 	<start-state name="start">
  | 		<transition to="task-node1"></transition>
  | 	</start-state>
  | 
  | 
  | 	<task-node name="task-node1">
  | 		<task name="task1" blocking="true" signalling="false">
  | 			<assignment actor-id="john"></assignment>
  | 		</task>
  | 		<transition to="end"></transition>
  | 	</task-node>
  | 
  | 	<end-state name="end"></end-state>
  | 
  | 
  | </process-definition>
  | 
  | 

In the above example, when user "john" is assigned a task, we want the jbpm engine to call one of our classes. Can we configure jbpm to do that?



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

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



More information about the jboss-user mailing list