AnsweredAssumed Answered

File check for specific files

Question asked by Chio_Ge_8533 on Oct 18, 2016
Latest reply on Oct 18, 2016 by Mark_Hadler_430
I am setting up a workflow in Automic which needs to run only when there are seven specifically named files present in a directory. Is there an easy and efficient way to do that? Before, I went into the preconditions tab of the relevant job and basically stacked seven "Check File" preconditions within eachother, which got quite chaotic with seven files and even more so when I added Else conditions. I also tried setting up seven separate preconditions within the job (looks a lot cleaner), but the problem with that is that it won't block the task if some files are missing. I really need it to only run when all of them exist. Is there a different way to approach this? Maybe with values/variable tables?

Outcomes