Destination path extract files

Discuss RoboTask here
Post Reply
Shjel
Posts: 1
Joined: Mon Jan 22, 2007 1:52 am

Destination path extract files

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

Destination path extract files

Post 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.
Last edited by Oleg on Mon Jan 22, 2007 2:00 pm, edited 1 time in total.
Post Reply