cancel
Showing results for 
Search instead for 
Did you mean: 

What 'taskService.claim' means?

hamed
Champ in-the-making
Champ in-the-making
Hi
could you please explain me the concept of claim i have worked with jbpm 3 for months and i haven't seen something like this!
Regards
10 REPLIES 10

frederikherema1
Star Contributor
Star Contributor
setAssignee() and claim() is the same, internally…

When a task is claimed concurrently by 2 threads, one of the calling threads will get an ActivitiOptimisticLockException when calling claim() or setAssignee().