Accessing the Expert Check in the Check Body

You can access the check itself in the check body by using the Thischeck variable enabling you to access the parameters aggregated below the check.


Before you begin:

Refer to the Sample topic to create the model you need to perform this scenario.

Related Topics
Accessing the Expert Check in the Check Body
Knowledge Expert Language
  1. Create a parameter of Length type (Length.1) and set its value to 15mm.

  2. Access the Knowledge Expert workbench and click Expert Check .

  3. Change the name of the Check (ExpertCheck in this scenario), select the KWE language (by default) and click OK. The Expert Check Editor opens.

  4. In the Expert Check Editor, enter the script indicated in the column "With the ThisCheck method" (see table below). Click OK.

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