Page 1 of 1
Time based triggers
Posted: 20 Oct 2019 13:34
by Rafi4
Hi Martin
For example
Trigger contains time every sunday at 4.00 p.m. my device is switched off at triggertime (4.00 p.m) . If I switched on my device at 4.30 p.m this flow will execute on next Sunday. How can I execute this flow this Sunday?
I think that I have explained better.
from record4
Re: Time based triggers
Posted: 20 Oct 2019 16:49
by icefox56
Instead of using fixed time as trigger use
Global variable date/time as trigger and tick "
Trigger immediately on missed events". In this way flow will execute when you switch on the phone.
To repeat this I add a script:
So if you selected a Sunday in your
Global variable date/time then after execution of flow the date will get added by 7, so it will be set for execution on next Sunday.
Re: Time based triggers
Posted: 20 Oct 2019 23:46
by Rafi4
Hi icefox56
I know about the script. is there any another way to get to work?
from record4
Re: Time based triggers
Posted: 21 Oct 2019 02:26
by icefox56
As per my first answer the question you asked in original post is answered. What additional help do you need?
Friendly reminder: don't confuse Global variable date/time with normal variables. It's a trigger available in Automagic.
Re: Time based triggers
Posted: 21 Oct 2019 02:42
by Rafi4
Hi icefox56
I am telling about time trigger not about global variable date and time.
See screen shot.
from record4
Re: Time based triggers
Posted: 21 Oct 2019 03:24
by icefox56
Global variable date/time is a trigger. Go check it out in "time" category.
Don't use the fixed time trigger. It doesn't work if your phone is switched off. Use Global variable date/time trigger, and tick "trigger immediately on missed event". In that way the flow will work even if the phone was switched off at, say 4:00pm, but you switched it on at 4:30pm.
Hope you understand.
Re: Time based triggers
Posted: 21 Oct 2019 03:35
by icefox56
If you are asking, can you do this with normal time trigger?
Then as far as I know, the answer is NO.