Community forum

Please note that VisualCron support is not actively monitoring this community forum. Please use our contact page for contacting the VisualCron support directly.


Blickley
2013-07-08T22:15:30Z
I am currently using User Variables in the following way:

At the beginning of a job, use a Set Variable to task to create a new variable that sets the current date as string. I use the "translate to constant" checkbox. I then use this variable throughout the various tasks in creating files so they have a stamp in the filename (and the constant checkbox ensures that the stamp is the same throughout all the tasks, which I need so I can create a file in one task, then reference it in the next task). I then have another task at the end to remove the variable. The name of the variable contains the JOB name so that it is unique.

It seems this would easier with the newer Job Variable, however, I can't see where I can set this to a constant to have the same behavior, where the variable would contain a static date/time stamp to use throughout.

Is there anyway to do this? This would avoid having to setup the "Set Variable" and "Remove Variable" on each task where I have to do this.

Thanks,
Chris
Sponsor
Forum information
Support
2013-07-10T07:35:25Z
Hi Chris,

this is currently not possible. I am moving this topic to Feature requests.
Henrik
Support
http://www.visualcron.com 
Please like  VisualCron on facebook!
Blickley
2013-07-11T20:45:11Z
Thanks. Turns out I really didn't need to do it that way, I decided to use the LastRun variable of the job itself in the filenames. This gives me the same functionality. It would still be a nice feature in the future though.

Thanks,
Chris
Scroll to Top