Inside hosted service - for nsq


Started the consumer service and handler for NSQ


Started processing notification for message ID 18031da419ac3000


Looking up the notification handler for message ID 18031da419ac3000


Event handling in process for message ID 18031da419ac3000


Dispatching the notifications for message ID 18031da419ac3000


Successfully processed notification for message ID 18031da419ac3000


Started processing notification for message ID 18031da419ac3001


Looking up the notification handler for message ID 18031da419ac3001


Event handling in process for message ID 18031da419ac3001


Dispatching the notifications for message ID 18031da419ac3001


Successfully processed notification for message ID 18031da419ac3001


Started processing notification for message ID 18031dd7a3ac3000


Looking up the notification handler for message ID 18031dd7a3ac3000


Event handling in process for message ID 18031dd7a3ac3000


Dispatching the notifications for message ID 18031dd7a3ac3000


Successfully processed notification for message ID 18031dd7a3ac3000


Started processing notification for message ID 18031dd7a3ac3001


Looking up the notification handler for message ID 18031dd7a3ac3001


Event handling in process for message ID 18031dd7a3ac3001


Dispatching the notifications for message ID 18031dd7a3ac3001


Successfully processed notification for message ID 18031dd7a3ac3001


Notification event with message ID 18031e1f6cac3000 received: {"TemplateId":1,"EntityType":"inspection_v2","EventType":"inspection_v2.inspection_created","NotifyRoleId":null,"NotifyUserId":267,"NotifyDynamicActor":null,"EntityContext":{"Parameters":{"inspectionId":"785","orgId":"262","inspectionLink":"https://qa-staging-2.oqsha.com/#/inspection-v2/view/262/785","emailFooter":"OQSHA Team","userName":"Hebert Eaton"}},"ActorContext":null,"Metadata":null}


Started processing notification for message ID 18031e1f6cac3000


Looking up the notification handler for message ID 18031e1f6cac3000


Event handling in process for message ID 18031e1f6cac3000


Dispatching the notifications for message ID 18031e1f6cac3000


Successfully processed notification for message ID 18031e1f6cac3000


Notification event with message ID 18031e25182c3000 received: {"TemplateId":1,"EntityType":"inspection_v2","EventType":"inspection_v2.inspection_created","NotifyRoleId":null,"NotifyUserId":267,"NotifyDynamicActor":null,"EntityContext":{"Parameters":{"inspectionId":"786","orgId":"262","inspectionLink":"https://qa-staging-2.oqsha.com/#/inspection-v2/view/262/786","emailFooter":"OQSHA Team","userName":"Hebert Eaton"}},"ActorContext":null,"Metadata":null}


Started processing notification for message ID 18031e25182c3000


Looking up the notification handler for message ID 18031e25182c3000


Event handling in process for message ID 18031e25182c3000


Dispatching the notifications for message ID 18031e25182c3000


Successfully processed notification for message ID 18031e25182c3000


Notification event with message ID 18031e2b59ec3000 received: {"TemplateId":1,"EntityType":"inspection_v2","EventType":"inspection_v2.inspection_created","NotifyRoleId":null,"NotifyUserId":267,"NotifyDynamicActor":null,"EntityContext":{"Parameters":{"inspectionId":"787","orgId":"262","inspectionLink":"https://qa-staging-2.oqsha.com/#/inspection-v2/view/262/787","emailFooter":"OQSHA Team","userName":"Hebert Eaton"}},"ActorContext":null,"Metadata":null}


Started processing notification for message ID 18031e2b59ec3000


Looking up the notification handler for message ID 18031e2b59ec3000


Event handling in process for message ID 18031e2b59ec3000


Sending message ID 18031e2b59ec3000 to DLQ


Dead letter envelope for DLQ message: {"SourceTopic":"notification.orchestrator","SourceChannel":"notification-orchestrator","FailedAtUtc":"2026-07-14T05:19:45.3517432Z","Attempts":1,"ErrorType":"OQSHA.Notification.Orchestrator.Exceptions.PermanentOrchestratorException","ErrorMessage":"Inspection V2 ID 787 not found for message ID 18031e2b59ec3000","StackTrace":"   at OQSHA.Notification.Orchestrator.NotificationHandlers.InspectionV2NotificationHandler.FetchInspectionAsync(String messageId, Int32 orgId, Int32 inspectionId) in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\OQSHA.Notification.Orchestrator\\NotificationHandlers\\InspectionV2NotificationHandler.cs:line 268\r\n   at OQSHA.Notification.Orchestrator.NotificationHandlers.InspectionV2NotificationHandler.HandleTemplateBasedNotificationAsync(String messageId, NotificationEventDto request) in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\OQSHA.Notification.Orchestrator\\NotificationHandlers\\InspectionV2NotificationHandler.cs:line 93\r\n   at OQSHA.Notification.Orchestrator.NotificationHandlers.InspectionV2NotificationHandler.ProcessEventAsync(String messageId, NotificationEventDto request) in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\OQSHA.Notification.Orchestrator\\NotificationHandlers\\InspectionV2NotificationHandler.cs:line 56\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\":\"inspection_v2\",\"EventType\":\"inspection_v2.inspection_created\",\"NotifyRoleId\":null,\"NotifyUserId\":267,\"NotifyDynamicActor\":null,\"EntityContext\":{\"Parameters\":{\"inspectionId\":\"787\",\"orgId\":\"262\",\"inspectionLink\":\"https://qa-staging-2.oqsha.com/#/inspection-v2/view/262/787\",\"emailFooter\":\"OQSHA Team\",\"userName\":\"Hebert Eaton\"}},\"ActorContext\":null,\"Metadata\":null}"}


Sent message ID 18031e2b59ec3000 to DLQ


Notification event with message ID 18031e32732c3000 received: {"TemplateId":1,"EntityType":"inspection_v2","EventType":"inspection_v2.inspection_created","NotifyRoleId":null,"NotifyUserId":267,"NotifyDynamicActor":null,"EntityContext":{"Parameters":{"inspectionId":"788","orgId":"262","inspectionLink":"https://qa-staging-2.oqsha.com/#/inspection-v2/view/262/788","emailFooter":"OQSHA Team","userName":"Hebert Eaton"}},"ActorContext":null,"Metadata":null}


Started processing notification for message ID 18031e32732c3000


Looking up the notification handler for message ID 18031e32732c3000


Event handling in process for message ID 18031e32732c3000


Sending message ID 18031e32732c3000 to DLQ


Dead letter envelope for DLQ message: {"SourceTopic":"notification.orchestrator","SourceChannel":"notification-orchestrator","FailedAtUtc":"2026-07-14T05:19:52.9739933Z","Attempts":1,"ErrorType":"OQSHA.Notification.Orchestrator.Exceptions.PermanentOrchestratorException","ErrorMessage":"Inspection V2 ID 788 not found for message ID 18031e32732c3000","StackTrace":"   at OQSHA.Notification.Orchestrator.NotificationHandlers.InspectionV2NotificationHandler.FetchInspectionAsync(String messageId, Int32 orgId, Int32 inspectionId) in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\OQSHA.Notification.Orchestrator\\NotificationHandlers\\InspectionV2NotificationHandler.cs:line 268\r\n   at OQSHA.Notification.Orchestrator.NotificationHandlers.InspectionV2NotificationHandler.HandleTemplateBasedNotificationAsync(String messageId, NotificationEventDto request) in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\OQSHA.Notification.Orchestrator\\NotificationHandlers\\InspectionV2NotificationHandler.cs:line 93\r\n   at OQSHA.Notification.Orchestrator.NotificationHandlers.InspectionV2NotificationHandler.ProcessEventAsync(String messageId, NotificationEventDto request) in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\OQSHA.Notification.Orchestrator\\NotificationHandlers\\InspectionV2NotificationHandler.cs:line 56\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\":\"inspection_v2\",\"EventType\":\"inspection_v2.inspection_created\",\"NotifyRoleId\":null,\"NotifyUserId\":267,\"NotifyDynamicActor\":null,\"EntityContext\":{\"Parameters\":{\"inspectionId\":\"788\",\"orgId\":\"262\",\"inspectionLink\":\"https://qa-staging-2.oqsha.com/#/inspection-v2/view/262/788\",\"emailFooter\":\"OQSHA Team\",\"userName\":\"Hebert Eaton\"}},\"ActorContext\":null,\"Metadata\":null}"}


Sent message ID 18031e32732c3000 to DLQ


Notification event with message ID 18031e3907ac3000 received: {"TemplateId":1,"EntityType":"inspection_v2","EventType":"inspection_v2.inspection_created","NotifyRoleId":null,"NotifyUserId":267,"NotifyDynamicActor":null,"EntityContext":{"Parameters":{"inspectionId":"789","orgId":"262","inspectionLink":"https://qa-staging-2.oqsha.com/#/inspection-v2/view/262/789","emailFooter":"OQSHA Team","userName":"Hebert Eaton"}},"ActorContext":null,"Metadata":null}


Started processing notification for message ID 18031e3907ac3000


Looking up the notification handler for message ID 18031e3907ac3000


Event handling in process for message ID 18031e3907ac3000


Sending message ID 18031e3907ac3000 to DLQ


Dead letter envelope for DLQ message: {"SourceTopic":"notification.orchestrator","SourceChannel":"notification-orchestrator","FailedAtUtc":"2026-07-14T05:20:00.0396097Z","Attempts":1,"ErrorType":"OQSHA.Notification.Orchestrator.Exceptions.PermanentOrchestratorException","ErrorMessage":"Inspection V2 ID 789 not found for message ID 18031e3907ac3000","StackTrace":"   at OQSHA.Notification.Orchestrator.NotificationHandlers.InspectionV2NotificationHandler.FetchInspectionAsync(String messageId, Int32 orgId, Int32 inspectionId) in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\OQSHA.Notification.Orchestrator\\NotificationHandlers\\InspectionV2NotificationHandler.cs:line 268\r\n   at OQSHA.Notification.Orchestrator.NotificationHandlers.InspectionV2NotificationHandler.HandleTemplateBasedNotificationAsync(String messageId, NotificationEventDto request) in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\OQSHA.Notification.Orchestrator\\NotificationHandlers\\InspectionV2NotificationHandler.cs:line 93\r\n   at OQSHA.Notification.Orchestrator.NotificationHandlers.InspectionV2NotificationHandler.ProcessEventAsync(String messageId, NotificationEventDto request) in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\OQSHA.Notification.Orchestrator\\NotificationHandlers\\InspectionV2NotificationHandler.cs:line 56\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\":\"inspection_v2\",\"EventType\":\"inspection_v2.inspection_created\",\"NotifyRoleId\":null,\"NotifyUserId\":267,\"NotifyDynamicActor\":null,\"EntityContext\":{\"Parameters\":{\"inspectionId\":\"789\",\"orgId\":\"262\",\"inspectionLink\":\"https://qa-staging-2.oqsha.com/#/inspection-v2/view/262/789\",\"emailFooter\":\"OQSHA Team\",\"userName\":\"Hebert Eaton\"}},\"ActorContext\":null,\"Metadata\":null}"}


Sent message ID 18031e3907ac3000 to DLQ


Notification event with message ID 18031e3f42ac3000 received: {"TemplateId":1,"EntityType":"inspection_v2","EventType":"inspection_v2.inspection_created","NotifyRoleId":null,"NotifyUserId":267,"NotifyDynamicActor":null,"EntityContext":{"Parameters":{"inspectionId":"790","orgId":"262","inspectionLink":"https://qa-staging-2.oqsha.com/#/inspection-v2/view/262/790","emailFooter":"OQSHA Team","userName":"Hebert Eaton"}},"ActorContext":null,"Metadata":null}


Started processing notification for message ID 18031e3f42ac3000


Looking up the notification handler for message ID 18031e3f42ac3000


Event handling in process for message ID 18031e3f42ac3000


Sending message ID 18031e3f42ac3000 to DLQ


Dead letter envelope for DLQ message: {"SourceTopic":"notification.orchestrator","SourceChannel":"notification-orchestrator","FailedAtUtc":"2026-07-14T05:20:06.7284301Z","Attempts":1,"ErrorType":"OQSHA.Notification.Orchestrator.Exceptions.PermanentOrchestratorException","ErrorMessage":"Inspection V2 ID 790 not found for message ID 18031e3f42ac3000","StackTrace":"   at OQSHA.Notification.Orchestrator.NotificationHandlers.InspectionV2NotificationHandler.FetchInspectionAsync(String messageId, Int32 orgId, Int32 inspectionId) in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\OQSHA.Notification.Orchestrator\\NotificationHandlers\\InspectionV2NotificationHandler.cs:line 268\r\n   at OQSHA.Notification.Orchestrator.NotificationHandlers.InspectionV2NotificationHandler.HandleTemplateBasedNotificationAsync(String messageId, NotificationEventDto request) in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\OQSHA.Notification.Orchestrator\\NotificationHandlers\\InspectionV2NotificationHandler.cs:line 93\r\n   at OQSHA.Notification.Orchestrator.NotificationHandlers.InspectionV2NotificationHandler.ProcessEventAsync(String messageId, NotificationEventDto request) in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\OQSHA.Notification.Orchestrator\\NotificationHandlers\\InspectionV2NotificationHandler.cs:line 56\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\":\"inspection_v2\",\"EventType\":\"inspection_v2.inspection_created\",\"NotifyRoleId\":null,\"NotifyUserId\":267,\"NotifyDynamicActor\":null,\"EntityContext\":{\"Parameters\":{\"inspectionId\":\"790\",\"orgId\":\"262\",\"inspectionLink\":\"https://qa-staging-2.oqsha.com/#/inspection-v2/view/262/790\",\"emailFooter\":\"OQSHA Team\",\"userName\":\"Hebert Eaton\"}},\"ActorContext\":null,\"Metadata\":null}"}


Sent message ID 18031e3f42ac3000 to DLQ


Inside hosted service - for nsq


Started the consumer service and handler for NSQ


Started processing notification for message ID 18032edd9d6c3000


Looking up the notification handler for message ID 18032edd9d6c3000


Event handling in process for message ID 18032edd9d6c3000


Dispatching the notifications for message ID 18032edd9d6c3000


Successfully processed notification for message ID 18032edd9d6c3000


Started processing notification for message ID 18032edd9d6c3001


Looking up the notification handler for message ID 18032edd9d6c3001


Event handling in process for message ID 18032edd9d6c3001


Dispatching the notifications for message ID 18032edd9d6c3001


Successfully processed notification for message ID 18032edd9d6c3001


Started processing notification for message ID 18032f51536c3000


Looking up the notification handler for message ID 18032f51536c3000


Event handling in process for message ID 18032f51536c3000


Sending message ID 18032f51536c3000 to DLQ


Dead letter envelope for DLQ message: {"SourceTopic":"notification.orchestrator","SourceChannel":"notification-orchestrator","FailedAtUtc":"2026-07-14T06:38:19.1070326Z","Attempts":1,"ErrorType":"OQSHA.Notification.Orchestrator.Exceptions.PermanentOrchestratorException","ErrorMessage":"Work Permit V2 ID 402 not found for message ID 18032f51536c3000","StackTrace":"   at OQSHA.Notification.Orchestrator.NotificationHandlers.WorkPermitV2NotificationHandler.FetchWorkPermitAsync(String messageId, Int32 orgId, Int32 workPermitId) in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\OQSHA.Notification.Orchestrator\\NotificationHandlers\\WorkPermitV2NotificationHandler.cs:line 225\r\n   at OQSHA.Notification.Orchestrator.NotificationHandlers.WorkPermitV2NotificationHandler.HandleAsync(String messageId, NotificationEventDto request) in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\OQSHA.Notification.Orchestrator\\NotificationHandlers\\WorkPermitV2NotificationHandler.cs:line 54\r\n   at OQSHA.Notification.Orchestrator.NotificationHandlers.WorkPermitV2NotificationHandler.ProcessEventAsync(String messageId, NotificationEventDto request) in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\OQSHA.Notification.Orchestrator\\NotificationHandlers\\WorkPermitV2NotificationHandler.cs:line 46\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\":18,\"EntityType\":\"work_permit_v2\",\"EventType\":null,\"NotifyRoleId\":null,\"NotifyUserId\":null,\"NotifyDynamicActor\":\"Work_Permit_Authorization_Department_Head\",\"EntityContext\":{\"Parameters\":{\"workPermitId\":\"402\",\"workPermitV2Id\":\"402\",\"orgId\":\"264\",\"viewLink\":\"http://localhost:4200/#/work-permit-v2/view-work-permit/264/402?dlType=viewWorkPermitV2\",\"workPermitLink\":\"http://localhost:4200/#/work-permit-v2/view-work-permit/264/402?dlType=viewWorkPermitV2\",\"emailFooter\":\"OQSHA Team\"}},\"ActorContext\":{\"Requestor\":[678],\"Work_Permit_Authorization_Department_Head\":[678],\"Work_Permit_Authorization_Area_Owner\":[678],\"Work_Permit_Authorization_Plant_Head\":[678]},\"Metadata\":null}"}


Sent message ID 18032f51536c3000 to DLQ


Started processing notification for message ID 18032f5153ec3000


Looking up the notification handler for message ID 18032f5153ec3000


Event handling in process for message ID 18032f5153ec3000


Sending message ID 18032f5153ec3000 to DLQ


Dead letter envelope for DLQ message: {"SourceTopic":"notification.orchestrator","SourceChannel":"notification-orchestrator","FailedAtUtc":"2026-07-14T06:38:19.2642464Z","Attempts":1,"ErrorType":"OQSHA.Notification.Orchestrator.Exceptions.PermanentOrchestratorException","ErrorMessage":"Work Permit V2 ID 402 not found for message ID 18032f5153ec3000","StackTrace":"   at OQSHA.Notification.Orchestrator.NotificationHandlers.WorkPermitV2NotificationHandler.FetchWorkPermitAsync(String messageId, Int32 orgId, Int32 workPermitId) in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\OQSHA.Notification.Orchestrator\\NotificationHandlers\\WorkPermitV2NotificationHandler.cs:line 225\r\n   at OQSHA.Notification.Orchestrator.NotificationHandlers.WorkPermitV2NotificationHandler.HandleAsync(String messageId, NotificationEventDto request) in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\OQSHA.Notification.Orchestrator\\NotificationHandlers\\WorkPermitV2NotificationHandler.cs:line 54\r\n   at OQSHA.Notification.Orchestrator.NotificationHandlers.WorkPermitV2NotificationHandler.ProcessEventAsync(String messageId, NotificationEventDto request) in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\OQSHA.Notification.Orchestrator\\NotificationHandlers\\WorkPermitV2NotificationHandler.cs:line 46\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\":19,\"EntityType\":\"work_permit_v2\",\"EventType\":null,\"NotifyRoleId\":null,\"NotifyUserId\":null,\"NotifyDynamicActor\":\"Work_Permit_Authorization_Department_Head\",\"EntityContext\":{\"Parameters\":{\"workPermitId\":\"402\",\"workPermitV2Id\":\"402\",\"orgId\":\"264\",\"viewLink\":\"http://localhost:4200/#/work-permit-v2/view-work-permit/264/402?dlType=viewWorkPermitV2\",\"workPermitLink\":\"http://localhost:4200/#/work-permit-v2/view-work-permit/264/402?dlType=viewWorkPermitV2\",\"emailFooter\":\"OQSHA Team\"}},\"ActorContext\":{\"Requestor\":[678],\"Work_Permit_Authorization_Department_Head\":[678],\"Work_Permit_Authorization_Area_Owner\":[678],\"Work_Permit_Authorization_Plant_Head\":[678]},\"Metadata\":null}"}


Sent message ID 18032f5153ec3000 to DLQ


Started processing notification for message ID 18032f68b8ac3000


Looking up the notification handler for message ID 18032f68b8ac3000


Event handling in process for message ID 18032f68b8ac3000


Sending message ID 18032f68b8ac3000 to DLQ


Dead letter envelope for DLQ message: {"SourceTopic":"notification.orchestrator","SourceChannel":"notification-orchestrator","FailedAtUtc":"2026-07-14T06:38:44.175653Z","Attempts":1,"ErrorType":"OQSHA.Notification.Orchestrator.Exceptions.PermanentOrchestratorException","ErrorMessage":"Work Permit V2 ID 402 not found for message ID 18032f68b8ac3000","StackTrace":"   at OQSHA.Notification.Orchestrator.NotificationHandlers.WorkPermitV2NotificationHandler.FetchWorkPermitAsync(String messageId, Int32 orgId, Int32 workPermitId) in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\OQSHA.Notification.Orchestrator\\NotificationHandlers\\WorkPermitV2NotificationHandler.cs:line 225\r\n   at OQSHA.Notification.Orchestrator.NotificationHandlers.WorkPermitV2NotificationHandler.HandleAsync(String messageId, NotificationEventDto request) in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\OQSHA.Notification.Orchestrator\\NotificationHandlers\\WorkPermitV2NotificationHandler.cs:line 54\r\n   at OQSHA.Notification.Orchestrator.NotificationHandlers.WorkPermitV2NotificationHandler.ProcessEventAsync(String messageId, NotificationEventDto request) in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\OQSHA.Notification.Orchestrator\\NotificationHandlers\\WorkPermitV2NotificationHandler.cs:line 46\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\":18,\"EntityType\":\"work_permit_v2\",\"EventType\":null,\"NotifyRoleId\":null,\"NotifyUserId\":null,\"NotifyDynamicActor\":\"Work_Permit_Authorization_Area_Owner\",\"EntityContext\":{\"Parameters\":{\"workPermitId\":\"402\",\"workPermitV2Id\":\"402\",\"orgId\":\"264\",\"viewLink\":\"http://localhost:4200/#/work-permit-v2/view-work-permit/264/402?dlType=viewWorkPermitV2\",\"workPermitLink\":\"http://localhost:4200/#/work-permit-v2/view-work-permit/264/402?dlType=viewWorkPermitV2\",\"emailFooter\":\"OQSHA Team\"}},\"ActorContext\":{\"Requestor\":[678],\"Work_Permit_Authorization_Department_Head\":[678],\"Work_Permit_Authorization_Area_Owner\":[678],\"Work_Permit_Authorization_Plant_Head\":[678]},\"Metadata\":null}"}


Sent message ID 18032f68b8ac3000 to DLQ


Started processing notification for message ID 18032f68b8ac3001


Looking up the notification handler for message ID 18032f68b8ac3001


Event handling in process for message ID 18032f68b8ac3001


Sending message ID 18032f68b8ac3001 to DLQ


Dead letter envelope for DLQ message: {"SourceTopic":"notification.orchestrator","SourceChannel":"notification-orchestrator","FailedAtUtc":"2026-07-14T06:38:44.2699225Z","Attempts":1,"ErrorType":"OQSHA.Notification.Orchestrator.Exceptions.PermanentOrchestratorException","ErrorMessage":"Work Permit V2 ID 402 not found for message ID 18032f68b8ac3001","StackTrace":"   at OQSHA.Notification.Orchestrator.NotificationHandlers.WorkPermitV2NotificationHandler.FetchWorkPermitAsync(String messageId, Int32 orgId, Int32 workPermitId) in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\OQSHA.Notification.Orchestrator\\NotificationHandlers\\WorkPermitV2NotificationHandler.cs:line 225\r\n   at OQSHA.Notification.Orchestrator.NotificationHandlers.WorkPermitV2NotificationHandler.HandleAsync(String messageId, NotificationEventDto request) in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\OQSHA.Notification.Orchestrator\\NotificationHandlers\\WorkPermitV2NotificationHandler.cs:line 54\r\n   at OQSHA.Notification.Orchestrator.NotificationHandlers.WorkPermitV2NotificationHandler.ProcessEventAsync(String messageId, NotificationEventDto request) in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\OQSHA.Notification.Orchestrator\\NotificationHandlers\\WorkPermitV2NotificationHandler.cs:line 46\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\":19,\"EntityType\":\"work_permit_v2\",\"EventType\":null,\"NotifyRoleId\":null,\"NotifyUserId\":null,\"NotifyDynamicActor\":\"Work_Permit_Authorization_Area_Owner\",\"EntityContext\":{\"Parameters\":{\"workPermitId\":\"402\",\"workPermitV2Id\":\"402\",\"orgId\":\"264\",\"viewLink\":\"http://localhost:4200/#/work-permit-v2/view-work-permit/264/402?dlType=viewWorkPermitV2\",\"workPermitLink\":\"http://localhost:4200/#/work-permit-v2/view-work-permit/264/402?dlType=viewWorkPermitV2\",\"emailFooter\":\"OQSHA Team\"}},\"ActorContext\":{\"Requestor\":[678],\"Work_Permit_Authorization_Department_Head\":[678],\"Work_Permit_Authorization_Area_Owner\":[678],\"Work_Permit_Authorization_Plant_Head\":[678]},\"Metadata\":null}"}


Sent message ID 18032f68b8ac3001 to DLQ


Started processing notification for message ID 18032f8571ac3000


Looking up the notification handler for message ID 18032f8571ac3000


Event handling in process for message ID 18032f8571ac3000


Sending message ID 18032f8571ac3000 to DLQ


Dead letter envelope for DLQ message: {"SourceTopic":"notification.orchestrator","SourceChannel":"notification-orchestrator","FailedAtUtc":"2026-07-14T06:39:15.0115564Z","Attempts":1,"ErrorType":"OQSHA.Notification.Orchestrator.Exceptions.PermanentOrchestratorException","ErrorMessage":"Work Permit V2 ID 402 not found for message ID 18032f8571ac3000","StackTrace":"   at OQSHA.Notification.Orchestrator.NotificationHandlers.WorkPermitV2NotificationHandler.FetchWorkPermitAsync(String messageId, Int32 orgId, Int32 workPermitId) in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\OQSHA.Notification.Orchestrator\\NotificationHandlers\\WorkPermitV2NotificationHandler.cs:line 225\r\n   at OQSHA.Notification.Orchestrator.NotificationHandlers.WorkPermitV2NotificationHandler.HandleAsync(String messageId, NotificationEventDto request) in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\OQSHA.Notification.Orchestrator\\NotificationHandlers\\WorkPermitV2NotificationHandler.cs:line 54\r\n   at OQSHA.Notification.Orchestrator.NotificationHandlers.WorkPermitV2NotificationHandler.ProcessEventAsync(String messageId, NotificationEventDto request) in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\OQSHA.Notification.Orchestrator\\NotificationHandlers\\WorkPermitV2NotificationHandler.cs:line 46\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\":18,\"EntityType\":\"work_permit_v2\",\"EventType\":null,\"NotifyRoleId\":null,\"NotifyUserId\":null,\"NotifyDynamicActor\":\"Work_Permit_Authorization_Plant_Head\",\"EntityContext\":{\"Parameters\":{\"workPermitId\":\"402\",\"workPermitV2Id\":\"402\",\"orgId\":\"264\",\"viewLink\":\"http://localhost:4200/#/work-permit-v2/view-work-permit/264/402?dlType=viewWorkPermitV2\",\"workPermitLink\":\"http://localhost:4200/#/work-permit-v2/view-work-permit/264/402?dlType=viewWorkPermitV2\",\"emailFooter\":\"OQSHA Team\"}},\"ActorContext\":{\"Requestor\":[678],\"Work_Permit_Authorization_Department_Head\":[678],\"Work_Permit_Authorization_Area_Owner\":[678],\"Work_Permit_Authorization_Plant_Head\":[678]},\"Metadata\":null}"}


Sent message ID 18032f8571ac3000 to DLQ


Started processing notification for message ID 18032f8571ac3001


Looking up the notification handler for message ID 18032f8571ac3001


Event handling in process for message ID 18032f8571ac3001


Sending message ID 18032f8571ac3001 to DLQ


Dead letter envelope for DLQ message: {"SourceTopic":"notification.orchestrator","SourceChannel":"notification-orchestrator","FailedAtUtc":"2026-07-14T06:39:15.2532431Z","Attempts":1,"ErrorType":"OQSHA.Notification.Orchestrator.Exceptions.PermanentOrchestratorException","ErrorMessage":"Work Permit V2 ID 402 not found for message ID 18032f8571ac3001","StackTrace":"   at OQSHA.Notification.Orchestrator.NotificationHandlers.WorkPermitV2NotificationHandler.FetchWorkPermitAsync(String messageId, Int32 orgId, Int32 workPermitId) in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\OQSHA.Notification.Orchestrator\\NotificationHandlers\\WorkPermitV2NotificationHandler.cs:line 225\r\n   at OQSHA.Notification.Orchestrator.NotificationHandlers.WorkPermitV2NotificationHandler.HandleAsync(String messageId, NotificationEventDto request) in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\OQSHA.Notification.Orchestrator\\NotificationHandlers\\WorkPermitV2NotificationHandler.cs:line 54\r\n   at OQSHA.Notification.Orchestrator.NotificationHandlers.WorkPermitV2NotificationHandler.ProcessEventAsync(String messageId, NotificationEventDto request) in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\OQSHA.Notification.Orchestrator\\NotificationHandlers\\WorkPermitV2NotificationHandler.cs:line 46\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\":19,\"EntityType\":\"work_permit_v2\",\"EventType\":null,\"NotifyRoleId\":null,\"NotifyUserId\":null,\"NotifyDynamicActor\":\"Work_Permit_Authorization_Plant_Head\",\"EntityContext\":{\"Parameters\":{\"workPermitId\":\"402\",\"workPermitV2Id\":\"402\",\"orgId\":\"264\",\"viewLink\":\"http://localhost:4200/#/work-permit-v2/view-work-permit/264/402?dlType=viewWorkPermitV2\",\"workPermitLink\":\"http://localhost:4200/#/work-permit-v2/view-work-permit/264/402?dlType=viewWorkPermitV2\",\"emailFooter\":\"OQSHA Team\"}},\"ActorContext\":{\"Requestor\":[678],\"Work_Permit_Authorization_Department_Head\":[678],\"Work_Permit_Authorization_Area_Owner\":[678],\"Work_Permit_Authorization_Plant_Head\":[678]},\"Metadata\":null}"}


Sent message ID 18032f8571ac3001 to DLQ


Started processing notification for message ID 18032f916b2c3000


Looking up the notification handler for message ID 18032f916b2c3000


Event handling in process for message ID 18032f916b2c3000


Sending message ID 18032f916b2c3000 to DLQ


Dead letter envelope for DLQ message: {"SourceTopic":"notification.orchestrator","SourceChannel":"notification-orchestrator","FailedAtUtc":"2026-07-14T06:39:27.8709406Z","Attempts":1,"ErrorType":"OQSHA.Notification.Orchestrator.Exceptions.PermanentOrchestratorException","ErrorMessage":"Work Permit V2 ID 402 not found for message ID 18032f916b2c3000","StackTrace":"   at OQSHA.Notification.Orchestrator.NotificationHandlers.WorkPermitV2NotificationHandler.FetchWorkPermitAsync(String messageId, Int32 orgId, Int32 workPermitId) in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\OQSHA.Notification.Orchestrator\\NotificationHandlers\\WorkPermitV2NotificationHandler.cs:line 225\r\n   at OQSHA.Notification.Orchestrator.NotificationHandlers.WorkPermitV2NotificationHandler.HandleAsync(String messageId, NotificationEventDto request) in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\OQSHA.Notification.Orchestrator\\NotificationHandlers\\WorkPermitV2NotificationHandler.cs:line 54\r\n   at OQSHA.Notification.Orchestrator.NotificationHandlers.WorkPermitV2NotificationHandler.ProcessEventAsync(String messageId, NotificationEventDto request) in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\OQSHA.Notification.Orchestrator\\NotificationHandlers\\WorkPermitV2NotificationHandler.cs:line 46\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\":22,\"EntityType\":\"work_permit_v2\",\"EventType\":null,\"NotifyRoleId\":null,\"NotifyUserId\":null,\"NotifyDynamicActor\":\"Requestor\",\"EntityContext\":{\"Parameters\":{\"workPermitId\":\"402\",\"workPermitV2Id\":\"402\",\"orgId\":\"264\",\"viewLink\":\"http://localhost:4200/#/work-permit-v2/view-work-permit/264/402?dlType=viewWorkPermitV2\",\"workPermitLink\":\"http://localhost:4200/#/work-permit-v2/view-work-permit/264/402?dlType=viewWorkPermitV2\",\"emailFooter\":\"OQSHA Team\"}},\"ActorContext\":{\"Requestor\":[678],\"Work_Permit_Authorization_Department_Head\":[678],\"Work_Permit_Authorization_Area_Owner\":[678],\"Work_Permit_Authorization_Plant_Head\":[678]},\"Metadata\":null}"}


Sent message ID 18032f916b2c3000 to DLQ


Started processing notification for message ID 18032f916b2c3001


Looking up the notification handler for message ID 18032f916b2c3001


Event handling in process for message ID 18032f916b2c3001


Sending message ID 18032f916b2c3001 to DLQ


Dead letter envelope for DLQ message: {"SourceTopic":"notification.orchestrator","SourceChannel":"notification-orchestrator","FailedAtUtc":"2026-07-14T06:39:28.0121011Z","Attempts":1,"ErrorType":"OQSHA.Notification.Orchestrator.Exceptions.PermanentOrchestratorException","ErrorMessage":"Work Permit V2 ID 402 not found for message ID 18032f916b2c3001","StackTrace":"   at OQSHA.Notification.Orchestrator.NotificationHandlers.WorkPermitV2NotificationHandler.FetchWorkPermitAsync(String messageId, Int32 orgId, Int32 workPermitId) in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\OQSHA.Notification.Orchestrator\\NotificationHandlers\\WorkPermitV2NotificationHandler.cs:line 225\r\n   at OQSHA.Notification.Orchestrator.NotificationHandlers.WorkPermitV2NotificationHandler.HandleAsync(String messageId, NotificationEventDto request) in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\OQSHA.Notification.Orchestrator\\NotificationHandlers\\WorkPermitV2NotificationHandler.cs:line 54\r\n   at OQSHA.Notification.Orchestrator.NotificationHandlers.WorkPermitV2NotificationHandler.ProcessEventAsync(String messageId, NotificationEventDto request) in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\OQSHA.Notification.Orchestrator\\NotificationHandlers\\WorkPermitV2NotificationHandler.cs:line 46\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\":23,\"EntityType\":\"work_permit_v2\",\"EventType\":null,\"NotifyRoleId\":null,\"NotifyUserId\":null,\"NotifyDynamicActor\":\"Requestor\",\"EntityContext\":{\"Parameters\":{\"workPermitId\":\"402\",\"workPermitV2Id\":\"402\",\"orgId\":\"264\",\"viewLink\":\"http://localhost:4200/#/work-permit-v2/view-work-permit/264/402?dlType=viewWorkPermitV2\",\"workPermitLink\":\"http://localhost:4200/#/work-permit-v2/view-work-permit/264/402?dlType=viewWorkPermitV2\",\"emailFooter\":\"OQSHA Team\"}},\"ActorContext\":{\"Requestor\":[678],\"Work_Permit_Authorization_Department_Head\":[678],\"Work_Permit_Authorization_Area_Owner\":[678],\"Work_Permit_Authorization_Plant_Head\":[678]},\"Metadata\":null}"}


Sent message ID 18032f916b2c3001 to DLQ


Started processing notification for message ID 18032fca2f2c3000


Looking up the notification handler for message ID 18032fca2f2c3000


Event handling in process for message ID 18032fca2f2c3000


Sending message ID 18032fca2f2c3000 to DLQ


Dead letter envelope for DLQ message: {"SourceTopic":"notification.orchestrator","SourceChannel":"notification-orchestrator","FailedAtUtc":"2026-07-14T06:40:28.8203019Z","Attempts":1,"ErrorType":"OQSHA.Notification.Orchestrator.Exceptions.PermanentOrchestratorException","ErrorMessage":"Work Permit V2 ID 402 not found for message ID 18032fca2f2c3000","StackTrace":"   at OQSHA.Notification.Orchestrator.NotificationHandlers.WorkPermitV2NotificationHandler.FetchWorkPermitAsync(String messageId, Int32 orgId, Int32 workPermitId) in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\OQSHA.Notification.Orchestrator\\NotificationHandlers\\WorkPermitV2NotificationHandler.cs:line 225\r\n   at OQSHA.Notification.Orchestrator.NotificationHandlers.WorkPermitV2NotificationHandler.HandleAsync(String messageId, NotificationEventDto request) in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\OQSHA.Notification.Orchestrator\\NotificationHandlers\\WorkPermitV2NotificationHandler.cs:line 54\r\n   at OQSHA.Notification.Orchestrator.NotificationHandlers.WorkPermitV2NotificationHandler.ProcessEventAsync(String messageId, NotificationEventDto request) in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\OQSHA.Notification.Orchestrator\\NotificationHandlers\\WorkPermitV2NotificationHandler.cs:line 46\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\":20,\"EntityType\":\"work_permit_v2\",\"EventType\":null,\"NotifyRoleId\":null,\"NotifyUserId\":null,\"NotifyDynamicActor\":\"Ext_AuthorizedBy_Initiator_Department_Head\",\"EntityContext\":{\"Parameters\":{\"workPermitId\":\"402\",\"workPermitV2Id\":\"402\",\"orgId\":\"264\",\"viewLink\":\"http://localhost:4200/#/work-permit-v2/view-work-permit/264/402?dlType=viewWorkPermitV2\",\"workPermitLink\":\"http://localhost:4200/#/work-permit-v2/view-work-permit/264/402?dlType=viewWorkPermitV2\",\"emailFooter\":\"OQSHA Team\"}},\"ActorContext\":{\"Requestor\":[678],\"Work_Permit_Authorization_Department_Head\":[678],\"Work_Permit_Authorization_Area_Owner\":[678],\"Work_Permit_Authorization_Plant_Head\":[678],\"Ext_AuthorizedBy_Initiator_Department_Head\":[678],\"Ext_AuthorizedBy_AreaOwner\":[678],\"Ext_PlantHead\":[678]},\"Metadata\":null}"}


Sent message ID 18032fca2f2c3000 to DLQ


Started processing notification for message ID 18032fca2f2c3001


Looking up the notification handler for message ID 18032fca2f2c3001


Event handling in process for message ID 18032fca2f2c3001


Sending message ID 18032fca2f2c3001 to DLQ


Dead letter envelope for DLQ message: {"SourceTopic":"notification.orchestrator","SourceChannel":"notification-orchestrator","FailedAtUtc":"2026-07-14T06:40:29.0085127Z","Attempts":1,"ErrorType":"OQSHA.Notification.Orchestrator.Exceptions.PermanentOrchestratorException","ErrorMessage":"Work Permit V2 ID 402 not found for message ID 18032fca2f2c3001","StackTrace":"   at OQSHA.Notification.Orchestrator.NotificationHandlers.WorkPermitV2NotificationHandler.FetchWorkPermitAsync(String messageId, Int32 orgId, Int32 workPermitId) in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\OQSHA.Notification.Orchestrator\\NotificationHandlers\\WorkPermitV2NotificationHandler.cs:line 225\r\n   at OQSHA.Notification.Orchestrator.NotificationHandlers.WorkPermitV2NotificationHandler.HandleAsync(String messageId, NotificationEventDto request) in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\OQSHA.Notification.Orchestrator\\NotificationHandlers\\WorkPermitV2NotificationHandler.cs:line 54\r\n   at OQSHA.Notification.Orchestrator.NotificationHandlers.WorkPermitV2NotificationHandler.ProcessEventAsync(String messageId, NotificationEventDto request) in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\OQSHA.Notification.Orchestrator\\NotificationHandlers\\WorkPermitV2NotificationHandler.cs:line 46\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\":21,\"EntityType\":\"work_permit_v2\",\"EventType\":null,\"NotifyRoleId\":null,\"NotifyUserId\":null,\"NotifyDynamicActor\":\"Ext_AuthorizedBy_Initiator_Department_Head\",\"EntityContext\":{\"Parameters\":{\"workPermitId\":\"402\",\"workPermitV2Id\":\"402\",\"orgId\":\"264\",\"viewLink\":\"http://localhost:4200/#/work-permit-v2/view-work-permit/264/402?dlType=viewWorkPermitV2\",\"workPermitLink\":\"http://localhost:4200/#/work-permit-v2/view-work-permit/264/402?dlType=viewWorkPermitV2\",\"emailFooter\":\"OQSHA Team\"}},\"ActorContext\":{\"Requestor\":[678],\"Work_Permit_Authorization_Department_Head\":[678],\"Work_Permit_Authorization_Area_Owner\":[678],\"Work_Permit_Authorization_Plant_Head\":[678],\"Ext_AuthorizedBy_Initiator_Department_Head\":[678],\"Ext_AuthorizedBy_AreaOwner\":[678],\"Ext_PlantHead\":[678]},\"Metadata\":null}"}


Sent message ID 18032fca2f2c3001 to DLQ


Started processing notification for message ID 18033036fbac3000


Looking up the notification handler for message ID 18033036fbac3000


Event handling in process for message ID 18033036fbac3000


Dispatching the notifications for message ID 18033036fbac3000


Successfully processed notification for message ID 18033036fbac3000


Started processing notification for message ID 18033036fc6c3000


Looking up the notification handler for message ID 18033036fc6c3000


Event handling in process for message ID 18033036fc6c3000


Dispatching the notifications for message ID 18033036fc6c3000


Successfully processed notification for message ID 18033036fc6c3000


Started processing notification for message ID 180330a31bac3000


Looking up the notification handler for message ID 180330a31bac3000


Event handling in process for message ID 180330a31bac3000


Dispatching the notifications for message ID 180330a31bac3000


Successfully processed notification for message ID 180330a31bac3000


Started processing notification for message ID 180330a31bac3001


Looking up the notification handler for message ID 180330a31bac3001


Event handling in process for message ID 180330a31bac3001


Dispatching the notifications for message ID 180330a31bac3001


Successfully processed notification for message ID 180330a31bac3001


Started processing notification for message ID 180330b21d2c3000


Looking up the notification handler for message ID 180330b21d2c3000


Event handling in process for message ID 180330b21d2c3000


Dispatching the notifications for message ID 180330b21d2c3000


Successfully processed notification for message ID 180330b21d2c3000


Started processing notification for message ID 180330b21d2c3001


Looking up the notification handler for message ID 180330b21d2c3001


Event handling in process for message ID 180330b21d2c3001


Dispatching the notifications for message ID 180330b21d2c3001


Successfully processed notification for message ID 180330b21d2c3001


Started processing notification for message ID 180330d5c32c3000


Looking up the notification handler for message ID 180330d5c32c3000


Event handling in process for message ID 180330d5c32c3000


Dispatching the notifications for message ID 180330d5c32c3000


Successfully processed notification for message ID 180330d5c32c3000


Started processing notification for message ID 180330d5c36c3000


Looking up the notification handler for message ID 180330d5c36c3000


Event handling in process for message ID 180330d5c36c3000


Dispatching the notifications for message ID 180330d5c36c3000


Successfully processed notification for message ID 180330d5c36c3000


Started processing notification for message ID 18033104012c3000


Looking up the notification handler for message ID 18033104012c3000


Event handling in process for message ID 18033104012c3000


Dispatching the notifications for message ID 18033104012c3000


Successfully processed notification for message ID 18033104012c3000


Started processing notification for message ID 18033104012c3001


Looking up the notification handler for message ID 18033104012c3001


Event handling in process for message ID 18033104012c3001


Dispatching the notifications for message ID 18033104012c3001


Successfully processed notification for message ID 18033104012c3001


Started processing notification for message ID 18033125132c3000


Looking up the notification handler for message ID 18033125132c3000


Event handling in process for message ID 18033125132c3000


Dispatching the notifications for message ID 18033125132c3000


Successfully processed notification for message ID 18033125132c3000


Started processing notification for message ID 18033125132c3001


Looking up the notification handler for message ID 18033125132c3001


Event handling in process for message ID 18033125132c3001


Dispatching the notifications for message ID 18033125132c3001


Successfully processed notification for message ID 18033125132c3001


Started processing notification for message ID 180331db10ec3000


Looking up the notification handler for message ID 180331db10ec3000


Event handling in process for message ID 180331db10ec3000


Dispatching the notifications for message ID 180331db10ec3000


Successfully processed notification for message ID 180331db10ec3000


Started processing notification for message ID 180331db10ec3001


Looking up the notification handler for message ID 180331db10ec3001


Event handling in process for message ID 180331db10ec3001


Dispatching the notifications for message ID 180331db10ec3001


Successfully processed notification for message ID 180331db10ec3001


Started processing notification for message ID 180331e9186c3000


Looking up the notification handler for message ID 180331e9186c3000


Event handling in process for message ID 180331e9186c3000


Dispatching the notifications for message ID 180331e9186c3000


Successfully processed notification for message ID 180331e9186c3000


Started processing notification for message ID 180331e9186c3001


Looking up the notification handler for message ID 180331e9186c3001


Event handling in process for message ID 180331e9186c3001


Dispatching the notifications for message ID 180331e9186c3001


Successfully processed notification for message ID 180331e9186c3001


Started processing notification for message ID 180331f9ba2c3000


Looking up the notification handler for message ID 180331f9ba2c3000


Event handling in process for message ID 180331f9ba2c3000


Dispatching the notifications for message ID 180331f9ba2c3000


Successfully processed notification for message ID 180331f9ba2c3000


Started processing notification for message ID 180331f9ba6c3000


Looking up the notification handler for message ID 180331f9ba6c3000


Event handling in process for message ID 180331f9ba6c3000


Dispatching the notifications for message ID 180331f9ba6c3000


Successfully processed notification for message ID 180331f9ba6c3000


Started processing notification for message ID 18033206bbec3000


Looking up the notification handler for message ID 18033206bbec3000


Event handling in process for message ID 18033206bbec3000


Dispatching the notifications for message ID 18033206bbec3000


Successfully processed notification for message ID 18033206bbec3000


Started processing notification for message ID 18033206bc2c3000


Looking up the notification handler for message ID 18033206bc2c3000


Event handling in process for message ID 18033206bc2c3000


Dispatching the notifications for message ID 18033206bc2c3000


Successfully processed notification for message ID 18033206bc2c3000


Started processing notification for message ID 18033217e9ec3000


Looking up the notification handler for message ID 18033217e9ec3000


Event handling in process for message ID 18033217e9ec3000


Dispatching the notifications for message ID 18033217e9ec3000


Successfully processed notification for message ID 18033217e9ec3000


Started processing notification for message ID 18033217ea6c3000


Looking up the notification handler for message ID 18033217ea6c3000


Event handling in process for message ID 18033217ea6c3000


Dispatching the notifications for message ID 18033217ea6c3000


Successfully processed notification for message ID 18033217ea6c3000


Started processing notification for message ID 18033232416c3000


Looking up the notification handler for message ID 18033232416c3000


Event handling in process for message ID 18033232416c3000


Dispatching the notifications for message ID 18033232416c3000


Successfully processed notification for message ID 18033232416c3000


Started processing notification for message ID 18033232416c3001


Looking up the notification handler for message ID 18033232416c3001


Event handling in process for message ID 18033232416c3001


Dispatching the notifications for message ID 18033232416c3001


Successfully processed notification for message ID 18033232416c3001


Started processing notification for message ID 1803327030ac3000


Looking up the notification handler for message ID 1803327030ac3000


Event handling in process for message ID 1803327030ac3000


Dispatching the notifications for message ID 1803327030ac3000


Successfully processed notification for message ID 1803327030ac3000


Started processing notification for message ID 18033270312c3000


Looking up the notification handler for message ID 18033270312c3000


Event handling in process for message ID 18033270312c3000


Dispatching the notifications for message ID 18033270312c3000


Successfully processed notification for message ID 18033270312c3000


Started processing notification for message ID 180333ef4aac3000


Looking up the notification handler for message ID 180333ef4aac3000


Event handling in process for message ID 180333ef4aac3000


Dispatching the notifications for message ID 180333ef4aac3000


Successfully processed notification for message ID 180333ef4aac3000


Started processing notification for message ID 180333ef4aac3001


Looking up the notification handler for message ID 180333ef4aac3001


Event handling in process for message ID 180333ef4aac3001


Dispatching the notifications for message ID 180333ef4aac3001


Successfully processed notification for message ID 180333ef4aac3001


Started processing notification for message ID 180333f9de2c3000


Looking up the notification handler for message ID 180333f9de2c3000


Event handling in process for message ID 180333f9de2c3000


Dispatching the notifications for message ID 180333f9de2c3000


Successfully processed notification for message ID 180333f9de2c3000


Started processing notification for message ID 180333f9de2c3001


Looking up the notification handler for message ID 180333f9de2c3001


Event handling in process for message ID 180333f9de2c3001


Dispatching the notifications for message ID 180333f9de2c3001


Successfully processed notification for message ID 180333f9de2c3001


Started processing notification for message ID 1803343bdaac3000


Looking up the notification handler for message ID 1803343bdaac3000


Event handling in process for message ID 1803343bdaac3000


Dispatching the notifications for message ID 1803343bdaac3000


Successfully processed notification for message ID 1803343bdaac3000


Started processing notification for message ID 1803343bdaec3000


Looking up the notification handler for message ID 1803343bdaec3000


Event handling in process for message ID 1803343bdaec3000


Dispatching the notifications for message ID 1803343bdaec3000


Successfully processed notification for message ID 1803343bdaec3000


Started processing notification for message ID 1803344761ec3000


Looking up the notification handler for message ID 1803344761ec3000


Event handling in process for message ID 1803344761ec3000


Dispatching the notifications for message ID 1803344761ec3000


Successfully processed notification for message ID 1803344761ec3000


Started processing notification for message ID 18033447622c3000


Looking up the notification handler for message ID 18033447622c3000


Event handling in process for message ID 18033447622c3000


Dispatching the notifications for message ID 18033447622c3000


Successfully processed notification for message ID 18033447622c3000


Started processing notification for message ID 18033452daec3000


Looking up the notification handler for message ID 18033452daec3000


Event handling in process for message ID 18033452daec3000


Dispatching the notifications for message ID 18033452daec3000


Successfully processed notification for message ID 18033452daec3000


Started processing notification for message ID 18033452db2c3000


Looking up the notification handler for message ID 18033452db2c3000


Event handling in process for message ID 18033452db2c3000


Dispatching the notifications for message ID 18033452db2c3000


Successfully processed notification for message ID 18033452db2c3000


Started processing notification for message ID 1803345f61ec3000


Looking up the notification handler for message ID 1803345f61ec3000


Event handling in process for message ID 1803345f61ec3000


Dispatching the notifications for message ID 1803345f61ec3000


Successfully processed notification for message ID 1803345f61ec3000


Started processing notification for message ID 1803345f61ec3001


Looking up the notification handler for message ID 1803345f61ec3001


Event handling in process for message ID 1803345f61ec3001


Dispatching the notifications for message ID 1803345f61ec3001


Successfully processed notification for message ID 1803345f61ec3001


Started processing notification for message ID 18033540f5ac3000


Looking up the notification handler for message ID 18033540f5ac3000


Event handling in process for message ID 18033540f5ac3000


Dispatching the notifications for message ID 18033540f5ac3000


Successfully processed notification for message ID 18033540f5ac3000


Started processing notification for message ID 18033540f5ec3000


Looking up the notification handler for message ID 18033540f5ec3000


Event handling in process for message ID 18033540f5ec3000


Dispatching the notifications for message ID 18033540f5ec3000


Successfully processed notification for message ID 18033540f5ec3000


Started processing notification for message ID 180338cc17ec3000


Looking up the notification handler for message ID 180338cc17ec3000


Event handling in process for message ID 180338cc17ec3000


Dispatching the notifications for message ID 180338cc17ec3000


Successfully processed notification for message ID 180338cc17ec3000


Started processing notification for message ID 180338cc17ec3001


Looking up the notification handler for message ID 180338cc17ec3001


Event handling in process for message ID 180338cc17ec3001


Dispatching the notifications for message ID 180338cc17ec3001


Successfully processed notification for message ID 180338cc17ec3001


Started processing notification for message ID 180338ff6c6c3000


Looking up the notification handler for message ID 180338ff6c6c3000


Event handling in process for message ID 180338ff6c6c3000


Dispatching the notifications for message ID 180338ff6c6c3000


Successfully processed notification for message ID 180338ff6c6c3000


Started processing notification for message ID 180338ff6cec3000


Looking up the notification handler for message ID 180338ff6cec3000


Event handling in process for message ID 180338ff6cec3000


Dispatching the notifications for message ID 180338ff6cec3000


Successfully processed notification for message ID 180338ff6cec3000


Started processing notification for message ID 1803390a76ac3000


Looking up the notification handler for message ID 1803390a76ac3000


Event handling in process for message ID 1803390a76ac3000


Dispatching the notifications for message ID 1803390a76ac3000


Successfully processed notification for message ID 1803390a76ac3000


Started processing notification for message ID 1803390a76ac3001


Looking up the notification handler for message ID 1803390a76ac3001


Event handling in process for message ID 1803390a76ac3001


Dispatching the notifications for message ID 1803390a76ac3001


Successfully processed notification for message ID 1803390a76ac3001


Started processing notification for message ID 18033917c06c3000


Looking up the notification handler for message ID 18033917c06c3000


Event handling in process for message ID 18033917c06c3000


Dispatching the notifications for message ID 18033917c06c3000


Successfully processed notification for message ID 18033917c06c3000


Started processing notification for message ID 18033917c06c3001


Looking up the notification handler for message ID 18033917c06c3001


Event handling in process for message ID 18033917c06c3001


Dispatching the notifications for message ID 18033917c06c3001


Successfully processed notification for message ID 18033917c06c3001


Started processing notification for message ID 1803393c34ac3000


Looking up the notification handler for message ID 1803393c34ac3000


Event handling in process for message ID 1803393c34ac3000


Dispatching the notifications for message ID 1803393c34ac3000


Successfully processed notification for message ID 1803393c34ac3000


Started processing notification for message ID 1803393c34ac3001


Looking up the notification handler for message ID 1803393c34ac3001


Event handling in process for message ID 1803393c34ac3001


Dispatching the notifications for message ID 1803393c34ac3001


Successfully processed notification for message ID 1803393c34ac3001


Started processing notification for message ID 1803394fa42c3000


Looking up the notification handler for message ID 1803394fa42c3000


Event handling in process for message ID 1803394fa42c3000


Dispatching the notifications for message ID 1803394fa42c3000


Successfully processed notification for message ID 1803394fa42c3000


Started processing notification for message ID 1803394fa42c3001


Looking up the notification handler for message ID 1803394fa42c3001


Event handling in process for message ID 1803394fa42c3001


Dispatching the notifications for message ID 1803394fa42c3001


Successfully processed notification for message ID 1803394fa42c3001


Started processing notification for message ID 18033965972c3000


Looking up the notification handler for message ID 18033965972c3000


Event handling in process for message ID 18033965972c3000


Dispatching the notifications for message ID 18033965972c3000


Successfully processed notification for message ID 18033965972c3000


Started processing notification for message ID 18033965972c3001


Looking up the notification handler for message ID 18033965972c3001


Event handling in process for message ID 18033965972c3001


Dispatching the notifications for message ID 18033965972c3001


Successfully processed notification for message ID 18033965972c3001


Started processing notification for message ID 180339719cac3000


Looking up the notification handler for message ID 180339719cac3000


Event handling in process for message ID 180339719cac3000


Dispatching the notifications for message ID 180339719cac3000


Successfully processed notification for message ID 180339719cac3000


Started processing notification for message ID 180339719cac3001


Looking up the notification handler for message ID 180339719cac3001


Event handling in process for message ID 180339719cac3001


Dispatching the notifications for message ID 180339719cac3001


Successfully processed notification for message ID 180339719cac3001


Notification event with message ID 18033d257f6c3000 received: {"TemplateId":1,"EntityType":"inspection_v2","EventType":"inspection_v2.inspection_created","NotifyRoleId":null,"NotifyUserId":267,"NotifyDynamicActor":null,"EntityContext":{"Parameters":{"inspectionId":"791","orgId":"257","inspectionLink":"https://qa-staging-2.oqsha.com/#/inspection-v2/view/257/791","emailFooter":"OQSHA Team","userName":"Hebert Eaton"}},"ActorContext":null,"Metadata":null}


Started processing notification for message ID 18033d257f6c3000


Looking up the notification handler for message ID 18033d257f6c3000


Event handling in process for message ID 18033d257f6c3000


Sending message ID 18033d257f6c3000 to DLQ


Dead letter envelope for DLQ message: {"SourceTopic":"notification.orchestrator","SourceChannel":"notification-orchestrator","FailedAtUtc":"2026-07-14T07:41:40.3081366Z","Attempts":1,"ErrorType":"OQSHA.Notification.Orchestrator.Exceptions.PermanentOrchestratorException","ErrorMessage":"Inspection V2 ID 791 not found for message ID 18033d257f6c3000","StackTrace":"   at OQSHA.Notification.Orchestrator.NotificationHandlers.InspectionV2NotificationHandler.FetchInspectionAsync(String messageId, Int32 orgId, Int32 inspectionId) in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\OQSHA.Notification.Orchestrator\\NotificationHandlers\\InspectionV2NotificationHandler.cs:line 268\r\n   at OQSHA.Notification.Orchestrator.NotificationHandlers.InspectionV2NotificationHandler.HandleTemplateBasedNotificationAsync(String messageId, NotificationEventDto request) in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\OQSHA.Notification.Orchestrator\\NotificationHandlers\\InspectionV2NotificationHandler.cs:line 93\r\n   at OQSHA.Notification.Orchestrator.NotificationHandlers.InspectionV2NotificationHandler.ProcessEventAsync(String messageId, NotificationEventDto request) in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\OQSHA.Notification.Orchestrator\\NotificationHandlers\\InspectionV2NotificationHandler.cs:line 56\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\":\"inspection_v2\",\"EventType\":\"inspection_v2.inspection_created\",\"NotifyRoleId\":null,\"NotifyUserId\":267,\"NotifyDynamicActor\":null,\"EntityContext\":{\"Parameters\":{\"inspectionId\":\"791\",\"orgId\":\"257\",\"inspectionLink\":\"https://qa-staging-2.oqsha.com/#/inspection-v2/view/257/791\",\"emailFooter\":\"OQSHA Team\",\"userName\":\"Hebert Eaton\"}},\"ActorContext\":null,\"Metadata\":null}"}


Sent message ID 18033d257f6c3000 to DLQ


Notification event with message ID 18035015bc6c3000 received: {"TemplateId":1,"EntityType":"inspection_v2","EventType":"inspection_v2.inspection_created","NotifyRoleId":null,"NotifyUserId":267,"NotifyDynamicActor":null,"EntityContext":{"Parameters":{"inspectionId":"787","orgId":"256","inspectionLink":"https://sandbox.oqsha.com/#/inspection-v2/view/256/787","emailFooter":"OQSHA Team","userName":"Hebert Eaton"}},"ActorContext":null,"Metadata":null}


Started processing notification for message ID 18035015bc6c3000


Looking up the notification handler for message ID 18035015bc6c3000


Event handling in process for message ID 18035015bc6c3000


Dispatching the notifications for message ID 18035015bc6c3000


Successfully processed notification for message ID 18035015bc6c3000


Notification event with message ID 1803507b816c3000 received: {"TemplateId":35,"EntityType":"inspection_v2","EventType":"inspection_v2.inspected","NotifyRoleId":454,"NotifyUserId":null,"NotifyDynamicActor":null,"EntityContext":{"Parameters":{"inspectionId":"787","orgId":"256","inspectionLink":"https://sandbox.oqsha.com/#/inspection-v2/view/256/787","emailFooter":"OQSHA Team","userName":"Hebert Eaton"}},"ActorContext":null,"Metadata":null}


Started processing notification for message ID 1803507b816c3000


Looking up the notification handler for message ID 1803507b816c3000


Event handling in process for message ID 1803507b816c3000


Dispatching the notifications for message ID 1803507b816c3000


Successfully processed notification for message ID 1803507b816c3000


Inside hosted service - for nsq


Started the consumer service and handler for NSQ


Notification event with message ID 180354be176c3000 received: {"TemplateId":1,"EntityType":"inspection_v2","EventType":"inspection_v2.inspection_created","NotifyRoleId":null,"NotifyUserId":267,"NotifyDynamicActor":null,"EntityContext":{"Parameters":{"inspectionId":"788","orgId":"256","inspectionLink":"https://sandbox.oqsha.com/#/inspection-v2/view/256/788","emailFooter":"OQSHA Team","userName":"Hebert Eaton"}},"ActorContext":null,"Metadata":null}


Started processing notification for message ID 180354be176c3000


Looking up the notification handler for message ID 180354be176c3000


Event handling in process for message ID 180354be176c3000


Dispatching the notifications for message ID 180354be176c3000


Successfully processed notification for message ID 180354be176c3000


Notification event with message ID 180355ade02c3000 received: {"TemplateId":1,"EntityType":"inspection_v2","EventType":"inspection_v2.inspection_created","NotifyRoleId":null,"NotifyUserId":267,"NotifyDynamicActor":null,"EntityContext":{"Parameters":{"inspectionId":"789","orgId":"262","inspectionLink":"https://sandbox.oqsha.com/#/inspection-v2/view/262/789","emailFooter":"OQSHA Team","userName":"Hebert Eaton"}},"ActorContext":null,"Metadata":null}


Started processing notification for message ID 180355ade02c3000


Looking up the notification handler for message ID 180355ade02c3000


Event handling in process for message ID 180355ade02c3000


Dispatching the notifications for message ID 180355ade02c3000


Successfully processed notification for message ID 180355ade02c3000


Notification event with message ID 18035d8e126c3000 received: {"TemplateId":35,"EntityType":"inspection_v2","EventType":"inspection_v2.inspected","NotifyRoleId":454,"NotifyUserId":null,"NotifyDynamicActor":null,"EntityContext":{"Parameters":{"inspectionId":"788","orgId":"256","inspectionLink":"https://sandbox.oqsha.com/#/inspection-v2/view/256/788","emailFooter":"OQSHA Team","userName":"Hebert Eaton"}},"ActorContext":null,"Metadata":null}


Started processing notification for message ID 18035d8e126c3000


Looking up the notification handler for message ID 18035d8e126c3000


Event handling in process for message ID 18035d8e126c3000


Dispatching the notifications for message ID 18035d8e126c3000


Successfully processed notification for message ID 18035d8e126c3000


Notification event with message ID 18035e975b2c3000 received: {"TemplateId":1,"EntityType":"inspection_v2","EventType":"inspection_v2.inspection_created","NotifyRoleId":null,"NotifyUserId":267,"NotifyDynamicActor":null,"EntityContext":{"Parameters":{"inspectionId":"790","orgId":"256","inspectionLink":"https://sandbox.oqsha.com/#/inspection-v2/view/256/790","emailFooter":"OQSHA Team","userName":"Hebert Eaton"}},"ActorContext":null,"Metadata":null}


Started processing notification for message ID 18035e975b2c3000


Looking up the notification handler for message ID 18035e975b2c3000


Event handling in process for message ID 18035e975b2c3000


Dispatching the notifications for message ID 18035e975b2c3000


Successfully processed notification for message ID 18035e975b2c3000


Notification event with message ID 1803610dcfac3000 received: {"TemplateId":1,"EntityType":"inspection_v2","EventType":"inspection_v2.inspection_created","NotifyRoleId":null,"NotifyUserId":267,"NotifyDynamicActor":null,"EntityContext":{"Parameters":{"inspectionId":"791","orgId":"256","inspectionLink":"https://sandbox.oqsha.com/#/inspection-v2/view/256/791","emailFooter":"OQSHA Team","userName":"Hebert Eaton"}},"ActorContext":null,"Metadata":null}


Started processing notification for message ID 1803610dcfac3000


Looking up the notification handler for message ID 1803610dcfac3000


Event handling in process for message ID 1803610dcfac3000


Dispatching the notifications for message ID 1803610dcfac3000


Successfully processed notification for message ID 1803610dcfac3000


Notification event with message ID 18036150d86c3000 received: {"TemplateId":1,"EntityType":"inspection_v2","EventType":"inspection_v2.inspection_created","NotifyRoleId":null,"NotifyUserId":267,"NotifyDynamicActor":null,"EntityContext":{"Parameters":{"inspectionId":"792","orgId":"256","inspectionLink":"https://sandbox.oqsha.com/#/inspection-v2/view/256/792","emailFooter":"OQSHA Team","userName":"Hebert Eaton"}},"ActorContext":null,"Metadata":null}


Started processing notification for message ID 18036150d86c3000


Looking up the notification handler for message ID 18036150d86c3000


Event handling in process for message ID 18036150d86c3000


Dispatching the notifications for message ID 18036150d86c3000


Successfully processed notification for message ID 18036150d86c3000


Notification event with message ID 1803615bed6c3000 received: {"TemplateId":35,"EntityType":"inspection_v2","EventType":"inspection_v2.inspected","NotifyRoleId":454,"NotifyUserId":null,"NotifyDynamicActor":null,"EntityContext":{"Parameters":{"inspectionId":"792","orgId":"256","inspectionLink":"https://sandbox.oqsha.com/#/inspection-v2/view/256/792","emailFooter":"OQSHA Team","userName":"Hebert Eaton"}},"ActorContext":null,"Metadata":null}


Started processing notification for message ID 1803615bed6c3000


Looking up the notification handler for message ID 1803615bed6c3000


Event handling in process for message ID 1803615bed6c3000


Dispatching the notifications for message ID 1803615bed6c3000


Successfully processed notification for message ID 1803615bed6c3000


Notification event with message ID 18036d047fac3000 received: {"TemplateId":35,"EntityType":"inspection_v2","EventType":"inspection_v2.inspected","NotifyRoleId":454,"NotifyUserId":null,"NotifyDynamicActor":null,"EntityContext":{"Parameters":{"inspectionId":"790","orgId":"256","inspectionLink":"https://sandbox.oqsha.com/#/inspection-v2/view/256/790","emailFooter":"OQSHA Team","userName":"Hebert Eaton"}},"ActorContext":null,"Metadata":null}


Started processing notification for message ID 18036d047fac3000


Looking up the notification handler for message ID 18036d047fac3000


Event handling in process for message ID 18036d047fac3000


Dispatching the notifications for message ID 18036d047fac3000


Successfully processed notification for message ID 18036d047fac3000


Notification event with message ID 18036d2a636c3000 received: {"TemplateId":1,"EntityType":"inspection_v2","EventType":"inspection_v2.inspection_created","NotifyRoleId":null,"NotifyUserId":267,"NotifyDynamicActor":null,"EntityContext":{"Parameters":{"inspectionId":"793","orgId":"256","inspectionLink":"https://sandbox.oqsha.com/#/inspection-v2/view/256/793","emailFooter":"OQSHA Team","userName":"Hebert Eaton"}},"ActorContext":null,"Metadata":null}


Started processing notification for message ID 18036d2a636c3000


Looking up the notification handler for message ID 18036d2a636c3000


Event handling in process for message ID 18036d2a636c3000


Dispatching the notifications for message ID 18036d2a636c3000


Successfully processed notification for message ID 18036d2a636c3000


Inside hosted service - for nsq


Started the consumer service and handler for NSQ


Notification event with message ID 180374440c2c3000 received: {"TemplateId":34,"EntityType":"inspection_v2","EventType":null,"NotifyRoleId":null,"NotifyUserId":null,"NotifyDynamicActor":"AssignedUser","EntityContext":{"Parameters":{"inspectionId":"794","orgId":"256","inspectionLink":"https://sandbox.oqsha.com/#/inspection-v2/edit-inspection-v2/794","emailFooter":"OQSHA Team","userName":"Hebert Eaton"}},"ActorContext":null,"Metadata":null}


Started processing notification for message ID 180374440c2c3000


Looking up the notification handler for message ID 180374440c2c3000


Event handling in process for message ID 180374440c2c3000


Sending message ID 180374440c2c3000 to DLQ


Dead letter envelope for DLQ message: {"SourceTopic":"notification.orchestrator","SourceChannel":"notification-orchestrator","FailedAtUtc":"2026-07-14T11:54:12.1558555Z","Attempts":1,"ErrorType":"OQSHA.Notification.Orchestrator.Exceptions.PermanentOrchestratorException","ErrorMessage":"No recipients received for message ID 180374440c2c3000","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.GetRecipientsAsync(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 97\r\n   at OQSHA.Notification.Orchestrator.NotificationHandlers.InspectionV2NotificationHandler.HandleTemplateBasedNotificationAsync(String messageId, NotificationEventDto request) in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\OQSHA.Notification.Orchestrator\\NotificationHandlers\\InspectionV2NotificationHandler.cs:line 83\r\n   at OQSHA.Notification.Orchestrator.NotificationHandlers.InspectionV2NotificationHandler.ProcessEventAsync(String messageId, NotificationEventDto request) in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\OQSHA.Notification.Orchestrator\\NotificationHandlers\\InspectionV2NotificationHandler.cs:line 56\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\":34,\"EntityType\":\"inspection_v2\",\"EventType\":null,\"NotifyRoleId\":null,\"NotifyUserId\":null,\"NotifyDynamicActor\":\"AssignedUser\",\"EntityContext\":{\"Parameters\":{\"inspectionId\":\"794\",\"orgId\":\"256\",\"inspectionLink\":\"https://sandbox.oqsha.com/#/inspection-v2/edit-inspection-v2/794\",\"emailFooter\":\"OQSHA Team\",\"userName\":\"Hebert Eaton\"}},\"ActorContext\":null,\"Metadata\":null}"}


Sent message ID 180374440c2c3000 to DLQ


Notification event with message ID 1803748b07ac3000 received: {"TemplateId":35,"EntityType":"inspection_v2","EventType":"inspection_v2.inspected","NotifyRoleId":null,"NotifyUserId":null,"NotifyDynamicActor":null,"EntityContext":{"Parameters":{"inspectionId":"794","orgId":"256","inspectionLink":"https://sandbox.oqsha.com/#/inspection-v2/edit-inspection-v2/794","emailFooter":"OQSHA Team","userName":"Hebert Eaton"}},"ActorContext":{"AssignedUser":[4416]},"Metadata":null}


Started processing notification for message ID 1803748b07ac3000


Looking up the notification handler for message ID 1803748b07ac3000


Event handling in process for message ID 1803748b07ac3000


Sending message ID 1803748b07ac3000 to DLQ


Dead letter envelope for DLQ message: {"SourceTopic":"notification.orchestrator","SourceChannel":"notification-orchestrator","FailedAtUtc":"2026-07-14T11:55:27.6045821Z","Attempts":1,"ErrorType":"OQSHA.Notification.Orchestrator.Exceptions.PermanentOrchestratorException","ErrorMessage":"No recipients received for message ID 1803748b07ac3000","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.GetRecipientsAsync(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 97\r\n   at OQSHA.Notification.Orchestrator.NotificationHandlers.InspectionV2NotificationHandler.HandleTemplateBasedNotificationAsync(String messageId, NotificationEventDto request) in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\OQSHA.Notification.Orchestrator\\NotificationHandlers\\InspectionV2NotificationHandler.cs:line 83\r\n   at OQSHA.Notification.Orchestrator.NotificationHandlers.InspectionV2NotificationHandler.ProcessEventAsync(String messageId, NotificationEventDto request) in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\OQSHA.Notification.Orchestrator\\NotificationHandlers\\InspectionV2NotificationHandler.cs:line 56\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\":35,\"EntityType\":\"inspection_v2\",\"EventType\":\"inspection_v2.inspected\",\"NotifyRoleId\":null,\"NotifyUserId\":null,\"NotifyDynamicActor\":null,\"EntityContext\":{\"Parameters\":{\"inspectionId\":\"794\",\"orgId\":\"256\",\"inspectionLink\":\"https://sandbox.oqsha.com/#/inspection-v2/edit-inspection-v2/794\",\"emailFooter\":\"OQSHA Team\",\"userName\":\"Hebert Eaton\"}},\"ActorContext\":{\"AssignedUser\":[4416]},\"Metadata\":null}"}


Sent message ID 1803748b07ac3000 to DLQ


Notification event with message ID 180374b8d6ac3000 received: {"TemplateId":34,"EntityType":"inspection_v2","EventType":null,"NotifyRoleId":null,"NotifyUserId":null,"NotifyDynamicActor":"AssignedUser","EntityContext":{"Parameters":{"inspectionId":"795","orgId":"256","inspectionLink":"https://sandbox.oqsha.com/#/inspection-v2/edit-inspection-v2/795","emailFooter":"OQSHA Team","userName":"Hebert Eaton"}},"ActorContext":{"AssignedUser":[4416]},"Metadata":null}


Started processing notification for message ID 180374b8d6ac3000


Looking up the notification handler for message ID 180374b8d6ac3000


Event handling in process for message ID 180374b8d6ac3000


Dispatching the notifications for message ID 180374b8d6ac3000


Successfully processed notification for message ID 180374b8d6ac3000


Notification event with message ID 180375ca676c3000 received: {"TemplateId":34,"EntityType":"inspection_v2","EventType":null,"NotifyRoleId":null,"NotifyUserId":null,"NotifyDynamicActor":"AssignedUser","EntityContext":{"Parameters":{"inspectionId":"796","orgId":"256","inspectionLink":"https://sandbox.oqsha.com/#/inspection-v2/edit-inspection-v2/796","emailFooter":"OQSHA Team","userName":"Hebert Eaton"}},"ActorContext":{"AssignedUser":[4416]},"Metadata":null}


Started processing notification for message ID 180375ca676c3000


Looking up the notification handler for message ID 180375ca676c3000


Event handling in process for message ID 180375ca676c3000


Dispatching the notifications for message ID 180375ca676c3000


Successfully processed notification for message ID 180375ca676c3000


Notification event with message ID 180375ca676c3001 received: {"TemplateId":37,"EntityType":"inspection_v2","EventType":null,"NotifyRoleId":null,"NotifyUserId":null,"NotifyDynamicActor":"AssignedUser","EntityContext":{"Parameters":{"inspectionId":"796","orgId":"256","inspectionLink":"https://sandbox.oqsha.com/#/inspection-v2/edit-inspection-v2/796","emailFooter":"OQSHA Team","userName":"Hebert Eaton"}},"ActorContext":{"AssignedUser":[4416]},"Metadata":null}


Started processing notification for message ID 180375ca676c3001


Looking up the notification handler for message ID 180375ca676c3001


Event handling in process for message ID 180375ca676c3001


Dispatching the notifications for message ID 180375ca676c3001


Successfully processed notification for message ID 180375ca676c3001


Started processing notification for message ID 1803798c5b2c3000


Looking up the notification handler for message ID 1803798c5b2c3000


Event handling in process for message ID 1803798c5b2c3000


Dispatching the notifications for message ID 1803798c5b2c3000


Successfully processed notification for message ID 1803798c5b2c3000


Started processing notification for message ID 1803798c5b2c3001


Looking up the notification handler for message ID 1803798c5b2c3001


Event handling in process for message ID 1803798c5b2c3001


Dispatching the notifications for message ID 1803798c5b2c3001


Successfully processed notification for message ID 1803798c5b2c3001


Started processing notification for message ID 18037c31916c3000


Looking up the notification handler for message ID 18037c31916c3000


Event handling in process for message ID 18037c31916c3000


Sending message ID 18037c31916c3000 to DLQ


Dead letter envelope for DLQ message: {"SourceTopic":"notification.orchestrator","SourceChannel":"notification-orchestrator","FailedAtUtc":"2026-07-14T12:30:30.5537809Z","Attempts":1,"ErrorType":"OQSHA.Notification.Orchestrator.Exceptions.PermanentOrchestratorException","ErrorMessage":"No recipients received for message ID 18037c31916c3000","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.WorkPermitV2NotificationHandler.HandleAsync(String messageId, NotificationEventDto request) in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\OQSHA.Notification.Orchestrator\\NotificationHandlers\\WorkPermitV2NotificationHandler.cs:line 62\r\n   at OQSHA.Notification.Orchestrator.NotificationHandlers.WorkPermitV2NotificationHandler.ProcessEventAsync(String messageId, NotificationEventDto request) in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\OQSHA.Notification.Orchestrator\\NotificationHandlers\\WorkPermitV2NotificationHandler.cs:line 46\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\":18,\"EntityType\":\"work_permit_v2\",\"EventType\":null,\"NotifyRoleId\":null,\"NotifyUserId\":null,\"NotifyDynamicActor\":\"Work_Permit_Authorization_Department_Head\",\"EntityContext\":{\"Parameters\":{\"workPermitId\":\"436\",\"workPermitV2Id\":\"436\",\"orgId\":\"264\",\"viewLink\":\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/264/436?dlType=viewWorkPermitV2\",\"workPermitLink\":\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/264/436?dlType=viewWorkPermitV2\",\"emailFooter\":\"OQSHA Team\"}},\"ActorContext\":null,\"Metadata\":null}"}


Sent message ID 18037c31916c3000 to DLQ


Started processing notification for message ID 18037c3191ac3000


Looking up the notification handler for message ID 18037c3191ac3000


Event handling in process for message ID 18037c3191ac3000


Sending message ID 18037c3191ac3000 to DLQ


Dead letter envelope for DLQ message: {"SourceTopic":"notification.orchestrator","SourceChannel":"notification-orchestrator","FailedAtUtc":"2026-07-14T12:30:30.7633328Z","Attempts":1,"ErrorType":"OQSHA.Notification.Orchestrator.Exceptions.PermanentOrchestratorException","ErrorMessage":"No recipients received for message ID 18037c3191ac3000","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.WorkPermitV2NotificationHandler.HandleAsync(String messageId, NotificationEventDto request) in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\OQSHA.Notification.Orchestrator\\NotificationHandlers\\WorkPermitV2NotificationHandler.cs:line 62\r\n   at OQSHA.Notification.Orchestrator.NotificationHandlers.WorkPermitV2NotificationHandler.ProcessEventAsync(String messageId, NotificationEventDto request) in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\OQSHA.Notification.Orchestrator\\NotificationHandlers\\WorkPermitV2NotificationHandler.cs:line 46\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\":19,\"EntityType\":\"work_permit_v2\",\"EventType\":null,\"NotifyRoleId\":null,\"NotifyUserId\":null,\"NotifyDynamicActor\":\"Work_Permit_Authorization_Department_Head\",\"EntityContext\":{\"Parameters\":{\"workPermitId\":\"436\",\"workPermitV2Id\":\"436\",\"orgId\":\"264\",\"viewLink\":\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/264/436?dlType=viewWorkPermitV2\",\"workPermitLink\":\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/264/436?dlType=viewWorkPermitV2\",\"emailFooter\":\"OQSHA Team\"}},\"ActorContext\":null,\"Metadata\":null}"}


Sent message ID 18037c3191ac3000 to DLQ


Started processing notification for message ID 18037ca4eb6c3000


Looking up the notification handler for message ID 18037ca4eb6c3000


Event handling in process for message ID 18037ca4eb6c3000


Dispatching the notifications for message ID 18037ca4eb6c3000


Successfully processed notification for message ID 18037ca4eb6c3000


Started processing notification for message ID 18037ca4eb6c3001


Looking up the notification handler for message ID 18037ca4eb6c3001


Event handling in process for message ID 18037ca4eb6c3001


Dispatching the notifications for message ID 18037ca4eb6c3001


Successfully processed notification for message ID 18037ca4eb6c3001


Started processing notification for message ID 18037d33606c3000


Looking up the notification handler for message ID 18037d33606c3000


Event handling in process for message ID 18037d33606c3000


Dispatching the notifications for message ID 18037d33606c3000


Successfully processed notification for message ID 18037d33606c3000


Started processing notification for message ID 18037d33606c3001


Looking up the notification handler for message ID 18037d33606c3001


Event handling in process for message ID 18037d33606c3001


Dispatching the notifications for message ID 18037d33606c3001


Successfully processed notification for message ID 18037d33606c3001


Started processing notification for message ID 18037ddf53ac3000


Looking up the notification handler for message ID 18037ddf53ac3000


Event handling in process for message ID 18037ddf53ac3000


Dispatching the notifications for message ID 18037ddf53ac3000


Successfully processed notification for message ID 18037ddf53ac3000


Started processing notification for message ID 18037ddf53ac3001


Looking up the notification handler for message ID 18037ddf53ac3001


Event handling in process for message ID 18037ddf53ac3001


Dispatching the notifications for message ID 18037ddf53ac3001


Successfully processed notification for message ID 18037ddf53ac3001


Started processing notification for message ID 18037e9945ac3000


Looking up the notification handler for message ID 18037e9945ac3000


Event handling in process for message ID 18037e9945ac3000


Dispatching the notifications for message ID 18037e9945ac3000


Successfully processed notification for message ID 18037e9945ac3000


Started processing notification for message ID 18037e9945ec3000


Looking up the notification handler for message ID 18037e9945ec3000


Event handling in process for message ID 18037e9945ec3000


Dispatching the notifications for message ID 18037e9945ec3000


Successfully processed notification for message ID 18037e9945ec3000


Started processing notification for message ID 18037ed8e46c3000


Looking up the notification handler for message ID 18037ed8e46c3000


Event handling in process for message ID 18037ed8e46c3000


Dispatching the notifications for message ID 18037ed8e46c3000


Successfully processed notification for message ID 18037ed8e46c3000


Started processing notification for message ID 18037ed8e46c3001


Looking up the notification handler for message ID 18037ed8e46c3001


Event handling in process for message ID 18037ed8e46c3001


Dispatching the notifications for message ID 18037ed8e46c3001


Successfully processed notification for message ID 18037ed8e46c3001


Started processing notification for message ID 18037ef9f26c3000


Looking up the notification handler for message ID 18037ef9f26c3000


Event handling in process for message ID 18037ef9f26c3000


Dispatching the notifications for message ID 18037ef9f26c3000


Successfully processed notification for message ID 18037ef9f26c3000


Started processing notification for message ID 18037ef9f26c3001


Looking up the notification handler for message ID 18037ef9f26c3001


Event handling in process for message ID 18037ef9f26c3001


Dispatching the notifications for message ID 18037ef9f26c3001


Successfully processed notification for message ID 18037ef9f26c3001


Started processing notification for message ID 18037fe3242c3000


Looking up the notification handler for message ID 18037fe3242c3000


Event handling in process for message ID 18037fe3242c3000


Dispatching the notifications for message ID 18037fe3242c3000


Successfully processed notification for message ID 18037fe3242c3000


Started processing notification for message ID 18037fe3246c3000


Looking up the notification handler for message ID 18037fe3246c3000


Event handling in process for message ID 18037fe3246c3000


Dispatching the notifications for message ID 18037fe3246c3000


Successfully processed notification for message ID 18037fe3246c3000


Started processing notification for message ID 180380a27a6c3000


Looking up the notification handler for message ID 180380a27a6c3000


Event handling in process for message ID 180380a27a6c3000


Dispatching the notifications for message ID 180380a27a6c3000


Successfully processed notification for message ID 180380a27a6c3000


Started processing notification for message ID 180380a27aac3000


Looking up the notification handler for message ID 180380a27aac3000


Event handling in process for message ID 180380a27aac3000