Activiti workflow related

I encountered a problem when setting up an e-commerce website. I want to use workflow to control the flow of orders. At present, the flow of my orders is like this:

1. Create a total order
2. Create multiple production orders (the number is determined by the total order)
for example, if I want to make a piece of clothing (1000 pieces), I will produce it in 10 production orders (in batches).

how should such a workflow model be developed?
the workflow I was exposed to before is operation 1 approval, operation 2 approval, and operation final approval. This model is a line in the past. no, no, no. It"s easy to understand. no, no, no.

but it is different from my order flow. It didn"t turn around all of a sudden. Can anyone give me a train of thought?

Mar.15,2021
Menu