hey guys I’m trying to create a monthly recurring event to record an expense in my app’s accounting system.
does this workflow logic make sense? I’m curious how often this query will be made.
Will this be a continuous query or will the system simply understand when this monthly event occurs and then trigger the workflow without having to make constant calling?
A Recurring Event is initiated from the action “Set/Cancel Recurring Event”
So, you have your Recurring Event in your screenshot. You want that to run on a monthly basis.
Somewhere on a page in your app, you’ll want to trigger the Set/Cancel Recurring Event action. Choose the event you created, set the Expense record, set the start date, and then the monthly frequency.
Now, beginning with the start date, Bubble will automatically run your RE every month. No need for you to do anything else. You can check on the next run in Logs > Scheduler.
To cancel, you have to trigger the same Set/Cancel action for the same Expense record and set frequency to None.
Keep in mind that the Expense record you reference here is what will be referenced each recurring instance. So, User A would need to start an event for their Expense record and User B would start a separate RE for a different Expense record.
You shouldn’t need that date condition you have in the screenshot to “help” the recurring logic unless that’s for something else…