Inside hosted service - for nsq


Started the consumer service and handler for NSQ


Started processing notification for message ID 1806ce5b1aec3000


Looking up the notification handler for message ID 1806ce5b1aec3000


Event handling in process for message ID 1806ce5b1aec3000


Sending message ID 1806ce5b1aec3000 to DLQ


Dead letter envelope for DLQ message: {"SourceTopic":"notification.orchestrator","SourceChannel":"notification-orchestrator","FailedAtUtc":"2026-07-17T05:25:22.323326Z","Attempts":1,"ErrorType":"OQSHA.Notification.Orchestrator.Exceptions.PermanentOrchestratorException","ErrorMessage":"No recipients received for message ID 1806ce5b1aec3000","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\":\"420\",\"workPermitV2Id\":\"420\",\"orgId\":\"264\",\"viewLink\":\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/264/420?dlType=viewWorkPermitV2\",\"workPermitLink\":\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/264/420?dlType=viewWorkPermitV2\",\"emailFooter\":\"OQSHA Team\"}},\"ActorContext\":null,\"Metadata\":null}"}


Sent message ID 1806ce5b1aec3000 to DLQ


Started processing notification for message ID 1806ce5b1b2c3000


Looking up the notification handler for message ID 1806ce5b1b2c3000


Event handling in process for message ID 1806ce5b1b2c3000


Sending message ID 1806ce5b1b2c3000 to DLQ


Dead letter envelope for DLQ message: {"SourceTopic":"notification.orchestrator","SourceChannel":"notification-orchestrator","FailedAtUtc":"2026-07-17T05:25:22.3884683Z","Attempts":1,"ErrorType":"OQSHA.Notification.Orchestrator.Exceptions.PermanentOrchestratorException","ErrorMessage":"No recipients received for message ID 1806ce5b1b2c3000","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\":\"420\",\"workPermitV2Id\":\"420\",\"orgId\":\"264\",\"viewLink\":\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/264/420?dlType=viewWorkPermitV2\",\"workPermitLink\":\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/264/420?dlType=viewWorkPermitV2\",\"emailFooter\":\"OQSHA Team\"}},\"ActorContext\":null,\"Metadata\":null}"}


Sent message ID 1806ce5b1b2c3000 to DLQ


Started processing notification for message ID 1806ce6ddeac3000


Looking up the notification handler for message ID 1806ce6ddeac3000


Event handling in process for message ID 1806ce6ddeac3000


Dispatching the notifications for message ID 1806ce6ddeac3000


Successfully processed notification for message ID 1806ce6ddeac3000


Started processing notification for message ID 1806ce6ddeec3000


Looking up the notification handler for message ID 1806ce6ddeec3000


Event handling in process for message ID 1806ce6ddeec3000


Dispatching the notifications for message ID 1806ce6ddeec3000


Successfully processed notification for message ID 1806ce6ddeec3000


Started processing notification for message ID 1806ce74ec2c3000


Looking up the notification handler for message ID 1806ce74ec2c3000


Event handling in process for message ID 1806ce74ec2c3000


Dispatching the notifications for message ID 1806ce74ec2c3000


Successfully processed notification for message ID 1806ce74ec2c3000


Started processing notification for message ID 1806ce74ec2c3001


Looking up the notification handler for message ID 1806ce74ec2c3001


Event handling in process for message ID 1806ce74ec2c3001


Dispatching the notifications for message ID 1806ce74ec2c3001


Successfully processed notification for message ID 1806ce74ec2c3001


Started processing notification for message ID 1806ce7c526c3000


Looking up the notification handler for message ID 1806ce7c526c3000


Event handling in process for message ID 1806ce7c526c3000


Dispatching the notifications for message ID 1806ce7c526c3000


Successfully processed notification for message ID 1806ce7c526c3000


Started processing notification for message ID 1806ce7c526c3001


Looking up the notification handler for message ID 1806ce7c526c3001


Event handling in process for message ID 1806ce7c526c3001


Dispatching the notifications for message ID 1806ce7c526c3001


Successfully processed notification for message ID 1806ce7c526c3001


Started processing notification for message ID 1806ce9296ac3000


Looking up the notification handler for message ID 1806ce9296ac3000


Event handling in process for message ID 1806ce9296ac3000


Dispatching the notifications for message ID 1806ce9296ac3000


Successfully processed notification for message ID 1806ce9296ac3000


Started processing notification for message ID 1806ce92972c3000


Looking up the notification handler for message ID 1806ce92972c3000


Event handling in process for message ID 1806ce92972c3000


Dispatching the notifications for message ID 1806ce92972c3000


Successfully processed notification for message ID 1806ce92972c3000


Started processing notification for message ID 1806cf28beac3000


Looking up the notification handler for message ID 1806cf28beac3000


Event handling in process for message ID 1806cf28beac3000


Sending message ID 1806cf28beac3000 to DLQ


Dead letter envelope for DLQ message: {"SourceTopic":"notification.orchestrator","SourceChannel":"notification-orchestrator","FailedAtUtc":"2026-07-17T05:29:02.1735838Z","Attempts":1,"ErrorType":"OQSHA.Notification.Orchestrator.Exceptions.PermanentOrchestratorException","ErrorMessage":"No recipients received for message ID 1806cf28beac3000","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\":\"421\",\"workPermitV2Id\":\"421\",\"orgId\":\"264\",\"viewLink\":\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/264/421?dlType=viewWorkPermitV2\",\"workPermitLink\":\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/264/421?dlType=viewWorkPermitV2\",\"emailFooter\":\"OQSHA Team\"}},\"ActorContext\":null,\"Metadata\":null}"}


Sent message ID 1806cf28beac3000 to DLQ


Started processing notification for message ID 1806cf28beac3001


Looking up the notification handler for message ID 1806cf28beac3001


Event handling in process for message ID 1806cf28beac3001


Sending message ID 1806cf28beac3001 to DLQ


Dead letter envelope for DLQ message: {"SourceTopic":"notification.orchestrator","SourceChannel":"notification-orchestrator","FailedAtUtc":"2026-07-17T05:29:02.2866198Z","Attempts":1,"ErrorType":"OQSHA.Notification.Orchestrator.Exceptions.PermanentOrchestratorException","ErrorMessage":"No recipients received for message ID 1806cf28beac3001","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\":\"421\",\"workPermitV2Id\":\"421\",\"orgId\":\"264\",\"viewLink\":\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/264/421?dlType=viewWorkPermitV2\",\"workPermitLink\":\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/264/421?dlType=viewWorkPermitV2\",\"emailFooter\":\"OQSHA Team\"}},\"ActorContext\":null,\"Metadata\":null}"}


Sent message ID 1806cf28beac3001 to DLQ


Started processing notification for message ID 1806cf3b306c3000


Looking up the notification handler for message ID 1806cf3b306c3000


Event handling in process for message ID 1806cf3b306c3000


Dispatching the notifications for message ID 1806cf3b306c3000


Successfully processed notification for message ID 1806cf3b306c3000


Started processing notification for message ID 1806cf3b306c3001


Looking up the notification handler for message ID 1806cf3b306c3001


Event handling in process for message ID 1806cf3b306c3001


Dispatching the notifications for message ID 1806cf3b306c3001


Successfully processed notification for message ID 1806cf3b306c3001


Started processing notification for message ID 1806cf4416ec3000


Looking up the notification handler for message ID 1806cf4416ec3000


Event handling in process for message ID 1806cf4416ec3000


Dispatching the notifications for message ID 1806cf4416ec3000


Successfully processed notification for message ID 1806cf4416ec3000


Started processing notification for message ID 1806cf4416ec3001


Looking up the notification handler for message ID 1806cf4416ec3001


Event handling in process for message ID 1806cf4416ec3001


Dispatching the notifications for message ID 1806cf4416ec3001


Successfully processed notification for message ID 1806cf4416ec3001


Started processing notification for message ID 1806cf4bd8ec3000


Looking up the notification handler for message ID 1806cf4bd8ec3000


Event handling in process for message ID 1806cf4bd8ec3000


Dispatching the notifications for message ID 1806cf4bd8ec3000


Successfully processed notification for message ID 1806cf4bd8ec3000


Started processing notification for message ID 1806cf4bd8ec3001


Looking up the notification handler for message ID 1806cf4bd8ec3001


Event handling in process for message ID 1806cf4bd8ec3001


Dispatching the notifications for message ID 1806cf4bd8ec3001


Successfully processed notification for message ID 1806cf4bd8ec3001


Started processing notification for message ID 1806cf6aebac3000


Looking up the notification handler for message ID 1806cf6aebac3000


Event handling in process for message ID 1806cf6aebac3000


Dispatching the notifications for message ID 1806cf6aebac3000


Successfully processed notification for message ID 1806cf6aebac3000


Started processing notification for message ID 1806cf6aebac3001


Looking up the notification handler for message ID 1806cf6aebac3001


Event handling in process for message ID 1806cf6aebac3001


Dispatching the notifications for message ID 1806cf6aebac3001


Successfully processed notification for message ID 1806cf6aebac3001


Started processing notification for message ID 1806cf733fec3000


Looking up the notification handler for message ID 1806cf733fec3000


Event handling in process for message ID 1806cf733fec3000


Dispatching the notifications for message ID 1806cf733fec3000


Successfully processed notification for message ID 1806cf733fec3000


Started processing notification for message ID 1806cf73402c3000


Looking up the notification handler for message ID 1806cf73402c3000


Event handling in process for message ID 1806cf73402c3000


Dispatching the notifications for message ID 1806cf73402c3000


Successfully processed notification for message ID 1806cf73402c3000


Started processing notification for message ID 1806cf7a64ec3000


Looking up the notification handler for message ID 1806cf7a64ec3000


Event handling in process for message ID 1806cf7a64ec3000


Dispatching the notifications for message ID 1806cf7a64ec3000


Successfully processed notification for message ID 1806cf7a64ec3000


Started processing notification for message ID 1806cf7a652c3000


Looking up the notification handler for message ID 1806cf7a652c3000


Event handling in process for message ID 1806cf7a652c3000


Dispatching the notifications for message ID 1806cf7a652c3000


Successfully processed notification for message ID 1806cf7a652c3000


Started processing notification for message ID 1806cf9756ec3000


Looking up the notification handler for message ID 1806cf9756ec3000


Event handling in process for message ID 1806cf9756ec3000


Dispatching the notifications for message ID 1806cf9756ec3000


Successfully processed notification for message ID 1806cf9756ec3000


Started processing notification for message ID 1806cf9756ec3001


Looking up the notification handler for message ID 1806cf9756ec3001


Event handling in process for message ID 1806cf9756ec3001


Dispatching the notifications for message ID 1806cf9756ec3001


Successfully processed notification for message ID 1806cf9756ec3001


Started processing notification for message ID 1806cfc340ec3000


Looking up the notification handler for message ID 1806cfc340ec3000


Event handling in process for message ID 1806cfc340ec3000


Sending message ID 1806cfc340ec3000 to DLQ


Dead letter envelope for DLQ message: {"SourceTopic":"notification.orchestrator","SourceChannel":"notification-orchestrator","FailedAtUtc":"2026-07-17T05:31:48.0745622Z","Attempts":1,"ErrorType":"OQSHA.Notification.Orchestrator.Exceptions.PermanentOrchestratorException","ErrorMessage":"Work Permit V2 ID 413 not found for message ID 1806cfc340ec3000","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\":\"413\",\"workPermitV2Id\":\"413\",\"orgId\":\"264\",\"viewLink\":\"http://localhost:4200/#/work-permit-v2/view-work-permit/264/413?dlType=viewWorkPermitV2\",\"workPermitLink\":\"http://localhost:4200/#/work-permit-v2/view-work-permit/264/413?dlType=viewWorkPermitV2\",\"emailFooter\":\"OQSHA Team\"}},\"ActorContext\":{\"Requestor\":[678],\"Work_Permit_Authorization_Department_Head\":[678],\"Work_Permit_Authorization_Area_Owner\":[678]},\"Metadata\":null}"}


Sent message ID 1806cfc340ec3000 to DLQ


Started processing notification for message ID 1806cfc3412c3000


Looking up the notification handler for message ID 1806cfc3412c3000


Event handling in process for message ID 1806cfc3412c3000


Sending message ID 1806cfc3412c3000 to DLQ


Dead letter envelope for DLQ message: {"SourceTopic":"notification.orchestrator","SourceChannel":"notification-orchestrator","FailedAtUtc":"2026-07-17T05:31:48.2809032Z","Attempts":1,"ErrorType":"OQSHA.Notification.Orchestrator.Exceptions.PermanentOrchestratorException","ErrorMessage":"Work Permit V2 ID 413 not found for message ID 1806cfc3412c3000","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\":\"413\",\"workPermitV2Id\":\"413\",\"orgId\":\"264\",\"viewLink\":\"http://localhost:4200/#/work-permit-v2/view-work-permit/264/413?dlType=viewWorkPermitV2\",\"workPermitLink\":\"http://localhost:4200/#/work-permit-v2/view-work-permit/264/413?dlType=viewWorkPermitV2\",\"emailFooter\":\"OQSHA Team\"}},\"ActorContext\":{\"Requestor\":[678],\"Work_Permit_Authorization_Department_Head\":[678],\"Work_Permit_Authorization_Area_Owner\":[678]},\"Metadata\":null}"}


Sent message ID 1806cfc3412c3000 to DLQ


Inside hosted service - for nsq


Started the consumer service and handler for NSQ


Started processing notification for message ID 1806d810342c3000


Looking up the notification handler for message ID 1806d810342c3000


Event handling in process for message ID 1806d810342c3000


Sending message ID 1806d810342c3000 to DLQ


Dead letter envelope for DLQ message: {"SourceTopic":"notification.orchestrator","SourceChannel":"notification-orchestrator","FailedAtUtc":"2026-07-17T06:09:50.5462917Z","Attempts":1,"ErrorType":"OQSHA.Notification.Orchestrator.Exceptions.PermanentOrchestratorException","ErrorMessage":"Work Permit V2 ID 414 not found for message ID 1806d810342c3000","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\":\"414\",\"workPermitV2Id\":\"414\",\"orgId\":\"264\",\"viewLink\":\"http://localhost:4200/#/work-permit-v2/view-work-permit/264/414?dlType=viewWorkPermitV2\",\"workPermitLink\":\"http://localhost:4200/#/work-permit-v2/view-work-permit/264/414?dlType=viewWorkPermitV2\",\"emailFooter\":\"OQSHA Team\"}},\"ActorContext\":{\"Requestor\":[678],\"Work_Permit_Authorization_Department_Head\":[678],\"Work_Permit_Authorization_Area_Owner\":[678]},\"Metadata\":null}"}


Sent message ID 1806d810342c3000 to DLQ


Started processing notification for message ID 1806d810346c3000


Looking up the notification handler for message ID 1806d810346c3000


Event handling in process for message ID 1806d810346c3000


Sending message ID 1806d810346c3000 to DLQ


Dead letter envelope for DLQ message: {"SourceTopic":"notification.orchestrator","SourceChannel":"notification-orchestrator","FailedAtUtc":"2026-07-17T06:09:50.5880872Z","Attempts":1,"ErrorType":"OQSHA.Notification.Orchestrator.Exceptions.PermanentOrchestratorException","ErrorMessage":"Work Permit V2 ID 414 not found for message ID 1806d810346c3000","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\":\"414\",\"workPermitV2Id\":\"414\",\"orgId\":\"264\",\"viewLink\":\"http://localhost:4200/#/work-permit-v2/view-work-permit/264/414?dlType=viewWorkPermitV2\",\"workPermitLink\":\"http://localhost:4200/#/work-permit-v2/view-work-permit/264/414?dlType=viewWorkPermitV2\",\"emailFooter\":\"OQSHA Team\"}},\"ActorContext\":{\"Requestor\":[678],\"Work_Permit_Authorization_Department_Head\":[678],\"Work_Permit_Authorization_Area_Owner\":[678]},\"Metadata\":null}"}


Sent message ID 1806d810346c3000 to DLQ


Started processing notification for message ID 1806f91f9fec3000


Looking up the notification handler for message ID 1806f91f9fec3000


Event handling in process for message ID 1806f91f9fec3000


Sending message ID 1806f91f9fec3000 to DLQ


Dead letter envelope for DLQ message: {"SourceTopic":"notification.orchestrator","SourceChannel":"notification-orchestrator","FailedAtUtc":"2026-07-17T08:41:17.3075237Z","Attempts":1,"ErrorType":"OQSHA.Notification.Orchestrator.Exceptions.PermanentOrchestratorException","ErrorMessage":"Work Permit V2 ID 415 not found for message ID 1806f91f9fec3000","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\":\"415\",\"workPermitV2Id\":\"415\",\"orgId\":\"264\",\"viewLink\":\"http://localhost:4200/#/work-permit-v2/view-work-permit/264/415?dlType=viewWorkPermitV2\",\"workPermitLink\":\"http://localhost:4200/#/work-permit-v2/view-work-permit/264/415?dlType=viewWorkPermitV2\",\"emailFooter\":\"OQSHA Team\"}},\"ActorContext\":{\"Requestor\":[678],\"Work_Permit_Authorization_Department_Head\":[678],\"Work_Permit_Authorization_Area_Owner\":[678]},\"Metadata\":null}"}


Sent message ID 1806f91f9fec3000 to DLQ


Started processing notification for message ID 1806f91f9fec3001


Looking up the notification handler for message ID 1806f91f9fec3001


Event handling in process for message ID 1806f91f9fec3001


Sending message ID 1806f91f9fec3001 to DLQ


Dead letter envelope for DLQ message: {"SourceTopic":"notification.orchestrator","SourceChannel":"notification-orchestrator","FailedAtUtc":"2026-07-17T08:41:17.4580711Z","Attempts":1,"ErrorType":"OQSHA.Notification.Orchestrator.Exceptions.PermanentOrchestratorException","ErrorMessage":"Work Permit V2 ID 415 not found for message ID 1806f91f9fec3001","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\":\"415\",\"workPermitV2Id\":\"415\",\"orgId\":\"264\",\"viewLink\":\"http://localhost:4200/#/work-permit-v2/view-work-permit/264/415?dlType=viewWorkPermitV2\",\"workPermitLink\":\"http://localhost:4200/#/work-permit-v2/view-work-permit/264/415?dlType=viewWorkPermitV2\",\"emailFooter\":\"OQSHA Team\"}},\"ActorContext\":{\"Requestor\":[678],\"Work_Permit_Authorization_Department_Head\":[678],\"Work_Permit_Authorization_Area_Owner\":[678]},\"Metadata\":null}"}


Sent message ID 1806f91f9fec3001 to DLQ


Started processing notification for message ID 180707a8d2ac3000


Looking up the notification handler for message ID 180707a8d2ac3000


Event handling in process for message ID 180707a8d2ac3000


Sending message ID 180707a8d2ac3000 to DLQ


Dead letter envelope for DLQ message: {"SourceTopic":"notification.orchestrator","SourceChannel":"notification-orchestrator","FailedAtUtc":"2026-07-17T09:47:52.8669435Z","Attempts":1,"ErrorType":"OQSHA.Notification.Orchestrator.Exceptions.PermanentOrchestratorException","ErrorMessage":"Work Permit V2 ID 415 not found for message ID 180707a8d2ac3000","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\":\"415\",\"workPermitV2Id\":\"415\",\"orgId\":\"264\",\"viewLink\":\"http://localhost:4200/#/work-permit-v2/view-work-permit/264/415?dlType=viewWorkPermitV2\",\"workPermitLink\":\"http://localhost:4200/#/work-permit-v2/view-work-permit/264/415?dlType=viewWorkPermitV2\",\"emailFooter\":\"OQSHA Team\"}},\"ActorContext\":{\"Requestor\":[678],\"Work_Permit_Authorization_Department_Head\":[678],\"Work_Permit_Authorization_Area_Owner\":[678]},\"Metadata\":null}"}


Sent message ID 180707a8d2ac3000 to DLQ


Started processing notification for message ID 180707a8d2ac3001


Looking up the notification handler for message ID 180707a8d2ac3001


Event handling in process for message ID 180707a8d2ac3001


Sending message ID 180707a8d2ac3001 to DLQ


Dead letter envelope for DLQ message: {"SourceTopic":"notification.orchestrator","SourceChannel":"notification-orchestrator","FailedAtUtc":"2026-07-17T09:47:52.8805396Z","Attempts":1,"ErrorType":"OQSHA.Notification.Orchestrator.Exceptions.PermanentOrchestratorException","ErrorMessage":"Work Permit V2 ID 415 not found for message ID 180707a8d2ac3001","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\":\"415\",\"workPermitV2Id\":\"415\",\"orgId\":\"264\",\"viewLink\":\"http://localhost:4200/#/work-permit-v2/view-work-permit/264/415?dlType=viewWorkPermitV2\",\"workPermitLink\":\"http://localhost:4200/#/work-permit-v2/view-work-permit/264/415?dlType=viewWorkPermitV2\",\"emailFooter\":\"OQSHA Team\"}},\"ActorContext\":{\"Requestor\":[678],\"Work_Permit_Authorization_Department_Head\":[678],\"Work_Permit_Authorization_Area_Owner\":[678]},\"Metadata\":null}"}


Sent message ID 180707a8d2ac3001 to DLQ


Started processing notification for message ID 18070e2ebfac3000


Looking up the notification handler for message ID 18070e2ebfac3000


Event handling in process for message ID 18070e2ebfac3000


Sending message ID 18070e2ebfac3000 to DLQ


Dead letter envelope for DLQ message: {"SourceTopic":"notification.orchestrator","SourceChannel":"notification-orchestrator","FailedAtUtc":"2026-07-17T10:17:45.9314878Z","Attempts":1,"ErrorType":"OQSHA.Notification.Orchestrator.Exceptions.PermanentOrchestratorException","ErrorMessage":"Work Permit V2 ID 416 not found for message ID 18070e2ebfac3000","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\":\"416\",\"workPermitV2Id\":\"416\",\"orgId\":\"264\",\"viewLink\":\"http://localhost:4200/#/work-permit-v2/view-work-permit/264/416?dlType=viewWorkPermitV2\",\"workPermitLink\":\"http://localhost:4200/#/work-permit-v2/view-work-permit/264/416?dlType=viewWorkPermitV2\",\"emailFooter\":\"OQSHA Team\"}},\"ActorContext\":{\"Requestor\":[678],\"Work_Permit_Authorization_Department_Head\":[678],\"Work_Permit_Authorization_Area_Owner\":[678]},\"Metadata\":null}"}


Sent message ID 18070e2ebfac3000 to DLQ


Started processing notification for message ID 18070e2ebfec3000


Looking up the notification handler for message ID 18070e2ebfec3000


Event handling in process for message ID 18070e2ebfec3000


Sending message ID 18070e2ebfec3000 to DLQ


Dead letter envelope for DLQ message: {"SourceTopic":"notification.orchestrator","SourceChannel":"notification-orchestrator","FailedAtUtc":"2026-07-17T10:17:46.1044254Z","Attempts":1,"ErrorType":"OQSHA.Notification.Orchestrator.Exceptions.PermanentOrchestratorException","ErrorMessage":"Work Permit V2 ID 416 not found for message ID 18070e2ebfec3000","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\":\"416\",\"workPermitV2Id\":\"416\",\"orgId\":\"264\",\"viewLink\":\"http://localhost:4200/#/work-permit-v2/view-work-permit/264/416?dlType=viewWorkPermitV2\",\"workPermitLink\":\"http://localhost:4200/#/work-permit-v2/view-work-permit/264/416?dlType=viewWorkPermitV2\",\"emailFooter\":\"OQSHA Team\"}},\"ActorContext\":{\"Requestor\":[678],\"Work_Permit_Authorization_Department_Head\":[678],\"Work_Permit_Authorization_Area_Owner\":[678]},\"Metadata\":null}"}


Sent message ID 18070e2ebfec3000 to DLQ


Started processing notification for message ID 18070f740f2c3000


Looking up the notification handler for message ID 18070f740f2c3000


Event handling in process for message ID 18070f740f2c3000


Sending message ID 18070f740f2c3000 to DLQ


Dead letter envelope for DLQ message: {"SourceTopic":"notification.orchestrator","SourceChannel":"notification-orchestrator","FailedAtUtc":"2026-07-17T10:23:35.2284142Z","Attempts":1,"ErrorType":"OQSHA.Notification.Orchestrator.Exceptions.PermanentOrchestratorException","ErrorMessage":"Work Permit V2 ID 416 not found for message ID 18070f740f2c3000","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\":\"416\",\"workPermitV2Id\":\"416\",\"orgId\":\"264\",\"viewLink\":\"http://localhost:4200/#/work-permit-v2/view-work-permit/264/416?dlType=viewWorkPermitV2\",\"workPermitLink\":\"http://localhost:4200/#/work-permit-v2/view-work-permit/264/416?dlType=viewWorkPermitV2\",\"emailFooter\":\"OQSHA Team\"}},\"ActorContext\":{\"Requestor\":[678],\"Work_Permit_Authorization_Department_Head\":[678],\"Work_Permit_Authorization_Area_Owner\":[678]},\"Metadata\":null}"}


Sent message ID 18070f740f2c3000 to DLQ


Started processing notification for message ID 18070f740f6c3000


Looking up the notification handler for message ID 18070f740f6c3000


Event handling in process for message ID 18070f740f6c3000


Sending message ID 18070f740f6c3000 to DLQ


Dead letter envelope for DLQ message: {"SourceTopic":"notification.orchestrator","SourceChannel":"notification-orchestrator","FailedAtUtc":"2026-07-17T10:23:35.3410368Z","Attempts":1,"ErrorType":"OQSHA.Notification.Orchestrator.Exceptions.PermanentOrchestratorException","ErrorMessage":"Work Permit V2 ID 416 not found for message ID 18070f740f6c3000","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\":\"416\",\"workPermitV2Id\":\"416\",\"orgId\":\"264\",\"viewLink\":\"http://localhost:4200/#/work-permit-v2/view-work-permit/264/416?dlType=viewWorkPermitV2\",\"workPermitLink\":\"http://localhost:4200/#/work-permit-v2/view-work-permit/264/416?dlType=viewWorkPermitV2\",\"emailFooter\":\"OQSHA Team\"}},\"ActorContext\":{\"Requestor\":[678],\"Work_Permit_Authorization_Department_Head\":[678],\"Work_Permit_Authorization_Area_Owner\":[678]},\"Metadata\":null}"}


Sent message ID 18070f740f6c3000 to DLQ


Started processing notification for message ID 180752db046c3000


Looking up the notification handler for message ID 180752db046c3000


Event handling in process for message ID 180752db046c3000


Dispatching the notifications for message ID 180752db046c3000


Successfully processed notification for message ID 180752db046c3000


Started processing notification for message ID 180752db046c3001


Looking up the notification handler for message ID 180752db046c3001


Event handling in process for message ID 180752db046c3001


Dispatching the notifications for message ID 180752db046c3001


Successfully processed notification for message ID 180752db046c3001