Timer for 'Go live'

Hi all
I need some help?

Can someone show me how to set a workflow function with a condition based on time elapsed?

I have a ‘go live’ button set to Yes/No. No being the default. when the user clicks ‘Go live’ the Go live = yes. This has them only show up in the repeating group if they are live… perfect.

I need some how to set a 24 hour timer to the ‘go live’… so by default it turns back to a ‘No’ after the 24 hour period. Thus having the user having to re-click ‘Go live’ to be viewable for another 24 hours

Hi.

When the user clicks ‘Go Live’, you can ‘Schedule an API Workflow’ action, and in the schedule date, put ‘current date +hours 24’.

Then in the workflow that is called after 24 hours, simply change the Go live field to no.

Regards.

2 Likes

well that’s a simple fix cheers…, I tried but I need a paid plan to be able to use the option ‘schedule an API Workflow’ action its telling me. would you know any other way I could achieve this? I have noted the way you have described above thou for when I upgrade my plan.
cheers

I quickly thought of this:

When the user clicks ‘Go live’, add the current date to a new date field called ‘Last go live’.

Then, in your page, have a workflow that, upon loading the page, checks if current date > last go live date + 24 hours. If it is, then change Go live to No.

Would this work?

Regarding the Backend workflows not being enabled on the Free plan, that’s something I have mentioned in this forum before. I don’t quite understand how some key piece of functionality is behind a pay wall. This way, some people will never see the true potential of Bubble, and leave for good. I think the reason is performance related, but still, I think it’s a limitation that should be addressed.

Thank you
Solved

This topic was automatically closed after 70 days. New replies are no longer allowed.