[jboss-user] [jBPM] - Bug in JBPM 4: timers on transitions.

Gert Leenders do-not-reply at jboss.com
Tue Jun 29 10:30:00 EDT 2010


Gert Leenders [http://community.jboss.org/people/glnds] created the discussion

"Bug in JBPM 4: timers on transitions."

To view the discussion, visit: http://community.jboss.org/message/550211#550211

--------------------------------------------------------------
Even in the last snapshot build jbpm-distro-4.4-20100618.012828-1 there still seems to be a bug when adding a timer to a transition:

*<state>*
*     <transition to="Task x">*
*          <timer duedate="3 seconds"/>*
*     </transition>*
*</state>*

When defining this in jpdl you’ll always get the following error:

+Exception in thread "main" org.jbpm.api.JbpmException: timer has no signalName or eventName specified+
+                at org.jbpm.pvm.internal.job.TimerImpl.validate(TimerImpl.java:143)+
+                at org.jbpm.pvm.internal.jobexecutor.JobExecutorTimerSession.schedule(JobExecutorTimerSession.java:53)+
+                at org.jbpm.pvm.internal.job.TimerImpl.schedule(TimerImpl.java:70)+

This is because the variable ‘eventName’ of TimerImpl is never set (and there seems no possibility to do it due to the restrictions in jpdl and the jpldParser).

Maybe when parsing a timer on a transition a default event (timeout) could be specified?

Regards,
Gert

--------------------------------------------------------------

Reply to this message by going to Community
[http://community.jboss.org/message/550211#550211]

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/20100629/f0118144/attachment.html 


More information about the jboss-user mailing list