Orchestrates inspection workflow through a multi-stage Conductor workflow.
Input: propertyId, inspectionType | Timeout: 60s
inw_schedule
│
inw_inspect
│
inw_document
│
route_result [SWITCH]
├─ pass: inw_record_pass
└─ fail: inw_record_fail
DocumentWorker (inw_document)
Outputs result, violations.
InspectWorker (inw_inspect)
Reads propertyId. Outputs findings.
RecordFailWorker (inw_record_fail)
Reads propertyId. Outputs reinspectionRequired.
RecordPassWorker (inw_record_pass)
Reads propertyId. Outputs certificate.
ScheduleWorker (inw_schedule)
Reads propertyId. Outputs scheduledDate, inspector.
5 tests cover valid inputs, boundary values, null handling, and error paths.
mvn testRun this example: see RUNNING.md for setup, build, and CLI instructions.