[prev in list] [next in list] [prev in thread] [next in thread] 

List:       jboss-user
Subject:    [jboss-user] [JBoss jBPM] - Re: Mutiple timers in a task node
From:       Tal <do-not-reply () jboss ! com>
Date:       2009-04-30 12:05:45
Message-ID: 14250263.1241093145772.JavaMail.jboss () tmp3 ! prod ! atl2 ! jboss ! com
[Download RAW message or body]

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
 _______________________________________________
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic