Orchestrates emergency response through a multi-stage Conductor workflow.
Input: incidentType, location, reportedBy | Timeout: 60s
emr_detect
│
emr_classify_severity
│
emr_dispatch
│
emr_coordinate
│
emr_debrief
ClassifySeverityWorker (emr_classify_severity)
Reads incidentId. Outputs severity, responseLevel.
CoordinateWorker (emr_coordinate)
Reads incidentId. Outputs outcome, duration, casualties.
DebriefWorker (emr_debrief)
Reads incidentId, outcome. Outputs reportFiled, lessonsLearned.
DetectWorker (emr_detect)
Reads incidentType, location. Outputs incidentId, detectedAt.
DispatchWorker (emr_dispatch)
Reads location, severity. Outputs units, dispatchTime.
2 tests cover valid inputs, boundary values, null handling, and error paths.
mvn testRun this example: see RUNNING.md for setup, build, and CLI instructions.