knowledgewright4/samples/support/tutorial/printer_4.kb
Next we will add some additional solutions. First we need another question, printer_type:
id printer_type path / prompt What type of printer do you have? question_type menu_single_choice question_style listboxchoices inkjet laser lineprinter default ask_also
This lets us add a solution named toner:
id toner path / priority 1 environment printer_type = "inkjet" or printer_type = "laser" conditions symptom = "light output" problem You are running out of toner. fix Replace your toner cartridge. actions
Notice under environment we can use or in a single condition. This is necessary because the list of conditions are and implied and. In other words, all the conditions on the list must be true.
Now add a solution named ribbon:
id ribbon path / priority 1 environment printer_type = "lineprinter" conditions symptom = "light output" problem Your ribbon is running out of ink. fix Install a new ribbon. actions
Select Run/Run to test your knowledgebase and try different combinations of inputs.