Complete multiple tasks at once

1
0
-1

I am working on a simple approval process, using Bonita BPM 6.5.1.

It has the following steps: User A edits or creates a data object. User A submits the data and asks for confirmation. User B reviews the data and can confirm or reject it. In case of rejection, user A is asked to make changes and resubmit.

During each step the data can be edited, so there needs to be a process instance for each object. There can be up to 60 instances running so a user can have up to 60 tasks to claim, review and complete. Now there is a way to select and claim a set of tasks but then each of them has to be completed separately. Is there a way - or what is the best way - to complete them all at once (assuming that the tasks are in the same state and will receive the same confirmation data)?

Comments

Submitted by yannick.lombardi on Thu, 05/07/2015 - 17:18

I had the same question some time ago : http://community.bonitasoft.com/answers/effectuer-plusieurs-taches-ident...

You can get all your instance with the process API. After that you can execute each task with the "executeFlowNode()" method.

I can't say more on this subject because I choose to not do this. Currently I add all the data of one instance in a database and I have another process that read all this data to validate multiple instance in one go.

No answers yet.
Notifications