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.
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:
- Add “Start message event” in process B.
- Configure the message (name and content) in this “Start message event” (this allows you to send specific data for each instance).
- 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.
- In “Send task” configure the message and receiver task.
Best regards,
bpms.help
Hi,
Thank you for your reply but I think you got the question wrong. I want to know about multi-instance task.