DSRoutine
Moderators: chulett, rschirm, roy
Check if this works
Execute_Command_12.$CommandOutput=0 (Link1)
Execute_Command_12.$CommandOutput=1 (Link2)
If it does not work try
Execute_Command_12.$CommandOutput<1>=0 (Link1)
Execute_Command_12.$CommandOutput<1>=1 (Link2)
Execute_Command_12.$CommandOutput=0 (Link1)
Execute_Command_12.$CommandOutput=1 (Link2)
If it does not work try
Execute_Command_12.$CommandOutput<1>=0 (Link1)
Execute_Command_12.$CommandOutput<1>=1 (Link2)
Narasimha Kade
Finding answers is simple, all you need to do is come up with the correct questions.
Finding answers is simple, all you need to do is come up with the correct questions.
I could just see that you have mentioned "*** No output from command *** ", so check the command that been executed from DS Director, and execute the same command from command line. By some chance expected paramter might not be passed.
Impossible doesn't mean 'it is not possible' actually means... 'NOBODY HAS DONE IT SO FAR'
Try these, and see if you get results.narasimha wrote:Check if this works
Execute_Command_12.$CommandOutput=0 (Link1)
Execute_Command_12.$CommandOutput=1 (Link2)
If it does not work try
Execute_Command_12.$CommandOutput<1>=0 (Link1)
Execute_Command_12.$CommandOutput<1>=1 (Link2)
Narasimha Kade
Finding answers is simple, all you need to do is come up with the correct questions.
Finding answers is simple, all you need to do is come up with the correct questions.
one intersting thing is happening when I mention the Trigger condition as you mentioned in first set.
Execute_Command_12.$CommandOutput=0
Execute_Command_12.$CommandOutput=1
ie" I am not getting any email"
I gave the output links to 2 notification activities. I am not getting nay email now.
Previosuly when I used "
Execute_Command_12.$CommandOutput<>0 (Link2)
I used to get emails.
Execute_Command_12.$CommandOutput=0
Execute_Command_12.$CommandOutput=1
ie" I am not getting any email"
I gave the output links to 2 notification activities. I am not getting nay email now.
Previosuly when I used "
Execute_Command_12.$CommandOutput<>0 (Link2)
I used to get emails.
Pradeep Kumar
As I've already mentioned twice now, you'll need to use the second syntax in the previous post. Output from a command execution is returned in a dynamic array and the Field Marks are messing you up. If you check the first array element by adding <1> to the end of the variable, you'll just get the '0' or the other numbers you are expecting.
And I suggest you stick with these checks based on your previous comments:
Of course, you could use an Otherwise trigger for the failure link which would be my preferred methodology.
And I suggest you stick with these checks based on your previous comments:
Code: Select all
Execute_Command_12.$CommandOutput<1>=0 (success link)
Execute_Command_12.$CommandOutput<1>#0 (failure link)
-craig
"You can never have too many knives" -- Logan Nine Fingers
"You can never have too many knives" -- Logan Nine Fingers
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact: