CHECK FILE precondition

Discussion created by Robert_Orosz_2395 on Jul 2, 2015
Latest reply on Jul 2, 2015 by Robert_Orosz_2395
Hello Expert,

I have a job that if successfully runs it creates a file via Windows Agent in AE10.In Taks properties of the JOB i define a precondition to "check file" via the same windows agent.Problem is that whether the file is there or not  in the log file it is always reported a missing precondition file like you can see in the picture below.What is wrong in this setup? Am I missing something else?
What I ultimately need is check for a file if it is not there sends an email if it is there then start a filetransfer chain.I am not good at UC4 scripting.