Global Variable

Post your questions and help other users.

Moderator: Martin

Post Reply
Atbl
Posts: 14
Joined: 04 Dec 2015 16:26

Global Variable

Post by Atbl » 22 Oct 2016 14:59

How to trigger when the value of global variable reaches 0.

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

Re: Global Variable

Post by Martin » 22 Oct 2016 19:01

Hi,

You can use trigger Global Variable and check if the variable is zero with a condition Expression: global_variable==0.

Regards,
Martin

Atbl
Posts: 14
Joined: 04 Dec 2015 16:26

Re: Global Variable

Post by Atbl » 23 Oct 2016 02:31

If the value of global variable is 4 and i am reducing it by 1 point at the sleep of 2 seconds, then how to trigger the flow when the value reaches 0, or how to trigger when i remove the variable

User avatar
MURTUMA
Posts: 697
Joined: 05 Mar 2013 22:43

Re: Global Variable

Post by MURTUMA » 23 Oct 2016 06:51

Just follow exactly what Martin already said. Let me re-phrase in a different way:

trigger: Global variable: global_your_variable
condition: Expression: global_your_variable==0

Atbl
Posts: 14
Joined: 04 Dec 2015 16:26

Re: Global Variable

Post by Atbl » 23 Oct 2016 14:52

Thanks murtuma.
I got it.

Post Reply