Absent Member.. Grayh Absent Member..
Absent Member..
516 views

RAS Flow test

Jump to solution

<pre>Executes a command from the command line of a remote RAS.

On unix we cannot mandate what type of shell to be used (sh, bash, ksh, csh, etc), so be sure to include the shell in your command
if you need things like file redirection. Example:
sh -c "ls -lha /etc > /tmp/myfile"

On Windows, this command will prepend cmd.exe /C or command.exe /C to the command you specify, so there is no need to pass that into this operation.

Inputs:
command - the command to execute.
arguments - any arguments to command.
environment - Specifies environment variables/values that need to be defined when running command.
path - The path to the commands executable
cmd_timeout - Timeout in milliseconds before the command is considered failed when returnImmediately is false.
Default value: 100000 (100 seconds).
returnImmediately - If true, the operation will execute the command and return immediately. It will not wait for the command to finish.
Valid values: true, false.
Default value: false.

Responses:
success - The command executed successfully.
failure - The command failed to execute.

Results:
STDOUT - The standard output of the command.
STDERR - The standard error output of the command.
</pre>

===========================================================================================

 

Could you please advise me of any example values in the below fields for me to test RAS flow to run:

 

command -
arguments -
environment -
path -
cmd_timeout - 100000
returnImmediately - true/ false.

 

 

 

Labels (1)
0 Likes
1 Solution

Accepted Solutions
Absent Member.. Grayh Absent Member..
Absent Member..

Re: RAS Flow test

Jump to solution

Sorted out, Thanks all

 

command - ipconfig
arguments - /all
environment -
path -
cmd_timeout - 100000
returnImmediately - false

 

And the flow worked.

0 Likes
2 Replies
Absent Member.. Grayh Absent Member..
Absent Member..

Re: RAS Flow test

Jump to solution

Attached are the screenshots.

0 Likes
Absent Member.. Grayh Absent Member..
Absent Member..

Re: RAS Flow test

Jump to solution

Sorted out, Thanks all

 

command - ipconfig
arguments - /all
environment -
path -
cmd_timeout - 100000
returnImmediately - false

 

And the flow worked.

0 Likes
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.