Variables in Preconditions

Discussion created by VinceSola604564 on May 21, 2016
Latest reply on May 21, 2016 by joel_wiesmann_automic
Is it possible to resolve a variable in a precondition? I am looking for a file as a precondition in which the SYS_DATE is in the file name. However, I can't seem to find out how to resolve the variable. Any idea how to get it to happen? 

In the precondition the file name would be \\fileshare\folderpath\&DATE#.txt (wanting something like the file 20160520.txt to be found)
I've put :SET &DATE = SYS_DATE(YYYYMMDD) in pre-process of the job, in the process of the job, in the process of the workflow....nothing. Am I missing something?