There’s another new video tutorial now available in BonitaSoft documentation: How to Multi-Instantiate a Task.
It shows an example of a simple one-step approval, where 2 of 3 second-level managers must approve a reimbursement request for over 5K.
Three instances of the same “Approve request” task are created, one for each of the three identified managers – this is configured in the instantiator.
A join checker is configured to check the condition that determines whether this task is completed - that is, when the specified number of instances of this task have been completed by the end users. In this example, the task will complete when any 2 managers (from the instantiator list) have approved the request.
After configuring the instantiator and join checker, the last step is to filter the actors list of 3 managers so that each manager sees only a single instantiation of the task as a step in his Bonita User Experience.
This video shows how this step is presented via a web form to each of the candidate managers, and shows that the third instance is cancelled once the step has been completed. (You can see the entire history of the case in the process administrator’s User Experience inbox, administration view.)
Is there a particular video tutorial you’d like to see us produce? Let us know via reply to this post.