I’m working on a setup with two API workflows, and would appreciate a little clarity to make sure it will work as intended. Here’s the scenario:

I have Workflow A, which schedules Workflow B. Workflow B processes a large list of users by sending emails in chunks of 400 (one action can handle 400 in one go via postmark bulk tool). After processing the first 400 users, Workflow B schedules itself again to handle the next 400, and so on, until the full list is processed. This part has all been working fine for the last year.

Now, I want Workflow A to schedule Workflow B three times, each time with a different list of users. My goal is for these three instances of Workflow B to run independently and in parallel, each working through their own list of users in chunks of 400.

My question is: if Workflow A schedules Workflow B three times with different user lists, will the scopes of these loops remain independent, or is there a risk of interference between the instances? In other words, will each instance of Workflow B manage its own list of users separately, keeping it’s own individual ‘count’ variables ok, without affecting the others?

Thanks in advance for your help- just want to make sure I’m not missing anything important before I implement this…

Each instance will run separately as every time you schedule it again, you need to pass other variables. Every process will run with the provided variables.

1 Like