7 Replies Latest reply: Aug 20, 2013 9:14 AM by Graeme Smith RSS

    External task return error code

    Dror Svartzman



      I have an external task which suppose to do the following:

      Batch file

      - Check existence of file on DMZ server

      If file exist, continue execution of dependent tasks

      If file does not exist, exit with error. retry in 5 minutes


      I'm using the following command to explicitly throw an error :

      EXIT /B -1


      In reality the tasks ends with warning instead of error and precedes with the rest of the tasks in the execution thread.


      Any idea's ?