Creating a Knowledge Advisor Reaction: Remove Event

This task explains how to use the Remove event in a reaction feature. In the scenario below, the user removes an element from the CATProduct document, which displays a message.
The Reaction capabilities require the Knowledge Advisor product. 
  1. Open the KwrSyringeAssembly2.CATProduct file.
  2. From the Start->Knowledgeware menu, access the Knowledge Advisor workbench and click the Reaction icon () to create a reaction. The reaction dialog box opens. 
    In the Source type field, select Selection for the Reaction to be applied to the element you select (Syringe in this example).
    In the Available events list, select Remove for the reaction to occur after an item is removed from the CATProduct.
    In the Action field, select Knowledgeware action and enter the following message: Message("An element was removed from your document"): This message will display when you remove a component from the CATProduct.
    Click OK. A reaction is added to the Relations node in the specification tree.
  3. Double-click the root of the specification tree, right-click the Syringe piston in the specification tree, and select Delete.
  4. The following message displays.


 To know more about the Reaction feature window, see Using the Reaction Feature Window.

Back Up Next