Hi Claudio, I can't help you on the Task part but as soon as you have concurrency you would have to lock on processInstance anyway before executing anything.
The only reliable place to do that is in a database. Jbpm gives you GraphSession.lockProcessInstance() or use Hibernate directly. This will i.e. place a 'select for update' lock on the rows in your db (depends on Hibernate settings). You will probably only want to do this for the time it takes to set your assignment correctly. Does this help? Greetings View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3919797#3919797 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3919797 ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 _______________________________________________ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user