Metis Smart Modeling - Debug
From Metis Documentation
(→Using watchdogs) |
(→Using watchdogs) |
||
Line 144: | Line 144: | ||
=== Using watchdogs === | === Using watchdogs === | ||
Within the list of of "Output Values & Watchdogs" are only shown the variables, positions and groups of items which are either used as an output or an add-on to any rule included in the environment. In order to work on variables or positions which could be used as inputs or filters, Metis Smart Modeling allows the user define so called watchdogs. They are variables, positions or attributes which are not listed in the previously named table but which could be used in rules as either input values or filters. | Within the list of of "Output Values & Watchdogs" are only shown the variables, positions and groups of items which are either used as an output or an add-on to any rule included in the environment. In order to work on variables or positions which could be used as inputs or filters, Metis Smart Modeling allows the user define so called watchdogs. They are variables, positions or attributes which are not listed in the previously named table but which could be used in rules as either input values or filters. | ||
+ | |||
In order to define a new watchdog within the debugger, click on the ADD button [[File:MetisSmartModelingAddButton.PNG|link=]] located on the right of the "Output Values & Watchdogs" table. A window opens up which allows to select the position, the variable (or group of items) or attribute to be used as a watchdog. Select the appropriate one and validate in order for it to be listed in the table. Once done, move to the XX column of the inserted element and set the value for which it should be tested. When the execution process starts, and at each step, the watchdog will be tested against the value provided. If equal, then the execution pauses. | In order to define a new watchdog within the debugger, click on the ADD button [[File:MetisSmartModelingAddButton.PNG|link=]] located on the right of the "Output Values & Watchdogs" table. A window opens up which allows to select the position, the variable (or group of items) or attribute to be used as a watchdog. Select the appropriate one and validate in order for it to be listed in the table. Once done, move to the XX column of the inserted element and set the value for which it should be tested. When the execution process starts, and at each step, the watchdog will be tested against the value provided. If equal, then the execution pauses. | ||
+ | |||
+ | |||
+ | {{Note | ||
+ | | Watchdogs on variable or positions are very helpful to test and verify that a given variable or position is not modified prior to being used as an input to another rule. | ||
+ | }} |