What this means in practice is that you can control in each cycle whether to run it again and when. Recursive workflows are a bit different, in that Bubble only schedules one workflow, and that workflow contains an action that schedules itself immediately or in the future, often with a condition attached. Bubble’s engine may add a delay between them to make sure it doesn’t eat up all capacity at once (if you’re on a shared server). If you schedule them without a break in-between, Bubble try to process them simultaneously, provided that it stays within the constraints of your app’s capacity. Bubble will schedule one workflow to run at a specific time for each item that you provide, and they may or may not be spaced out. Schedule workflow on a listĬan, but doesn’t have to, be run on a listĬan check dynamic condition for every cycleĪn easy way to see the difference between the two is to realize that Scheduling a workflow on a List doesn’t really mean looping a workflow: it means schedule one workflow for each item. The two may seem like the same thing on the surface, but looking closer there are some key differences that can matter a great deal to your development. What’s the difference between a Recursive Workflow and Schedule API workflow on a list? Are triggered sequentially (one cycle will not start until the previous is finished).As such, will continue to run even if the Page is closed.Can only be run as a back-end workflow (not on a Page).For each cycle that is repeated, you may provide new parameters to the workflow, meaning for example that you can move through a list of Things, focusing on one of those Things in isolation every time the workflow is looped.įor those who come from a programming background, a recursive workflow is a “Do X While Y” loop, where both the parameters in X and Y can be dynamic.įirst, some basic facts. So… what exactly is it? Let’s dig into it.Ī recursive workflow is simply a workflow that will repeat itself until a specific condition is met. Recursive Workflows were a welcome addition to Bubble’s toolbox in September of 2018, and there are many good reasons for this being a sorely missed feature.
0 Comments
Leave a Reply. |