Is there some way to pause Scheduled workflows from the user side?
Yes, you have to use the âCancel APIâ action
To cancel it, you need to specify an ID meaning youâll probably have to save it in your database.
https://manual.bubble.io/using-the-bubble-api/scheduled-workflows#cancel-scheduled
Well, I need to pause it and resume later, not cancel.
There is a way to pause all workflows in admin panel, but I donât see a way to make it from user side.
ohhhh⌠Iâm not sure there is a way to do that
Hello @sat_miha
I use a condition at the end of a Schedule Workflow which turns into a âloopâ if the condition is ânextâ. Otherwise if a pause condition is detected then it does not loop the call. When the user wants to continue, he restarts the schedule workflow. It is different than programming over time as mentioned above by @johnny which âcancelâ is the only option unless you reschedule another âschedule workflowâ on demand again.
Maybe a Pause button on the user side that triggers a yes/no field on the User Type to yes for paused. When they click the button again it toggles to no for not paused and triggers the workflow to start again. Youâd then have conditionals on the workflow to stop or skip the remaining actions if Current Userâs Pause is yes.
This would start the whole workflow over though but depending on how your data is structured you could potentially have it skip the steps or data that were already ran for that user.
Well, my case is more about stopping one of many scheduled workflows that connected to each other and resuming it from that exact workflow.
But I got your point. Thanks.