Parallel multiinstance task

1
0
-1

Hi,

I'm using Bonita 7.2.2 and I have a requirement to use parallel multi-instantiation concept.
I could successfully implement it with a list of users which creates number of tasks dynamically bases on size of list.
My concern is, for each task created I want to pass some data to the task which would be unique to that instance of the task.

Any help?
Thank you in advance.

1 answer

1
0
-1

Let say you have two processes - A and B. You want to start multiple instances of process B from process A. What you need to do is:
1. Add "Start message event" in process B.
2. Configure the message (name and content) in this "Start message event" (this allows you to send specific data for each instance).
3. Add "Sent task" in process A, make it multi-instance loop - standard, not parallel. It's ok to make, because you only send message to start process B, you are not waiting till process B is finished. To configure different message content for each instance use loop index.
4. In "Send task" configure the message and receiver task.

Best regards,
bpms.help

Comments

Submitted by amit.dhage on Tue, 11/22/2016 - 08:03

Hi,

Thank you for your reply but I think you got the question wrong. I want to know about multi-instance task.

Notifications