-
1. Re: Mutiple timers in a task node problem
trouby Apr 29, 2009 11:38 AM (in response to tal)Hello,
I had exactly the same problem with multiple timers in the same task node,
Is there a solution for that problem? is it a known bug?
Thanks,
Asaf. -
2. Re: Mutiple timers in a task node problem
kukeltje Apr 29, 2009 3:02 PM (in response to tal)Guys (I think),
As stated many times before, it is better in these kinds of situations to not describe your problem, but to make a unit test with EVERYTHING embedded (processdefinition as a string, actionhandlers as innerclasses etc....) that way we can better see what you do and try to reproduce etc... -
3. Re: Mutiple timers in a task node problem
tal Apr 30, 2009 8:05 AM (in response to tal)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);
}
} -
4. Re: Mutiple timers in a task node problem
tal May 5, 2009 9:27 AM (in response to tal)Anyone tried to run the example process and know of a solution?
I'm kinda stucked here... -
5. Re: Mutiple timers in a task node problem
swatis May 11, 2009 1:53 AM (in response to tal)hmm.. did u put any log messages in your second timer task's action handler class?