Re: same ssh command is being executed again (247 Views)
Posts: 15
Registered: ‎08-24-2010
Message 1 of 3 (288 Views)
Accepted Solution

same ssh command is being executed again

Hi All,


I am using HP OO 9.07.


I am authoring a OO Flow to be executed on a Rhel Linux target host.

The Flow has 3 operations as described below.


First operation to ftp the scripts to the target machine

Second operation to run a a pre-req script that does some pre-req settings

Third operation to run the install script that installs a application


I am using SSH command to run the Second and Third operations.


But to my surprise, the command that i am running in Second operation gets executed again in the Third Operation.


No idea why is this happening.


I also tried with Remote Commad operation. Here also same result.


Can someone please help me?  I am struggling to solve this from few days.





Valued Contributor
Posts: 115
Registered: ‎03-02-2010
Message 2 of 3 (276 Views)

Re: same ssh command is being executed again

Seen this before,


The SSH or remote command operations will always try to find the "command" variable first before using any constants you define. If you are putting in multiple operations of the same kind the command input from the first operation will by default be passed to the next.


To change this behaviour. Open the command flow variable, then under "Assign From Variable"  select not assigned. Then use the constant string that you like.


Alternatively, you could create custom command names within your flow and assign from those.


Whenever a sub-flow or operation runs, it will pass on any variables that it had to the next step.



Posts: 15
Registered: ‎08-24-2010
Message 3 of 3 (247 Views)

Re: same ssh command is being executed again

Yes this was the issue.

Thanks a lot.



The opinions expressed above are the personal opinions of the authors, not of HP. By using this site, you accept the Terms of Use and Rules of Participation.