Unsupported content This version of the documentation is no longer supported. However, the documentation is available for your convenience. You will not be able to leave comments.

Command attribute for continuing execution after a command failure


Command Line, SSH, Kerberized SSH, Telnet, Windows Command, and PowerShell adapters can use a continue-on-failure attribute with the <command> element. With this attribute set to true, if a command fails to execute, the subsequent command is executed. In the absence of this attribute, or if this attribute is set to false, if a command fails to execute, the adapter response is an error message and subsequent commands are not executed.

The following figure shows an XML sample of the continue-on-failure attribute.

XML sample of continue-on-failure attribute

...
<commands>
 <command continue-on-failure="true">first command</command>
 <command>second command</command>
 <command>third command</command>
</commands>
... ... 

 

Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*