AnsweredAssumed Answered

Multi-instance of sub-process at Runtime

Question asked by lojian on Dec 29, 2010

I am working on a project where we would like to introduce "workflow" engine into our product. Now, I am evaluating Activiti, I found it is very good :-)

I hit a problem on "how to start sub-process for N times at runtime?". Let me take an example,

Say I have Task A and Task B.
Say Task B is used to processing a “work item" generated from Task A.
I want to achieve this:
1) task A knows how many ”work items"; The number of "work items" in Task A could only be known at runtime;
2) task A starts Task B, and each Task B is used for processing a "work item" assigned by Task A;

Could anyone shield some light on this?

Thank you very much!