Web Client Guide

Actions Portlet | Actions and Adaptive CLI
353
Error Conditions
The error condition lets you configure errors for your script.
Click
Add new error conditions
to configure a condition at the bottom of this screen with the
following fields:
Error Pattern
Enter a regular expression for the error.
Error Type
Select from the pick list of options (
Error, Warning, Ignore
).
Number of lines to check
Enter the number of lines of the script output to check for the pattern
specified above, after each command execution. An error message is most likely to appear
immediately right after the command is invoked.
Continue Pattern
Like Error Conditions, this screen lets you
enter conditions to which script execution
can respond.
The Continue Pattern editor operates like
the Error Conditions editor, but has slightly
different fields.
Continue Pattern
If you expect the
device output of a script to prompt to
continue, you may add a
Continue
Pattern
with a regular expression to parse.
Answer
This field specifies the
Answer
to the
Continue Pattern
prompt.
Send New Line
For some devices, a single key response without a new line would be sufficient;
in such cases, you may need to uncheck the
Send New Line
option.
Max Occurrences
Indicates the maximum number of times respond to a prompt. The default
value zero (0) indicates no limit.