Page 1 of 1

Destination path extract files

Posted: Mon Jan 22, 2007 1:59 am
by Shjel
Hello,
I am using a variable {WEEKNR} in the destination path of a couple of extract files tasks. When I run this task the files are extracted to a folder called {WEEKNR} instead of the value of the variable {WEEKNR}. If I make a task create folder with folder name {WEEKNR}, the folder that is created has the value of the variable {WEEKNR}. What could be the problem?
Thanks!
Shjel

Destination path extract files

Posted: Mon Jan 22, 2007 5:41 am
by Oleg
This means that variable named "WEEKNR" doesn't exist at the moment of executing the task .

What is happening:
RoboTask tries to expand string "{WEEKNR}" and can't find the variable named "WEEKNR". In this case RoboTask keep original string without changes.

In order to solve the problem you have to create variable WEEKNR at least with empty value.