Using the Knowledge Certify Behavior

This scenario aims at providing the expert user with an example of the Knowledge Certify behavior. The expert user wants to check the design of a part containing holes. The diameter of the holes must be as defined in the expert checks (see below).

  The expert checks are located in a rule base saved in a catalog.

This scenario is divided into the following steps:

Remember to save your .CATfct file as well as the PartRulebaseOnHole.CATPart, the bktrulebasecatalog.catalog, and the bktCatalogImport.CATPart files in the directory corresponding to the CATGraphicPath environment variable.

Create a Technological Object

  1. From the Start>Knowledgeware menu, access the Business Process Knowledge Template workbench.

  2. Create the Design technological type.

    • Click the Create Technological Type icon () to create a type. The Create technological type dialog box is displayed.

    • Enter the name of the type: Design.

    • Click OK to validate.

    At this stage of the scenario, the BKT tree looks like the one opposite.

Add Behaviors to the Technological Type

  1. Click the Design type and the Sequence Combination behavior icon () to create a combination of behaviors. 

  2. Double-click SequentialCombination in the Behaviors View and double-click Design in the Behaviors tab. The Sequential Combination is displayed in the Behaviors tab.

  3. Double-click the Sequential Combination. The Sequential Combination dialog box is displayed. In the name field, enter CertifyDesign. Click OK when done.

  4. Click the SequentialCombination combination and click the FilterCatalog icon (). The FilterCatalog behavior is displayed

  5. Double-click the FilterCatalog node. The Filter Catalog editor is displayed.

    • In the Name field of the opening dialog box, enter RuleBases_Catalog.

    • Click OK to validate.

  6. Click the Certify Design combination and click the Bind Object behavior icon ().

  7. Double-click the Bind Object node. The Bind Object editor is displayed.

    • In the Relative Name field, enter ../../..

    ".." indicates that the bind must be performed on the upper level. In the current context, you go up 3 levels to reach the root product.

    • Click OK to validate

  8. Click the Certify Design combination and click the Knowledge Certify behavior icon (). KWCertify is displayed in the Behaviors tab.

  9. Double-click the KWCertify node. The KWCertify editor is displayed.

    • Click the Rule base field, expand the RuleBases_Catalog node and click the output feature. RuleBases_Catalog\Feature is displayed in the Rule base field.

    • Click the Object field, expand the BindObject node and click the output link. BindObject\Link is displayed in the Object field.

    • Click OK to validate.

    At this stage of the scenario, the behaviors tree looks like the one opposite.

Generate the Workbench

  1. Save the .CATfct file. Click here to access the created .CATfct file.

  2. Click the Generate Applicative Workbench icon () to generate a user workbench. Enter the name of the workbench, Applying_rulebase in this example, select Part from the scrolling list, and click OK to validate. The generated workbench opens.

Test the Workbench

  1. From the Tools>Options...>Knowledgeware>Business Process Knowledge Template menu, select All Users from the Access Rights scrolling list and click OK to work in a User environment.

  1. Open the bktCatalogImport.CATPart file in the user workbench. The following picture is displayed.

  1. Click the root of the specification tree, the icon, the root of the specification tree, and click the Design icon to type the part.

  1. Right-click Design (MyPart) and select Design(MyPart) object>CertifyDesign. The Catalog browser is displayed.

  1. Double-click ComponentFamily.2 and RuleonHole. The check contained in the rulebase is launched and performs a check of the holes. A report is launched displaying the result of the check.

  2. Update the Part.

     
  • Note that the Status of the check is indicated in the specification tree in the form of a green/red light. If the check runs correctly, the light is green, if not it is red.
  • Note that the report can be accessed by double-clicking the Report node in the specification tree.
For more information about the Certify behavior, see Knowledge Certify Behavior: Data Sheet.