-
for example, the following state c will produce three subFlow simultaneously, could we limit the parallelism of workflow subFlow? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 3 replies
-
with operation state you are execution actions sequentially in the order you are defining them in the array, you could use parallel state to execute them in parallel and then define how many you are awaiting to complete. Is this the question? |
Beta Was this translation helpful? Give feedback.
-
I see, so you have a batching use case, currently not possible with parallel state. |
Beta Was this translation helpful? Give feedback.
I see, so you have a batching use case, currently not possible with parallel state.
best that we have currently is probably foreach state with mode set to "parallel" and define your batch size via the "batchSize" property, hope that helps, just note this still dont completely fit your particular use case which seems to be "sliding window" type batch approach