Hi guys,
yes I can confirm Daniel's point.. jBPM5 by default use optimistic locking and if two or more threads load the same representations and modify them one of them will fail and the other will succeed. You can change the locking strategy if you want to avoid that, or you can implement a retrying mechanism for the failing thread.
Cheers