Forum Discussion

kmiesse's avatar
kmiesse
Contributor
8 years ago

Ensure serial child pipeline execution

On the Pipeline Execute snap, if I have the Reuse checkbox unchecked and the pool size =1, does that ensure the executions of the child pipelines are serial and not parallel? I want to ensure only one instance of the child pipeline is running at any time and that one execution completes before another begins.

11 Replies

  • tstack's avatar
    tstack
    Former Employee

    Yes, a pool size of 1 means that only one child will be executed at a time and the Pipeline Execute snap will wait for the current child execution to finish before starting the next one.

    • vyasyash's avatar
      vyasyash
      New Contributor III

      But the drawback is you can’t leverage the parameters dynamically in this particular scenario.

      • tstack's avatar
        tstack
        Former Employee

        Can you elaborate? The OP mentioned that reuse was off, so the parameters passed to the child pipeline can change for each execution.

  • kzaiger's avatar
    kzaiger
    New Contributor

    What is the best way to ensure order of processing, e.g. pipeline a always starts and ends before pipeline b starts?