Section | |||||
---|---|---|---|---|---|
|
...
...
|
- Click the "Add New Output Monitor" button to add an output monitor to the action. There is no limit on the number of monitors an action can have. All output monitors operate independently of each other.
- Click "Remove Monitor" to remove a monitor from the action.
...
Monitors
Search String
This is the string to search for in the action output. In the example above, the monitor will match any line that contains the string "Warning :".
...
The total number of matching lines will be written to a variable.
Note |
---|
* Using Multiple Monitors multiple monitors with Failfail/Succeedsucceed |
If there are multiple monitors which force the action to both fail and succeed, and both find matches in the action is output, then the monitors are applied in the order they are shown in the dialog box, ie if a "Succeed" monitor is triggered followed by a "Fail" monitor, the action will fail. The action log output will show the status of both monitors, in order.
The AfterAction script event has the opportunity to futher modify the action result.
Note |
---|
Monitors Are Applied Liveare applied live |
Monitoring is applied to the output immediately as it is received from the action, before the OnStatusMessage script event. However, results (like setting variables) are not applied until the action finishes running. If you use variable references in the search string, be aware that the variable values may change as the action runs.