I have job sequence
Based on the the output from the execute command activity(command_activity1), two different instances needs to be triggered.
This is what i put in the command
Code: Select all
wc -l /filepath/file1.txt | awk '{ print $1 }'
Trigger1:command_activity1.$CommandOutput > 1
Trigger2:command_activity1.$CommandOutput = 1
whatever the output is , only Trigger1 is getting triggered.Test..JobControl (@Execute_Command_0): Executed:
wc -l /filepath/file1.txt | awk '{ print $1 }'
Reply=0
Output from command ====>
1
So to narrow down the issue, i have connected two execute command activties to both the triggers
and in execute command which is connected to Trigger1, I put
command:echo
paramter:#Execute_Command_0.$CommandOutput#
and this is the director log
The thing is , though the output returned by the command in execute command activityTest..JobControl (@Great_1): Executed: echo 1
Reply=
Output from command ====>
-1
ir)
Code: Select all
wc -l /filepath/file1.txt | awk '{ print $1 }'
I am not sure, what is ahppening the issue.Any ssolutions would be highly appreciated.
Regards,
Raja R P