Inside hosted service - for nsq


Started the consumer service and handler for NSQ


Notification event with message ID 18209b9cc3ec3000 received: {"TemplateId":24,"EntityType":"safety_alerts","EventType":null,"NotifyRoleId":601,"NotifyUserId":null,"NotifyDynamicActor":null,"EntityContext":{"Parameters":{"alertId":"742","orgId":"267","alertLink":"https://sandbox.oqsha.com/#/safety-alerts-v2/edit-safety-alert-v2/742","EmailFooter":"OQSHA Team","UserName":"Derek Cope","description":""}},"ActorContext":null,"Metadata":null}


Started processing notification for message ID 18209b9cc3ec3000


Looking up the notification handler for message ID 18209b9cc3ec3000


Event handling in process for message ID 18209b9cc3ec3000


Dispatching the notifications for message ID 18209b9cc3ec3000


Successfully processed notification for message ID 18209b9cc3ec3000


Notification event with message ID 18209b9cc4ac3000 received: {"TemplateId":1,"EntityType":"safety_alerts","EventType":null,"NotifyRoleId":601,"NotifyUserId":null,"NotifyDynamicActor":null,"EntityContext":{"Parameters":{"alertId":"742","orgId":"267","alertLink":"https://sandbox.oqsha.com/#/safety-alerts-v2/edit-safety-alert-v2/742","EmailFooter":"OQSHA Team","UserName":"Derek Cope","description":""}},"ActorContext":null,"Metadata":null}


Started processing notification for message ID 18209b9cc4ac3000


Looking up the notification handler for message ID 18209b9cc4ac3000


Event handling in process for message ID 18209b9cc4ac3000


Dispatching the notifications for message ID 18209b9cc4ac3000


Successfully processed notification for message ID 18209b9cc4ac3000


Notification event with message ID 18209f97e1ec3000 received: {"TemplateId":1,"EntityType":"safety_alerts","EventType":null,"NotifyRoleId":601,"NotifyUserId":null,"NotifyDynamicActor":null,"EntityContext":{"Parameters":{"alertId":"743","orgId":"267","alertLink":"https://sandbox.oqsha.com/#/safety-alerts-v2/edit-safety-alert-v2/743","EmailFooter":"OQSHA Team","UserName":"Derek Cope","description":""}},"ActorContext":null,"Metadata":null}


Started processing notification for message ID 18209f97e1ec3000


Looking up the notification handler for message ID 18209f97e1ec3000


Event handling in process for message ID 18209f97e1ec3000


Dispatching the notifications for message ID 18209f97e1ec3000


Successfully processed notification for message ID 18209f97e1ec3000


Notification event with message ID 18209f97e26c3000 received: {"TemplateId":24,"EntityType":"safety_alerts","EventType":null,"NotifyRoleId":601,"NotifyUserId":null,"NotifyDynamicActor":null,"EntityContext":{"Parameters":{"alertId":"743","orgId":"267","alertLink":"https://sandbox.oqsha.com/#/safety-alerts-v2/edit-safety-alert-v2/743","EmailFooter":"OQSHA Team","UserName":"Derek Cope","description":""}},"ActorContext":null,"Metadata":null}


Started processing notification for message ID 18209f97e26c3000


Looking up the notification handler for message ID 18209f97e26c3000


Event handling in process for message ID 18209f97e26c3000


Dispatching the notifications for message ID 18209f97e26c3000


Successfully processed notification for message ID 18209f97e26c3000


Notification event with message ID 18209fdd21ec3000 received: {"TemplateId":1,"EntityType":"safety_alerts","EventType":null,"NotifyRoleId":601,"NotifyUserId":null,"NotifyDynamicActor":null,"EntityContext":{"Parameters":{"alertId":"744","orgId":"267","alertLink":"https://sandbox.oqsha.com/#/safety-alerts-v2/edit-safety-alert-v2/744","EmailFooter":"OQSHA Team","UserName":"Derek Cope","description":""}},"ActorContext":null,"Metadata":null}


Started processing notification for message ID 18209fdd21ec3000


Looking up the notification handler for message ID 18209fdd21ec3000


Event handling in process for message ID 18209fdd21ec3000


Dispatching the notifications for message ID 18209fdd21ec3000


Successfully processed notification for message ID 18209fdd21ec3000


Notification event with message ID 18209fdd226c3000 received: {"TemplateId":24,"EntityType":"safety_alerts","EventType":null,"NotifyRoleId":601,"NotifyUserId":null,"NotifyDynamicActor":null,"EntityContext":{"Parameters":{"alertId":"744","orgId":"267","alertLink":"https://sandbox.oqsha.com/#/safety-alerts-v2/edit-safety-alert-v2/744","EmailFooter":"OQSHA Team","UserName":"Derek Cope","description":""}},"ActorContext":null,"Metadata":null}


Started processing notification for message ID 18209fdd226c3000


Looking up the notification handler for message ID 18209fdd226c3000


Event handling in process for message ID 18209fdd226c3000


Dispatching the notifications for message ID 18209fdd226c3000


Successfully processed notification for message ID 18209fdd226c3000


Notification event with message ID 1820a05268ac3000 received: {"TemplateId":1,"EntityType":"safety_alerts","EventType":null,"NotifyRoleId":601,"NotifyUserId":null,"NotifyDynamicActor":null,"EntityContext":{"Parameters":{"alertId":"745","orgId":"267","alertLink":"https://sandbox.oqsha.com/#/safety-alerts-v2/edit-safety-alert-v2/745","EmailFooter":"OQSHA Team","UserName":"Derek Cope","description":""}},"ActorContext":null,"Metadata":null}


Started processing notification for message ID 1820a05268ac3000


Looking up the notification handler for message ID 1820a05268ac3000


Event handling in process for message ID 1820a05268ac3000


Dispatching the notifications for message ID 1820a05268ac3000


Successfully processed notification for message ID 1820a05268ac3000


Notification event with message ID 1820a052692c3000 received: {"TemplateId":24,"EntityType":"safety_alerts","EventType":null,"NotifyRoleId":601,"NotifyUserId":null,"NotifyDynamicActor":null,"EntityContext":{"Parameters":{"alertId":"745","orgId":"267","alertLink":"https://sandbox.oqsha.com/#/safety-alerts-v2/edit-safety-alert-v2/745","EmailFooter":"OQSHA Team","UserName":"Derek Cope","description":""}},"ActorContext":null,"Metadata":null}


Started processing notification for message ID 1820a052692c3000


Looking up the notification handler for message ID 1820a052692c3000


Event handling in process for message ID 1820a052692c3000


Dispatching the notifications for message ID 1820a052692c3000


Successfully processed notification for message ID 1820a052692c3000


Notification event with message ID 1820a11e5d2c3000 received: {"TemplateId":4,"EntityType":"safety_alerts","EventType":null,"NotifyRoleId":null,"NotifyUserId":null,"NotifyDynamicActor":"UC_AssignedToPerson","EntityContext":{"Parameters":{"alertId":"745","orgId":"267","alertLink":"https://sandbox.oqsha.com/#/safety-alerts-v2/edit-safety-alert-v2/745","EmailFooter":"OQSHA Team","UserName":" ","Changes":"kkkkk","description":""}},"ActorContext":{"UC_AssignedToPerson":[10747]},"Metadata":null}


Started processing notification for message ID 1820a11e5d2c3000


Looking up the notification handler for message ID 1820a11e5d2c3000


Event handling in process for message ID 1820a11e5d2c3000


Dispatching the notifications for message ID 1820a11e5d2c3000


Successfully processed notification for message ID 1820a11e5d2c3000


Notification event with message ID 1820a11e5dec3000 received: {"TemplateId":2,"EntityType":"safety_alerts","EventType":null,"NotifyRoleId":null,"NotifyUserId":null,"NotifyDynamicActor":"UC_AssignedToPerson","EntityContext":{"Parameters":{"alertId":"745","orgId":"267","alertLink":"https://sandbox.oqsha.com/#/safety-alerts-v2/edit-safety-alert-v2/745","EmailFooter":"OQSHA Team","UserName":" ","Changes":"kkkkk","description":""}},"ActorContext":{"UC_AssignedToPerson":[10747]},"Metadata":null}


Started processing notification for message ID 1820a11e5dec3000


Looking up the notification handler for message ID 1820a11e5dec3000


Event handling in process for message ID 1820a11e5dec3000


Dispatching the notifications for message ID 1820a11e5dec3000


Successfully processed notification for message ID 1820a11e5dec3000


Notification event with message ID 1820a13ca6ac3000 received: {"TemplateId":4,"EntityType":"safety_alerts","EventType":null,"NotifyRoleId":601,"NotifyUserId":null,"NotifyDynamicActor":null,"EntityContext":{"Parameters":{"alertId":"745","orgId":"267","alertLink":"https://sandbox.oqsha.com/#/safety-alerts-v2/edit-safety-alert-v2/745","EmailFooter":"OQSHA Team","UserName":" ","Changes":"mmm","description":""}},"ActorContext":{"UC_AssignedToPerson":[10747]},"Metadata":null}


Started processing notification for message ID 1820a13ca6ac3000


Looking up the notification handler for message ID 1820a13ca6ac3000


Event handling in process for message ID 1820a13ca6ac3000


Dispatching the notifications for message ID 1820a13ca6ac3000


Successfully processed notification for message ID 1820a13ca6ac3000


Notification event with message ID 1820a13ca92c3000 received: {"TemplateId":2,"EntityType":"safety_alerts","EventType":null,"NotifyRoleId":601,"NotifyUserId":null,"NotifyDynamicActor":null,"EntityContext":{"Parameters":{"alertId":"745","orgId":"267","alertLink":"https://sandbox.oqsha.com/#/safety-alerts-v2/edit-safety-alert-v2/745","EmailFooter":"OQSHA Team","UserName":" ","Changes":"mmm","description":""}},"ActorContext":{"UC_AssignedToPerson":[10747]},"Metadata":null}


Started processing notification for message ID 1820a13ca92c3000


Looking up the notification handler for message ID 1820a13ca92c3000


Event handling in process for message ID 1820a13ca92c3000


Dispatching the notifications for message ID 1820a13ca92c3000


Successfully processed notification for message ID 1820a13ca92c3000


Notification event with message ID 1820bd73702c3000 received: {"TemplateId":43,"EntityType":"action_trackers","EventType":null,"NotifyRoleId":null,"NotifyUserId":267,"NotifyDynamicActor":null,"EntityContext":{"Parameters":{"ActionTrackerId":"290","OrgId":"256","ActionTrackerLink":"http://localhost:4200/Organisations/256/Action-Trackers/290","EmailFooter":"OQSHA Team","UserName":"Hebert Eaton"}},"ActorContext":null,"Metadata":null}


Started processing notification for message ID 1820bd73702c3000


Looking up the notification handler for message ID 1820bd73702c3000


Event handling in process for message ID 1820bd73702c3000


Sending message ID 1820bd73702c3000 to DLQ


Dead letter envelope for DLQ message: {"SourceTopic":"notification.orchestrator","SourceChannel":"notification-orchestrator","FailedAtUtc":"2026-08-07T08:21:01.9608765Z","Attempts":1,"ErrorType":"OQSHA.Notification.Orchestrator.Exceptions.PermanentOrchestratorException","ErrorMessage":"Action Tracker ID 290 not found for message ID 1820bd73702c3000","StackTrace":"   at OQSHA.Notification.Orchestrator.NotificationHandlers.ActionTrackersNotificationHandler.FetchActionTrackerAsync(String messageId, Int32 orgId, Int32 actionTrackerId) in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\OQSHA.Notification.Orchestrator\\NotificationHandlers\\ActionTrackersNotificationHandler.cs:line 293\r\n   at OQSHA.Notification.Orchestrator.NotificationHandlers.ActionTrackersNotificationHandler.HandleTemplateBasedAlertNotificationAsync(String messageId, NotificationEventDto request) in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\OQSHA.Notification.Orchestrator\\NotificationHandlers\\ActionTrackersNotificationHandler.cs:line 109\r\n   at OQSHA.Notification.Orchestrator.NotificationHandlers.ActionTrackersNotificationHandler.ProcessEventAsync(String messageId, NotificationEventDto request) in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\OQSHA.Notification.Orchestrator\\NotificationHandlers\\ActionTrackersNotificationHandler.cs:line 51\r\n   at OQSHA.Notification.Orchestrator.Routing.EventRouter.ExecuteAsync(String messageId, NotificationEventDto request) in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\OQSHA.Notification.Orchestrator\\Routing\\EventRouter.cs:line 38\r\n   at OQSHA.Notification.Orchestrator.Worker.OrchestratorMessageHandler.HandleMessage(IMessage message) in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\OQSHA.Notification.Orchestrator\\Worker\\OrchestratorMessageHandler.cs:line 44","OriginalBody":"{\"TemplateId\":43,\"EntityType\":\"action_trackers\",\"EventType\":null,\"NotifyRoleId\":null,\"NotifyUserId\":267,\"NotifyDynamicActor\":null,\"EntityContext\":{\"Parameters\":{\"ActionTrackerId\":\"290\",\"OrgId\":\"256\",\"ActionTrackerLink\":\"http://localhost:4200/Organisations/256/Action-Trackers/290\",\"EmailFooter\":\"OQSHA Team\",\"UserName\":\"Hebert Eaton\"}},\"ActorContext\":null,\"Metadata\":null}"}


Sent message ID 1820bd73702c3000 to DLQ


Notification event with message ID 1820bd7370ac3000 received: {"TemplateId":41,"EntityType":"action_trackers","EventType":null,"NotifyRoleId":null,"NotifyUserId":267,"NotifyDynamicActor":null,"EntityContext":{"Parameters":{"ActionTrackerId":"290","OrgId":"256","ActionTrackerLink":"http://localhost:4200/Organisations/256/Action-Trackers/290","EmailFooter":"OQSHA Team","UserName":"Hebert Eaton"}},"ActorContext":null,"Metadata":null}


Started processing notification for message ID 1820bd7370ac3000


Looking up the notification handler for message ID 1820bd7370ac3000


Event handling in process for message ID 1820bd7370ac3000


Sending message ID 1820bd7370ac3000 to DLQ


Dead letter envelope for DLQ message: {"SourceTopic":"notification.orchestrator","SourceChannel":"notification-orchestrator","FailedAtUtc":"2026-08-07T08:21:02.1735978Z","Attempts":1,"ErrorType":"OQSHA.Notification.Orchestrator.Exceptions.PermanentOrchestratorException","ErrorMessage":"Action Tracker ID 290 not found for message ID 1820bd7370ac3000","StackTrace":"   at OQSHA.Notification.Orchestrator.NotificationHandlers.ActionTrackersNotificationHandler.FetchActionTrackerAsync(String messageId, Int32 orgId, Int32 actionTrackerId) in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\OQSHA.Notification.Orchestrator\\NotificationHandlers\\ActionTrackersNotificationHandler.cs:line 293\r\n   at OQSHA.Notification.Orchestrator.NotificationHandlers.ActionTrackersNotificationHandler.HandleTemplateBasedAlertNotificationAsync(String messageId, NotificationEventDto request) in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\OQSHA.Notification.Orchestrator\\NotificationHandlers\\ActionTrackersNotificationHandler.cs:line 109\r\n   at OQSHA.Notification.Orchestrator.NotificationHandlers.ActionTrackersNotificationHandler.ProcessEventAsync(String messageId, NotificationEventDto request) in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\OQSHA.Notification.Orchestrator\\NotificationHandlers\\ActionTrackersNotificationHandler.cs:line 51\r\n   at OQSHA.Notification.Orchestrator.Routing.EventRouter.ExecuteAsync(String messageId, NotificationEventDto request) in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\OQSHA.Notification.Orchestrator\\Routing\\EventRouter.cs:line 38\r\n   at OQSHA.Notification.Orchestrator.Worker.OrchestratorMessageHandler.HandleMessage(IMessage message) in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\OQSHA.Notification.Orchestrator\\Worker\\OrchestratorMessageHandler.cs:line 44","OriginalBody":"{\"TemplateId\":41,\"EntityType\":\"action_trackers\",\"EventType\":null,\"NotifyRoleId\":null,\"NotifyUserId\":267,\"NotifyDynamicActor\":null,\"EntityContext\":{\"Parameters\":{\"ActionTrackerId\":\"290\",\"OrgId\":\"256\",\"ActionTrackerLink\":\"http://localhost:4200/Organisations/256/Action-Trackers/290\",\"EmailFooter\":\"OQSHA Team\",\"UserName\":\"Hebert Eaton\"}},\"ActorContext\":null,\"Metadata\":null}"}


Sent message ID 1820bd7370ac3000 to DLQ


Notification event with message ID 1820c3afe72c3000 received: {"TemplateId":24,"EntityType":"safety_alerts","EventType":null,"NotifyRoleId":601,"NotifyUserId":null,"NotifyDynamicActor":null,"EntityContext":{"Parameters":{"alertId":"747","orgId":"267","alertLink":"https://sandbox.oqsha.com/#/safety-alerts-v2/edit-safety-alert-v2/747","EmailFooter":"OQSHA Team","UserName":"Derek Cope","description":""}},"ActorContext":null,"Metadata":null}


Started processing notification for message ID 1820c3afe72c3000


Looking up the notification handler for message ID 1820c3afe72c3000


Event handling in process for message ID 1820c3afe72c3000


Dispatching the notifications for message ID 1820c3afe72c3000


Successfully processed notification for message ID 1820c3afe72c3000


Notification event with message ID 1820c3afe7ec3000 received: {"TemplateId":1,"EntityType":"safety_alerts","EventType":null,"NotifyRoleId":601,"NotifyUserId":null,"NotifyDynamicActor":null,"EntityContext":{"Parameters":{"alertId":"747","orgId":"267","alertLink":"https://sandbox.oqsha.com/#/safety-alerts-v2/edit-safety-alert-v2/747","EmailFooter":"OQSHA Team","UserName":"Derek Cope","description":""}},"ActorContext":null,"Metadata":null}


Started processing notification for message ID 1820c3afe7ec3000


Looking up the notification handler for message ID 1820c3afe7ec3000


Event handling in process for message ID 1820c3afe7ec3000


Dispatching the notifications for message ID 1820c3afe7ec3000


Successfully processed notification for message ID 1820c3afe7ec3000


Notification event with message ID 1820c3c706ec3000 received: {"TemplateId":4,"EntityType":"safety_alerts","EventType":null,"NotifyRoleId":null,"NotifyUserId":null,"NotifyDynamicActor":"UA_AssignedToPerson","EntityContext":{"Parameters":{"alertId":"747","orgId":"267","alertLink":"https://sandbox.oqsha.com/#/safety-alerts-v2/edit-safety-alert-v2/747","EmailFooter":"OQSHA Team","UserName":" ","Changes":"mmm","description":""}},"ActorContext":{"UA_AssignedToPerson":[10747]},"Metadata":null}


Started processing notification for message ID 1820c3c706ec3000


Looking up the notification handler for message ID 1820c3c706ec3000


Event handling in process for message ID 1820c3c706ec3000


Dispatching the notifications for message ID 1820c3c706ec3000


Successfully processed notification for message ID 1820c3c706ec3000


Notification event with message ID 1820c3c707ec3000 received: {"TemplateId":2,"EntityType":"safety_alerts","EventType":null,"NotifyRoleId":null,"NotifyUserId":null,"NotifyDynamicActor":"UA_AssignedToPerson","EntityContext":{"Parameters":{"alertId":"747","orgId":"267","alertLink":"https://sandbox.oqsha.com/#/safety-alerts-v2/edit-safety-alert-v2/747","EmailFooter":"OQSHA Team","UserName":" ","Changes":"mmm","description":""}},"ActorContext":{"UA_AssignedToPerson":[10747]},"Metadata":null}


Started processing notification for message ID 1820c3c707ec3000


Looking up the notification handler for message ID 1820c3c707ec3000


Event handling in process for message ID 1820c3c707ec3000


Dispatching the notifications for message ID 1820c3c707ec3000


Successfully processed notification for message ID 1820c3c707ec3000


Notification event with message ID 1820cd28a7ec3000 received: {"TemplateId":1,"EntityType":"safety_alerts","EventType":null,"NotifyRoleId":null,"NotifyUserId":null,"NotifyDynamicActor":null,"EntityContext":{"Parameters":{"alertId":"742","orgId":"262","alertLink":"https://qa-staging-2.oqsha.com/#/safety-alerts-v2/edit-safety-alert-v2/742","EmailFooter":"OQSHA Team","UserName":"Hebert Eaton","description":""}},"ActorContext":null,"Metadata":null}


Started processing notification for message ID 1820cd28a7ec3000


Looking up the notification handler for message ID 1820cd28a7ec3000


Event handling in process for message ID 1820cd28a7ec3000


Sending message ID 1820cd28a7ec3000 to DLQ


Dead letter envelope for DLQ message: {"SourceTopic":"notification.orchestrator","SourceChannel":"notification-orchestrator","FailedAtUtc":"2026-08-07T09:32:59.6716963Z","Attempts":1,"ErrorType":"OQSHA.Notification.Orchestrator.Exceptions.PermanentOrchestratorException","ErrorMessage":"No recipients received for message ID 1820cd28a7ec3000","StackTrace":"   at OQSHA.Notification.Orchestrator.Services.UsersService.ResolveRecipientsAsync(String messageId, Int32 orgId, NotificationEventDto request) in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\OQSHA.Notification.Orchestrator\\Services\\UsersService.cs:line 84\r\n   at OQSHA.Notification.Orchestrator.Services.UsersService.GetRecipientsWithDetailsAsync(String messageId, Int32 orgId, NotificationEventDto request, NotificationTemplatesDbo notificationTemplate) in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\OQSHA.Notification.Orchestrator\\Services\\UsersService.cs:line 134\r\n   at OQSHA.Notification.Orchestrator.NotificationHandlers.SafetyAlertsNotificationHandler.HandleTemplateBasedAlertNotificationAsync(String messageId, NotificationEventDto request) in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\OQSHA.Notification.Orchestrator\\NotificationHandlers\\SafetyAlertsNotificationHandler.cs:line 75\r\n   at OQSHA.Notification.Orchestrator.NotificationHandlers.SafetyAlertsNotificationHandler.ProcessEventAsync(String messageId, NotificationEventDto request) in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\OQSHA.Notification.Orchestrator\\NotificationHandlers\\SafetyAlertsNotificationHandler.cs:line 45\r\n   at OQSHA.Notification.Orchestrator.Routing.EventRouter.ExecuteAsync(String messageId, NotificationEventDto request) in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\OQSHA.Notification.Orchestrator\\Routing\\EventRouter.cs:line 38\r\n   at OQSHA.Notification.Orchestrator.Worker.OrchestratorMessageHandler.HandleMessage(IMessage message) in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\OQSHA.Notification.Orchestrator\\Worker\\OrchestratorMessageHandler.cs:line 44","OriginalBody":"{\"TemplateId\":1,\"EntityType\":\"safety_alerts\",\"EventType\":null,\"NotifyRoleId\":null,\"NotifyUserId\":null,\"NotifyDynamicActor\":null,\"EntityContext\":{\"Parameters\":{\"alertId\":\"742\",\"orgId\":\"262\",\"alertLink\":\"https://qa-staging-2.oqsha.com/#/safety-alerts-v2/edit-safety-alert-v2/742\",\"EmailFooter\":\"OQSHA Team\",\"UserName\":\"Hebert Eaton\",\"description\":\"\"}},\"ActorContext\":null,\"Metadata\":null}"}


Sent message ID 1820cd28a7ec3000 to DLQ


Notification event with message ID 1820cd28a82c3000 received: {"TemplateId":3,"EntityType":"safety_alerts","EventType":null,"NotifyRoleId":null,"NotifyUserId":null,"NotifyDynamicActor":null,"EntityContext":{"Parameters":{"alertId":"742","orgId":"262","alertLink":"https://qa-staging-2.oqsha.com/#/safety-alerts-v2/edit-safety-alert-v2/742","EmailFooter":"OQSHA Team","UserName":"Hebert Eaton","description":""}},"ActorContext":null,"Metadata":null}


Started processing notification for message ID 1820cd28a82c3000


Looking up the notification handler for message ID 1820cd28a82c3000


Event handling in process for message ID 1820cd28a82c3000


Sending message ID 1820cd28a82c3000 to DLQ


Dead letter envelope for DLQ message: {"SourceTopic":"notification.orchestrator","SourceChannel":"notification-orchestrator","FailedAtUtc":"2026-08-07T09:32:59.8241757Z","Attempts":1,"ErrorType":"OQSHA.Notification.Orchestrator.Exceptions.PermanentOrchestratorException","ErrorMessage":"No recipients received for message ID 1820cd28a82c3000","StackTrace":"   at OQSHA.Notification.Orchestrator.Services.UsersService.ResolveRecipientsAsync(String messageId, Int32 orgId, NotificationEventDto request) in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\OQSHA.Notification.Orchestrator\\Services\\UsersService.cs:line 84\r\n   at OQSHA.Notification.Orchestrator.Services.UsersService.GetRecipientsWithDetailsAsync(String messageId, Int32 orgId, NotificationEventDto request, NotificationTemplatesDbo notificationTemplate) in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\OQSHA.Notification.Orchestrator\\Services\\UsersService.cs:line 134\r\n   at OQSHA.Notification.Orchestrator.NotificationHandlers.SafetyAlertsNotificationHandler.HandleTemplateBasedAlertNotificationAsync(String messageId, NotificationEventDto request) in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\OQSHA.Notification.Orchestrator\\NotificationHandlers\\SafetyAlertsNotificationHandler.cs:line 75\r\n   at OQSHA.Notification.Orchestrator.NotificationHandlers.SafetyAlertsNotificationHandler.ProcessEventAsync(String messageId, NotificationEventDto request) in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\OQSHA.Notification.Orchestrator\\NotificationHandlers\\SafetyAlertsNotificationHandler.cs:line 45\r\n   at OQSHA.Notification.Orchestrator.Routing.EventRouter.ExecuteAsync(String messageId, NotificationEventDto request) in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\OQSHA.Notification.Orchestrator\\Routing\\EventRouter.cs:line 38\r\n   at OQSHA.Notification.Orchestrator.Worker.OrchestratorMessageHandler.HandleMessage(IMessage message) in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\OQSHA.Notification.Orchestrator\\Worker\\OrchestratorMessageHandler.cs:line 44","OriginalBody":"{\"TemplateId\":3,\"EntityType\":\"safety_alerts\",\"EventType\":null,\"NotifyRoleId\":null,\"NotifyUserId\":null,\"NotifyDynamicActor\":null,\"EntityContext\":{\"Parameters\":{\"alertId\":\"742\",\"orgId\":\"262\",\"alertLink\":\"https://qa-staging-2.oqsha.com/#/safety-alerts-v2/edit-safety-alert-v2/742\",\"EmailFooter\":\"OQSHA Team\",\"UserName\":\"Hebert Eaton\",\"description\":\"\"}},\"ActorContext\":null,\"Metadata\":null}"}


Sent message ID 1820cd28a82c3000 to DLQ


Notification event with message ID 1820d1e9d1ac3000 received: {"TemplateId":1,"EntityType":"safety_alerts","EventType":null,"NotifyRoleId":489,"NotifyUserId":null,"NotifyDynamicActor":null,"EntityContext":{"Parameters":{"alertId":"748","orgId":"262","alertLink":"https://sandbox.oqsha.com/#/safety-alerts-v2/edit-safety-alert-v2/748","EmailFooter":"OQSHA Team","UserName":"Hebert Eaton","description":""}},"ActorContext":null,"Metadata":null}


Started processing notification for message ID 1820d1e9d1ac3000


Looking up the notification handler for message ID 1820d1e9d1ac3000


Event handling in process for message ID 1820d1e9d1ac3000


Dispatching the notifications for message ID 1820d1e9d1ac3000


Successfully processed notification for message ID 1820d1e9d1ac3000


Notification event with message ID 1820d1e9d26c3000 received: {"TemplateId":24,"EntityType":"safety_alerts","EventType":null,"NotifyRoleId":489,"NotifyUserId":null,"NotifyDynamicActor":null,"EntityContext":{"Parameters":{"alertId":"748","orgId":"262","alertLink":"https://sandbox.oqsha.com/#/safety-alerts-v2/edit-safety-alert-v2/748","EmailFooter":"OQSHA Team","UserName":"Hebert Eaton","description":""}},"ActorContext":null,"Metadata":null}


Started processing notification for message ID 1820d1e9d26c3000


Looking up the notification handler for message ID 1820d1e9d26c3000


Event handling in process for message ID 1820d1e9d26c3000


Dispatching the notifications for message ID 1820d1e9d26c3000


Successfully processed notification for message ID 1820d1e9d26c3000


Notification event with message ID 1820d1f510ec3000 received: {"TemplateId":6,"EntityType":"safety_alerts","EventType":null,"NotifyRoleId":null,"NotifyUserId":null,"NotifyDynamicActor":"AssignedUser","EntityContext":{"Parameters":{"alertId":"748","orgId":"262","alertLink":"https://sandbox.oqsha.com/#/safety-alerts-v2/edit-safety-alert-v2/748","EmailFooter":"OQSHA Team","UserName":" ","Changes":"test","description":""}},"ActorContext":{},"Metadata":null}


Started processing notification for message ID 1820d1f510ec3000


Looking up the notification handler for message ID 1820d1f510ec3000


Event handling in process for message ID 1820d1f510ec3000


Sending message ID 1820d1f510ec3000 to DLQ


Dead letter envelope for DLQ message: {"SourceTopic":"notification.orchestrator","SourceChannel":"notification-orchestrator","FailedAtUtc":"2026-08-07T09:54:58.6636698Z","Attempts":1,"ErrorType":"OQSHA.Notification.Orchestrator.Exceptions.PermanentOrchestratorException","ErrorMessage":"Unable to find any user IDs for dynamic actor AssignedUser for message ID 1820d1f510ec3000","StackTrace":"   at OQSHA.Notification.Orchestrator.Services.UsersService.ResolveRecipientsAsync(String messageId, Int32 orgId, NotificationEventDto request) in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\OQSHA.Notification.Orchestrator\\Services\\UsersService.cs:line 71\r\n   at OQSHA.Notification.Orchestrator.Services.UsersService.GetRecipientsWithDetailsAsync(String messageId, Int32 orgId, NotificationEventDto request, NotificationTemplatesDbo notificationTemplate) in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\OQSHA.Notification.Orchestrator\\Services\\UsersService.cs:line 134\r\n   at OQSHA.Notification.Orchestrator.NotificationHandlers.SafetyAlertsNotificationHandler.HandleTemplateBasedAlertNotificationAsync(String messageId, NotificationEventDto request) in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\OQSHA.Notification.Orchestrator\\NotificationHandlers\\SafetyAlertsNotificationHandler.cs:line 75\r\n   at OQSHA.Notification.Orchestrator.NotificationHandlers.SafetyAlertsNotificationHandler.ProcessEventAsync(String messageId, NotificationEventDto request) in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\OQSHA.Notification.Orchestrator\\NotificationHandlers\\SafetyAlertsNotificationHandler.cs:line 45\r\n   at OQSHA.Notification.Orchestrator.Routing.EventRouter.ExecuteAsync(String messageId, NotificationEventDto request) in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\OQSHA.Notification.Orchestrator\\Routing\\EventRouter.cs:line 38\r\n   at OQSHA.Notification.Orchestrator.Worker.OrchestratorMessageHandler.HandleMessage(IMessage message) in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\OQSHA.Notification.Orchestrator\\Worker\\OrchestratorMessageHandler.cs:line 44","OriginalBody":"{\"TemplateId\":6,\"EntityType\":\"safety_alerts\",\"EventType\":null,\"NotifyRoleId\":null,\"NotifyUserId\":null,\"NotifyDynamicActor\":\"AssignedUser\",\"EntityContext\":{\"Parameters\":{\"alertId\":\"748\",\"orgId\":\"262\",\"alertLink\":\"https://sandbox.oqsha.com/#/safety-alerts-v2/edit-safety-alert-v2/748\",\"EmailFooter\":\"OQSHA Team\",\"UserName\":\" \",\"Changes\":\"test\",\"description\":\"\"}},\"ActorContext\":{},\"Metadata\":null}"}


Sent message ID 1820d1f510ec3000 to DLQ


Notification event with message ID 1820d1f5112c3000 received: {"TemplateId":8,"EntityType":"safety_alerts","EventType":null,"NotifyRoleId":null,"NotifyUserId":null,"NotifyDynamicActor":"AssignedUser","EntityContext":{"Parameters":{"alertId":"748","orgId":"262","alertLink":"https://sandbox.oqsha.com/#/safety-alerts-v2/edit-safety-alert-v2/748","EmailFooter":"OQSHA Team","UserName":" ","Changes":"test","description":""}},"ActorContext":{},"Metadata":null}


Started processing notification for message ID 1820d1f5112c3000


Looking up the notification handler for message ID 1820d1f5112c3000


Event handling in process for message ID 1820d1f5112c3000


Sending message ID 1820d1f5112c3000 to DLQ


Dead letter envelope for DLQ message: {"SourceTopic":"notification.orchestrator","SourceChannel":"notification-orchestrator","FailedAtUtc":"2026-08-07T09:54:58.8027692Z","Attempts":1,"ErrorType":"OQSHA.Notification.Orchestrator.Exceptions.PermanentOrchestratorException","ErrorMessage":"Unable to find any user IDs for dynamic actor AssignedUser for message ID 1820d1f5112c3000","StackTrace":"   at OQSHA.Notification.Orchestrator.Services.UsersService.ResolveRecipientsAsync(String messageId, Int32 orgId, NotificationEventDto request) in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\OQSHA.Notification.Orchestrator\\Services\\UsersService.cs:line 71\r\n   at OQSHA.Notification.Orchestrator.Services.UsersService.GetRecipientsWithDetailsAsync(String messageId, Int32 orgId, NotificationEventDto request, NotificationTemplatesDbo notificationTemplate) in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\OQSHA.Notification.Orchestrator\\Services\\UsersService.cs:line 134\r\n   at OQSHA.Notification.Orchestrator.NotificationHandlers.SafetyAlertsNotificationHandler.HandleTemplateBasedAlertNotificationAsync(String messageId, NotificationEventDto request) in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\OQSHA.Notification.Orchestrator\\NotificationHandlers\\SafetyAlertsNotificationHandler.cs:line 75\r\n   at OQSHA.Notification.Orchestrator.NotificationHandlers.SafetyAlertsNotificationHandler.ProcessEventAsync(String messageId, NotificationEventDto request) in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\OQSHA.Notification.Orchestrator\\NotificationHandlers\\SafetyAlertsNotificationHandler.cs:line 45\r\n   at OQSHA.Notification.Orchestrator.Routing.EventRouter.ExecuteAsync(String messageId, NotificationEventDto request) in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\OQSHA.Notification.Orchestrator\\Routing\\EventRouter.cs:line 38\r\n   at OQSHA.Notification.Orchestrator.Worker.OrchestratorMessageHandler.HandleMessage(IMessage message) in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\OQSHA.Notification.Orchestrator\\Worker\\OrchestratorMessageHandler.cs:line 44","OriginalBody":"{\"TemplateId\":8,\"EntityType\":\"safety_alerts\",\"EventType\":null,\"NotifyRoleId\":null,\"NotifyUserId\":null,\"NotifyDynamicActor\":\"AssignedUser\",\"EntityContext\":{\"Parameters\":{\"alertId\":\"748\",\"orgId\":\"262\",\"alertLink\":\"https://sandbox.oqsha.com/#/safety-alerts-v2/edit-safety-alert-v2/748\",\"EmailFooter\":\"OQSHA Team\",\"UserName\":\" \",\"Changes\":\"test\",\"description\":\"\"}},\"ActorContext\":{},\"Metadata\":null}"}


Sent message ID 1820d1f5112c3000 to DLQ


Notification event with message ID 1820db1dc32c3000 received: {"TemplateId":1,"EntityType":"safety_alerts","EventType":null,"NotifyRoleId":489,"NotifyUserId":null,"NotifyDynamicActor":null,"EntityContext":{"Parameters":{"alertId":"743","orgId":"262","alertLink":"https://qa-staging-2.oqsha.com/#/safety-alerts-v2/edit-safety-alert-v2/743","EmailFooter":"OQSHA Team","UserName":"Hebert Eaton","description":""}},"ActorContext":null,"Metadata":null}


Started processing notification for message ID 1820db1dc32c3000


Looking up the notification handler for message ID 1820db1dc32c3000


Event handling in process for message ID 1820db1dc32c3000


Sending message ID 1820db1dc32c3000 to DLQ


Dead letter envelope for DLQ message: {"SourceTopic":"notification.orchestrator","SourceChannel":"notification-orchestrator","FailedAtUtc":"2026-08-07T10:36:56.2721921Z","Attempts":1,"ErrorType":"OQSHA.Notification.Orchestrator.Exceptions.PermanentOrchestratorException","ErrorMessage":"Safety alert ID 743 not found for message ID 1820db1dc32c3000","StackTrace":"   at OQSHA.Notification.Orchestrator.NotificationHandlers.SafetyAlertsNotificationHandler.FetchAlertAsync(String messageId, Int32 orgId, Int32 alertId) in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\OQSHA.Notification.Orchestrator\\NotificationHandlers\\SafetyAlertsNotificationHandler.cs:line 249\r\n   at OQSHA.Notification.Orchestrator.NotificationHandlers.SafetyAlertsNotificationHandler.HandleTemplateBasedAlertNotificationAsync(String messageId, NotificationEventDto request) in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\OQSHA.Notification.Orchestrator\\NotificationHandlers\\SafetyAlertsNotificationHandler.cs:line 87\r\n   at OQSHA.Notification.Orchestrator.NotificationHandlers.SafetyAlertsNotificationHandler.ProcessEventAsync(String messageId, NotificationEventDto request) in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\OQSHA.Notification.Orchestrator\\NotificationHandlers\\SafetyAlertsNotificationHandler.cs:line 45\r\n   at OQSHA.Notification.Orchestrator.Routing.EventRouter.ExecuteAsync(String messageId, NotificationEventDto request) in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\OQSHA.Notification.Orchestrator\\Routing\\EventRouter.cs:line 38\r\n   at OQSHA.Notification.Orchestrator.Worker.OrchestratorMessageHandler.HandleMessage(IMessage message) in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\OQSHA.Notification.Orchestrator\\Worker\\OrchestratorMessageHandler.cs:line 44","OriginalBody":"{\"TemplateId\":1,\"EntityType\":\"safety_alerts\",\"EventType\":null,\"NotifyRoleId\":489,\"NotifyUserId\":null,\"NotifyDynamicActor\":null,\"EntityContext\":{\"Parameters\":{\"alertId\":\"743\",\"orgId\":\"262\",\"alertLink\":\"https://qa-staging-2.oqsha.com/#/safety-alerts-v2/edit-safety-alert-v2/743\",\"EmailFooter\":\"OQSHA Team\",\"UserName\":\"Hebert Eaton\",\"description\":\"\"}},\"ActorContext\":null,\"Metadata\":null}"}


Sent message ID 1820db1dc32c3000 to DLQ


Notification event with message ID 1820db1dc42c3000 received: {"TemplateId":24,"EntityType":"safety_alerts","EventType":null,"NotifyRoleId":489,"NotifyUserId":null,"NotifyDynamicActor":null,"EntityContext":{"Parameters":{"alertId":"743","orgId":"262","alertLink":"https://qa-staging-2.oqsha.com/#/safety-alerts-v2/edit-safety-alert-v2/743","EmailFooter":"OQSHA Team","UserName":"Hebert Eaton","description":""}},"ActorContext":null,"Metadata":null}


Started processing notification for message ID 1820db1dc42c3000


Looking up the notification handler for message ID 1820db1dc42c3000


Event handling in process for message ID 1820db1dc42c3000


Sending message ID 1820db1dc42c3000 to DLQ


Dead letter envelope for DLQ message: {"SourceTopic":"notification.orchestrator","SourceChannel":"notification-orchestrator","FailedAtUtc":"2026-08-07T10:36:56.5076979Z","Attempts":1,"ErrorType":"OQSHA.Notification.Orchestrator.Exceptions.PermanentOrchestratorException","ErrorMessage":"Safety alert ID 743 not found for message ID 1820db1dc42c3000","StackTrace":"   at OQSHA.Notification.Orchestrator.NotificationHandlers.SafetyAlertsNotificationHandler.FetchAlertAsync(String messageId, Int32 orgId, Int32 alertId) in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\OQSHA.Notification.Orchestrator\\NotificationHandlers\\SafetyAlertsNotificationHandler.cs:line 249\r\n   at OQSHA.Notification.Orchestrator.NotificationHandlers.SafetyAlertsNotificationHandler.HandleTemplateBasedAlertNotificationAsync(String messageId, NotificationEventDto request) in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\OQSHA.Notification.Orchestrator\\NotificationHandlers\\SafetyAlertsNotificationHandler.cs:line 87\r\n   at OQSHA.Notification.Orchestrator.NotificationHandlers.SafetyAlertsNotificationHandler.ProcessEventAsync(String messageId, NotificationEventDto request) in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\OQSHA.Notification.Orchestrator\\NotificationHandlers\\SafetyAlertsNotificationHandler.cs:line 45\r\n   at OQSHA.Notification.Orchestrator.Routing.EventRouter.ExecuteAsync(String messageId, NotificationEventDto request) in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\OQSHA.Notification.Orchestrator\\Routing\\EventRouter.cs:line 38\r\n   at OQSHA.Notification.Orchestrator.Worker.OrchestratorMessageHandler.HandleMessage(IMessage message) in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\OQSHA.Notification.Orchestrator\\Worker\\OrchestratorMessageHandler.cs:line 44","OriginalBody":"{\"TemplateId\":24,\"EntityType\":\"safety_alerts\",\"EventType\":null,\"NotifyRoleId\":489,\"NotifyUserId\":null,\"NotifyDynamicActor\":null,\"EntityContext\":{\"Parameters\":{\"alertId\":\"743\",\"orgId\":\"262\",\"alertLink\":\"https://qa-staging-2.oqsha.com/#/safety-alerts-v2/edit-safety-alert-v2/743\",\"EmailFooter\":\"OQSHA Team\",\"UserName\":\"Hebert Eaton\",\"description\":\"\"}},\"ActorContext\":null,\"Metadata\":null}"}


Sent message ID 1820db1dc42c3000 to DLQ


Notification event with message ID 1820db69392c3000 received: {"TemplateId":1,"EntityType":"safety_alerts","EventType":null,"NotifyRoleId":489,"NotifyUserId":null,"NotifyDynamicActor":null,"EntityContext":{"Parameters":{"alertId":"744","orgId":"262","alertLink":"https://qa-staging-2.oqsha.com/#/safety-alerts-v2/edit-safety-alert-v2/744","EmailFooter":"OQSHA Team","UserName":"Hebert Eaton","description":""}},"ActorContext":null,"Metadata":null}


Started processing notification for message ID 1820db69392c3000


Looking up the notification handler for message ID 1820db69392c3000


Event handling in process for message ID 1820db69392c3000


Sending message ID 1820db69392c3000 to DLQ


Dead letter envelope for DLQ message: {"SourceTopic":"notification.orchestrator","SourceChannel":"notification-orchestrator","FailedAtUtc":"2026-08-07T10:38:17.2977523Z","Attempts":1,"ErrorType":"OQSHA.Notification.Orchestrator.Exceptions.PermanentOrchestratorException","ErrorMessage":"Safety alert ID 744 not found for message ID 1820db69392c3000","StackTrace":"   at OQSHA.Notification.Orchestrator.NotificationHandlers.SafetyAlertsNotificationHandler.FetchAlertAsync(String messageId, Int32 orgId, Int32 alertId) in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\OQSHA.Notification.Orchestrator\\NotificationHandlers\\SafetyAlertsNotificationHandler.cs:line 249\r\n   at OQSHA.Notification.Orchestrator.NotificationHandlers.SafetyAlertsNotificationHandler.HandleTemplateBasedAlertNotificationAsync(String messageId, NotificationEventDto request) in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\OQSHA.Notification.Orchestrator\\NotificationHandlers\\SafetyAlertsNotificationHandler.cs:line 87\r\n   at OQSHA.Notification.Orchestrator.NotificationHandlers.SafetyAlertsNotificationHandler.ProcessEventAsync(String messageId, NotificationEventDto request) in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\OQSHA.Notification.Orchestrator\\NotificationHandlers\\SafetyAlertsNotificationHandler.cs:line 45\r\n   at OQSHA.Notification.Orchestrator.Routing.EventRouter.ExecuteAsync(String messageId, NotificationEventDto request) in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\OQSHA.Notification.Orchestrator\\Routing\\EventRouter.cs:line 38\r\n   at OQSHA.Notification.Orchestrator.Worker.OrchestratorMessageHandler.HandleMessage(IMessage message) in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\OQSHA.Notification.Orchestrator\\Worker\\OrchestratorMessageHandler.cs:line 44","OriginalBody":"{\"TemplateId\":1,\"EntityType\":\"safety_alerts\",\"EventType\":null,\"NotifyRoleId\":489,\"NotifyUserId\":null,\"NotifyDynamicActor\":null,\"EntityContext\":{\"Parameters\":{\"alertId\":\"744\",\"orgId\":\"262\",\"alertLink\":\"https://qa-staging-2.oqsha.com/#/safety-alerts-v2/edit-safety-alert-v2/744\",\"EmailFooter\":\"OQSHA Team\",\"UserName\":\"Hebert Eaton\",\"description\":\"\"}},\"ActorContext\":null,\"Metadata\":null}"}


Sent message ID 1820db69392c3000 to DLQ


Notification event with message ID 1820db6939ec3000 received: {"TemplateId":24,"EntityType":"safety_alerts","EventType":null,"NotifyRoleId":489,"NotifyUserId":null,"NotifyDynamicActor":null,"EntityContext":{"Parameters":{"alertId":"744","orgId":"262","alertLink":"https://qa-staging-2.oqsha.com/#/safety-alerts-v2/edit-safety-alert-v2/744","EmailFooter":"OQSHA Team","UserName":"Hebert Eaton","description":""}},"ActorContext":null,"Metadata":null}


Started processing notification for message ID 1820db6939ec3000


Looking up the notification handler for message ID 1820db6939ec3000


Event handling in process for message ID 1820db6939ec3000


Sending message ID 1820db6939ec3000 to DLQ


Dead letter envelope for DLQ message: {"SourceTopic":"notification.orchestrator","SourceChannel":"notification-orchestrator","FailedAtUtc":"2026-08-07T10:38:17.5207972Z","Attempts":1,"ErrorType":"OQSHA.Notification.Orchestrator.Exceptions.PermanentOrchestratorException","ErrorMessage":"Safety alert ID 744 not found for message ID 1820db6939ec3000","StackTrace":"   at OQSHA.Notification.Orchestrator.NotificationHandlers.SafetyAlertsNotificationHandler.FetchAlertAsync(String messageId, Int32 orgId, Int32 alertId) in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\OQSHA.Notification.Orchestrator\\NotificationHandlers\\SafetyAlertsNotificationHandler.cs:line 249\r\n   at OQSHA.Notification.Orchestrator.NotificationHandlers.SafetyAlertsNotificationHandler.HandleTemplateBasedAlertNotificationAsync(String messageId, NotificationEventDto request) in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\OQSHA.Notification.Orchestrator\\NotificationHandlers\\SafetyAlertsNotificationHandler.cs:line 87\r\n   at OQSHA.Notification.Orchestrator.NotificationHandlers.SafetyAlertsNotificationHandler.ProcessEventAsync(String messageId, NotificationEventDto request) in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\OQSHA.Notification.Orchestrator\\NotificationHandlers\\SafetyAlertsNotificationHandler.cs:line 45\r\n   at OQSHA.Notification.Orchestrator.Routing.EventRouter.ExecuteAsync(String messageId, NotificationEventDto request) in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\OQSHA.Notification.Orchestrator\\Routing\\EventRouter.cs:line 38\r\n   at OQSHA.Notification.Orchestrator.Worker.OrchestratorMessageHandler.HandleMessage(IMessage message) in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\OQSHA.Notification.Orchestrator\\Worker\\OrchestratorMessageHandler.cs:line 44","OriginalBody":"{\"TemplateId\":24,\"EntityType\":\"safety_alerts\",\"EventType\":null,\"NotifyRoleId\":489,\"NotifyUserId\":null,\"NotifyDynamicActor\":null,\"EntityContext\":{\"Parameters\":{\"alertId\":\"744\",\"orgId\":\"262\",\"alertLink\":\"https://qa-staging-2.oqsha.com/#/safety-alerts-v2/edit-safety-alert-v2/744\",\"EmailFooter\":\"OQSHA Team\",\"UserName\":\"Hebert Eaton\",\"description\":\"\"}},\"ActorContext\":null,\"Metadata\":null}"}


Sent message ID 1820db6939ec3000 to DLQ


Notification event with message ID 1820dc53866c3000 received: {"TemplateId":1,"EntityType":"safety_alerts","EventType":null,"NotifyRoleId":null,"NotifyUserId":null,"NotifyDynamicActor":null,"EntityContext":{"Parameters":{"alertId":"745","orgId":"262","alertLink":"https://qa-staging-2.oqsha.com/#/safety-alerts-v2/edit-safety-alert-v2/745","EmailFooter":"OQSHA Team","UserName":"Hebert Eaton","description":"Test "}},"ActorContext":null,"Metadata":null}


Started processing notification for message ID 1820dc53866c3000


Looking up the notification handler for message ID 1820dc53866c3000


Event handling in process for message ID 1820dc53866c3000


Sending message ID 1820dc53866c3000 to DLQ


Dead letter envelope for DLQ message: {"SourceTopic":"notification.orchestrator","SourceChannel":"notification-orchestrator","FailedAtUtc":"2026-08-07T10:42:28.8715045Z","Attempts":1,"ErrorType":"OQSHA.Notification.Orchestrator.Exceptions.PermanentOrchestratorException","ErrorMessage":"No recipients received for message ID 1820dc53866c3000","StackTrace":"   at OQSHA.Notification.Orchestrator.Services.UsersService.ResolveRecipientsAsync(String messageId, Int32 orgId, NotificationEventDto request) in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\OQSHA.Notification.Orchestrator\\Services\\UsersService.cs:line 84\r\n   at OQSHA.Notification.Orchestrator.Services.UsersService.GetRecipientsWithDetailsAsync(String messageId, Int32 orgId, NotificationEventDto request, NotificationTemplatesDbo notificationTemplate) in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\OQSHA.Notification.Orchestrator\\Services\\UsersService.cs:line 134\r\n   at OQSHA.Notification.Orchestrator.NotificationHandlers.SafetyAlertsNotificationHandler.HandleTemplateBasedAlertNotificationAsync(String messageId, NotificationEventDto request) in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\OQSHA.Notification.Orchestrator\\NotificationHandlers\\SafetyAlertsNotificationHandler.cs:line 75\r\n   at OQSHA.Notification.Orchestrator.NotificationHandlers.SafetyAlertsNotificationHandler.ProcessEventAsync(String messageId, NotificationEventDto request) in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\OQSHA.Notification.Orchestrator\\NotificationHandlers\\SafetyAlertsNotificationHandler.cs:line 45\r\n   at OQSHA.Notification.Orchestrator.Routing.EventRouter.ExecuteAsync(String messageId, NotificationEventDto request) in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\OQSHA.Notification.Orchestrator\\Routing\\EventRouter.cs:line 38\r\n   at OQSHA.Notification.Orchestrator.Worker.OrchestratorMessageHandler.HandleMessage(IMessage message) in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\OQSHA.Notification.Orchestrator\\Worker\\OrchestratorMessageHandler.cs:line 44","OriginalBody":"{\"TemplateId\":1,\"EntityType\":\"safety_alerts\",\"EventType\":null,\"NotifyRoleId\":null,\"NotifyUserId\":null,\"NotifyDynamicActor\":null,\"EntityContext\":{\"Parameters\":{\"alertId\":\"745\",\"orgId\":\"262\",\"alertLink\":\"https://qa-staging-2.oqsha.com/#/safety-alerts-v2/edit-safety-alert-v2/745\",\"EmailFooter\":\"OQSHA Team\",\"UserName\":\"Hebert Eaton\",\"description\":\"Test \"}},\"ActorContext\":null,\"Metadata\":null}"}


Sent message ID 1820dc53866c3000 to DLQ


Notification event with message ID 1820dc53876c3000 received: {"TemplateId":3,"EntityType":"safety_alerts","EventType":null,"NotifyRoleId":null,"NotifyUserId":null,"NotifyDynamicActor":null,"EntityContext":{"Parameters":{"alertId":"745","orgId":"262","alertLink":"https://qa-staging-2.oqsha.com/#/safety-alerts-v2/edit-safety-alert-v2/745","EmailFooter":"OQSHA Team","UserName":"Hebert Eaton","description":"Test "}},"ActorContext":null,"Metadata":null}


Started processing notification for message ID 1820dc53876c3000


Looking up the notification handler for message ID 1820dc53876c3000


Event handling in process for message ID 1820dc53876c3000


Sending message ID 1820dc53876c3000 to DLQ


Dead letter envelope for DLQ message: {"SourceTopic":"notification.orchestrator","SourceChannel":"notification-orchestrator","FailedAtUtc":"2026-08-07T10:42:29.0049643Z","Attempts":1,"ErrorType":"OQSHA.Notification.Orchestrator.Exceptions.PermanentOrchestratorException","ErrorMessage":"No recipients received for message ID 1820dc53876c3000","StackTrace":"   at OQSHA.Notification.Orchestrator.Services.UsersService.ResolveRecipientsAsync(String messageId, Int32 orgId, NotificationEventDto request) in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\OQSHA.Notification.Orchestrator\\Services\\UsersService.cs:line 84\r\n   at OQSHA.Notification.Orchestrator.Services.UsersService.GetRecipientsWithDetailsAsync(String messageId, Int32 orgId, NotificationEventDto request, NotificationTemplatesDbo notificationTemplate) in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\OQSHA.Notification.Orchestrator\\Services\\UsersService.cs:line 134\r\n   at OQSHA.Notification.Orchestrator.NotificationHandlers.SafetyAlertsNotificationHandler.HandleTemplateBasedAlertNotificationAsync(String messageId, NotificationEventDto request) in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\OQSHA.Notification.Orchestrator\\NotificationHandlers\\SafetyAlertsNotificationHandler.cs:line 75\r\n   at OQSHA.Notification.Orchestrator.NotificationHandlers.SafetyAlertsNotificationHandler.ProcessEventAsync(String messageId, NotificationEventDto request) in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\OQSHA.Notification.Orchestrator\\NotificationHandlers\\SafetyAlertsNotificationHandler.cs:line 45\r\n   at OQSHA.Notification.Orchestrator.Routing.EventRouter.ExecuteAsync(String messageId, NotificationEventDto request) in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\OQSHA.Notification.Orchestrator\\Routing\\EventRouter.cs:line 38\r\n   at OQSHA.Notification.Orchestrator.Worker.OrchestratorMessageHandler.HandleMessage(IMessage message) in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\OQSHA.Notification.Orchestrator\\Worker\\OrchestratorMessageHandler.cs:line 44","OriginalBody":"{\"TemplateId\":3,\"EntityType\":\"safety_alerts\",\"EventType\":null,\"NotifyRoleId\":null,\"NotifyUserId\":null,\"NotifyDynamicActor\":null,\"EntityContext\":{\"Parameters\":{\"alertId\":\"745\",\"orgId\":\"262\",\"alertLink\":\"https://qa-staging-2.oqsha.com/#/safety-alerts-v2/edit-safety-alert-v2/745\",\"EmailFooter\":\"OQSHA Team\",\"UserName\":\"Hebert Eaton\",\"description\":\"Test \"}},\"ActorContext\":null,\"Metadata\":null}"}


Sent message ID 1820dc53876c3000 to DLQ


Inside hosted service - for nsq


Started the consumer service and handler for NSQ


Started processing notification for message ID 1820f704fcac3000


Looking up the notification handler for message ID 1820f704fcac3000


Event handling in process for message ID 1820f704fcac3000


Dispatching the notifications for message ID 1820f704fcac3000


Successfully processed notification for message ID 1820f704fcac3000


Started processing notification for message ID 1820f704fdac3000


Looking up the notification handler for message ID 1820f704fdac3000


Event handling in process for message ID 1820f704fdac3000


Dispatching the notifications for message ID 1820f704fdac3000


Successfully processed notification for message ID 1820f704fdac3000


Started processing notification for message ID 1820f835c26c3000


Looking up the notification handler for message ID 1820f835c26c3000


Event handling in process for message ID 1820f835c26c3000


Dispatching the notifications for message ID 1820f835c26c3000


Successfully processed notification for message ID 1820f835c26c3000


Started processing notification for message ID 1820f835c32c3000


Looking up the notification handler for message ID 1820f835c32c3000


Event handling in process for message ID 1820f835c32c3000


Dispatching the notifications for message ID 1820f835c32c3000


Successfully processed notification for message ID 1820f835c32c3000


Inside hosted service - for nsq


Started the consumer service and handler for NSQ