File Compression Task: Can't use a variable in file fame?

Sagan (6 posts)
June 2, 2016 11:24 PM
Accepted Answer

This Relates to adTempus: v4.3.1

We've been running file compression tasks for a long time, however now that I'm in the process of moving to a new system I have decided to actually append dates to the archives. I have numerous variables that return the dates I want, which work fine in the file path. However when trying to use it in the actual name of the archive file the step fails. Is this expected behaviour?

Example (works):

E:\Reporting\Test\%YearNowLong%\%MonthNowLong%\TestReports.zip

Which returns a file like:

E:\Reporting\Test\2016\June\TestReports.zip

 

Example (fails):

E:\Reporting\Test\%YearNowLong%\%MonthNowLong%\%MonthNowLong%_TestReports.zip

Should return a file like:

E:\Reporting\Test\2016\June\June_TestReports.zip

However it fails and the detail log doesn't give any indication on where or why it failed.

Bill Staff (599 posts)
June 3, 2016 07:29 AM
Accepted Answer
The problem isn't due to the variables. Turns out it's the same problem as you had with Report Commander yesterday: it's not creating the folder before it tries to write the file. Seems like we had an epidemic of missing those scenarios at some point. We're working on a fix; I'll create a support case and send it to you when it's ready.
Sagan (6 posts)
June 5, 2016 04:36 PM
Accepted Answer
Thanks Bill. Hotfix resolved the issue.

Replies are disabled for this topic.