Page tree

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>
... ...