AnsweredAssumed Answered

How to claim multiple tasks at once?

Question asked by swamy2156 on Aug 13, 2014
Latest reply on Sep 22, 2014 by martin.grofcik
Hi.,

I can claim a task by calling taskService.claim(taskId, userName);
Similarly Is there a way to claim multiple tasks(a.k.a bulk tasks) all at once. In my case, my task view page has pagination which can show tasks up to 100 tasks at a time and I provided CLAIM ALL flexibility to end user. When CLAIM ALL selected, in background, I am looping for each task to claim and publish 2 events on Acquire action. Its taking approximately 3-4 minutes.

Is there any better approach for claim bulk tasks all at once?


Thanks,
Swamy.

Outcomes