[jboss-user] [JBoss jBPM] - Re: Mutiple timers in a task node problem

Tal do-not-reply at jboss.com
Thu Apr 30 08:05:45 EDT 2009


Hi,
I've created an example process, one task node, two timers on it which represents two sla timers (i.e. should invoke an action that will send a reminder to the task actor if not acting on time), what happens is the same, first one is executed, second one is not, still the same differences in the database:

<?xml version="1.0" encoding="UTF-8"?>

<process-definition  xmlns=""  name="example">

	
		example_process
	
	
	<start-state name="start-state1">
		
	</start-state>


	<task-node name="task-node1">
		
			<assignment actor-id="ADMIN">
		
		
			<action name="action1" expression="#{wfAction.write('Action #1 invoked')}
">
		
		
			<action name="Action2" expression="#{wfAction.write('Action #2 invoked')}

">
		
		
	</task-node>


	<end-state name="end-state1"></end-state>


</process-definition>


***************
The WfAction class:


@Name("wfAction")

public class WfAction {

	public void write(String s) {
		System.out.println(s);
	}
}


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

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



More information about the jboss-user mailing list