Link periodic timer interval to global variable

General discussions about Automagic and automation in general

Moderator: Martin

Post Reply
danvonranger
Posts: 5
Joined: 27 Nov 2016 08:23

Link periodic timer interval to global variable

Post by danvonranger » 06 Jul 2017 17:16

Hi,
I'm pretty sure this can't be done, but I thought I'd check.
I'm trying to set the periodic location timer's frequency based on a global variable instead of hard coding 3m or 5s.
I have a flow that performs an action every 5m but it would be great if I could use a global variable so the value can be set from another flow/action.

Thanks,

Dan

User avatar
Martin
Posts: 4444
Joined: 09 Nov 2012 14:23

Re: Link periodic timer interval to global variable

Post by Martin » 06 Jul 2017 19:33

Hi,

Using a global variable for this trigger is not supported. You could use an action Init Variable Location within a loop in a flow along with an action Sleep: {global_variable} to achieve something similar.

Regards,
Martin

Post Reply