{"Timestamp":"2026-07-19T02:29:17.2506194+00:00","Level":"Information","Data":{"EventId":3091016791},"Message":"Inside hosted service - for nsq"}

{"Timestamp":"2026-07-19T02:29:17.3943756+00:00","Level":"Information","Data":{"EventId":3138514657},"Message":"Started the consumer service and handler for NSQ"}

{"Timestamp":"2026-07-19T04:11:29.7042204+00:00","Level":"Information","Data":{"EventId":3188668640},"Message":"Notification event with message ID 180932e056ec3000 received: {\"TemplateId\":18,\"EntityType\":\"work_permit_v2\",\"EventType\":null,\"NotifyRoleId\":null,\"NotifyUserId\":null,\"NotifyDynamicActor\":\"Work_Permit_Authorization_Department_Head\",\"EntityContext\":{\"Parameters\":{\"workPermitId\":\"438\",\"workPermitV2Id\":\"438\",\"orgId\":\"264\",\"viewLink\":\"http://localhost:4200/#/work-permit-v2/view-work-permit/264/438?dlType=viewWorkPermitV2\",\"workPermitLink\":\"http://localhost:4200/#/work-permit-v2/view-work-permit/264/438?dlType=viewWorkPermitV2\",\"emailFooter\":\"OQSHA Team\"}},\"ActorContext\":{\"Requestor\":[678],\"Work_Permit_Authorization_Department_Head\":[678],\"Work_Permit_Authorization_Area_Owner\":[678]},\"Metadata\":null}"}

{"Timestamp":"2026-07-19T04:11:29.8726989+00:00","Level":"Information","Data":{"EventId":523246565},"Message":"Started processing notification for message ID 180932e056ec3000"}

{"Timestamp":"2026-07-19T04:11:29.8727794+00:00","Level":"Information","Data":{"EventId":1020884718},"Message":"Looking up the notification handler for message ID 180932e056ec3000"}

{"Timestamp":"2026-07-19T04:11:29.8731998+00:00","Level":"Information","Data":{"EventId":2056513940},"Message":"Event handling in process for message ID 180932e056ec3000"}

{"Timestamp":"2026-07-19T04:11:30.5467452+00:00","Level":"Information","Data":{"EventId":920175696},"Message":"Sending message ID 180932e056ec3000 to DLQ"}

{"Timestamp":"2026-07-19T04:11:30.5756286+00:00","Level":"Information","Data":{"EventId":1359096256},"Message":"Dead letter envelope for DLQ message: {\"SourceTopic\":\"notification.orchestrator\",\"SourceChannel\":\"notification-orchestrator\",\"FailedAtUtc\":\"2026-07-19T04:11:30.5468844Z\",\"Attempts\":1,\"ErrorType\":\"OQSHA.Notification.Orchestrator.Exceptions.PermanentOrchestratorException\",\"ErrorMessage\":\"Work Permit V2 ID 438 not found for message ID 180932e056ec3000\",\"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\\\":\\\"438\\\",\\\"workPermitV2Id\\\":\\\"438\\\",\\\"orgId\\\":\\\"264\\\",\\\"viewLink\\\":\\\"http://localhost:4200/#/work-permit-v2/view-work-permit/264/438?dlType=viewWorkPermitV2\\\",\\\"workPermitLink\\\":\\\"http://localhost:4200/#/work-permit-v2/view-work-permit/264/438?dlType=viewWorkPermitV2\\\",\\\"emailFooter\\\":\\\"OQSHA Team\\\"}},\\\"ActorContext\\\":{\\\"Requestor\\\":[678],\\\"Work_Permit_Authorization_Department_Head\\\":[678],\\\"Work_Permit_Authorization_Area_Owner\\\":[678]},\\\"Metadata\\\":null}\"}"}

{"Timestamp":"2026-07-19T04:11:30.5806723+00:00","Level":"Information","Data":{"EventId":1797884411},"Message":"Sent message ID 180932e056ec3000 to DLQ"}

{"Timestamp":"2026-07-19T04:11:30.5813859+00:00","Level":"Information","Data":{"EventId":752960692},"Message":"Notification event with message ID 180932e0572c3000 received: {\"TemplateId\":19,\"EntityType\":\"work_permit_v2\",\"EventType\":null,\"NotifyRoleId\":null,\"NotifyUserId\":null,\"NotifyDynamicActor\":\"Work_Permit_Authorization_Department_Head\",\"EntityContext\":{\"Parameters\":{\"workPermitId\":\"438\",\"workPermitV2Id\":\"438\",\"orgId\":\"264\",\"viewLink\":\"http://localhost:4200/#/work-permit-v2/view-work-permit/264/438?dlType=viewWorkPermitV2\",\"workPermitLink\":\"http://localhost:4200/#/work-permit-v2/view-work-permit/264/438?dlType=viewWorkPermitV2\",\"emailFooter\":\"OQSHA Team\"}},\"ActorContext\":{\"Requestor\":[678],\"Work_Permit_Authorization_Department_Head\":[678],\"Work_Permit_Authorization_Area_Owner\":[678]},\"Metadata\":null}"}

{"Timestamp":"2026-07-19T04:11:30.5856841+00:00","Level":"Information","Data":{"EventId":4218891903},"Message":"Started processing notification for message ID 180932e0572c3000"}

{"Timestamp":"2026-07-19T04:11:30.5857338+00:00","Level":"Information","Data":{"EventId":2500618829},"Message":"Looking up the notification handler for message ID 180932e0572c3000"}

{"Timestamp":"2026-07-19T04:11:30.5858187+00:00","Level":"Information","Data":{"EventId":3370604086},"Message":"Event handling in process for message ID 180932e0572c3000"}

{"Timestamp":"2026-07-19T04:11:30.6000148+00:00","Level":"Information","Data":{"EventId":1082607888},"Message":"Sending message ID 180932e0572c3000 to DLQ"}

{"Timestamp":"2026-07-19T04:11:30.6002956+00:00","Level":"Information","Data":{"EventId":3525816766},"Message":"Dead letter envelope for DLQ message: {\"SourceTopic\":\"notification.orchestrator\",\"SourceChannel\":\"notification-orchestrator\",\"FailedAtUtc\":\"2026-07-19T04:11:30.6000931Z\",\"Attempts\":1,\"ErrorType\":\"OQSHA.Notification.Orchestrator.Exceptions.PermanentOrchestratorException\",\"ErrorMessage\":\"Work Permit V2 ID 438 not found for message ID 180932e0572c3000\",\"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\\\":\\\"438\\\",\\\"workPermitV2Id\\\":\\\"438\\\",\\\"orgId\\\":\\\"264\\\",\\\"viewLink\\\":\\\"http://localhost:4200/#/work-permit-v2/view-work-permit/264/438?dlType=viewWorkPermitV2\\\",\\\"workPermitLink\\\":\\\"http://localhost:4200/#/work-permit-v2/view-work-permit/264/438?dlType=viewWorkPermitV2\\\",\\\"emailFooter\\\":\\\"OQSHA Team\\\"}},\\\"ActorContext\\\":{\\\"Requestor\\\":[678],\\\"Work_Permit_Authorization_Department_Head\\\":[678],\\\"Work_Permit_Authorization_Area_Owner\\\":[678]},\\\"Metadata\\\":null}\"}"}

{"Timestamp":"2026-07-19T04:11:30.6010024+00:00","Level":"Information","Data":{"EventId":4121731868},"Message":"Sent message ID 180932e0572c3000 to DLQ"}

{"Timestamp":"2026-07-19T04:13:52.4665917+00:00","Level":"Information","Data":{"EventId":2566611784},"Message":"Notification event with message ID 180933654c6c3000 received: {\"TemplateId\":18,\"EntityType\":\"work_permit_v2\",\"EventType\":null,\"NotifyRoleId\":null,\"NotifyUserId\":null,\"NotifyDynamicActor\":\"Work_Permit_Authorization_Area_Owner\",\"EntityContext\":{\"Parameters\":{\"workPermitId\":\"438\",\"workPermitV2Id\":\"438\",\"orgId\":\"264\",\"viewLink\":\"http://localhost:4200/#/work-permit-v2/view-work-permit/264/438?dlType=viewWorkPermitV2\",\"workPermitLink\":\"http://localhost:4200/#/work-permit-v2/view-work-permit/264/438?dlType=viewWorkPermitV2\",\"emailFooter\":\"OQSHA Team\"}},\"ActorContext\":{\"Requestor\":[678],\"Work_Permit_Authorization_Department_Head\":[678],\"Isolation_Reviewed_User\":[678],\"Work_Permit_Authorization_Area_Owner\":[678]},\"Metadata\":null}"}

{"Timestamp":"2026-07-19T04:13:52.4874847+00:00","Level":"Information","Data":{"EventId":1938252381},"Message":"Started processing notification for message ID 180933654c6c3000"}

{"Timestamp":"2026-07-19T04:13:52.4875603+00:00","Level":"Information","Data":{"EventId":358146701},"Message":"Looking up the notification handler for message ID 180933654c6c3000"}

{"Timestamp":"2026-07-19T04:13:52.4875844+00:00","Level":"Information","Data":{"EventId":2934006051},"Message":"Event handling in process for message ID 180933654c6c3000"}

{"Timestamp":"2026-07-19T04:13:52.5249945+00:00","Level":"Information","Data":{"EventId":2004168445},"Message":"Sending message ID 180933654c6c3000 to DLQ"}

{"Timestamp":"2026-07-19T04:13:52.5253697+00:00","Level":"Information","Data":{"EventId":520087905},"Message":"Dead letter envelope for DLQ message: {\"SourceTopic\":\"notification.orchestrator\",\"SourceChannel\":\"notification-orchestrator\",\"FailedAtUtc\":\"2026-07-19T04:13:52.5250835Z\",\"Attempts\":1,\"ErrorType\":\"OQSHA.Notification.Orchestrator.Exceptions.PermanentOrchestratorException\",\"ErrorMessage\":\"Work Permit V2 ID 438 not found for message ID 180933654c6c3000\",\"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\\\":\\\"438\\\",\\\"workPermitV2Id\\\":\\\"438\\\",\\\"orgId\\\":\\\"264\\\",\\\"viewLink\\\":\\\"http://localhost:4200/#/work-permit-v2/view-work-permit/264/438?dlType=viewWorkPermitV2\\\",\\\"workPermitLink\\\":\\\"http://localhost:4200/#/work-permit-v2/view-work-permit/264/438?dlType=viewWorkPermitV2\\\",\\\"emailFooter\\\":\\\"OQSHA Team\\\"}},\\\"ActorContext\\\":{\\\"Requestor\\\":[678],\\\"Work_Permit_Authorization_Department_Head\\\":[678],\\\"Isolation_Reviewed_User\\\":[678],\\\"Work_Permit_Authorization_Area_Owner\\\":[678]},\\\"Metadata\\\":null}\"}"}

{"Timestamp":"2026-07-19T04:13:52.5262248+00:00","Level":"Information","Data":{"EventId":2547730345},"Message":"Sent message ID 180933654c6c3000 to DLQ"}

{"Timestamp":"2026-07-19T04:13:52.5394697+00:00","Level":"Information","Data":{"EventId":834847394},"Message":"Notification event with message ID 180933654c6c3001 received: {\"TemplateId\":19,\"EntityType\":\"work_permit_v2\",\"EventType\":null,\"NotifyRoleId\":null,\"NotifyUserId\":null,\"NotifyDynamicActor\":\"Work_Permit_Authorization_Area_Owner\",\"EntityContext\":{\"Parameters\":{\"workPermitId\":\"438\",\"workPermitV2Id\":\"438\",\"orgId\":\"264\",\"viewLink\":\"http://localhost:4200/#/work-permit-v2/view-work-permit/264/438?dlType=viewWorkPermitV2\",\"workPermitLink\":\"http://localhost:4200/#/work-permit-v2/view-work-permit/264/438?dlType=viewWorkPermitV2\",\"emailFooter\":\"OQSHA Team\"}},\"ActorContext\":{\"Requestor\":[678],\"Work_Permit_Authorization_Department_Head\":[678],\"Isolation_Reviewed_User\":[678],\"Work_Permit_Authorization_Area_Owner\":[678]},\"Metadata\":null}"}

{"Timestamp":"2026-07-19T04:13:52.5426444+00:00","Level":"Information","Data":{"EventId":1171556088},"Message":"Started processing notification for message ID 180933654c6c3001"}

{"Timestamp":"2026-07-19T04:13:52.5427426+00:00","Level":"Information","Data":{"EventId":77742368},"Message":"Looking up the notification handler for message ID 180933654c6c3001"}

{"Timestamp":"2026-07-19T04:13:52.5427772+00:00","Level":"Information","Data":{"EventId":2778680991},"Message":"Event handling in process for message ID 180933654c6c3001"}

{"Timestamp":"2026-07-19T04:13:52.5463623+00:00","Level":"Information","Data":{"EventId":2918806805},"Message":"Sending message ID 180933654c6c3001 to DLQ"}

{"Timestamp":"2026-07-19T04:13:52.5467310+00:00","Level":"Information","Data":{"EventId":419972731},"Message":"Dead letter envelope for DLQ message: {\"SourceTopic\":\"notification.orchestrator\",\"SourceChannel\":\"notification-orchestrator\",\"FailedAtUtc\":\"2026-07-19T04:13:52.5464789Z\",\"Attempts\":1,\"ErrorType\":\"OQSHA.Notification.Orchestrator.Exceptions.PermanentOrchestratorException\",\"ErrorMessage\":\"Work Permit V2 ID 438 not found for message ID 180933654c6c3001\",\"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\\\":\\\"438\\\",\\\"workPermitV2Id\\\":\\\"438\\\",\\\"orgId\\\":\\\"264\\\",\\\"viewLink\\\":\\\"http://localhost:4200/#/work-permit-v2/view-work-permit/264/438?dlType=viewWorkPermitV2\\\",\\\"workPermitLink\\\":\\\"http://localhost:4200/#/work-permit-v2/view-work-permit/264/438?dlType=viewWorkPermitV2\\\",\\\"emailFooter\\\":\\\"OQSHA Team\\\"}},\\\"ActorContext\\\":{\\\"Requestor\\\":[678],\\\"Work_Permit_Authorization_Department_Head\\\":[678],\\\"Isolation_Reviewed_User\\\":[678],\\\"Work_Permit_Authorization_Area_Owner\\\":[678]},\\\"Metadata\\\":null}\"}"}

{"Timestamp":"2026-07-19T04:13:52.5474073+00:00","Level":"Information","Data":{"EventId":479887996},"Message":"Sent message ID 180933654c6c3001 to DLQ"}

{"Timestamp":"2026-07-19T15:21:43.6350610+00:00","Level":"Information","Data":{"EventId":1192077837},"Message":"Notification event with message ID 1809c52c7b6c3000 received: {\"TemplateId\":18,\"EntityType\":\"work_permit_v2\",\"EventType\":null,\"NotifyRoleId\":null,\"NotifyUserId\":null,\"NotifyDynamicActor\":\"Work_Permit_Authorization_Department_Head\",\"EntityContext\":{\"Parameters\":{\"workPermitId\":\"439\",\"workPermitV2Id\":\"439\",\"orgId\":\"264\",\"viewLink\":\"http://localhost:4200/#/work-permit-v2/view-work-permit/264/439?dlType=viewWorkPermitV2\",\"workPermitLink\":\"http://localhost:4200/#/work-permit-v2/view-work-permit/264/439?dlType=viewWorkPermitV2\",\"emailFooter\":\"OQSHA Team\"}},\"ActorContext\":{\"Requestor\":[678],\"Work_Permit_Authorization_Department_Head\":[678],\"Work_Permit_Authorization_Area_Owner\":[678]},\"Metadata\":null}"}

{"Timestamp":"2026-07-19T15:21:43.6386145+00:00","Level":"Information","Data":{"EventId":2800235971},"Message":"Started processing notification for message ID 1809c52c7b6c3000"}

{"Timestamp":"2026-07-19T15:21:43.6387366+00:00","Level":"Information","Data":{"EventId":1786765193},"Message":"Looking up the notification handler for message ID 1809c52c7b6c3000"}

{"Timestamp":"2026-07-19T15:21:43.6387926+00:00","Level":"Information","Data":{"EventId":630535430},"Message":"Event handling in process for message ID 1809c52c7b6c3000"}

{"Timestamp":"2026-07-19T15:21:43.6473755+00:00","Level":"Information","Data":{"EventId":1387304119},"Message":"Sending message ID 1809c52c7b6c3000 to DLQ"}

{"Timestamp":"2026-07-19T15:21:43.6477900+00:00","Level":"Information","Data":{"EventId":1939171798},"Message":"Dead letter envelope for DLQ message: {\"SourceTopic\":\"notification.orchestrator\",\"SourceChannel\":\"notification-orchestrator\",\"FailedAtUtc\":\"2026-07-19T15:21:43.647462Z\",\"Attempts\":1,\"ErrorType\":\"OQSHA.Notification.Orchestrator.Exceptions.PermanentOrchestratorException\",\"ErrorMessage\":\"Work Permit V2 ID 439 not found for message ID 1809c52c7b6c3000\",\"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\\\":\\\"439\\\",\\\"workPermitV2Id\\\":\\\"439\\\",\\\"orgId\\\":\\\"264\\\",\\\"viewLink\\\":\\\"http://localhost:4200/#/work-permit-v2/view-work-permit/264/439?dlType=viewWorkPermitV2\\\",\\\"workPermitLink\\\":\\\"http://localhost:4200/#/work-permit-v2/view-work-permit/264/439?dlType=viewWorkPermitV2\\\",\\\"emailFooter\\\":\\\"OQSHA Team\\\"}},\\\"ActorContext\\\":{\\\"Requestor\\\":[678],\\\"Work_Permit_Authorization_Department_Head\\\":[678],\\\"Work_Permit_Authorization_Area_Owner\\\":[678]},\\\"Metadata\\\":null}\"}"}

{"Timestamp":"2026-07-19T15:21:43.6524852+00:00","Level":"Information","Data":{"EventId":2044208086},"Message":"Sent message ID 1809c52c7b6c3000 to DLQ"}

{"Timestamp":"2026-07-19T15:21:43.8354456+00:00","Level":"Information","Data":{"EventId":2249291522},"Message":"Notification event with message ID 1809c52c7bac3000 received: {\"TemplateId\":19,\"EntityType\":\"work_permit_v2\",\"EventType\":null,\"NotifyRoleId\":null,\"NotifyUserId\":null,\"NotifyDynamicActor\":\"Work_Permit_Authorization_Department_Head\",\"EntityContext\":{\"Parameters\":{\"workPermitId\":\"439\",\"workPermitV2Id\":\"439\",\"orgId\":\"264\",\"viewLink\":\"http://localhost:4200/#/work-permit-v2/view-work-permit/264/439?dlType=viewWorkPermitV2\",\"workPermitLink\":\"http://localhost:4200/#/work-permit-v2/view-work-permit/264/439?dlType=viewWorkPermitV2\",\"emailFooter\":\"OQSHA Team\"}},\"ActorContext\":{\"Requestor\":[678],\"Work_Permit_Authorization_Department_Head\":[678],\"Work_Permit_Authorization_Area_Owner\":[678]},\"Metadata\":null}"}

{"Timestamp":"2026-07-19T15:21:43.8404428+00:00","Level":"Information","Data":{"EventId":2842770367},"Message":"Started processing notification for message ID 1809c52c7bac3000"}

{"Timestamp":"2026-07-19T15:21:43.8406219+00:00","Level":"Information","Data":{"EventId":568932734},"Message":"Looking up the notification handler for message ID 1809c52c7bac3000"}

{"Timestamp":"2026-07-19T15:21:43.8406706+00:00","Level":"Information","Data":{"EventId":1901813154},"Message":"Event handling in process for message ID 1809c52c7bac3000"}

{"Timestamp":"2026-07-19T15:21:43.8464339+00:00","Level":"Information","Data":{"EventId":2697064784},"Message":"Sending message ID 1809c52c7bac3000 to DLQ"}

{"Timestamp":"2026-07-19T15:21:43.8471558+00:00","Level":"Information","Data":{"EventId":4273315763},"Message":"Dead letter envelope for DLQ message: {\"SourceTopic\":\"notification.orchestrator\",\"SourceChannel\":\"notification-orchestrator\",\"FailedAtUtc\":\"2026-07-19T15:21:43.8465412Z\",\"Attempts\":1,\"ErrorType\":\"OQSHA.Notification.Orchestrator.Exceptions.PermanentOrchestratorException\",\"ErrorMessage\":\"Work Permit V2 ID 439 not found for message ID 1809c52c7bac3000\",\"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\\\":\\\"439\\\",\\\"workPermitV2Id\\\":\\\"439\\\",\\\"orgId\\\":\\\"264\\\",\\\"viewLink\\\":\\\"http://localhost:4200/#/work-permit-v2/view-work-permit/264/439?dlType=viewWorkPermitV2\\\",\\\"workPermitLink\\\":\\\"http://localhost:4200/#/work-permit-v2/view-work-permit/264/439?dlType=viewWorkPermitV2\\\",\\\"emailFooter\\\":\\\"OQSHA Team\\\"}},\\\"ActorContext\\\":{\\\"Requestor\\\":[678],\\\"Work_Permit_Authorization_Department_Head\\\":[678],\\\"Work_Permit_Authorization_Area_Owner\\\":[678]},\\\"Metadata\\\":null}\"}"}

{"Timestamp":"2026-07-19T15:21:43.8487250+00:00","Level":"Information","Data":{"EventId":1893067277},"Message":"Sent message ID 1809c52c7bac3000 to DLQ"}

{"Timestamp":"2026-07-19T15:24:33.1757180+00:00","Level":"Information","Data":{"EventId":1223864399},"Message":"Notification event with message ID 1809c5ca612c3000 received: {\"TemplateId\":18,\"EntityType\":\"work_permit_v2\",\"EventType\":null,\"NotifyRoleId\":null,\"NotifyUserId\":null,\"NotifyDynamicActor\":\"Work_Permit_Authorization_Area_Owner\",\"EntityContext\":{\"Parameters\":{\"workPermitId\":\"439\",\"workPermitV2Id\":\"439\",\"orgId\":\"264\",\"viewLink\":\"http://localhost:4200/#/work-permit-v2/view-work-permit/264/439?dlType=viewWorkPermitV2\",\"workPermitLink\":\"http://localhost:4200/#/work-permit-v2/view-work-permit/264/439?dlType=viewWorkPermitV2\",\"emailFooter\":\"OQSHA Team\"}},\"ActorContext\":{\"Requestor\":[678],\"Work_Permit_Authorization_Department_Head\":[678],\"Work_Permit_Authorization_Area_Owner\":[678]},\"Metadata\":null}"}

{"Timestamp":"2026-07-19T15:24:33.1788440+00:00","Level":"Information","Data":{"EventId":966426070},"Message":"Started processing notification for message ID 1809c5ca612c3000"}

{"Timestamp":"2026-07-19T15:24:33.1788976+00:00","Level":"Information","Data":{"EventId":4223151305},"Message":"Looking up the notification handler for message ID 1809c5ca612c3000"}

{"Timestamp":"2026-07-19T15:24:33.1789160+00:00","Level":"Information","Data":{"EventId":4169840129},"Message":"Event handling in process for message ID 1809c5ca612c3000"}

{"Timestamp":"2026-07-19T15:24:33.1825853+00:00","Level":"Information","Data":{"EventId":3511332410},"Message":"Sending message ID 1809c5ca612c3000 to DLQ"}

{"Timestamp":"2026-07-19T15:24:33.1828934+00:00","Level":"Information","Data":{"EventId":714443021},"Message":"Dead letter envelope for DLQ message: {\"SourceTopic\":\"notification.orchestrator\",\"SourceChannel\":\"notification-orchestrator\",\"FailedAtUtc\":\"2026-07-19T15:24:33.1826461Z\",\"Attempts\":1,\"ErrorType\":\"OQSHA.Notification.Orchestrator.Exceptions.PermanentOrchestratorException\",\"ErrorMessage\":\"Work Permit V2 ID 439 not found for message ID 1809c5ca612c3000\",\"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\\\":\\\"439\\\",\\\"workPermitV2Id\\\":\\\"439\\\",\\\"orgId\\\":\\\"264\\\",\\\"viewLink\\\":\\\"http://localhost:4200/#/work-permit-v2/view-work-permit/264/439?dlType=viewWorkPermitV2\\\",\\\"workPermitLink\\\":\\\"http://localhost:4200/#/work-permit-v2/view-work-permit/264/439?dlType=viewWorkPermitV2\\\",\\\"emailFooter\\\":\\\"OQSHA Team\\\"}},\\\"ActorContext\\\":{\\\"Requestor\\\":[678],\\\"Work_Permit_Authorization_Department_Head\\\":[678],\\\"Work_Permit_Authorization_Area_Owner\\\":[678]},\\\"Metadata\\\":null}\"}"}

{"Timestamp":"2026-07-19T15:24:33.1838253+00:00","Level":"Information","Data":{"EventId":3247302777},"Message":"Sent message ID 1809c5ca612c3000 to DLQ"}

{"Timestamp":"2026-07-19T15:24:33.3336752+00:00","Level":"Information","Data":{"EventId":777476276},"Message":"Notification event with message ID 1809c5ca616c3000 received: {\"TemplateId\":19,\"EntityType\":\"work_permit_v2\",\"EventType\":null,\"NotifyRoleId\":null,\"NotifyUserId\":null,\"NotifyDynamicActor\":\"Work_Permit_Authorization_Area_Owner\",\"EntityContext\":{\"Parameters\":{\"workPermitId\":\"439\",\"workPermitV2Id\":\"439\",\"orgId\":\"264\",\"viewLink\":\"http://localhost:4200/#/work-permit-v2/view-work-permit/264/439?dlType=viewWorkPermitV2\",\"workPermitLink\":\"http://localhost:4200/#/work-permit-v2/view-work-permit/264/439?dlType=viewWorkPermitV2\",\"emailFooter\":\"OQSHA Team\"}},\"ActorContext\":{\"Requestor\":[678],\"Work_Permit_Authorization_Department_Head\":[678],\"Work_Permit_Authorization_Area_Owner\":[678]},\"Metadata\":null}"}

{"Timestamp":"2026-07-19T15:24:33.3353542+00:00","Level":"Information","Data":{"EventId":3445303323},"Message":"Started processing notification for message ID 1809c5ca616c3000"}

{"Timestamp":"2026-07-19T15:24:33.3353941+00:00","Level":"Information","Data":{"EventId":83178188},"Message":"Looking up the notification handler for message ID 1809c5ca616c3000"}

{"Timestamp":"2026-07-19T15:24:33.3354059+00:00","Level":"Information","Data":{"EventId":533397352},"Message":"Event handling in process for message ID 1809c5ca616c3000"}

{"Timestamp":"2026-07-19T15:24:33.3373751+00:00","Level":"Information","Data":{"EventId":2017253349},"Message":"Sending message ID 1809c5ca616c3000 to DLQ"}

{"Timestamp":"2026-07-19T15:24:33.3375888+00:00","Level":"Information","Data":{"EventId":3219958336},"Message":"Dead letter envelope for DLQ message: {\"SourceTopic\":\"notification.orchestrator\",\"SourceChannel\":\"notification-orchestrator\",\"FailedAtUtc\":\"2026-07-19T15:24:33.3374143Z\",\"Attempts\":1,\"ErrorType\":\"OQSHA.Notification.Orchestrator.Exceptions.PermanentOrchestratorException\",\"ErrorMessage\":\"Work Permit V2 ID 439 not found for message ID 1809c5ca616c3000\",\"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\\\":\\\"439\\\",\\\"workPermitV2Id\\\":\\\"439\\\",\\\"orgId\\\":\\\"264\\\",\\\"viewLink\\\":\\\"http://localhost:4200/#/work-permit-v2/view-work-permit/264/439?dlType=viewWorkPermitV2\\\",\\\"workPermitLink\\\":\\\"http://localhost:4200/#/work-permit-v2/view-work-permit/264/439?dlType=viewWorkPermitV2\\\",\\\"emailFooter\\\":\\\"OQSHA Team\\\"}},\\\"ActorContext\\\":{\\\"Requestor\\\":[678],\\\"Work_Permit_Authorization_Department_Head\\\":[678],\\\"Work_Permit_Authorization_Area_Owner\\\":[678]},\\\"Metadata\\\":null}\"}"}

{"Timestamp":"2026-07-19T15:24:33.3383158+00:00","Level":"Information","Data":{"EventId":1794865947},"Message":"Sent message ID 1809c5ca616c3000 to DLQ"}

{"Timestamp":"2026-07-19T17:06:36.5439160+00:00","Level":"Information","Data":{"EventId":3343420026},"Message":"Notification event with message ID 1809dc1135ec3000 received: {\"TemplateId\":22,\"EntityType\":\"work_permit_v2\",\"EventType\":null,\"NotifyRoleId\":null,\"NotifyUserId\":null,\"NotifyDynamicActor\":\"Requestor\",\"EntityContext\":{\"Parameters\":{\"workPermitId\":\"439\",\"workPermitV2Id\":\"439\",\"orgId\":\"264\",\"viewLink\":\"http://localhost:4200/#/work-permit-v2/view-work-permit/264/439?dlType=viewWorkPermitV2\",\"workPermitLink\":\"http://localhost:4200/#/work-permit-v2/view-work-permit/264/439?dlType=viewWorkPermitV2\",\"emailFooter\":\"OQSHA Team\"}},\"ActorContext\":{\"Requestor\":[678],\"Work_Permit_Authorization_Department_Head\":[678],\"Work_Permit_Authorization_Area_Owner\":[678]},\"Metadata\":null}"}

{"Timestamp":"2026-07-19T17:06:36.5470120+00:00","Level":"Information","Data":{"EventId":3207859097},"Message":"Started processing notification for message ID 1809dc1135ec3000"}

{"Timestamp":"2026-07-19T17:06:36.5470750+00:00","Level":"Information","Data":{"EventId":1309722864},"Message":"Looking up the notification handler for message ID 1809dc1135ec3000"}

{"Timestamp":"2026-07-19T17:06:36.5470889+00:00","Level":"Information","Data":{"EventId":2276325446},"Message":"Event handling in process for message ID 1809dc1135ec3000"}

{"Timestamp":"2026-07-19T17:06:36.5528132+00:00","Level":"Information","Data":{"EventId":3062457317},"Message":"Sending message ID 1809dc1135ec3000 to DLQ"}

{"Timestamp":"2026-07-19T17:06:36.5530805+00:00","Level":"Information","Data":{"EventId":1736876020},"Message":"Dead letter envelope for DLQ message: {\"SourceTopic\":\"notification.orchestrator\",\"SourceChannel\":\"notification-orchestrator\",\"FailedAtUtc\":\"2026-07-19T17:06:36.5528756Z\",\"Attempts\":1,\"ErrorType\":\"OQSHA.Notification.Orchestrator.Exceptions.PermanentOrchestratorException\",\"ErrorMessage\":\"Work Permit V2 ID 439 not found for message ID 1809dc1135ec3000\",\"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\\\":\\\"439\\\",\\\"workPermitV2Id\\\":\\\"439\\\",\\\"orgId\\\":\\\"264\\\",\\\"viewLink\\\":\\\"http://localhost:4200/#/work-permit-v2/view-work-permit/264/439?dlType=viewWorkPermitV2\\\",\\\"workPermitLink\\\":\\\"http://localhost:4200/#/work-permit-v2/view-work-permit/264/439?dlType=viewWorkPermitV2\\\",\\\"emailFooter\\\":\\\"OQSHA Team\\\"}},\\\"ActorContext\\\":{\\\"Requestor\\\":[678],\\\"Work_Permit_Authorization_Department_Head\\\":[678],\\\"Work_Permit_Authorization_Area_Owner\\\":[678]},\\\"Metadata\\\":null}\"}"}

{"Timestamp":"2026-07-19T17:06:36.5538677+00:00","Level":"Information","Data":{"EventId":2291637395},"Message":"Sent message ID 1809dc1135ec3000 to DLQ"}

{"Timestamp":"2026-07-19T17:06:36.7277966+00:00","Level":"Information","Data":{"EventId":4145970912},"Message":"Notification event with message ID 1809dc1135ec3001 received: {\"TemplateId\":23,\"EntityType\":\"work_permit_v2\",\"EventType\":null,\"NotifyRoleId\":null,\"NotifyUserId\":null,\"NotifyDynamicActor\":\"Requestor\",\"EntityContext\":{\"Parameters\":{\"workPermitId\":\"439\",\"workPermitV2Id\":\"439\",\"orgId\":\"264\",\"viewLink\":\"http://localhost:4200/#/work-permit-v2/view-work-permit/264/439?dlType=viewWorkPermitV2\",\"workPermitLink\":\"http://localhost:4200/#/work-permit-v2/view-work-permit/264/439?dlType=viewWorkPermitV2\",\"emailFooter\":\"OQSHA Team\"}},\"ActorContext\":{\"Requestor\":[678],\"Work_Permit_Authorization_Department_Head\":[678],\"Work_Permit_Authorization_Area_Owner\":[678]},\"Metadata\":null}"}

{"Timestamp":"2026-07-19T17:06:36.7327066+00:00","Level":"Information","Data":{"EventId":3979962275},"Message":"Started processing notification for message ID 1809dc1135ec3001"}

{"Timestamp":"2026-07-19T17:06:36.7328244+00:00","Level":"Information","Data":{"EventId":1540285548},"Message":"Looking up the notification handler for message ID 1809dc1135ec3001"}

{"Timestamp":"2026-07-19T17:06:36.7328730+00:00","Level":"Information","Data":{"EventId":1083763229},"Message":"Event handling in process for message ID 1809dc1135ec3001"}

{"Timestamp":"2026-07-19T17:06:36.7399412+00:00","Level":"Information","Data":{"EventId":2213441344},"Message":"Sending message ID 1809dc1135ec3001 to DLQ"}

{"Timestamp":"2026-07-19T17:06:36.7405441+00:00","Level":"Information","Data":{"EventId":3119570640},"Message":"Dead letter envelope for DLQ message: {\"SourceTopic\":\"notification.orchestrator\",\"SourceChannel\":\"notification-orchestrator\",\"FailedAtUtc\":\"2026-07-19T17:06:36.7400641Z\",\"Attempts\":1,\"ErrorType\":\"OQSHA.Notification.Orchestrator.Exceptions.PermanentOrchestratorException\",\"ErrorMessage\":\"Work Permit V2 ID 439 not found for message ID 1809dc1135ec3001\",\"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\\\":\\\"439\\\",\\\"workPermitV2Id\\\":\\\"439\\\",\\\"orgId\\\":\\\"264\\\",\\\"viewLink\\\":\\\"http://localhost:4200/#/work-permit-v2/view-work-permit/264/439?dlType=viewWorkPermitV2\\\",\\\"workPermitLink\\\":\\\"http://localhost:4200/#/work-permit-v2/view-work-permit/264/439?dlType=viewWorkPermitV2\\\",\\\"emailFooter\\\":\\\"OQSHA Team\\\"}},\\\"ActorContext\\\":{\\\"Requestor\\\":[678],\\\"Work_Permit_Authorization_Department_Head\\\":[678],\\\"Work_Permit_Authorization_Area_Owner\\\":[678]},\\\"Metadata\\\":null}\"}"}

{"Timestamp":"2026-07-19T17:06:36.7423657+00:00","Level":"Information","Data":{"EventId":4124049449},"Message":"Sent message ID 1809dc1135ec3001 to DLQ"}

