Execute Command Stage return value
Posted: Thu Dec 30, 2010 11:39 pm
Hi everyone,
I am facing a very strange problem. Here is my sequence design:
Execute command -----return val 0---------> job1
-----return val 1---------> job2
The command stage executes a unix script which returns 0 if a file is found and 1 if it is not found (using "exit 0" or "exit 1"). The trigger in Command stage reads this returned value and moves to Job1 if it is 0 and Job2 if it is 1.
My requirement in both the cases is is that this master sequence should always finish successfully. However, right now, it finishes with a warning. Whenever the script returns 1, the sequence throws a "Warning" that "Command did not finish OK, reply = 1".
Is there any way to suppress this ?
I am facing a very strange problem. Here is my sequence design:
Execute command -----return val 0---------> job1
-----return val 1---------> job2
The command stage executes a unix script which returns 0 if a file is found and 1 if it is not found (using "exit 0" or "exit 1"). The trigger in Command stage reads this returned value and moves to Job1 if it is 0 and Job2 if it is 1.
My requirement in both the cases is is that this master sequence should always finish successfully. However, right now, it finishes with a warning. Whenever the script returns 1, the sequence throws a "Warning" that "Command did not finish OK, reply = 1".
Is there any way to suppress this ?