Skip to main content
Every trip in PlaneConnection follows a defined lifecycle beginning in Draft status, progressing through quoting, scheduling, dispatch, and flight, and ending in completion or cancellation. Trip statuses govern dispatch availability, crew commitment, and scheduling visibility across the operations module.

Status Summary

The platform implements 12 trip statuses. The status field is defined in the database schema and enforced by the Zod validation layer and state machine transition rules.
StatusAPI ValueDispatch ImpactDescription
DraftdraftNoneTrip is saved but not yet submitted for review.
QuotedquotedNoneTrip has been quoted to a client. Awaiting client approval before scheduling.
RequestedrequestedNoneA trip has been requested (by operator or customer) but not yet confirmed by dispatch.
ConfirmedconfirmedSoft holdTrip has been confirmed. Aircraft and crew commitment begins.
ScheduledscheduledSoft holdTrip is on the schedule. Aircraft and crew are tentatively assigned.
ReleasedreleasedFirm holdTrip has been released to crew. Flight release checklist is issued or pending.
FiledfiledFirm holdFlight plan has been filed with ATC. Trip is ready for dispatch per 14 CFR 135.77.
DispatcheddispatchedCommittedOperational release issued with dual authorization (dispatcher + PIC). Departure is imminent.
ActiveactiveCommittedTrip is in progress — at least one leg has departed.
Close-outclose_outCommittedAll legs have landed. Post-flight paperwork, fuel receipts, and logs are being finalized.
CompletedcompletedReleasedAll legs have been flown and post-flight data recorded. Terminal state — cannot be changed.
CancelledcancelledReleasedTrip will not take place. Resources are freed. Can be reopened to Draft.
The platform also supports non-flight trip types (estimate, aircraft_note, calendar_note) in addition to standard flight types (charter, owner, maintenance, positioning, training). Non-flight types use the same status system but may not progress through all stages.

Trip Lifecycle

The trip lifecycle has two entry points: operators create trips starting in Draft, while customers submit trip requests that enter a lightweight qualification workflow before a trip is confirmed.

Request qualification workflow

Trip requests move through a separate review flow before they become operational trips:
Request statusMeaning
RequestedA customer or internal requester submitted the request.
Under ReviewDispatch is evaluating feasibility and preparing the next step.
QuotedA quote workflow is in progress or has been sent to the customer.
AcceptedThe request has been converted into a trip or explicitly accepted by dispatch.
DeclinedDispatch declined the request.
CancelledThe requester or dispatcher cancelled the request before acceptance.
Once a request becomes a trip, the trip itself follows the lifecycle below.

Status Transition Rules

The transition rules are enforced by the trip state machine (TRIP_STATUS_TRANSITIONS). The table below shows all valid transitions.
FromToPermitted RolesConditions
DraftQuoted, Requested, Confirmed, CancelledCreator, Dispatcher, AdminQuote prepared, submitted for review, or confirmed directly
QuotedRequested, Confirmed, Draft, CancelledDispatcher, AdminClient approves, accepts quote, revision needed, or quote declined
RequestedConfirmed, Draft, CancelledDispatcher, AdminDispatch confirms, returns to draft, or denies request
ConfirmedScheduled, CancelledDispatcher, AdminAircraft and crew tentatively assigned, or trip cancelled
ScheduledReleased, CancelledDispatcher, AdminTrip released to crew, or trip cancelled
ReleasedFiled, Scheduled, CancelledDispatcher, Admin, PICFlight plan filed, pulled back for rescheduling, or trip cancelled
FiledDispatched, Released, CancelledDispatcher, Admin, PICDual authorization complete, pulled back before dispatch, or trip cancelled
DispatchedActive, Filed, CancelledDispatcher, Admin, PICFirst leg departure, pulled back before departure, or trip cancelled
ActiveClose-outDispatcher, Admin, PICAll legs have landed; cannot cancel while in flight
Close-outCompletedDispatcher, Admin, PICPost-flight data entered and finalized (14 CFR 135.63)
Completed(none)Terminal state — no further transitions
CancelledDraftDispatcher, AdminReopen cancelled trip as a new draft
Active trips cannot be cancelled. This is a safety constraint — you cannot cancel a trip while aircraft are in flight. If a leg must be diverted or cut short, the trip remains Active until all legs land, then transitions to Close-out.
Completed is a locked terminal state. Unlike Cancelled (which can be reopened to Draft), a completed trip cannot be modified. A new trip must be created instead.

Pipeline Stages

The trip pipeline displays 11 stages (excluding Cancelled) in the dispatch pipeline view, numbered sequentially:
StageStatusLabel
1draftDraft
2quotedQuoted
3requestedRequested
4confirmedConfirmed
5scheduledScheduled
6releasedReleased
7filedFiled
8dispatchedDispatched
9activeActive
10close_outClose-out
11completedCompleted

Dual-Authorization Dispatch

The transition from Filed to Dispatched requires dual authorization per 14 CFR 135.77. Both the dispatcher and the pilot-in-command must independently approve the operational release before the trip can be dispatched.
AuthorizationWhoWhat they confirm
DispatcherDispatcher or AdminWeather, NOTAMs, crew duty compliance, aircraft airworthiness, fuel plan
PICPilot-in-CommandAcceptance of the flight release, route review, personal fitness for duty
The same person cannot serve as both dispatcher and PIC for the same trip. Each authorization is timestamped and recorded on the trip for audit purposes.
A trip cannot advance to Dispatched until both authorizations are recorded. If either party has concerns, the trip remains in Filed status until the issue is resolved or the trip is pulled back to Released.

Leg-Level vs Trip-Level Status

A trip consists of one or more legs. Legs carry their own status independently from the trip.
Leg StatusAPI ValueDescription
ScheduledscheduledLeg is planned but has not departed.
ActiveactiveLeg is in progress — departed but not yet arrived.
CompletedcompletedLeg has arrived and post-flight data is recorded.
CancelledcancelledLeg will not be flown.

Derivation Rules

ConditionTrip Status
All legs are scheduledConfirmed (or Scheduled, depending on validation state)
At least one leg is activeActive
All legs are completedClose-out (pending post-flight finalization)
All legs are cancelledCancelled
Mix of completed and cancelled (none scheduled or active)Close-out

Trip Record Fields

FieldTypeRequiredDescription
trip_numberStringAutoUnique trip identifier (e.g., TRP-2026-0142).
statusEnumAutoCurrent lifecycle status (defaults to draft).
trip_typeEnumNoCharter, owner, maintenance, positioning, training, estimate, aircraft_note, or calendar_note.
aircraft_idReferenceYes (at Scheduled)Assigned aircraft tail number.
originStringYesDeparture airport ICAO code.
destinationStringYesArrival airport ICAO code.
departure_atTimestampNoPlanned departure date and time.
arrival_atTimestampNoPlanned arrival date and time.
requested_byStringNoPerson or entity that requested the trip.
department_idStringNoOptional department association.
quote_idStringNoLinked quote (for charter trips).
estimated_costRealNoEstimated trip cost.
notesTextNoInternal notes (BlockNote JSON format).
versionIntegerAutoOptimistic locking version counter.
created_atTimestampAutoRecord creation timestamp (UTC).
updated_atTimestampAutoLast modification timestamp (UTC).

Scheduling Conflict Detection

When a trip transitions to Scheduled or Confirmed, the system checks for conflicts:
Conflict TypeDetection RuleResolution
Aircraft double-bookingSame aircraft assigned to overlapping time windowsWarning at Scheduled; blocked at Confirmed
Crew double-bookingSame crew member assigned to overlapping tripsWarning at Scheduled; blocked at Confirmed
Duty time exceedanceCrew assignment would exceed 14 CFR Part 135 Subpart F limitsBlocked at Confirmed
Aircraft maintenanceAircraft is in maintenance status during trip windowBlocked at Scheduled

Create a Trip

Trip creation and confirmation.

Your First Trip

Tutorial walkthrough of the trip lifecycle.

Aircraft Statuses

How aircraft availability affects trip scheduling.

Dispatch Statuses

Real-time dispatch states for aircraft and FRAT assessments.
Last modified on April 8, 2026