Skip to content

Emission States

The platform uses an event_status field to track the current state of an emission and how it is being handled by an operator.

Internally, the event_status field is tied to the Event model, which has a 1-to-1 relationship with the detected emission (EmissionRecord model) per operator.

States

Main states

StateDescription
NEWNew events, shortly after being matched, but not yet handled by operators. This is the default entry state when workflow automation is disabled.
WORK_IN_PROGRESSAfter an event is assigned, it is marked as "In progress".
WAITING_APPROVAL(conditional) If the approval workflow is enabled, this step signals that a person with reviewer permissions needs to take an action and either approve or reject the work done by the main assignee.
COMPLETEDSignals that all work related to this emission, including investigation and follow-up, is complete. This is an end state.
ARCHIVEDMarks that this emission will not be investigated by the company. Events can only reach this state through automation or a Django Admin action. This is an end state.
REJECTEDWhen the Site field is marked as empty ("Not related to my infrastructure"), the event is marked as REJECTED so it can be excluded from statistics. This is an end state.
LINKEDSignals that this emission has been linked to another event and is not the main event. When an emission is linked, the contents of the notes and attachments sections are copied over to the main event. This is a terminal state — it cannot be transitioned to any other status.

Additional states

StateDescription
CREATEDWhen workflow automation is enabled, events are created with this state instead of NEW. This allows the workflow engine to process events (including auto-archiving) before they appear in operator queues. The workflow manager transitions events from CREATED to NEW or other states via configured AUTO transitions.

State transitions

The allowed transitions depend on whether the approval workflow is enabled for the company. The approval flow adds a mandatory review step before an event can be completed.

Standard flow (no approval)

In the standard flow, an assignee can move an event directly from NEW or WORK_IN_PROGRESS to COMPLETED without a review step.

WAITING_APPROVAL in the standard flow

The WAITING_APPROVAL state exists in the standard flow but is not reachable through the UI. It can only be set by the workflow automation engine via a configured AUTO or MANUAL transition.

Approval flow

The approval flow is enabled per company by setting approval_flow_enabled: true in the company's permissions field. See Reviewer flow setup for configuration instructions.

Key differences

AspectStandard flowApproval flow
Path to completionNEWWORK_IN_PROGRESSCOMPLETEDNEWWORK_IN_PROGRESSWAITING_APPROVALCOMPLETED
Direct completion from WORK_IN_PROGRESSYesNo — must go through WAITING_APPROVAL
Rejection from WORK_IN_PROGRESSYesNo — rejection happens at the WAITING_APPROVAL stage
WAITING_APPROVAL transitionsNot reachable via UIRequires emission_event_approve permission

Permissions

PermissionRequired forScope
emission_event_archiveTransitioning from NEW to ARCHIVEDStandard and approval flow
emission_event_approveAll transitions from WAITING_APPROVALApproval flow only

See User management for details on configuring permissions via CSV import.

Terminal and end states

  • LINKED is a true terminal state — no transitions out of it are defined in either flow.
  • COMPLETED, ARCHIVED, and REJECTED are end states, but they can be reopened back to WORK_IN_PROGRESS if further investigation is needed.

Entry states

The initial state of a new event depends on whether workflow automation is enabled:

SettingEntry stateBehavior
Workflow automation enabledCREATEDEvents are processed by the workflow manager before appearing in operator queues. The manager evaluates AUTO transitions (e.g. CREATEDNEW) and may auto-archive or auto-link events.
Workflow automation disabledNEWEvents appear immediately in operator queues after matching.

When workflow automation is enabled, the workflow-automation-enabled waffle switch must be active. See Flags and Switches and Scheduled Jobs for details.