Hello all, I thought this would be a lot easier : When a user clicks button CREATE NEW PROJECT multiple data types are created, some containing pre-supplied data such as Title headers. For example : Phase A, Phase B Phase C etc etc.
What kind of workflow can I use to create 12 new things, each containing an item A, B, C etc from this pre-supplied data?
I’d really appreciate your time on this one. I should be able to figure this one out, on my own, but I’m drawing a blank…
Well, I did manage to hack-together a custom workflow that, creates new thing a dozen times. But nothing as clever as I had hoped. It works but it’s far from what anyone might call - an elegant solution.
When scheduling the API Workflow, you want to create a variable that indicates how many items to create. Then you can use that API Workflow to schedule another API workflow that creates an item, and then schedules itself while decrementing that variable. Here’s a good video on Recursive Workflows: Recursive workflows in Bubble (OR, HOW TO LOOP THROUGH A LIST) - YouTube
Thanks @flowtron, The major difference, from the example, is that my app is providing the initial data. This data is not visible to users until they decide to click for it. At that point the workflow creates a default-project that gets populates with various data I provide. To further complicate things a bit some of the data is interlinked. I thought of creating a hidden RG to be use as a target for a schedule list type workflow but thought that more cumbersome?