I have a piece of automation (A) that schedules a bunch of jobs every time it is invoked.
Let’s say invocation I1 of A schedules 100 jobs of priority 50.
Before those 100 jobs are completed, we invoke A again (I2), scheduling another 100 jobs of priority 50.
I would have expected that before starting any I2 jobs, all jobs of I1 would complete, but this is not the case.
How can I enforce this?