Create a parameter of Length type (Length.1) and set
its value to 15mm.
Access the Knowledge Expert workbench and click
Expert Check
.
Change the name of the Check (ExpertCheck in this
scenario), select the KWE language (by default) and click OK.
The Expert Check Editor opens.
In the Expert Check Editor, enter the script indicated
in the column "With the ThisCheck method"
(see table below). Click OK.
Click Solve
.
The rule set lights turn to green indicating that the check could
be run correctly.
Note:
"Thischeck" and "Thisrule" are
variables created to help you write rules and checks. These
2 variables enable you to automatically reference the check
or the rule you are working with. It enables you to:
- Access the parameters located below the rule or
the check (see scenario below),
- Compare various elements.
|