human task - multi instantiation

has anyone used ‘Parallel multi-instantiation’ of human task. ?
http://tinypic.com/r/2dhi912/8
I am not sure how to create instances from list ? does it mean, we can create instances 1, 2, 3 or as many as we want. as opposed to create ‘defined’ set of instances ?
I played with it. but no luck to be honest, bonita’s awesome documentation is of no help or may be I dont have the brains to understand it.

Documentation says:
Specify the number of iterations from a list: Check Create instances from a list, and choose the list from the existing lists or multiple data.
http://documentation.bonitasoft.com/iteration-0
version 6.5

That’s a little unkind… bonita’s awesome documentation is of no help though I do understand… :slight_smile: sometimes.

Parallel just means they will be sent out at the same time, Sequential means the first must be completed before the second, the second must be completed before the third etc.

To answer your first question have I used it Yes, But only with Calling subprocesses. I’ve never used it explicitly for a human task, though I do see a possible reason as to why I would.

The creation of the instances of the process is left to Bonita itself. All you have to do is decide, for

Create a defined number of instances = integer 5, or 10 , or 100 at a time. Basically a Constant.

whereas

Create instances from a list is for example a variable number of iterations.

List myIList = [A, B, C, T, V]; // 5 iterations or
List myIList = [A, B, C, T, V, X, Y, Z]; //8 iterations

with myIterator = A, then B, then C…

Note: my LIST is String and is not based on numeric. It will simply work on myIList.count() items.

This thing about the List and the subprocess method is you can send your myIterator to the subprocess if you have mapped the variable between the two.

For example, I have:

List<List> = [[name, street1, street2, town, postcode], [name, street1, street2, town, postcode], [name, street1, street2, town, postcode]]

if myIterator is List then I can send it to a (e)Mail processor to send/print a form letter to all the people in the list.

Believe me it works :slight_smile:

What is the limit on the list or the defined list - don’t know, but I could certainly imagine a list of 1,000; 10,000, 100,000 being processed if not careful.

Hope this helps,
regards

Seán

sorry my pool english first…
i need made a Main form with a multiple list [A,B,C,D,E…],
if user select [A,C,D]
then mail From will stop,
then call Iteration pass to other user [userA,userB,userC] to know this form,
when they return their word,Main form go to next task.
i’m sorry again for my pool english,
i deep hope anyone can kindly give me an example about how to do this…
or please let me know witch example is closer my job?