Page 1 of 1

File Monitor with variable not working?!?

Posted: Thu Apr 20, 2017 9:19 am
by Rukbunker
Hey Oleg,

I use File Monitor as trigger. The folder whihc is being monitored is a variable. However, the task is not executed. When I put the folder without the variable name (so the good and complete path), the task is executed. Can you reproduce this?

In the setup below the task is NOT executed.

Image

Image

Image

Re: File Monitor with variable not working?!?

Posted: Thu Apr 20, 2017 10:44 am
by Oleg
Local variables are "alive" only when task is running.
But the trigger's engine works permanently if the task is enabled.

You can use only global variables in any trigger. Local variables have no sense for any triggering event. You can use local variables in the task body only.

Re: File Monitor with variable not working?!?

Posted: Thu Apr 20, 2017 10:58 am
by Rukbunker
Makes sense. Thanks.