Repeat Workflow [x] times

Let’s say I have a workflow that runs through a handful of actions to produce a thing. I want a user to be able to control how many times that workflow runs. They can have it run once, twice, or up to six times using a number input, and that’s how many of the thing will be produced.

How would I accomplish this? I have no problem setting up the workflow for a one-time run. I have no problem creating an input where the user will choose how many “things” they want created. But how do I set the workflow to repeat based on that input?

You want to be using the Backend Workflows but it seems you already know this.

Any time you’re scheduling workflows on a list, you obviously need “list data”. In your case, the “list data” isn’t really relevant to the workflows themselves.

In this case, your “list data” can simply be a list of numbers. 1, 2, 3, 4, etc…

The question is how do you generate this list dynamically?

You can use the Toolbox plugin to generate this list.

Hope this helps!

Yea, I thought maybe a Backend Workflow is what was needed. I just don’t have a good grip on them yet, conceptually. Not sure what you mean by “list data.”

This should clear up your questions: Loom | Free Screen & Video Recording Software | Loom

3 Likes

thank you for the video! I’m going to try and work through it to see if I can get it to work for my use case!

Set a custom count on scheduling the workflow and stop at X, when rescheduling, make sure to count up by +1.

1 Like

Watch @dbevan’s video posted above. It worked brilliantly for me!

1 Like

Just wanted to come back and say this worked brilliantly! Thank you so much @dbevan !

1 Like

I’m deleting my post :rofl: :rofl: :rofl:

3 Likes

This topic was automatically closed after 70 days. New replies are no longer allowed.