Skip to content
This repository was archived by the owner on Sep 3, 2025. It is now read-only.
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions src/dispatch/case/flows.py
Original file line number Diff line number Diff line change
Expand Up @@ -685,6 +685,16 @@ def common_escalate_flow(
participant_emails=[participant.individual.email],
)

# Add the participant to the incident tactical group if active
if participant.active_roles:
group_flows.update_group(
subject=incident,
group=incident.tactical_group,
group_action=GroupAction.add_member,
group_member=participant.individual.email,
db_session=db_session,
)

if case.has_channel:
# depends on `incident_create_flow()` (we need incident.name), so we invoke after we call it
send_escalation_messages_for_channel_case(
Expand Down