Hello. I am trying to optimize one of my complex workflows by putting the loop node into a sub-workflow. However, it does not work as expected.
In this test run, the parent workflow, data from Google Sheets includes 12 items in this example. 12 items are passed to the sub-workflow. The loop in the sub-workflow batch size is set to 6 per batch, but the sub-workflow completes execution after the first batch which is 6 items only.
This is the loop node record.
Below is a simplified example of my workflow.
I am curious if it is intended not to function within a sub-workflow. Alternatively, must I approach it like this: placing the loop node in the main workflow and adjusting the batch size here instead of operating within the sub-workflow?
Like this?
There are many steps in the loop, and I have 1,400 items to process everyday. I am considering whether placing the loop in a sub-workflow would improve performance.
Thanks…