How do i say "only when current time is x time"?

I always get confused with expressing times on bubble.

Basically i am trying to constrain something to happen: only when current time is 6pm (for example).

how do i express this?

Are either of these any close?

Screen Shot 2023-01-28 at 9.40.47 pm

Screen Shot 2023-01-28 at 9.39.14 pm

Your 2nd one would work. Your workflow would happen at any time between 6:00 and 6:59PM

And will it only happen once?

And how would i tell to happen at 6 instead of a time range?

Well I’m not sure what workflow this is on, if this is a “When condition is true” workflow and you have that condition, then it would run once when it is at least 6PM, but if they refresh it could run again if it’s 6:15 for example

If you want it only at exactly 6 then do Current date/time:extract hour is 18 and Current date/time:extract minutes is 0

1 Like

It’s for a recurring backend workflow push notification

Well it would only run if it happened to be scheduled at exactly 6PM in that case

It won’t schedule to run at 6PM

If you’re talking about a Recurring event workflow

Oh that’s right! my bad.

1 Like

So is this where i need a tigger button on my admin page to schedule the recurring event and use this constraint ?

Screen Shot 2023-01-28 at 9.40.47 pm

How do i tigger that backend workflow to run everyday at 6pm?

Here is where i am currently lost on the admin page button workflow

Okay that makes more sense now

Just set it to Current date/time:rounded down to date:change hours to 18

If you press it after 6PM it can’t schedule it in the past so it will reschedule for the next day

1 Like

Ok done. So, if i pressed this admin button now, it will trigger the BE WF to run tomorrow at 6pm? … and it will keep triggering daily at 6pm?

Yes​​

Lets goooo!

thanks dude

1 Like

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