the bussiness back ground is, when i order a list of goods to manufactory, the facttory may send goods to me multi times(the num is dynamic unsure), each time i need to complete two task: “confirm arrive”, “check in to warehouse”.
these two task need to run multiple time. What i need is when 1st task complete , then 2nd task will availe active, and a new 1st task will availe active. if the 2nd task is too slow, it should not block the 1st task.
if i place in sequence sub proc, if 2nd task is not complete , then new 1st task will not avail active.
if i place in paralle sub proc, if
loop cardinality=100, the engine will staticlly create 100 avail active 1st task when init.
if i place in two sequence multi ins task, when 1st not all complete, the 2nd will not be avail active.
how to model it?