Default Solution

Creating a Default Solution

knowledgewright4/samples/support/tutorial/printer_2.kb

If no solution can be found to match the user's inputs, it would be nice to display a response nonetheless. To do this, we need a solution that matches when all else fails.

  1. Use Object/New to create a solution named no_solution.
  2. Set the priority to 10000. This puts no_solution at the end of the list of possible solutions (provided you don't set the priority of any other solution to a value greater than 10000).
  3. Leave the environment and conditions blank. This means they will match anything.
  4. Set the problem to "We are unable to find a solution to your problem." Set the fix to "Please contact tech support."

Run the Knowledgebase

Select Run/Run to test your knowledgebase. Select "light_output" as the symptom. The no_solution solution should be displayed.




Copyright ©1995-2006 Amzi! inc. All Rights Reserved. Privacy Policy.
Amzi!, KnowledgeWright and WebLS are registered trademarks and Adventure in Prolog, Logic Server, Logic Explorer, Adventure in Prolog and Subscription Plus are trademarks of Amzi! inc.