The example shows how to use multi-instantiated tasks in Bonita BPM. The goal is to create multiple instance of the same activity, how to manage different environments for each instance, how to assign each instance to a different user, how to get results form each instance and how to put a condition over that multi-instantiated task.
Tried multi-instantiator with 5.2 works fine.. Please see the usecase and the attached bar.. As usual what i have provided is only a simple example and obviously can be improved further. But i leave that to you ;-)
My Usecase is that.. When you start the Main process with a list of usernames (comma seperated) for example (john, jack, james)
This multiInstantiator works with a String input variable. According to the separator you define, it splits it into a serie of tokens. It instantiates the task n times passing to each of those tasks one token.
It is also possible to define a threshold (in pourcentage) to control how many tasks must be realized to continue the process (by default 100% - all of them).