[jboss-user] [jBPM] - JBPM 4.4 timer will not fire
Jim Hill
do-not-reply at jboss.com
Wed Mar 16 15:15:12 EDT 2011
Jim Hill [http://community.jboss.org/people/jdh] created the discussion
"JBPM 4.4 timer will not fire"
To view the discussion, visit: http://community.jboss.org/message/593582#593582
--------------------------------------------------------------
I found and verified that the jbpm.cfg.xml file imports the resource="jbpm.jobexecutor.cfg.xml" resource. I am however still not seeing my timer kick off. I am using this inside a group comprised mostly of custom nodes. At what point do I write this up as a bug? I am running this inside Eclipse as a junit test. Am I missing something? In my junit test I verify that I am at the WaitForMessageActivity node and then have the thread sleep for 30 seconds. I am expecting the trigger to fire. Is this a flawed expectation? Any help would be appreciated.
<process key="TH" name="TH" version="1" xmlns="http://jbpm.org/4.4/jpdl">
<start name="start">
<transition name="to LaunchTHForm"
to="LaunchTHForm"/>
</start>
<java name="LaunchTHForm" class="mil.army.sc4.bpm.THthread.THSupport" method="launchTHForm">
<transition name="to SendTHGroup" to="SendTHGroup"/>
</java>
<group name="SendTHGroup">
<start>
<transition name="to WaitForTH" to="WaitForTH"/>
</start>
<custom name="WaitForTH" class="###.####.###.bpm.WaitForMessageActivity">
<transition name="to DidUserSendTH" to="DidUserSendTH"/>
</custom>
<decision name="DidUserSendTH">
<transition name="TH Sent" to="SendTHDone">
<condition expr="#{className=="THObject"}"/>
</transition>
<transition name="Keep waiting" to="WaitForTH"/>
</decision>
<end name="SendTHDone" />
<transition name="toLaunchEntityDataForm" to="LaunchEntityDataForm"/>
<!-- Nothing happens when I try this transition with embeded timer -->
<transition name="timeout1" to="NotifyUserOfTimeout">
<timer duedate="20 seconds" />
</transition>
<!-- This approach does not work either.
<timer name="timeout1" duedate="20 seconds" transition="NotifyUserOfTimeout"/>
-->
</group>
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/593582#593582]
Start a new discussion in jBPM at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20110316/37e4f338/attachment-0001.html
More information about the jboss-user
mailing list