Activiti multi-real example process (the number of instances is uncertain)

for example:

one order (1000 products to be produced)
there are multiple production sub-orders below, the quantity cannot be determined! ..
(for example, you applied for a sub-order [production of 100products], 6.1 applied for a sub-order [production of 500products], 6.2 applied for a sub-order [production of 400products])

put the process of producing sub-order into the sub-process of activiti. The problem is that you don"t know the number of instances of the sub-process when you create the sub-process, so how to solve it? Please give me a direction to think.

am I not writing clearly? Is there anyone.

Mar.16,2021

Baidu "multiple instance tasks"

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1bf2c8c-31e1d.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1bf2c8c-31e1d.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?