AnsweredAssumed Answered

Simultaneous process creation and execution

Question asked by j.p.ryan on Aug 8, 2011
Latest reply on Aug 9, 2011 by ronald.van.kuijk

Our plan is to use Activiti embedded within our application.  One piece of functionality that we are looking to build is where a manager will have the option of creating say 100 pieces of work for his/her staff.  In effect the manager will enter 100 customer numbers on a screen that a team of people, which work for the manager, should contact.  The process of contacting the customers will involve both human and automated tasks.  This will imply that 100 new process instances of the “contact customer” process will be created when the manager submits the form with the list of customer numbers.

- Any concerns around creating 100 process instances “in one go”?
- If the first task of the process is an automated task (e.g. calls a piece of Java, Web Service etc.) how are the threads managed?  Might 100 threads all kick off at once?
- What other things should I be concerned about?