From 9eb2f840d24b81aec6fb4e278442d6bae530888f Mon Sep 17 00:00:00 2001 From: Aaron Herman Date: Thu, 5 Jun 2025 13:38:42 -0500 Subject: [PATCH] fix(events): Update prompt should only be for events --- src/dispatch/case/flows.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/dispatch/case/flows.py b/src/dispatch/case/flows.py index bf627bd52ca4..38381bd26e4c 100644 --- a/src/dispatch/case/flows.py +++ b/src/dispatch/case/flows.py @@ -308,10 +308,11 @@ def case_new_create_flow( f"Failed to get oncall service: {e}. Falling back to default oncall_name string." ) + # send a message to the channel to inform them that they can engage the oncall send_event_paging_message(case, db_session, oncall_name) - # send reminder to assignee to update the security event - send_event_update_prompt_reminder(case, db_session) + # send ephemeral message to assignee to update the security event + send_event_update_prompt_reminder(case, db_session) if case and case.case_type.auto_close: # we transition the case to the closed state if its case type has auto close enabled