File Monitor with variable not working?!?

Discuss RoboTask here
Post Reply
Rukbunker
Posts: 192
Joined: Mon Feb 22, 2016 4:06 pm
Location: Netherlands

File Monitor with variable not working?!?

Post 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
Oleg
Site Admin
Posts: 3000
Joined: Thu Jan 01, 1970 1:00 am
Contact:

Re: File Monitor with variable not working?!?

Post 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.
Oleg Yershov
Rukbunker
Posts: 192
Joined: Mon Feb 22, 2016 4:06 pm
Location: Netherlands

Re: File Monitor with variable not working?!?

Post by Rukbunker »

Makes sense. Thanks.
Post Reply