[jboss-dev-forums] [jBPM Development] - Re: [jbpm5.1]Can get the current nodeId, correctly??

Mauricio Salatino do-not-reply at jboss.com
Mon Jan 9 07:09:43 EST 2012


Mauricio Salatino [http://community.jboss.org/people/salaboy21] created the discussion

"Re: [jbpm5.1]Can get the current nodeId,correctly??"

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

--------------------------------------------------------------
Ok, so you have tons of questions.. I will start from the bottom..
3.X It works in the way you want out of the box.
2. you never need to fix that table, never touch that table because it contains internal information from the engine, users should never touch that.
1. It depends on what you are doing with the session. If you create one session per process it will work. if you have concurrent threads trying to modify a field in a database one of them will fail and the other will win.. that will happen in any database and not only in jBPM. For that reason you are seeing errors in the console, but the state keeps consistent with the executed code. What you can do is to implement a retry mechanisms if one call fails because another concurrent one was processed at that time. If you want more specific answers on these topics I think that you should contact us for consulting services.. 

Cheers
--------------------------------------------------------------

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

Start a new discussion in jBPM Development at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2035]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-dev-forums/attachments/20120109/c530b01b/attachment.html 


More information about the jboss-dev-forums mailing list