Skip to content

Inspection rules

An inspection rule says what happens on a given answer to a question: a finding is opened, the auditor is asked for a note or photos, a corrective action is suggested for the finding. Rules are defined on the template’s Inspection rules tab.

A rule has two parts: When (the question and the condition) and Then (what to do). A question can have several rules.

  • Rules attach to the questions of the form’s latest published version. The tab says which version (for example “v3”). A question you just added to the form’s draft can be picked once the form is published.
  • The Negative, Critical and Score below threshold conditions are read from the form’s scoring profile. Set up Scoring profile first.
  • The grade comes from the template’s severity scale. See Severity dictionary and categories.

When a rule is saved, its question, option and grade are checked again. A rule is tied to the question’s permanent identity; it stays valid even if the question is renamed in the form.

  1. On Inspections → Templates open the template and go to the Inspection rules tab.
  2. Press Add rule.
  3. Fill in the When part.
  4. In the Then part choose what the rule does.
  5. Press Add. The message “Rule added.” appears.
Field Meaning
Question Pick a question of the form from Search questions. Questions no longer in the form’s latest version are marked Not in the latest version.
Condition On which answer the rule fires (table below).
Score threshold (%) Only for Score below threshold. Above 0, at most 100.
Option Only for Option. One of the question’s fixed options.

Conditions:

Condition Fires when
Negative The scoring profile counts the answer as negative (the option is marked Negative).
Critical The question is marked critical in the scoring profile (the critical tag) and the answer is negative.
Score below threshold The question’s score is below the given percentage of its maximum.
Option The answer is the chosen option. For multiple choice: the answer includes that option.

If the question has no fixed options (for example its options come from another list), the Option condition cannot be used; the dialog says “This question has no fixed options; the “Option” condition is not available.”

Field Meaning
Open a finding If the condition holds, a draft finding is opened for this question. It becomes open when the inspection is published.
Finding type Nonconformity, Observation, Improvement opportunity or Good practice.
Grade The active grades of the template’s severity scale.
Category (Turkish) / Category (English) Optional. If given, given in both languages.
Note required The auditor cannot submit without a note on this answer.
Photos required The auditor cannot submit without at least Minimum photos photos.
Minimum photos 1 to 20.
Suggest an action A corrective action is opened when the finding is published. Open a finding must be ticked first.
Action owner Who the action goes to (below).
Due time The grade’s response time or In hours.
Due time (hours) Only with In hours. 1 to 8760 hours.

Action owner choices:

Choice The action goes to
Location responsible The responsible of the inspected location.
Lead auditor The lead auditor who conducts the inspection.
Role The person in the chosen Role.
A specific person The person picked with Search people.
Unit manager The manager of the organization unit the location belongs to.
Auditee (portal user) The portal user with an Auditee membership at the location or a location above it; the nearest one, on a tie the oldest member. If nobody, the lead auditor. A corrective action plan is then asked for the action.
  • “Choose a question.”
  • “The score threshold must be above 0 and at most 100.”
  • “Choose an option.”
  • “A rule has to do something: open a finding, or ask for a note or photos.”
  • “Choose the finding’s grade.”
  • “Give the category in both languages, or in neither.”
  • “The photo count must be a whole number between 1 and 20.”
  • “Choose the action owner’s role.” / “Choose the action owner.”
  • “The due time must be a whole number of 1 to 8760 hours.”
  • “The chosen grade has no response time: give the hours instead.” If the grade has no response time (for example Observation), give the due time in hours.
  • “The chosen grade is inactive and cannot be used in a new rule.”

In the tab’s list each rule is written as a short sentence: the condition (for example “critical and negative”, “score below 50%”, “answer: Hayır”), the grade, Note required, “At least 2 photos”, Action: and the owner.

  • Change a rule with Edit rule on its row; Save shows “Rule saved.”
  • Delete it with the delete button on its row. Findings already opened stay.

When an inspection starts, the template’s current rules are copied into it. Later rule changes apply only to inspections that start afterwards; inspections already started finish with their own copy.

While filling, under an answer that a rule catches, a “What the rules ask” part appears (for example “Rule (negative answer): this answer needs a note and at least 1 photo(s).”). If something is missing, submitting stops and a list of missing items shows each one with a Go to question link. See Conducting an inspection.

Two rules for the “Kitchen hygiene audit” template:

Rule 1: every negative answer

  • Question: “El yıkama istasyonunda sabun ve kâğıt havlu var mı?”
  • Condition: Negative
  • Open a finding: ticked; Finding type Nonconformity; Grade Minör; Category (Turkish) “Kişisel hijyen”, Category (English) “Personal hygiene”
  • Note required: ticked
  • Suggest an action: ticked; Action owner Location responsible; Due time The grade’s response time (Minör: 168 hours)

Rule 2: the critical question

  • Question: “Buzdolabı sıcaklığı 0–4 °C arasında mı?”
  • Condition: Critical
  • Open a finding: ticked; Finding type Nonconformity; Grade Kritik
  • Photos required: ticked, Minimum photos 1
  • Suggest an action: ticked; Action owner Location responsible; Due time In hours, Due time (hours) 4

If the auditor answers “Hayır” to the fridge question, they cannot submit without a photo of the thermometer. When the inspection is published, a Kritik finding opens and a 4-hour action goes to the location responsible.