Inspections, assessments, violations and enforcement
Visits, action plans and assessment tasks, assessment indicators linked to regulatory codes, recording violations and enforcement actions, public complaints, scheduling and mobile inspections.
Simple explanation
| Object | Meaning |
|---|---|
| Visit | An inspector's site visit (place, time, purpose, inspector, related application) |
| ActionPlanTemplate β ActionPlan | The checklist applied to the visit |
| AssessmentTask | A task in the checklist (for example "hand-washing facilities") |
| AssessmentIndicatorDefinition | A question or marker of compliance (for example "soap available") with defined values |
| RegulatoryCode | The rule being enforced |
| RegCodeAssessmentInd / ViolationTypeAssessmentInd | Junctions linking indicators to codes and violation types |
| RegulatoryCodeViolation | A violation found, linked to the visit, code and application |
| ViolationEnforcementAction | What the authority does about it (warning, fine, closure) |
| PublicComplaint | A complaint from the public that may trigger an inspection |
| SignatureTask | Signature acknowledging the inspection |
Flow Schedule visit β apply checklist template β inspector answers indicators on mobile (often offline) β failed indicators create violations β enforcement actions and re-inspections β result feeds the licence decision or compliance history.
Scheduling often uses Field Service for routing and capacity; mobile inspections use the Salesforce mobile app or Field Service mobile with offline support β verify which mobile option supports which inspection components.
Real-world analogy
An inspection is a driving test: the examiner has a printed checklist tied to the highway code, ticks or crosses each item, and a cross becomes a written fault with consequences.
Worked example
A salon inspection applies the "Salon health and safety" template. The inspector records that towels are missing; the indicator links to the regulation requiring them, so a violation of type "health and safety" is created. The enforcement action is a correction notice with a re-inspection in 14 days.
Diagram
Key points
- Visit + action plan template = a repeatable inspection.
- Indicators are linked to regulatory codes and violation types.
- Failed indicators become violations with enforcement actions.
- Complaints can trigger inspections; results feed licence decisions.
- Plan scheduling (often Field Service) and offline mobile use.
Limits and gotchas
- Offline mobile behaviour must be tested with real devices, poor signal and photo uploads.
- Checklist templates are versioned; changing a template shouldn't alter completed inspections.
- Risk-based scheduling needs history and scores; plan where scores are calculated (rules engine, batch or Data 360).
- Publishing inspection results to the public needs redaction rules and approvals.
π€ How to say this in an interview
Show the chain indicator β code β violation β enforcement, then talk about the inspector's day: scheduling, routing, offline, photos and signatures.
Common follow-ups
How would you prioritise 4,000 restaurant inspections a year with 12 inspectors?
Risk-based scheduling: score establishments by violation history, complaint volume and food type, set inspection frequency by risk band, and schedule and route through Field Service capacity.
An inspector loses signal mid-inspection. What happens?
With offline-enabled mobile, answers and photos are stored on the device and synced when back online; the design must handle conflicts and large photo uploads.