[jboss-user] [jBPM] New message: "Re: Automatic transition from wait state - is it correct?"

Maciej Swiderski do-not-reply at jboss.com
Wed Feb 17 08:45:14 EST 2010


User development,

A new message was posted in the thread "Automatic transition from wait state - is it correct?":

http://community.jboss.org/message/526765#526765

Author  : Maciej Swiderski
Profile : http://community.jboss.org/people/swiderski.maciej

Message:
--------------------------------------------------------------
I looked into the source code just to see if I can figure it out a bit, sometimes it's good to "get your hands dirty" 
 
 
Seems like the issue is in
org.jbpm.pvm.internal.id.DatabaseIdComposer.createId

method.
It assigns the same id for two timers which causes constraint exception.
 
Question is how it should be fixed?
 
Simple solution is to keep the state/number of loops for the same node and process instance using variables but I am not sure if that is the right thing to do - is more like jBPM user solution than developer.
 
Any suggestions?

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

To reply to this message visit the message page: http://community.jboss.org/message/526765#526765




More information about the jboss-user mailing list