# How to make sub process multi instance execution batch wise

**URL:** <https://forum.flowable.org/t/how-to-make-sub-process-multi-instance-execution-batch-wise/9963>\
**Category:** Flowable Engine\
**Created:** [December 5, 2022, 5:00am UTC](https://forum.flowable.org/t/how-to-make-sub-process-multi-instance-execution-batch-wise/9963 "2022-12-05T05:00:49Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![mohit\_anand](https://avatars.discourse-cdn.com/v4/letter/m/b38774/32.png) [@mohit\_anand](https://forum.flowable.org/u/mohit_anand)\
**Post date:** [December 5, 2022, 5:00am UTC](https://forum.flowable.org/t/how-to-make-sub-process-multi-instance-execution-batch-wise/9963/1 "2022-12-05T05:00:49Z")

</div>

Hi ,  
can there be an option to make sub process multi instance as a batch of lets say some instances.  
For example : multi instance collection list contains 50 items , i want make batch of 10 instance . so one batch contains 10 parallel instances and like wise there might be 5 batch of 10 parallel instances each.

---

<div class="post-metadata">

**Author:** ![CElbersen](https://avatars.discourse-cdn.com/v4/letter/c/dbc845/32.png) [@CElbersen](https://forum.flowable.org/u/CElbersen)\
**Post date:** [December 6, 2022, 1:20pm UTC](https://forum.flowable.org/t/how-to-make-sub-process-multi-instance-execution-batch-wise/9963/2 "2022-12-06T13:20:58Z")

</div>

You could partition the desired chunks (i.e. in a script task) before the sub process and then loop in serial over the chunks and loop parallel for the instances within the chunk.

---

<div class="post-metadata">

**Author:** ![mohit\_anand](https://avatars.discourse-cdn.com/v4/letter/m/b38774/32.png) [@mohit\_anand](https://forum.flowable.org/u/mohit_anand)\
**Post date:** [December 8, 2022, 3:36am UTC](https://forum.flowable.org/t/how-to-make-sub-process-multi-instance-execution-batch-wise/9963/3 "2022-12-08T03:36:40Z")

</div>

Thank you , trying the same aproach
