Level: Information

Message: Started processing notification for message ID 1834f8980d2c3000


Message: Looking up the notification handler for message ID 1834f8980d2c3000


Message: Event handling in process for message ID 1834f8980d2c3000


Message: Sending message ID 1834f8980d2c3000 to DLQ


Message: Dead letter envelope for DLQ message: {"SourceTopic":"stg.notification.orchestrator","SourceChannel":"notification-orchestrator","FailedAtUtc":"2026-08-23T19:48:13.917639Z","Attempts":1,"ErrorType":"OQSHA.Notification.Orchestrator.Exceptions.PermanentOrchestratorException","ErrorMessage":"Work Permit V2 ID 629 not found for message ID 1834f8980d2c3000","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\":\"629\",\"workPermitV2Id\":\"629\",\"orgId\":\"264\",\"viewLink\":\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/264/629?dlType=viewWorkPermitV2\",\"workPermitLink\":\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/264/629?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}"}


Message: Sent message ID 1834f8980d2c3000 to DLQ


Message: Started processing notification for message ID 1834f8980dec3000


Message: Looking up the notification handler for message ID 1834f8980dec3000


Message: Event handling in process for message ID 1834f8980dec3000


Message: Sending message ID 1834f8980dec3000 to DLQ


Message: Dead letter envelope for DLQ message: {"SourceTopic":"stg.notification.orchestrator","SourceChannel":"notification-orchestrator","FailedAtUtc":"2026-08-23T19:48:14.0593696Z","Attempts":1,"ErrorType":"OQSHA.Notification.Orchestrator.Exceptions.PermanentOrchestratorException","ErrorMessage":"Work Permit V2 ID 629 not found for message ID 1834f8980dec3000","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\":\"629\",\"workPermitV2Id\":\"629\",\"orgId\":\"264\",\"viewLink\":\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/264/629?dlType=viewWorkPermitV2\",\"workPermitLink\":\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/264/629?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}"}


Message: Sent message ID 1834f8980dec3000 to DLQ


Message: Started processing notification for message ID 1834f8eb52ec3000


Message: Looking up the notification handler for message ID 1834f8eb52ec3000


Message: Event handling in process for message ID 1834f8eb52ec3000


Message: Sending message ID 1834f8eb52ec3000 to DLQ


Message: Dead letter envelope for DLQ message: {"SourceTopic":"stg.notification.orchestrator","SourceChannel":"notification-orchestrator","FailedAtUtc":"2026-08-23T19:49:43.3251591Z","Attempts":1,"ErrorType":"OQSHA.Notification.Orchestrator.Exceptions.PermanentOrchestratorException","ErrorMessage":"Work Permit V2 ID 629 not found for message ID 1834f8eb52ec3000","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\":\"629\",\"workPermitV2Id\":\"629\",\"orgId\":\"264\",\"viewLink\":\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/264/629?dlType=viewWorkPermitV2\",\"workPermitLink\":\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/264/629?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}"}


Message: Sent message ID 1834f8eb52ec3000 to DLQ


Message: Started processing notification for message ID 1834f8eb532c3000


Message: Looking up the notification handler for message ID 1834f8eb532c3000


Message: Event handling in process for message ID 1834f8eb532c3000


Message: Sending message ID 1834f8eb532c3000 to DLQ


Message: Dead letter envelope for DLQ message: {"SourceTopic":"stg.notification.orchestrator","SourceChannel":"notification-orchestrator","FailedAtUtc":"2026-08-23T19:49:43.5595034Z","Attempts":1,"ErrorType":"OQSHA.Notification.Orchestrator.Exceptions.PermanentOrchestratorException","ErrorMessage":"Work Permit V2 ID 629 not found for message ID 1834f8eb532c3000","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\":\"629\",\"workPermitV2Id\":\"629\",\"orgId\":\"264\",\"viewLink\":\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/264/629?dlType=viewWorkPermitV2\",\"workPermitLink\":\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/264/629?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}"}


Message: Sent message ID 1834f8eb532c3000 to DLQ


Message: Started processing notification for message ID 1834fbeb61ac3000


Message: Looking up the notification handler for message ID 1834fbeb61ac3000


Message: Event handling in process for message ID 1834fbeb61ac3000


Message: Sending message ID 1834fbeb61ac3000 to DLQ


Message: Dead letter envelope for DLQ message: {"SourceTopic":"stg.notification.orchestrator","SourceChannel":"notification-orchestrator","FailedAtUtc":"2026-08-23T20:03:28.0217375Z","Attempts":1,"ErrorType":"OQSHA.Notification.Orchestrator.Exceptions.PermanentOrchestratorException","ErrorMessage":"Work Permit V2 ID 630 not found for message ID 1834fbeb61ac3000","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\":\"630\",\"workPermitV2Id\":\"630\",\"orgId\":\"264\",\"viewLink\":\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/264/630?dlType=viewWorkPermitV2\",\"workPermitLink\":\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/264/630?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}"}


Message: Sent message ID 1834fbeb61ac3000 to DLQ


Message: Started processing notification for message ID 1834fbeb61ec3000


Message: Looking up the notification handler for message ID 1834fbeb61ec3000


Message: Event handling in process for message ID 1834fbeb61ec3000


Message: Sending message ID 1834fbeb61ec3000 to DLQ


Message: Dead letter envelope for DLQ message: {"SourceTopic":"stg.notification.orchestrator","SourceChannel":"notification-orchestrator","FailedAtUtc":"2026-08-23T20:03:28.0536555Z","Attempts":1,"ErrorType":"OQSHA.Notification.Orchestrator.Exceptions.PermanentOrchestratorException","ErrorMessage":"Work Permit V2 ID 630 not found for message ID 1834fbeb61ec3000","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\":\"630\",\"workPermitV2Id\":\"630\",\"orgId\":\"264\",\"viewLink\":\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/264/630?dlType=viewWorkPermitV2\",\"workPermitLink\":\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/264/630?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}"}


Message: Sent message ID 1834fbeb61ec3000 to DLQ


Message: Started processing notification for message ID 1834fc180dac3000


Message: Looking up the notification handler for message ID 1834fc180dac3000


Message: Event handling in process for message ID 1834fc180dac3000


Message: Sending message ID 1834fc180dac3000 to DLQ


Message: Dead letter envelope for DLQ message: {"SourceTopic":"stg.notification.orchestrator","SourceChannel":"notification-orchestrator","FailedAtUtc":"2026-08-23T20:04:15.9899083Z","Attempts":1,"ErrorType":"OQSHA.Notification.Orchestrator.Exceptions.PermanentOrchestratorException","ErrorMessage":"Work Permit V2 ID 630 not found for message ID 1834fc180dac3000","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\":\"630\",\"workPermitV2Id\":\"630\",\"orgId\":\"264\",\"viewLink\":\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/264/630?dlType=viewWorkPermitV2\",\"workPermitLink\":\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/264/630?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}"}


Message: Sent message ID 1834fc180dac3000 to DLQ


Message: Started processing notification for message ID 1834fc180eac3000


Message: Looking up the notification handler for message ID 1834fc180eac3000


Message: Event handling in process for message ID 1834fc180eac3000


Message: Sending message ID 1834fc180eac3000 to DLQ


Message: Dead letter envelope for DLQ message: {"SourceTopic":"stg.notification.orchestrator","SourceChannel":"notification-orchestrator","FailedAtUtc":"2026-08-23T20:04:16.0589136Z","Attempts":1,"ErrorType":"OQSHA.Notification.Orchestrator.Exceptions.PermanentOrchestratorException","ErrorMessage":"Work Permit V2 ID 630 not found for message ID 1834fc180eac3000","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\":\"630\",\"workPermitV2Id\":\"630\",\"orgId\":\"264\",\"viewLink\":\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/264/630?dlType=viewWorkPermitV2\",\"workPermitLink\":\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/264/630?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}"}


Message: Sent message ID 1834fc180eac3000 to DLQ