Issue with recursive workflow for daily emails

Hello everyone. I’m just looking for some help on how to handle this. I would like my app to send out reminders to users telling them which of their documents that they uploaded are about to expire. I set this up as a recursive workflow which interrogates the reminders table and finds reminders due today. The first step in the workflow runs current date/time and the second step runs the same workflow one day in the future. In this way at midnight everyday the workflow is run and the next day is scheduled.

I manually activated the workflow and I checked the scheduler for a few days and could see the daily email workflow was scheduled for the next day. However, after 11 days, I received an email from bubble saying the workflow has been terminated / deleted by the infinite recursion feature.

Because this is supposed to be daily email, there is no exit condition so it will be an infinite loop but looks like Bubble prevents this. So how do I handle this?


By default, recursive workflows can only be run 10 times.

You can change that in your App settings.

Thanks Adam. I’m a newbie to bubble so any help is appreciated. What are you thoughts on the best approach: is it to setup a recurring workflow or to simply change the setting in app settings to remove the default limit. The use case is:

A landlord uploads a set of documents for the properties.
The landlord sets the expiry date.
The reminders are automatically scheduled in the reminders table based on the expiry date.
Every day, the workflows identified what reminder are due
Then sends an email to every landlord who has a reminder due that day.

Just turn off the default limit.