Overview
Inspections are the core workflow of the system. Each inspection represents a scheduled fire safety assessment at a property, with associated form fills that technicians complete on-site.Creating an Inspection
Select Property and Customer
Choose the customer, then select the specific property being inspected.
Properties are filtered by customer to make selection easier. You can also create a new property from this screen if needed.
Configure Inspection Details
- Date: When the inspection will occur
- System Category: Type of fire safety system (Fire Alarm, Sprinkler, etc.)
- Interval Category: Inspection frequency (Monthly, Annual, etc.)
- Technician: Assign to a user with Technician role
- Job Number: Optional reference number
Inspection Model
Inspections are represented by theInspection model located at app/models/inspection.rb:1:
Inspection Status Workflow
Inspections progress through several statuses:Status Descriptions
| Status | Description | Actions Available |
|---|---|---|
| pending | Scheduled but not started | Start, Cancel |
| in_progress | Technician is on-site | Complete, Cancel |
| completed | Finished and PDF generated | View, Email, Re-open |
| canceled | Inspection was canceled | Delete, Re-activate |
Updating Status
Technicians can update inspection status from the inspection detail page:When an inspection is marked as completed, the system automatically transfers deficiencies to the Deficiencies module for tracking and follow-up.
Form Fill Structure
Each inspection contains multiple form fills:Main Form Fill
The primary inspection form, matching the system and interval categories:Supplementary Forms
Automatically created if templates exist:Completing Inspections
Technicians complete inspections by filling out the associated forms:Fill Out Forms
Click on each form fill to enter data:
- Text fields for equipment details
- Checkboxes for Pass/Fail/N/A selections
- Photo uploads for visual documentation
- Signatures for certification
- Deficiency tracking for failed items
Generate PDF
Click Generate PDF to create the final inspection report. This merges:
- Main inspection form
- Deficiencies (if any)
- Additional risers (if applicable)
- Photo annex pages
- Signature pages
Auto-Fill Header Fields
The system automatically populates common header fields when an inspection is created:- Inspection date
- Property address
- Customer name
- Technician name
- Job number
How Auto-Fill Works
How Auto-Fill Works
The
HeaderAutoFillerService scans form structure for common field names (case-insensitive):date,inspection_date,Date_Completedproperty,property_address,locationcustomer,customer_name,building_ownertechnician,inspector,performed_by
Inspection Calendar
View all inspections in a monthly calendar interface:- Inspections grouped by day
- Color coding by status
- Technician assignments
- Quick links to inspection details
Dashboard Metrics
The inspection dashboard provides real-time statistics:Property Inspection History
View all inspections for a specific property:- Historical inspection records
- Compliance trends
- Recurring deficiencies
- Upcoming scheduled inspections
PDF Generation
When a technician clicks “Generate PDF,” the system creates a comprehensive inspection report:PDF generation happens asynchronously. Large inspections with many photos may take 30-60 seconds to process.
Filtering and Search
The inspections index supports multiple filters:- Status: pending, in_progress, completed, canceled
- Customer: Filter by customer account
- Date Range: From/to date selection
- Technician: Filter by assigned technician
Best Practices
Schedule in Advance
Create inspections 1-2 weeks ahead to ensure technician availability and customer coordination
Complete On-Site
Fill forms during the inspection rather than afterward to ensure accuracy and reduce forgotten details
Photo Documentation
Take photos of all equipment, deficiencies, and corrections for comprehensive records
Review Before Completing
Check form counts and verify all required fields are filled before marking as completed
Related Features
Form Management
Create and customize form templates for inspections
Photo Management
Upload and organize inspection photos
Digital Signatures
Capture technician and client signatures
PDF Parsing
Understand how form templates are created from PDFs