Audience: Engineers. What this answers: the announcement model, audience/email/read mechanics, and the Welcome-Message = onboarding-note tie.
Source:
AnnouncementService.cs(943),AdminAnnouncementsService.cs(430),Welcome_MessagesService.cs(198), theAnnouncement*/OnboardingNoteentities (TenantDb),AnnouncementModel.cs, plus a live pass 2026-07-21.
CompanyId-scoped)Announcement Subject, Contents, Audience (string), AudienceDescription
└──(delivery)──▶ EmployeeAnnouncement PersonId, AnnouncementId, IsRead, ReadDate
AnnouncementGroup ──< AnnouncementGroupPerson ──> Person (reusable audience)
AnnouncementAudience (audience-type lookup)
Announcement.Audience stores the type (Custom/Department/Gender/Group/Workplace); AudienceDescription the human summary.EmployeeAnnouncement per person — that's the delivery + read-tracking record.AnnouncementAudienceParams)| Const | Resolves to |
|---|---|
CUSTOM |
Hand-picked PersonIds |
DEPARTMENT |
People in a department |
GENDER |
People of a gender |
GROUP |
An AnnouncementGroup's members |
WORKPLACE |
People at a workplace |
GetAudiences (POST) resolves a type + selection into the target people; the frontend's step 3 (Choose audience type → Choose employees, Add all/Remove all) drives it.
Two behaviours beyond an in-app post (RFD-002):
Finish triggers both the in-app EmployeeAnnouncement rows and an email send.EmployeeAnnouncement.IsRead + ReadDate; the Read endpoint marks a recipient's copy read. Admins query these for uptake.AnnouncementGroup + AnnouncementGroupPerson are a named, reusable recipient list. Endpoints: Add_Group, Update_Group_Members, Update_Group_Name, Delete_Group, Check_Group, SelectGroups/GetGroups. Targeting Audience = Group resolves to the group's members.
Add / CreateAnnouncement → Save (content) → Finish (publish: fan-out + email)
Read → mark a recipient's copy read
Delete / Remove / Restore → soft-delete lifecycle
View/Detail, View/Customize, View/Groups, Select → reads
Welcome_MessagesService is a thin wrapper over the note service: