[jboss-user] [jBPM] - Timer trigger in Junit test
Sameeh Harfoush
do-not-reply at jboss.com
Tue Mar 30 03:57:47 EDT 2010
Sameeh Harfoush [http://community.jboss.org/people/sameeh.harfoush] created the discussion
"Timer trigger in Junit test"
To view the discussion, visit: http://community.jboss.org/message/534571#534571
--------------------------------------------------------------
Hello
I am using the <timer> in a transition to fire after a specific duedate. My test-case is in a JUnit test and when I run the JPDL workflow the timer never fires the transition and I am firing the timer explicitly to test my workflow. Note that the JBPM database is logging the timer and setting the process as waiting
Is there a configuration that I do in order for the timer to fire by its own, Or should I deploy the workflow in a web container in order for the scheduler to run properly?
<transition g="433,186;435,673:-43,-16" name="Manager timeout" to="Send timesheet to accounts">
<timer duedate="20 seconds" />
</transition>
Thank you
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/534571#534571]
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/20100330/70e60578/attachment.html
More information about the jboss-user
mailing list