Skip to content
This repository was archived by the owner on Sep 3, 2025. It is now read-only.

Conversation

@aliciamatsumoto
Copy link
Contributor

These changes extend signal instances to be able to override their underlying signal definitions' configurations for conversation target and on-call service, revising a signal instance's attribute assignment logic to make assignments from the most specific entity's configurations to the least specific's: assign conversation target and on-call service based on the instance's configurations, falling back to the signal's, falling back to the case type's.

Changes

  • Added conversation_target and oncall_service to the SignalInstance model
  • Updated signal_instance_create_flow to use new attribute assignment logic (included updates to a few upstream functions to accommodate serialization nuances)

Database changes

  • Added conversation_target string and oncall_service_id foreign key to signal_instance table via Alembic.

No UI changes since signal instances cannot be created in the UI.

@aliciamatsumoto aliciamatsumoto added the enhancement New feature or request label Jan 7, 2025
…8e213a2c4.py

Co-authored-by: David Whittaker <84562015+whitdog47@users.noreply.github.com>
Signed-off-by: Alicia Matsumoto <56315176+aliciamatsumoto@users.noreply.github.com>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants