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 ?
Execute Command Stage return value
Moderators: chulett, rschirm, roy
-
- Participant
- Posts: 35
- Joined: Mon Nov 01, 2010 2:48 am
- Location: New Delhi
Execute Command Stage return value
Arpit Chopra
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact:
-
- Participant
- Posts: 35
- Joined: Mon Nov 01, 2010 2:48 am
- Location: New Delhi
-
- Participant
- Posts: 47
- Joined: Mon May 07, 2007 10:35 pm
-
- Participant
- Posts: 35
- Joined: Mon Nov 01, 2010 2:48 am
- Location: New Delhi
-
- Premium Member
- Posts: 258
- Joined: Tue Jul 04, 2006 10:35 pm
- Location: Toronto
-
- Participant
- Posts: 35
- Joined: Mon Nov 01, 2010 2:48 am
- Location: New Delhi