I'm new to VisualCron, and testing some stuff to see if we can use it at our company for different batch job needs.
I'm building a job that writes an XML file to disk, and one of the first steps is to write the basic XML file structure using "Write File" task, and after that I use the "XML create node" task to populate the XML file with data.
The problem I noticed is that I write a file with timestamp in the filename, E:\Exports\Switches\{DATEFORMAT(yyyyMMdd)}\{JOB(Active,Variable,SwitchIP)}-{DATEFORMAT(yyyyMMddHHmm)}.xml, with the Write File task.
So the file might be named: 192.168.56.3-201405211105.xml
After that I run steps using the "XML create node" task to add stuff to the file, so if I refer to E:\Exports\Switches\{DATEFORMAT(yyyyMMdd)}\{JOB(Active,Variable,SwitchIP)}-{DATEFORMAT(yyyyMMddHHmm)}.xml a minute might have passed so the "XML create node" task will not find the file (since it will try to write to a file called 201405211105.xml instead of 201405211104.xml for example).
What is a good way to solve this? It doesn't look like I get the file name as output from Write File?
Edited by moderator
2014-06-05T06:23:43Z
|
Reason: Not specified