I can't seem to find a similar situation on here so here I go. I'm running INFA 7.x on Linux and need to use a command task to detect a flat file before running a workflow. I can't use an event wait because the workflow needs to run whether the flat file is there or not. So basically when the workflow starts, the command task needs to look for the flat file, if it's there then do nothing. But if it's not there, I have to email someone.
I'm not sure if it works but if I run a command like "ls thisfile.txt" does it return any usable error code that can be utilized in the link logic (i.e. STATUS=0 or STATUS=1) or to that effect? That way I can put an email task object into the workflow and it can run only when needed...
Thanks for the help!
Glen
I'm not sure if it works but if I run a command like "ls thisfile.txt" does it return any usable error code that can be utilized in the link logic (i.e. STATUS=0 or STATUS=1) or to that effect? That way I can put an email task object into the workflow and it can run only when needed...
Thanks for the help!
Glen