{"Timestamp":"2026-08-13T05:33:43.9168753+00:00","Level":"Information","Data":{"EventId":2983707408},"Message":"Notification event with message ID 1827f6dc71ac3000 received: {\"TemplateId\":18,\"EntityType\":\"work_permit_v2\",\"EventType\":null,\"NotifyRoleId\":null,\"NotifyUserId\":null,\"NotifyDynamicActor\":\"Work_Permit_Authorization_Department_Head\",\"EntityContext\":{\"Parameters\":{\"workPermitId\":\"524\",\"workPermitV2Id\":\"524\",\"orgId\":\"264\",\"viewLink\":\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/264/524?dlType=viewWorkPermitV2\",\"workPermitLink\":\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/264/524?dlType=viewWorkPermitV2\",\"emailFooter\":\"OQSHA Team\"}},\"ActorContext\":{\"Requestor\":[678],\"Work_Permit_Authorization_Department_Head\":[15962],\"Work_Permit_Authorization_Area_Owner\":[15962],\"Work_Permit_Authorization_Plant_Head\":[15962]},\"Metadata\":null}"}

{"Timestamp":"2026-08-13T05:33:44.0776948+00:00","Level":"Information","Data":{"EventId":2617929971},"Message":"Started processing notification for message ID 1827f6dc71ac3000"}

{"Timestamp":"2026-08-13T05:33:44.0777956+00:00","Level":"Information","Data":{"EventId":1876952041},"Message":"Looking up the notification handler for message ID 1827f6dc71ac3000"}

{"Timestamp":"2026-08-13T05:33:44.0782762+00:00","Level":"Information","Data":{"EventId":3651577988},"Message":"Event handling in process for message ID 1827f6dc71ac3000"}

{"Timestamp":"2026-08-13T05:33:44.7833047+00:00","Level":"Information","Data":{"EventId":1194460906},"Message":"Sending message ID 1827f6dc71ac3000 to DLQ"}

{"Timestamp":"2026-08-13T05:33:44.8120316+00:00","Level":"Information","Data":{"EventId":2993435385},"Message":"Dead letter envelope for DLQ message: {\"SourceTopic\":\"stg.notification.orchestrator\",\"SourceChannel\":\"notification-orchestrator\",\"FailedAtUtc\":\"2026-08-13T05:33:44.7834487Z\",\"Attempts\":1,\"ErrorType\":\"OQSHA.Notification.Orchestrator.Exceptions.PermanentOrchestratorException\",\"ErrorMessage\":\"Work Permit V2 ID 524 not found for message ID 1827f6dc71ac3000\",\"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\\\":\\\"524\\\",\\\"workPermitV2Id\\\":\\\"524\\\",\\\"orgId\\\":\\\"264\\\",\\\"viewLink\\\":\\\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/264/524?dlType=viewWorkPermitV2\\\",\\\"workPermitLink\\\":\\\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/264/524?dlType=viewWorkPermitV2\\\",\\\"emailFooter\\\":\\\"OQSHA Team\\\"}},\\\"ActorContext\\\":{\\\"Requestor\\\":[678],\\\"Work_Permit_Authorization_Department_Head\\\":[15962],\\\"Work_Permit_Authorization_Area_Owner\\\":[15962],\\\"Work_Permit_Authorization_Plant_Head\\\":[15962]},\\\"Metadata\\\":null}\"}"}

{"Timestamp":"2026-08-13T05:33:44.8230343+00:00","Level":"Information","Data":{"EventId":2043593857},"Message":"Sent message ID 1827f6dc71ac3000 to DLQ"}

{"Timestamp":"2026-08-13T05:33:44.8236386+00:00","Level":"Information","Data":{"EventId":349104691},"Message":"Notification event with message ID 1827f6dc732c3000 received: {\"TemplateId\":19,\"EntityType\":\"work_permit_v2\",\"EventType\":null,\"NotifyRoleId\":null,\"NotifyUserId\":null,\"NotifyDynamicActor\":\"Work_Permit_Authorization_Department_Head\",\"EntityContext\":{\"Parameters\":{\"workPermitId\":\"524\",\"workPermitV2Id\":\"524\",\"orgId\":\"264\",\"viewLink\":\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/264/524?dlType=viewWorkPermitV2\",\"workPermitLink\":\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/264/524?dlType=viewWorkPermitV2\",\"emailFooter\":\"OQSHA Team\"}},\"ActorContext\":{\"Requestor\":[678],\"Work_Permit_Authorization_Department_Head\":[15962],\"Work_Permit_Authorization_Area_Owner\":[15962],\"Work_Permit_Authorization_Plant_Head\":[15962]},\"Metadata\":null}"}

{"Timestamp":"2026-08-13T05:33:44.8342146+00:00","Level":"Information","Data":{"EventId":3577571901},"Message":"Started processing notification for message ID 1827f6dc732c3000"}

{"Timestamp":"2026-08-13T05:33:44.8343112+00:00","Level":"Information","Data":{"EventId":2877258833},"Message":"Looking up the notification handler for message ID 1827f6dc732c3000"}

{"Timestamp":"2026-08-13T05:33:44.8344034+00:00","Level":"Information","Data":{"EventId":2615165919},"Message":"Event handling in process for message ID 1827f6dc732c3000"}

{"Timestamp":"2026-08-13T05:33:44.8640781+00:00","Level":"Information","Data":{"EventId":244476136},"Message":"Sending message ID 1827f6dc732c3000 to DLQ"}

{"Timestamp":"2026-08-13T05:33:44.8644193+00:00","Level":"Information","Data":{"EventId":1248623395},"Message":"Dead letter envelope for DLQ message: {\"SourceTopic\":\"stg.notification.orchestrator\",\"SourceChannel\":\"notification-orchestrator\",\"FailedAtUtc\":\"2026-08-13T05:33:44.8641779Z\",\"Attempts\":1,\"ErrorType\":\"OQSHA.Notification.Orchestrator.Exceptions.PermanentOrchestratorException\",\"ErrorMessage\":\"Work Permit V2 ID 524 not found for message ID 1827f6dc732c3000\",\"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\\\":\\\"524\\\",\\\"workPermitV2Id\\\":\\\"524\\\",\\\"orgId\\\":\\\"264\\\",\\\"viewLink\\\":\\\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/264/524?dlType=viewWorkPermitV2\\\",\\\"workPermitLink\\\":\\\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/264/524?dlType=viewWorkPermitV2\\\",\\\"emailFooter\\\":\\\"OQSHA Team\\\"}},\\\"ActorContext\\\":{\\\"Requestor\\\":[678],\\\"Work_Permit_Authorization_Department_Head\\\":[15962],\\\"Work_Permit_Authorization_Area_Owner\\\":[15962],\\\"Work_Permit_Authorization_Plant_Head\\\":[15962]},\\\"Metadata\\\":null}\"}"}

{"Timestamp":"2026-08-13T05:33:44.8653075+00:00","Level":"Information","Data":{"EventId":1373687268},"Message":"Sent message ID 1827f6dc732c3000 to DLQ"}

{"Timestamp":"2026-08-13T05:34:02.8598074+00:00","Level":"Information","Data":{"EventId":3091016791},"Message":"Inside hosted service - for nsq"}

{"Timestamp":"2026-08-13T05:34:02.9445508+00:00","Level":"Information","Data":{"EventId":3138514657},"Message":"Started the consumer service and handler for NSQ"}

{"Timestamp":"2026-08-13T05:34:46.5125041+00:00","Level":"Information","Data":{"EventId":1214038524},"Message":"Notification event with message ID 1827f716bdac3000 received: {\"TemplateId\":18,\"EntityType\":\"work_permit_v2\",\"EventType\":null,\"NotifyRoleId\":null,\"NotifyUserId\":null,\"NotifyDynamicActor\":\"Work_Permit_Authorization_Department_Head\",\"EntityContext\":{\"Parameters\":{\"workPermitId\":\"525\",\"workPermitV2Id\":\"525\",\"orgId\":\"264\",\"viewLink\":\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/264/525?dlType=viewWorkPermitV2\",\"workPermitLink\":\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/264/525?dlType=viewWorkPermitV2\",\"emailFooter\":\"OQSHA Team\"}},\"ActorContext\":{\"Requestor\":[678],\"Work_Permit_Authorization_Department_Head\":[678],\"Work_Permit_Authorization_Area_Owner\":[20303],\"Work_Permit_Authorization_Plant_Head\":[678]},\"Metadata\":null}"}

{"Timestamp":"2026-08-13T05:34:46.6598142+00:00","Level":"Information","Data":{"EventId":2828610457},"Message":"Started processing notification for message ID 1827f716bdac3000"}

{"Timestamp":"2026-08-13T05:34:46.6599068+00:00","Level":"Information","Data":{"EventId":1056564728},"Message":"Looking up the notification handler for message ID 1827f716bdac3000"}

{"Timestamp":"2026-08-13T05:34:46.6603420+00:00","Level":"Information","Data":{"EventId":783642597},"Message":"Event handling in process for message ID 1827f716bdac3000"}

{"Timestamp":"2026-08-13T05:34:47.3789873+00:00","Level":"Information","Data":{"EventId":3442611036},"Message":"Sending message ID 1827f716bdac3000 to DLQ"}

{"Timestamp":"2026-08-13T05:34:47.3962340+00:00","Level":"Information","Data":{"EventId":908106843},"Message":"Dead letter envelope for DLQ message: {\"SourceTopic\":\"stg.notification.orchestrator\",\"SourceChannel\":\"notification-orchestrator\",\"FailedAtUtc\":\"2026-08-13T05:34:47.3791414Z\",\"Attempts\":1,\"ErrorType\":\"OQSHA.Notification.Orchestrator.Exceptions.PermanentOrchestratorException\",\"ErrorMessage\":\"Work Permit V2 ID 525 not found for message ID 1827f716bdac3000\",\"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\\\":\\\"525\\\",\\\"workPermitV2Id\\\":\\\"525\\\",\\\"orgId\\\":\\\"264\\\",\\\"viewLink\\\":\\\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/264/525?dlType=viewWorkPermitV2\\\",\\\"workPermitLink\\\":\\\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/264/525?dlType=viewWorkPermitV2\\\",\\\"emailFooter\\\":\\\"OQSHA Team\\\"}},\\\"ActorContext\\\":{\\\"Requestor\\\":[678],\\\"Work_Permit_Authorization_Department_Head\\\":[678],\\\"Work_Permit_Authorization_Area_Owner\\\":[20303],\\\"Work_Permit_Authorization_Plant_Head\\\":[678]},\\\"Metadata\\\":null}\"}"}

{"Timestamp":"2026-08-13T05:34:47.4036014+00:00","Level":"Information","Data":{"EventId":2362214668},"Message":"Sent message ID 1827f716bdac3000 to DLQ"}

{"Timestamp":"2026-08-13T05:34:47.4043927+00:00","Level":"Information","Data":{"EventId":2742355614},"Message":"Notification event with message ID 1827f716be6c3000 received: {\"TemplateId\":19,\"EntityType\":\"work_permit_v2\",\"EventType\":null,\"NotifyRoleId\":null,\"NotifyUserId\":null,\"NotifyDynamicActor\":\"Work_Permit_Authorization_Department_Head\",\"EntityContext\":{\"Parameters\":{\"workPermitId\":\"525\",\"workPermitV2Id\":\"525\",\"orgId\":\"264\",\"viewLink\":\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/264/525?dlType=viewWorkPermitV2\",\"workPermitLink\":\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/264/525?dlType=viewWorkPermitV2\",\"emailFooter\":\"OQSHA Team\"}},\"ActorContext\":{\"Requestor\":[678],\"Work_Permit_Authorization_Department_Head\":[678],\"Work_Permit_Authorization_Area_Owner\":[20303],\"Work_Permit_Authorization_Plant_Head\":[678]},\"Metadata\":null}"}

{"Timestamp":"2026-08-13T05:34:47.4100362+00:00","Level":"Information","Data":{"EventId":2415976926},"Message":"Started processing notification for message ID 1827f716be6c3000"}

{"Timestamp":"2026-08-13T05:34:47.4101402+00:00","Level":"Information","Data":{"EventId":2607170666},"Message":"Looking up the notification handler for message ID 1827f716be6c3000"}

{"Timestamp":"2026-08-13T05:34:47.4102604+00:00","Level":"Information","Data":{"EventId":265798104},"Message":"Event handling in process for message ID 1827f716be6c3000"}

{"Timestamp":"2026-08-13T05:34:47.4268499+00:00","Level":"Information","Data":{"EventId":733549246},"Message":"Sending message ID 1827f716be6c3000 to DLQ"}

{"Timestamp":"2026-08-13T05:34:47.4271975+00:00","Level":"Information","Data":{"EventId":2661789959},"Message":"Dead letter envelope for DLQ message: {\"SourceTopic\":\"stg.notification.orchestrator\",\"SourceChannel\":\"notification-orchestrator\",\"FailedAtUtc\":\"2026-08-13T05:34:47.4269451Z\",\"Attempts\":1,\"ErrorType\":\"OQSHA.Notification.Orchestrator.Exceptions.PermanentOrchestratorException\",\"ErrorMessage\":\"Work Permit V2 ID 525 not found for message ID 1827f716be6c3000\",\"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\\\":\\\"525\\\",\\\"workPermitV2Id\\\":\\\"525\\\",\\\"orgId\\\":\\\"264\\\",\\\"viewLink\\\":\\\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/264/525?dlType=viewWorkPermitV2\\\",\\\"workPermitLink\\\":\\\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/264/525?dlType=viewWorkPermitV2\\\",\\\"emailFooter\\\":\\\"OQSHA Team\\\"}},\\\"ActorContext\\\":{\\\"Requestor\\\":[678],\\\"Work_Permit_Authorization_Department_Head\\\":[678],\\\"Work_Permit_Authorization_Area_Owner\\\":[20303],\\\"Work_Permit_Authorization_Plant_Head\\\":[678]},\\\"Metadata\\\":null}\"}"}

{"Timestamp":"2026-08-13T05:34:47.4280456+00:00","Level":"Information","Data":{"EventId":2820268504},"Message":"Sent message ID 1827f716be6c3000 to DLQ"}

{"Timestamp":"2026-08-13T07:05:33.4768991+00:00","Level":"Information","Data":{"EventId":1874924587},"Message":"Notification event with message ID 18280ae79fac3000 received: {\"TemplateId\":26,\"EntityType\":\"inspection_v2\",\"EventType\":null,\"NotifyRoleId\":null,\"NotifyUserId\":267,\"NotifyDynamicActor\":null,\"EntityContext\":{\"Parameters\":{\"inspectionId\":\"2537\",\"orgId\":\"262\",\"inspectionLink\":\"https://sandbox.oqsha.com/#/inspection-v2/edit-inspection-v2/2537\",\"emailFooter\":\"OQSHA Team\",\"userName\":\"Hebert Eaton\"}},\"ActorContext\":{},\"Metadata\":null}"}

{"Timestamp":"2026-08-13T07:05:33.4919191+00:00","Level":"Information","Data":{"EventId":929645694},"Message":"Started processing notification for message ID 18280ae79fac3000"}

{"Timestamp":"2026-08-13T07:05:33.4920172+00:00","Level":"Information","Data":{"EventId":3151790703},"Message":"Looking up the notification handler for message ID 18280ae79fac3000"}

{"Timestamp":"2026-08-13T07:05:33.4920467+00:00","Level":"Information","Data":{"EventId":1418686814},"Message":"Event handling in process for message ID 18280ae79fac3000"}

{"Timestamp":"2026-08-13T07:05:33.6277568+00:00","Level":"Information","Data":{"EventId":673092663},"Message":"Sending message ID 18280ae79fac3000 to DLQ"}

{"Timestamp":"2026-08-13T07:05:33.6281618+00:00","Level":"Information","Data":{"EventId":39101773},"Message":"Dead letter envelope for DLQ message: {\"SourceTopic\":\"stg.notification.orchestrator\",\"SourceChannel\":\"notification-orchestrator\",\"FailedAtUtc\":\"2026-08-13T07:05:33.6278365Z\",\"Attempts\":1,\"ErrorType\":\"OQSHA.Notification.Orchestrator.Exceptions.PermanentOrchestratorException\",\"ErrorMessage\":\"Inspection V2 ID 2537 not found for message ID 18280ae79fac3000\",\"StackTrace\":\"   at OQSHA.Notification.Orchestrator.NotificationHandlers.InspectionV2NotificationHandler.FetchInspectionAsync(String messageId, Int32 orgId, Int32 inspectionId) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\NotificationHandlers\\\\InspectionV2NotificationHandler.cs:line 268\\r\\n   at OQSHA.Notification.Orchestrator.NotificationHandlers.InspectionV2NotificationHandler.HandleTemplateBasedNotificationAsync(String messageId, NotificationEventDto request) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\NotificationHandlers\\\\InspectionV2NotificationHandler.cs:line 93\\r\\n   at OQSHA.Notification.Orchestrator.NotificationHandlers.InspectionV2NotificationHandler.ProcessEventAsync(String messageId, NotificationEventDto request) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\NotificationHandlers\\\\InspectionV2NotificationHandler.cs:line 56\\r\\n   at OQSHA.Notification.Orchestrator.Routing.EventRouter.ExecuteAsync(String messageId, NotificationEventDto request) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\Routing\\\\EventRouter.cs:line 38\\r\\n   at OQSHA.Notification.Orchestrator.Worker.OrchestratorMessageHandler.HandleMessage(IMessage message) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\Worker\\\\OrchestratorMessageHandler.cs:line 44\",\"OriginalBody\":\"{\\\"TemplateId\\\":26,\\\"EntityType\\\":\\\"inspection_v2\\\",\\\"EventType\\\":null,\\\"NotifyRoleId\\\":null,\\\"NotifyUserId\\\":267,\\\"NotifyDynamicActor\\\":null,\\\"EntityContext\\\":{\\\"Parameters\\\":{\\\"inspectionId\\\":\\\"2537\\\",\\\"orgId\\\":\\\"262\\\",\\\"inspectionLink\\\":\\\"https://sandbox.oqsha.com/#/inspection-v2/edit-inspection-v2/2537\\\",\\\"emailFooter\\\":\\\"OQSHA Team\\\",\\\"userName\\\":\\\"Hebert Eaton\\\"}},\\\"ActorContext\\\":{},\\\"Metadata\\\":null}\"}"}

{"Timestamp":"2026-08-13T07:05:33.6291148+00:00","Level":"Information","Data":{"EventId":2969611551},"Message":"Sent message ID 18280ae79fac3000 to DLQ"}

{"Timestamp":"2026-08-13T07:05:33.6293499+00:00","Level":"Information","Data":{"EventId":2314034942},"Message":"Notification event with message ID 18280ae7a0ec3000 received: {\"TemplateId\":29,\"EntityType\":\"inspection_v2\",\"EventType\":null,\"NotifyRoleId\":null,\"NotifyUserId\":267,\"NotifyDynamicActor\":null,\"EntityContext\":{\"Parameters\":{\"inspectionId\":\"2537\",\"orgId\":\"262\",\"inspectionLink\":\"https://sandbox.oqsha.com/#/inspection-v2/edit-inspection-v2/2537\",\"emailFooter\":\"OQSHA Team\",\"userName\":\"Hebert Eaton\"}},\"ActorContext\":{},\"Metadata\":null}"}

{"Timestamp":"2026-08-13T07:05:33.6317026+00:00","Level":"Information","Data":{"EventId":2292373422},"Message":"Started processing notification for message ID 18280ae7a0ec3000"}

{"Timestamp":"2026-08-13T07:05:33.6317713+00:00","Level":"Information","Data":{"EventId":3801855744},"Message":"Looking up the notification handler for message ID 18280ae7a0ec3000"}

{"Timestamp":"2026-08-13T07:05:33.6317918+00:00","Level":"Information","Data":{"EventId":3586231457},"Message":"Event handling in process for message ID 18280ae7a0ec3000"}

{"Timestamp":"2026-08-13T07:05:33.6364949+00:00","Level":"Information","Data":{"EventId":3196156151},"Message":"Sending message ID 18280ae7a0ec3000 to DLQ"}

{"Timestamp":"2026-08-13T07:05:33.6368182+00:00","Level":"Information","Data":{"EventId":3335519824},"Message":"Dead letter envelope for DLQ message: {\"SourceTopic\":\"stg.notification.orchestrator\",\"SourceChannel\":\"notification-orchestrator\",\"FailedAtUtc\":\"2026-08-13T07:05:33.6365695Z\",\"Attempts\":1,\"ErrorType\":\"OQSHA.Notification.Orchestrator.Exceptions.PermanentOrchestratorException\",\"ErrorMessage\":\"Inspection V2 ID 2537 not found for message ID 18280ae7a0ec3000\",\"StackTrace\":\"   at OQSHA.Notification.Orchestrator.NotificationHandlers.InspectionV2NotificationHandler.FetchInspectionAsync(String messageId, Int32 orgId, Int32 inspectionId) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\NotificationHandlers\\\\InspectionV2NotificationHandler.cs:line 268\\r\\n   at OQSHA.Notification.Orchestrator.NotificationHandlers.InspectionV2NotificationHandler.HandleTemplateBasedNotificationAsync(String messageId, NotificationEventDto request) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\NotificationHandlers\\\\InspectionV2NotificationHandler.cs:line 93\\r\\n   at OQSHA.Notification.Orchestrator.NotificationHandlers.InspectionV2NotificationHandler.ProcessEventAsync(String messageId, NotificationEventDto request) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\NotificationHandlers\\\\InspectionV2NotificationHandler.cs:line 56\\r\\n   at OQSHA.Notification.Orchestrator.Routing.EventRouter.ExecuteAsync(String messageId, NotificationEventDto request) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\Routing\\\\EventRouter.cs:line 38\\r\\n   at OQSHA.Notification.Orchestrator.Worker.OrchestratorMessageHandler.HandleMessage(IMessage message) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\Worker\\\\OrchestratorMessageHandler.cs:line 44\",\"OriginalBody\":\"{\\\"TemplateId\\\":29,\\\"EntityType\\\":\\\"inspection_v2\\\",\\\"EventType\\\":null,\\\"NotifyRoleId\\\":null,\\\"NotifyUserId\\\":267,\\\"NotifyDynamicActor\\\":null,\\\"EntityContext\\\":{\\\"Parameters\\\":{\\\"inspectionId\\\":\\\"2537\\\",\\\"orgId\\\":\\\"262\\\",\\\"inspectionLink\\\":\\\"https://sandbox.oqsha.com/#/inspection-v2/edit-inspection-v2/2537\\\",\\\"emailFooter\\\":\\\"OQSHA Team\\\",\\\"userName\\\":\\\"Hebert Eaton\\\"}},\\\"ActorContext\\\":{},\\\"Metadata\\\":null}\"}"}

{"Timestamp":"2026-08-13T07:05:33.6374799+00:00","Level":"Information","Data":{"EventId":1198393182},"Message":"Sent message ID 18280ae7a0ec3000 to DLQ"}

{"Timestamp":"2026-08-13T09:15:14.9696840+00:00","Level":"Information","Data":{"EventId":1216659536},"Message":"Notification event with message ID 18282736b3ec3000 received: {\"TemplateId\":18,\"EntityType\":\"work_permit_v2\",\"EventType\":null,\"NotifyRoleId\":null,\"NotifyUserId\":null,\"NotifyDynamicActor\":\"Work_Permit_Authorization_Department_Head\",\"EntityContext\":{\"Parameters\":{\"workPermitId\":\"524\",\"workPermitV2Id\":\"524\",\"orgId\":\"264\",\"viewLink\":\"http://localhost:4200/#/work-permit-v2/view-work-permit/264/524?dlType=viewWorkPermitV2\",\"workPermitLink\":\"http://localhost:4200/#/work-permit-v2/view-work-permit/264/524?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}"}

{"Timestamp":"2026-08-13T09:15:14.9717397+00:00","Level":"Information","Data":{"EventId":3948737741},"Message":"Started processing notification for message ID 18282736b3ec3000"}

{"Timestamp":"2026-08-13T09:15:14.9718121+00:00","Level":"Information","Data":{"EventId":411895023},"Message":"Looking up the notification handler for message ID 18282736b3ec3000"}

{"Timestamp":"2026-08-13T09:15:14.9718679+00:00","Level":"Information","Data":{"EventId":3950977420},"Message":"Event handling in process for message ID 18282736b3ec3000"}

{"Timestamp":"2026-08-13T09:15:15.0664070+00:00","Level":"Information","Data":{"EventId":3569294446},"Message":"Dispatching the notifications for message ID 18282736b3ec3000"}

{"Timestamp":"2026-08-13T09:15:15.0748517+00:00","Level":"Information","Data":{"EventId":731532707},"Message":"Successfully processed notification for message ID 18282736b3ec3000"}

{"Timestamp":"2026-08-13T09:15:15.2136342+00:00","Level":"Information","Data":{"EventId":4139689886},"Message":"Notification event with message ID 18282736b3ec3001 received: {\"TemplateId\":19,\"EntityType\":\"work_permit_v2\",\"EventType\":null,\"NotifyRoleId\":null,\"NotifyUserId\":null,\"NotifyDynamicActor\":\"Work_Permit_Authorization_Department_Head\",\"EntityContext\":{\"Parameters\":{\"workPermitId\":\"524\",\"workPermitV2Id\":\"524\",\"orgId\":\"264\",\"viewLink\":\"http://localhost:4200/#/work-permit-v2/view-work-permit/264/524?dlType=viewWorkPermitV2\",\"workPermitLink\":\"http://localhost:4200/#/work-permit-v2/view-work-permit/264/524?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}"}

{"Timestamp":"2026-08-13T09:15:15.2158884+00:00","Level":"Information","Data":{"EventId":1388331922},"Message":"Started processing notification for message ID 18282736b3ec3001"}

{"Timestamp":"2026-08-13T09:15:15.2159311+00:00","Level":"Information","Data":{"EventId":1220797788},"Message":"Looking up the notification handler for message ID 18282736b3ec3001"}

{"Timestamp":"2026-08-13T09:15:15.2159455+00:00","Level":"Information","Data":{"EventId":3715204465},"Message":"Event handling in process for message ID 18282736b3ec3001"}

{"Timestamp":"2026-08-13T09:15:15.2233830+00:00","Level":"Information","Data":{"EventId":65338041},"Message":"Dispatching the notifications for message ID 18282736b3ec3001"}

{"Timestamp":"2026-08-13T09:15:15.2242509+00:00","Level":"Information","Data":{"EventId":938436173},"Message":"Successfully processed notification for message ID 18282736b3ec3001"}

{"Timestamp":"2026-08-13T09:15:25.1305135+00:00","Level":"Information","Data":{"EventId":3072078912},"Message":"Notification event with message ID 182827402aac3000 received: {\"TemplateId\":18,\"EntityType\":\"work_permit_v2\",\"EventType\":null,\"NotifyRoleId\":null,\"NotifyUserId\":null,\"NotifyDynamicActor\":\"Work_Permit_Authorization_Area_Owner\",\"EntityContext\":{\"Parameters\":{\"workPermitId\":\"524\",\"workPermitV2Id\":\"524\",\"orgId\":\"264\",\"viewLink\":\"http://localhost:4200/#/work-permit-v2/view-work-permit/264/524?dlType=viewWorkPermitV2\",\"workPermitLink\":\"http://localhost:4200/#/work-permit-v2/view-work-permit/264/524?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}"}

{"Timestamp":"2026-08-13T09:15:25.1321629+00:00","Level":"Information","Data":{"EventId":761625041},"Message":"Started processing notification for message ID 182827402aac3000"}

{"Timestamp":"2026-08-13T09:15:25.1322144+00:00","Level":"Information","Data":{"EventId":1941201057},"Message":"Looking up the notification handler for message ID 182827402aac3000"}

{"Timestamp":"2026-08-13T09:15:25.1322330+00:00","Level":"Information","Data":{"EventId":2177664036},"Message":"Event handling in process for message ID 182827402aac3000"}

{"Timestamp":"2026-08-13T09:15:25.1359747+00:00","Level":"Information","Data":{"EventId":120879598},"Message":"Dispatching the notifications for message ID 182827402aac3000"}

{"Timestamp":"2026-08-13T09:15:25.1363044+00:00","Level":"Information","Data":{"EventId":4153343417},"Message":"Successfully processed notification for message ID 182827402aac3000"}

{"Timestamp":"2026-08-13T09:15:25.2161374+00:00","Level":"Information","Data":{"EventId":4030071808},"Message":"Notification event with message ID 182827402aec3000 received: {\"TemplateId\":19,\"EntityType\":\"work_permit_v2\",\"EventType\":null,\"NotifyRoleId\":null,\"NotifyUserId\":null,\"NotifyDynamicActor\":\"Work_Permit_Authorization_Area_Owner\",\"EntityContext\":{\"Parameters\":{\"workPermitId\":\"524\",\"workPermitV2Id\":\"524\",\"orgId\":\"264\",\"viewLink\":\"http://localhost:4200/#/work-permit-v2/view-work-permit/264/524?dlType=viewWorkPermitV2\",\"workPermitLink\":\"http://localhost:4200/#/work-permit-v2/view-work-permit/264/524?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}"}

{"Timestamp":"2026-08-13T09:15:25.2188408+00:00","Level":"Information","Data":{"EventId":1427968459},"Message":"Started processing notification for message ID 182827402aec3000"}

{"Timestamp":"2026-08-13T09:15:25.2188929+00:00","Level":"Information","Data":{"EventId":103862951},"Message":"Looking up the notification handler for message ID 182827402aec3000"}

{"Timestamp":"2026-08-13T09:15:25.2189059+00:00","Level":"Information","Data":{"EventId":3038710383},"Message":"Event handling in process for message ID 182827402aec3000"}

{"Timestamp":"2026-08-13T09:15:25.2255674+00:00","Level":"Information","Data":{"EventId":3892267099},"Message":"Dispatching the notifications for message ID 182827402aec3000"}

{"Timestamp":"2026-08-13T09:15:25.2264115+00:00","Level":"Information","Data":{"EventId":3168207098},"Message":"Successfully processed notification for message ID 182827402aec3000"}

{"Timestamp":"2026-08-13T09:30:45.8906345+00:00","Level":"Information","Data":{"EventId":803524466},"Message":"Notification event with message ID 18282a99b0ec3000 received: {\"TemplateId\":18,\"EntityType\":\"work_permit_v2\",\"EventType\":null,\"NotifyRoleId\":null,\"NotifyUserId\":null,\"NotifyDynamicActor\":\"Work_Permit_Authorization_Area_Owner\",\"EntityContext\":{\"Parameters\":{\"workPermitId\":\"525\",\"workPermitV2Id\":\"525\",\"orgId\":\"264\",\"viewLink\":\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/264/525?dlType=viewWorkPermitV2\",\"workPermitLink\":\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/264/525?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}"}

{"Timestamp":"2026-08-13T09:30:45.8941063+00:00","Level":"Information","Data":{"EventId":3844655047},"Message":"Started processing notification for message ID 18282a99b0ec3000"}

{"Timestamp":"2026-08-13T09:30:45.8941714+00:00","Level":"Information","Data":{"EventId":30155867},"Message":"Looking up the notification handler for message ID 18282a99b0ec3000"}

{"Timestamp":"2026-08-13T09:30:45.8942032+00:00","Level":"Information","Data":{"EventId":1674646813},"Message":"Event handling in process for message ID 18282a99b0ec3000"}

{"Timestamp":"2026-08-13T09:30:45.9001104+00:00","Level":"Information","Data":{"EventId":2480553513},"Message":"Sending message ID 18282a99b0ec3000 to DLQ"}

{"Timestamp":"2026-08-13T09:30:45.9005273+00:00","Level":"Information","Data":{"EventId":1972683863},"Message":"Dead letter envelope for DLQ message: {\"SourceTopic\":\"stg.notification.orchestrator\",\"SourceChannel\":\"notification-orchestrator\",\"FailedAtUtc\":\"2026-08-13T09:30:45.900196Z\",\"Attempts\":1,\"ErrorType\":\"OQSHA.Notification.Orchestrator.Exceptions.PermanentOrchestratorException\",\"ErrorMessage\":\"Work Permit V2 ID 525 not found for message ID 18282a99b0ec3000\",\"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\\\":\\\"525\\\",\\\"workPermitV2Id\\\":\\\"525\\\",\\\"orgId\\\":\\\"264\\\",\\\"viewLink\\\":\\\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/264/525?dlType=viewWorkPermitV2\\\",\\\"workPermitLink\\\":\\\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/264/525?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}\"}"}

{"Timestamp":"2026-08-13T09:30:45.9015740+00:00","Level":"Information","Data":{"EventId":3599334458},"Message":"Sent message ID 18282a99b0ec3000 to DLQ"}

{"Timestamp":"2026-08-13T09:30:45.9436953+00:00","Level":"Information","Data":{"EventId":4022713887},"Message":"Notification event with message ID 18282a99b1ec3000 received: {\"TemplateId\":19,\"EntityType\":\"work_permit_v2\",\"EventType\":null,\"NotifyRoleId\":null,\"NotifyUserId\":null,\"NotifyDynamicActor\":\"Work_Permit_Authorization_Area_Owner\",\"EntityContext\":{\"Parameters\":{\"workPermitId\":\"525\",\"workPermitV2Id\":\"525\",\"orgId\":\"264\",\"viewLink\":\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/264/525?dlType=viewWorkPermitV2\",\"workPermitLink\":\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/264/525?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}"}

{"Timestamp":"2026-08-13T09:30:45.9483043+00:00","Level":"Information","Data":{"EventId":390460660},"Message":"Started processing notification for message ID 18282a99b1ec3000"}

{"Timestamp":"2026-08-13T09:30:45.9484436+00:00","Level":"Information","Data":{"EventId":2853778018},"Message":"Looking up the notification handler for message ID 18282a99b1ec3000"}

{"Timestamp":"2026-08-13T09:30:45.9485057+00:00","Level":"Information","Data":{"EventId":619680208},"Message":"Event handling in process for message ID 18282a99b1ec3000"}

{"Timestamp":"2026-08-13T09:30:45.9536573+00:00","Level":"Information","Data":{"EventId":1173233647},"Message":"Sending message ID 18282a99b1ec3000 to DLQ"}

{"Timestamp":"2026-08-13T09:30:45.9541637+00:00","Level":"Information","Data":{"EventId":667387373},"Message":"Dead letter envelope for DLQ message: {\"SourceTopic\":\"stg.notification.orchestrator\",\"SourceChannel\":\"notification-orchestrator\",\"FailedAtUtc\":\"2026-08-13T09:30:45.9537632Z\",\"Attempts\":1,\"ErrorType\":\"OQSHA.Notification.Orchestrator.Exceptions.PermanentOrchestratorException\",\"ErrorMessage\":\"Work Permit V2 ID 525 not found for message ID 18282a99b1ec3000\",\"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\\\":\\\"525\\\",\\\"workPermitV2Id\\\":\\\"525\\\",\\\"orgId\\\":\\\"264\\\",\\\"viewLink\\\":\\\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/264/525?dlType=viewWorkPermitV2\\\",\\\"workPermitLink\\\":\\\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/264/525?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}\"}"}

{"Timestamp":"2026-08-13T09:30:45.9552237+00:00","Level":"Information","Data":{"EventId":3902924235},"Message":"Sent message ID 18282a99b1ec3000 to DLQ"}

{"Timestamp":"2026-08-13T10:15:49.0906040+00:00","Level":"Information","Data":{"EventId":3872278648},"Message":"Notification event with message ID 1828346f3dec3000 received: {\"TemplateId\":18,\"EntityType\":\"work_permit_v2\",\"EventType\":null,\"NotifyRoleId\":null,\"NotifyUserId\":null,\"NotifyDynamicActor\":\"Work_Permit_Authorization_Department_Head\",\"EntityContext\":{\"Parameters\":{\"workPermitId\":\"528\",\"workPermitV2Id\":\"528\",\"orgId\":\"264\",\"viewLink\":\"http://localhost:4200/#/work-permit-v2/view-work-permit/264/528?dlType=viewWorkPermitV2\",\"workPermitLink\":\"http://localhost:4200/#/work-permit-v2/view-work-permit/264/528?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}"}

{"Timestamp":"2026-08-13T10:15:49.0926544+00:00","Level":"Information","Data":{"EventId":483866386},"Message":"Started processing notification for message ID 1828346f3dec3000"}

{"Timestamp":"2026-08-13T10:15:49.0927218+00:00","Level":"Information","Data":{"EventId":2704113236},"Message":"Looking up the notification handler for message ID 1828346f3dec3000"}

{"Timestamp":"2026-08-13T10:15:49.0927620+00:00","Level":"Information","Data":{"EventId":181436200},"Message":"Event handling in process for message ID 1828346f3dec3000"}

{"Timestamp":"2026-08-13T10:15:49.1054220+00:00","Level":"Information","Data":{"EventId":2388115394},"Message":"Dispatching the notifications for message ID 1828346f3dec3000"}

{"Timestamp":"2026-08-13T10:15:49.1060043+00:00","Level":"Information","Data":{"EventId":3836637667},"Message":"Successfully processed notification for message ID 1828346f3dec3000"}

{"Timestamp":"2026-08-13T10:15:49.1515824+00:00","Level":"Information","Data":{"EventId":1734926563},"Message":"Notification event with message ID 1828346f3dec3001 received: {\"TemplateId\":18,\"EntityType\":\"work_permit_v2\",\"EventType\":null,\"NotifyRoleId\":null,\"NotifyUserId\":null,\"NotifyDynamicActor\":\"Work_Permit_Authorization_Department_Head\",\"EntityContext\":{\"Parameters\":{\"workPermitId\":\"527\",\"workPermitV2Id\":\"527\",\"orgId\":\"264\",\"viewLink\":\"http://localhost:4200/#/work-permit-v2/view-work-permit/264/527?dlType=viewWorkPermitV2\",\"workPermitLink\":\"http://localhost:4200/#/work-permit-v2/view-work-permit/264/527?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}"}

{"Timestamp":"2026-08-13T10:15:49.1540005+00:00","Level":"Information","Data":{"EventId":915827344},"Message":"Started processing notification for message ID 1828346f3dec3001"}

{"Timestamp":"2026-08-13T10:15:49.1540345+00:00","Level":"Information","Data":{"EventId":1927619012},"Message":"Looking up the notification handler for message ID 1828346f3dec3001"}

{"Timestamp":"2026-08-13T10:15:49.1540435+00:00","Level":"Information","Data":{"EventId":4178434979},"Message":"Event handling in process for message ID 1828346f3dec3001"}

{"Timestamp":"2026-08-13T10:15:49.1645972+00:00","Level":"Information","Data":{"EventId":1526847767},"Message":"Dispatching the notifications for message ID 1828346f3dec3001"}

{"Timestamp":"2026-08-13T10:15:49.1650376+00:00","Level":"Information","Data":{"EventId":3654573103},"Message":"Successfully processed notification for message ID 1828346f3dec3001"}

{"Timestamp":"2026-08-13T10:15:49.1651849+00:00","Level":"Information","Data":{"EventId":4254798071},"Message":"Notification event with message ID 1828346f3f2c3000 received: {\"TemplateId\":19,\"EntityType\":\"work_permit_v2\",\"EventType\":null,\"NotifyRoleId\":null,\"NotifyUserId\":null,\"NotifyDynamicActor\":\"Work_Permit_Authorization_Department_Head\",\"EntityContext\":{\"Parameters\":{\"workPermitId\":\"528\",\"workPermitV2Id\":\"528\",\"orgId\":\"264\",\"viewLink\":\"http://localhost:4200/#/work-permit-v2/view-work-permit/264/528?dlType=viewWorkPermitV2\",\"workPermitLink\":\"http://localhost:4200/#/work-permit-v2/view-work-permit/264/528?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}"}

{"Timestamp":"2026-08-13T10:15:49.1673638+00:00","Level":"Information","Data":{"EventId":3899332160},"Message":"Started processing notification for message ID 1828346f3f2c3000"}

{"Timestamp":"2026-08-13T10:15:49.1673897+00:00","Level":"Information","Data":{"EventId":2362396742},"Message":"Looking up the notification handler for message ID 1828346f3f2c3000"}

{"Timestamp":"2026-08-13T10:15:49.1673988+00:00","Level":"Information","Data":{"EventId":1902047427},"Message":"Event handling in process for message ID 1828346f3f2c3000"}

{"Timestamp":"2026-08-13T10:15:49.1723688+00:00","Level":"Information","Data":{"EventId":3089388481},"Message":"Dispatching the notifications for message ID 1828346f3f2c3000"}

{"Timestamp":"2026-08-13T10:15:49.1727363+00:00","Level":"Information","Data":{"EventId":3930301279},"Message":"Successfully processed notification for message ID 1828346f3f2c3000"}

{"Timestamp":"2026-08-13T10:16:26.1364759+00:00","Level":"Information","Data":{"EventId":3320085826},"Message":"Notification event with message ID 18283491be6c3000 received: {\"TemplateId\":18,\"EntityType\":\"work_permit_v2\",\"EventType\":null,\"NotifyRoleId\":null,\"NotifyUserId\":null,\"NotifyDynamicActor\":\"Work_Permit_Authorization_Area_Owner\",\"EntityContext\":{\"Parameters\":{\"workPermitId\":\"528\",\"workPermitV2Id\":\"528\",\"orgId\":\"264\",\"viewLink\":\"http://localhost:4200/#/work-permit-v2/view-work-permit/264/528?dlType=viewWorkPermitV2\",\"workPermitLink\":\"http://localhost:4200/#/work-permit-v2/view-work-permit/264/528?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}"}

{"Timestamp":"2026-08-13T10:16:26.1383416+00:00","Level":"Information","Data":{"EventId":2275147058},"Message":"Started processing notification for message ID 18283491be6c3000"}

{"Timestamp":"2026-08-13T10:16:26.1383735+00:00","Level":"Information","Data":{"EventId":236417119},"Message":"Looking up the notification handler for message ID 18283491be6c3000"}

{"Timestamp":"2026-08-13T10:16:26.1384027+00:00","Level":"Information","Data":{"EventId":3828518642},"Message":"Event handling in process for message ID 18283491be6c3000"}

{"Timestamp":"2026-08-13T10:16:26.1449131+00:00","Level":"Information","Data":{"EventId":2829605444},"Message":"Dispatching the notifications for message ID 18283491be6c3000"}

{"Timestamp":"2026-08-13T10:16:26.1453820+00:00","Level":"Information","Data":{"EventId":2429844730},"Message":"Successfully processed notification for message ID 18283491be6c3000"}

{"Timestamp":"2026-08-13T10:16:26.1617308+00:00","Level":"Information","Data":{"EventId":3618308245},"Message":"Notification event with message ID 18283491c46c3000 received: {\"TemplateId\":19,\"EntityType\":\"work_permit_v2\",\"EventType\":null,\"NotifyRoleId\":null,\"NotifyUserId\":null,\"NotifyDynamicActor\":\"Work_Permit_Authorization_Area_Owner\",\"EntityContext\":{\"Parameters\":{\"workPermitId\":\"528\",\"workPermitV2Id\":\"528\",\"orgId\":\"264\",\"viewLink\":\"http://localhost:4200/#/work-permit-v2/view-work-permit/264/528?dlType=viewWorkPermitV2\",\"workPermitLink\":\"http://localhost:4200/#/work-permit-v2/view-work-permit/264/528?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}"}

{"Timestamp":"2026-08-13T10:16:26.1894362+00:00","Level":"Information","Data":{"EventId":2585281256},"Message":"Started processing notification for message ID 18283491c46c3000"}

{"Timestamp":"2026-08-13T10:16:26.1894746+00:00","Level":"Information","Data":{"EventId":3756060403},"Message":"Looking up the notification handler for message ID 18283491c46c3000"}

{"Timestamp":"2026-08-13T10:16:26.1894876+00:00","Level":"Information","Data":{"EventId":1344700297},"Message":"Event handling in process for message ID 18283491c46c3000"}

{"Timestamp":"2026-08-13T10:16:26.1955377+00:00","Level":"Information","Data":{"EventId":371448300},"Message":"Dispatching the notifications for message ID 18283491c46c3000"}

{"Timestamp":"2026-08-13T10:16:26.1959369+00:00","Level":"Information","Data":{"EventId":945712982},"Message":"Successfully processed notification for message ID 18283491c46c3000"}

{"Timestamp":"2026-08-13T10:17:01.5516040+00:00","Level":"Information","Data":{"EventId":339650943},"Message":"Notification event with message ID 182834b2b9ec3000 received: {\"TemplateId\":41,\"EntityType\":\"action_trackers\",\"EventType\":null,\"NotifyRoleId\":null,\"NotifyUserId\":267,\"NotifyDynamicActor\":null,\"EntityContext\":{\"Parameters\":{\"ActionTrackerId\":\"290\",\"OrgId\":\"256\",\"ActionTrackerLink\":\"https://sandbox.oqsha.com/Organisations/256/Action-Trackers/290\",\"EmailFooter\":\"OQSHA Team\",\"UserName\":\"Hebert Eaton\"}},\"ActorContext\":null,\"Metadata\":null}"}

{"Timestamp":"2026-08-13T10:17:01.5538781+00:00","Level":"Information","Data":{"EventId":2083299917},"Message":"Started processing notification for message ID 182834b2b9ec3000"}

{"Timestamp":"2026-08-13T10:17:01.5539119+00:00","Level":"Information","Data":{"EventId":1378174514},"Message":"Looking up the notification handler for message ID 182834b2b9ec3000"}

{"Timestamp":"2026-08-13T10:17:01.5539202+00:00","Level":"Information","Data":{"EventId":1904697283},"Message":"Event handling in process for message ID 182834b2b9ec3000"}

{"Timestamp":"2026-08-13T10:17:01.5795324+00:00","Level":"Information","Data":{"EventId":2734797562},"Message":"Sending message ID 182834b2b9ec3000 to DLQ"}

{"Timestamp":"2026-08-13T10:17:01.5798276+00:00","Level":"Information","Data":{"EventId":2931576027},"Message":"Dead letter envelope for DLQ message: {\"SourceTopic\":\"stg.notification.orchestrator\",\"SourceChannel\":\"notification-orchestrator\",\"FailedAtUtc\":\"2026-08-13T10:17:01.5795747Z\",\"Attempts\":1,\"ErrorType\":\"OQSHA.Notification.Orchestrator.Exceptions.PermanentOrchestratorException\",\"ErrorMessage\":\"Action Tracker ID 290 not found for message ID 182834b2b9ec3000\",\"StackTrace\":\"   at OQSHA.Notification.Orchestrator.NotificationHandlers.ActionTrackersNotificationHandler.FetchActionTrackerAsync(String messageId, Int32 orgId, Int32 actionTrackerId) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\NotificationHandlers\\\\ActionTrackersNotificationHandler.cs:line 293\\r\\n   at OQSHA.Notification.Orchestrator.NotificationHandlers.ActionTrackersNotificationHandler.HandleTemplateBasedAlertNotificationAsync(String messageId, NotificationEventDto request) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\NotificationHandlers\\\\ActionTrackersNotificationHandler.cs:line 109\\r\\n   at OQSHA.Notification.Orchestrator.NotificationHandlers.ActionTrackersNotificationHandler.ProcessEventAsync(String messageId, NotificationEventDto request) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\NotificationHandlers\\\\ActionTrackersNotificationHandler.cs:line 51\\r\\n   at OQSHA.Notification.Orchestrator.Routing.EventRouter.ExecuteAsync(String messageId, NotificationEventDto request) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\Routing\\\\EventRouter.cs:line 38\\r\\n   at OQSHA.Notification.Orchestrator.Worker.OrchestratorMessageHandler.HandleMessage(IMessage message) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\Worker\\\\OrchestratorMessageHandler.cs:line 44\",\"OriginalBody\":\"{\\\"TemplateId\\\":41,\\\"EntityType\\\":\\\"action_trackers\\\",\\\"EventType\\\":null,\\\"NotifyRoleId\\\":null,\\\"NotifyUserId\\\":267,\\\"NotifyDynamicActor\\\":null,\\\"EntityContext\\\":{\\\"Parameters\\\":{\\\"ActionTrackerId\\\":\\\"290\\\",\\\"OrgId\\\":\\\"256\\\",\\\"ActionTrackerLink\\\":\\\"https://sandbox.oqsha.com/Organisations/256/Action-Trackers/290\\\",\\\"EmailFooter\\\":\\\"OQSHA Team\\\",\\\"UserName\\\":\\\"Hebert Eaton\\\"}},\\\"ActorContext\\\":null,\\\"Metadata\\\":null}\"}"}

{"Timestamp":"2026-08-13T10:17:01.5806087+00:00","Level":"Information","Data":{"EventId":1202976048},"Message":"Sent message ID 182834b2b9ec3000 to DLQ"}

{"Timestamp":"2026-08-13T10:17:01.6485531+00:00","Level":"Information","Data":{"EventId":673868580},"Message":"Notification event with message ID 182834b2b9ec3001 received: {\"TemplateId\":43,\"EntityType\":\"action_trackers\",\"EventType\":null,\"NotifyRoleId\":null,\"NotifyUserId\":267,\"NotifyDynamicActor\":null,\"EntityContext\":{\"Parameters\":{\"ActionTrackerId\":\"290\",\"OrgId\":\"256\",\"ActionTrackerLink\":\"https://sandbox.oqsha.com/Organisations/256/Action-Trackers/290\",\"EmailFooter\":\"OQSHA Team\",\"UserName\":\"Hebert Eaton\"}},\"ActorContext\":null,\"Metadata\":null}"}

{"Timestamp":"2026-08-13T10:17:01.6512081+00:00","Level":"Information","Data":{"EventId":1862207474},"Message":"Started processing notification for message ID 182834b2b9ec3001"}

{"Timestamp":"2026-08-13T10:17:01.6512337+00:00","Level":"Information","Data":{"EventId":2103876784},"Message":"Looking up the notification handler for message ID 182834b2b9ec3001"}

{"Timestamp":"2026-08-13T10:17:01.6512411+00:00","Level":"Information","Data":{"EventId":2651338948},"Message":"Event handling in process for message ID 182834b2b9ec3001"}

{"Timestamp":"2026-08-13T10:17:01.6577297+00:00","Level":"Information","Data":{"EventId":1300177408},"Message":"Sending message ID 182834b2b9ec3001 to DLQ"}

{"Timestamp":"2026-08-13T10:17:01.6579464+00:00","Level":"Information","Data":{"EventId":3097160851},"Message":"Dead letter envelope for DLQ message: {\"SourceTopic\":\"stg.notification.orchestrator\",\"SourceChannel\":\"notification-orchestrator\",\"FailedAtUtc\":\"2026-08-13T10:17:01.657776Z\",\"Attempts\":1,\"ErrorType\":\"OQSHA.Notification.Orchestrator.Exceptions.PermanentOrchestratorException\",\"ErrorMessage\":\"Action Tracker ID 290 not found for message ID 182834b2b9ec3001\",\"StackTrace\":\"   at OQSHA.Notification.Orchestrator.NotificationHandlers.ActionTrackersNotificationHandler.FetchActionTrackerAsync(String messageId, Int32 orgId, Int32 actionTrackerId) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\NotificationHandlers\\\\ActionTrackersNotificationHandler.cs:line 293\\r\\n   at OQSHA.Notification.Orchestrator.NotificationHandlers.ActionTrackersNotificationHandler.HandleTemplateBasedAlertNotificationAsync(String messageId, NotificationEventDto request) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\NotificationHandlers\\\\ActionTrackersNotificationHandler.cs:line 109\\r\\n   at OQSHA.Notification.Orchestrator.NotificationHandlers.ActionTrackersNotificationHandler.ProcessEventAsync(String messageId, NotificationEventDto request) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\NotificationHandlers\\\\ActionTrackersNotificationHandler.cs:line 51\\r\\n   at OQSHA.Notification.Orchestrator.Routing.EventRouter.ExecuteAsync(String messageId, NotificationEventDto request) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\Routing\\\\EventRouter.cs:line 38\\r\\n   at OQSHA.Notification.Orchestrator.Worker.OrchestratorMessageHandler.HandleMessage(IMessage message) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\Worker\\\\OrchestratorMessageHandler.cs:line 44\",\"OriginalBody\":\"{\\\"TemplateId\\\":43,\\\"EntityType\\\":\\\"action_trackers\\\",\\\"EventType\\\":null,\\\"NotifyRoleId\\\":null,\\\"NotifyUserId\\\":267,\\\"NotifyDynamicActor\\\":null,\\\"EntityContext\\\":{\\\"Parameters\\\":{\\\"ActionTrackerId\\\":\\\"290\\\",\\\"OrgId\\\":\\\"256\\\",\\\"ActionTrackerLink\\\":\\\"https://sandbox.oqsha.com/Organisations/256/Action-Trackers/290\\\",\\\"EmailFooter\\\":\\\"OQSHA Team\\\",\\\"UserName\\\":\\\"Hebert Eaton\\\"}},\\\"ActorContext\\\":null,\\\"Metadata\\\":null}\"}"}

{"Timestamp":"2026-08-13T10:17:01.6584405+00:00","Level":"Information","Data":{"EventId":805069881},"Message":"Sent message ID 182834b2b9ec3001 to DLQ"}

{"Timestamp":"2026-08-13T10:17:02.1994417+00:00","Level":"Information","Data":{"EventId":1123785914},"Message":"Notification event with message ID 182834b3546c3000 received: {\"TemplateId\":41,\"EntityType\":\"action_trackers\",\"EventType\":null,\"NotifyRoleId\":null,\"NotifyUserId\":267,\"NotifyDynamicActor\":null,\"EntityContext\":{\"Parameters\":{\"ActionTrackerId\":\"291\",\"OrgId\":\"256\",\"ActionTrackerLink\":\"https://sandbox.oqsha.com/Organisations/256/Action-Trackers/291\",\"EmailFooter\":\"OQSHA Team\",\"UserName\":\"Hebert Eaton\"}},\"ActorContext\":null,\"Metadata\":null}"}

{"Timestamp":"2026-08-13T10:17:02.2033903+00:00","Level":"Information","Data":{"EventId":1752468093},"Message":"Started processing notification for message ID 182834b3546c3000"}

{"Timestamp":"2026-08-13T10:17:02.2034251+00:00","Level":"Information","Data":{"EventId":3701769888},"Message":"Looking up the notification handler for message ID 182834b3546c3000"}

{"Timestamp":"2026-08-13T10:17:02.2034348+00:00","Level":"Information","Data":{"EventId":3528004121},"Message":"Event handling in process for message ID 182834b3546c3000"}

{"Timestamp":"2026-08-13T10:17:02.2085859+00:00","Level":"Information","Data":{"EventId":2272739083},"Message":"Sending message ID 182834b3546c3000 to DLQ"}

{"Timestamp":"2026-08-13T10:17:02.2087935+00:00","Level":"Information","Data":{"EventId":3513135793},"Message":"Dead letter envelope for DLQ message: {\"SourceTopic\":\"stg.notification.orchestrator\",\"SourceChannel\":\"notification-orchestrator\",\"FailedAtUtc\":\"2026-08-13T10:17:02.2086204Z\",\"Attempts\":1,\"ErrorType\":\"OQSHA.Notification.Orchestrator.Exceptions.PermanentOrchestratorException\",\"ErrorMessage\":\"Action Tracker ID 291 not found for message ID 182834b3546c3000\",\"StackTrace\":\"   at OQSHA.Notification.Orchestrator.NotificationHandlers.ActionTrackersNotificationHandler.FetchActionTrackerAsync(String messageId, Int32 orgId, Int32 actionTrackerId) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\NotificationHandlers\\\\ActionTrackersNotificationHandler.cs:line 293\\r\\n   at OQSHA.Notification.Orchestrator.NotificationHandlers.ActionTrackersNotificationHandler.HandleTemplateBasedAlertNotificationAsync(String messageId, NotificationEventDto request) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\NotificationHandlers\\\\ActionTrackersNotificationHandler.cs:line 109\\r\\n   at OQSHA.Notification.Orchestrator.NotificationHandlers.ActionTrackersNotificationHandler.ProcessEventAsync(String messageId, NotificationEventDto request) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\NotificationHandlers\\\\ActionTrackersNotificationHandler.cs:line 51\\r\\n   at OQSHA.Notification.Orchestrator.Routing.EventRouter.ExecuteAsync(String messageId, NotificationEventDto request) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\Routing\\\\EventRouter.cs:line 38\\r\\n   at OQSHA.Notification.Orchestrator.Worker.OrchestratorMessageHandler.HandleMessage(IMessage message) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\Worker\\\\OrchestratorMessageHandler.cs:line 44\",\"OriginalBody\":\"{\\\"TemplateId\\\":41,\\\"EntityType\\\":\\\"action_trackers\\\",\\\"EventType\\\":null,\\\"NotifyRoleId\\\":null,\\\"NotifyUserId\\\":267,\\\"NotifyDynamicActor\\\":null,\\\"EntityContext\\\":{\\\"Parameters\\\":{\\\"ActionTrackerId\\\":\\\"291\\\",\\\"OrgId\\\":\\\"256\\\",\\\"ActionTrackerLink\\\":\\\"https://sandbox.oqsha.com/Organisations/256/Action-Trackers/291\\\",\\\"EmailFooter\\\":\\\"OQSHA Team\\\",\\\"UserName\\\":\\\"Hebert Eaton\\\"}},\\\"ActorContext\\\":null,\\\"Metadata\\\":null}\"}"}

{"Timestamp":"2026-08-13T10:17:02.2090806+00:00","Level":"Information","Data":{"EventId":4134414043},"Message":"Sent message ID 182834b3546c3000 to DLQ"}

{"Timestamp":"2026-08-13T10:17:02.3956538+00:00","Level":"Information","Data":{"EventId":2258355543},"Message":"Notification event with message ID 182834b354ac3000 received: {\"TemplateId\":43,\"EntityType\":\"action_trackers\",\"EventType\":null,\"NotifyRoleId\":null,\"NotifyUserId\":267,\"NotifyDynamicActor\":null,\"EntityContext\":{\"Parameters\":{\"ActionTrackerId\":\"291\",\"OrgId\":\"256\",\"ActionTrackerLink\":\"https://sandbox.oqsha.com/Organisations/256/Action-Trackers/291\",\"EmailFooter\":\"OQSHA Team\",\"UserName\":\"Hebert Eaton\"}},\"ActorContext\":null,\"Metadata\":null}"}

{"Timestamp":"2026-08-13T10:17:02.3983047+00:00","Level":"Information","Data":{"EventId":1708320810},"Message":"Started processing notification for message ID 182834b354ac3000"}

{"Timestamp":"2026-08-13T10:17:02.3983354+00:00","Level":"Information","Data":{"EventId":450280233},"Message":"Looking up the notification handler for message ID 182834b354ac3000"}

{"Timestamp":"2026-08-13T10:17:02.3983433+00:00","Level":"Information","Data":{"EventId":799719340},"Message":"Event handling in process for message ID 182834b354ac3000"}

{"Timestamp":"2026-08-13T10:17:02.4034147+00:00","Level":"Information","Data":{"EventId":2827045597},"Message":"Sending message ID 182834b354ac3000 to DLQ"}

{"Timestamp":"2026-08-13T10:17:02.4035938+00:00","Level":"Information","Data":{"EventId":1559949049},"Message":"Dead letter envelope for DLQ message: {\"SourceTopic\":\"stg.notification.orchestrator\",\"SourceChannel\":\"notification-orchestrator\",\"FailedAtUtc\":\"2026-08-13T10:17:02.4034444Z\",\"Attempts\":1,\"ErrorType\":\"OQSHA.Notification.Orchestrator.Exceptions.PermanentOrchestratorException\",\"ErrorMessage\":\"Action Tracker ID 291 not found for message ID 182834b354ac3000\",\"StackTrace\":\"   at OQSHA.Notification.Orchestrator.NotificationHandlers.ActionTrackersNotificationHandler.FetchActionTrackerAsync(String messageId, Int32 orgId, Int32 actionTrackerId) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\NotificationHandlers\\\\ActionTrackersNotificationHandler.cs:line 293\\r\\n   at OQSHA.Notification.Orchestrator.NotificationHandlers.ActionTrackersNotificationHandler.HandleTemplateBasedAlertNotificationAsync(String messageId, NotificationEventDto request) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\NotificationHandlers\\\\ActionTrackersNotificationHandler.cs:line 109\\r\\n   at OQSHA.Notification.Orchestrator.NotificationHandlers.ActionTrackersNotificationHandler.ProcessEventAsync(String messageId, NotificationEventDto request) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\NotificationHandlers\\\\ActionTrackersNotificationHandler.cs:line 51\\r\\n   at OQSHA.Notification.Orchestrator.Routing.EventRouter.ExecuteAsync(String messageId, NotificationEventDto request) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\Routing\\\\EventRouter.cs:line 38\\r\\n   at OQSHA.Notification.Orchestrator.Worker.OrchestratorMessageHandler.HandleMessage(IMessage message) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\Worker\\\\OrchestratorMessageHandler.cs:line 44\",\"OriginalBody\":\"{\\\"TemplateId\\\":43,\\\"EntityType\\\":\\\"action_trackers\\\",\\\"EventType\\\":null,\\\"NotifyRoleId\\\":null,\\\"NotifyUserId\\\":267,\\\"NotifyDynamicActor\\\":null,\\\"EntityContext\\\":{\\\"Parameters\\\":{\\\"ActionTrackerId\\\":\\\"291\\\",\\\"OrgId\\\":\\\"256\\\",\\\"ActionTrackerLink\\\":\\\"https://sandbox.oqsha.com/Organisations/256/Action-Trackers/291\\\",\\\"EmailFooter\\\":\\\"OQSHA Team\\\",\\\"UserName\\\":\\\"Hebert Eaton\\\"}},\\\"ActorContext\\\":null,\\\"Metadata\\\":null}\"}"}

{"Timestamp":"2026-08-13T10:17:02.4041422+00:00","Level":"Information","Data":{"EventId":654248909},"Message":"Sent message ID 182834b354ac3000 to DLQ"}

{"Timestamp":"2026-08-13T10:17:08.1624007+00:00","Level":"Information","Data":{"EventId":3301322533},"Message":"Notification event with message ID 182834b8e1ac3000 received: {\"TemplateId\":18,\"EntityType\":\"work_permit_v2\",\"EventType\":null,\"NotifyRoleId\":null,\"NotifyUserId\":null,\"NotifyDynamicActor\":\"Work_Permit_Authorization_Plant_Head\",\"EntityContext\":{\"Parameters\":{\"workPermitId\":\"528\",\"workPermitV2Id\":\"528\",\"orgId\":\"264\",\"viewLink\":\"http://localhost:4200/#/work-permit-v2/view-work-permit/264/528?dlType=viewWorkPermitV2\",\"workPermitLink\":\"http://localhost:4200/#/work-permit-v2/view-work-permit/264/528?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}"}

{"Timestamp":"2026-08-13T10:17:08.1642672+00:00","Level":"Information","Data":{"EventId":3792617315},"Message":"Started processing notification for message ID 182834b8e1ac3000"}

{"Timestamp":"2026-08-13T10:17:08.1643042+00:00","Level":"Information","Data":{"EventId":3737959580},"Message":"Looking up the notification handler for message ID 182834b8e1ac3000"}

{"Timestamp":"2026-08-13T10:17:08.1643148+00:00","Level":"Information","Data":{"EventId":3285074121},"Message":"Event handling in process for message ID 182834b8e1ac3000"}

{"Timestamp":"2026-08-13T10:17:08.1681198+00:00","Level":"Information","Data":{"EventId":1456677225},"Message":"Dispatching the notifications for message ID 182834b8e1ac3000"}

{"Timestamp":"2026-08-13T10:17:08.1688107+00:00","Level":"Information","Data":{"EventId":3226800351},"Message":"Successfully processed notification for message ID 182834b8e1ac3000"}

{"Timestamp":"2026-08-13T10:17:08.4063103+00:00","Level":"Information","Data":{"EventId":2643282600},"Message":"Notification event with message ID 182834b8e26c3000 received: {\"TemplateId\":19,\"EntityType\":\"work_permit_v2\",\"EventType\":null,\"NotifyRoleId\":null,\"NotifyUserId\":null,\"NotifyDynamicActor\":\"Work_Permit_Authorization_Plant_Head\",\"EntityContext\":{\"Parameters\":{\"workPermitId\":\"528\",\"workPermitV2Id\":\"528\",\"orgId\":\"264\",\"viewLink\":\"http://localhost:4200/#/work-permit-v2/view-work-permit/264/528?dlType=viewWorkPermitV2\",\"workPermitLink\":\"http://localhost:4200/#/work-permit-v2/view-work-permit/264/528?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}"}

{"Timestamp":"2026-08-13T10:17:08.4097698+00:00","Level":"Information","Data":{"EventId":3174867795},"Message":"Started processing notification for message ID 182834b8e26c3000"}

{"Timestamp":"2026-08-13T10:17:08.4098581+00:00","Level":"Information","Data":{"EventId":2646585009},"Message":"Looking up the notification handler for message ID 182834b8e26c3000"}

{"Timestamp":"2026-08-13T10:17:08.4098921+00:00","Level":"Information","Data":{"EventId":1681866093},"Message":"Event handling in process for message ID 182834b8e26c3000"}

{"Timestamp":"2026-08-13T10:17:08.4200285+00:00","Level":"Information","Data":{"EventId":2524053065},"Message":"Dispatching the notifications for message ID 182834b8e26c3000"}

{"Timestamp":"2026-08-13T10:17:08.4207583+00:00","Level":"Information","Data":{"EventId":972575706},"Message":"Successfully processed notification for message ID 182834b8e26c3000"}

{"Timestamp":"2026-08-13T11:05:06.9799810+00:00","Level":"Information","Data":{"EventId":1689442105},"Message":"Notification event with message ID 18283f31fdac3000 received: {\"TemplateId\":26,\"EntityType\":\"inspection_v2\",\"EventType\":null,\"NotifyRoleId\":null,\"NotifyUserId\":267,\"NotifyDynamicActor\":null,\"EntityContext\":{\"Parameters\":{\"inspectionId\":\"2541\",\"orgId\":\"262\",\"inspectionLink\":\"https://sandbox.oqsha.com/#/inspection-v2/edit-inspection-v2/2541\",\"emailFooter\":\"OQSHA Team\",\"userName\":\"Hebert Eaton\"}},\"ActorContext\":{},\"Metadata\":null}"}

{"Timestamp":"2026-08-13T11:05:06.9817990+00:00","Level":"Information","Data":{"EventId":3839043676},"Message":"Started processing notification for message ID 18283f31fdac3000"}

{"Timestamp":"2026-08-13T11:05:06.9818288+00:00","Level":"Information","Data":{"EventId":3560670983},"Message":"Looking up the notification handler for message ID 18283f31fdac3000"}

{"Timestamp":"2026-08-13T11:05:06.9818378+00:00","Level":"Information","Data":{"EventId":1192414508},"Message":"Event handling in process for message ID 18283f31fdac3000"}

{"Timestamp":"2026-08-13T11:05:06.9864200+00:00","Level":"Information","Data":{"EventId":1891473843},"Message":"Sending message ID 18283f31fdac3000 to DLQ"}

{"Timestamp":"2026-08-13T11:05:06.9866137+00:00","Level":"Information","Data":{"EventId":4271262777},"Message":"Dead letter envelope for DLQ message: {\"SourceTopic\":\"stg.notification.orchestrator\",\"SourceChannel\":\"notification-orchestrator\",\"FailedAtUtc\":\"2026-08-13T11:05:06.9864547Z\",\"Attempts\":1,\"ErrorType\":\"OQSHA.Notification.Orchestrator.Exceptions.PermanentOrchestratorException\",\"ErrorMessage\":\"Inspection V2 ID 2541 not found for message ID 18283f31fdac3000\",\"StackTrace\":\"   at OQSHA.Notification.Orchestrator.NotificationHandlers.InspectionV2NotificationHandler.FetchInspectionAsync(String messageId, Int32 orgId, Int32 inspectionId) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\NotificationHandlers\\\\InspectionV2NotificationHandler.cs:line 268\\r\\n   at OQSHA.Notification.Orchestrator.NotificationHandlers.InspectionV2NotificationHandler.HandleTemplateBasedNotificationAsync(String messageId, NotificationEventDto request) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\NotificationHandlers\\\\InspectionV2NotificationHandler.cs:line 93\\r\\n   at OQSHA.Notification.Orchestrator.NotificationHandlers.InspectionV2NotificationHandler.ProcessEventAsync(String messageId, NotificationEventDto request) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\NotificationHandlers\\\\InspectionV2NotificationHandler.cs:line 56\\r\\n   at OQSHA.Notification.Orchestrator.Routing.EventRouter.ExecuteAsync(String messageId, NotificationEventDto request) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\Routing\\\\EventRouter.cs:line 38\\r\\n   at OQSHA.Notification.Orchestrator.Worker.OrchestratorMessageHandler.HandleMessage(IMessage message) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\Worker\\\\OrchestratorMessageHandler.cs:line 44\",\"OriginalBody\":\"{\\\"TemplateId\\\":26,\\\"EntityType\\\":\\\"inspection_v2\\\",\\\"EventType\\\":null,\\\"NotifyRoleId\\\":null,\\\"NotifyUserId\\\":267,\\\"NotifyDynamicActor\\\":null,\\\"EntityContext\\\":{\\\"Parameters\\\":{\\\"inspectionId\\\":\\\"2541\\\",\\\"orgId\\\":\\\"262\\\",\\\"inspectionLink\\\":\\\"https://sandbox.oqsha.com/#/inspection-v2/edit-inspection-v2/2541\\\",\\\"emailFooter\\\":\\\"OQSHA Team\\\",\\\"userName\\\":\\\"Hebert Eaton\\\"}},\\\"ActorContext\\\":{},\\\"Metadata\\\":null}\"}"}

{"Timestamp":"2026-08-13T11:05:06.9871473+00:00","Level":"Information","Data":{"EventId":3086650703},"Message":"Sent message ID 18283f31fdac3000 to DLQ"}

{"Timestamp":"2026-08-13T11:05:07.1040321+00:00","Level":"Information","Data":{"EventId":3423804085},"Message":"Notification event with message ID 18283f31fdec3000 received: {\"TemplateId\":29,\"EntityType\":\"inspection_v2\",\"EventType\":null,\"NotifyRoleId\":null,\"NotifyUserId\":267,\"NotifyDynamicActor\":null,\"EntityContext\":{\"Parameters\":{\"inspectionId\":\"2541\",\"orgId\":\"262\",\"inspectionLink\":\"https://sandbox.oqsha.com/#/inspection-v2/edit-inspection-v2/2541\",\"emailFooter\":\"OQSHA Team\",\"userName\":\"Hebert Eaton\"}},\"ActorContext\":{},\"Metadata\":null}"}

{"Timestamp":"2026-08-13T11:05:07.1061503+00:00","Level":"Information","Data":{"EventId":2678365490},"Message":"Started processing notification for message ID 18283f31fdec3000"}

{"Timestamp":"2026-08-13T11:05:07.1061907+00:00","Level":"Information","Data":{"EventId":2455731460},"Message":"Looking up the notification handler for message ID 18283f31fdec3000"}

{"Timestamp":"2026-08-13T11:05:07.1062061+00:00","Level":"Information","Data":{"EventId":2856979220},"Message":"Event handling in process for message ID 18283f31fdec3000"}

{"Timestamp":"2026-08-13T11:05:07.1100858+00:00","Level":"Information","Data":{"EventId":4289744282},"Message":"Sending message ID 18283f31fdec3000 to DLQ"}

{"Timestamp":"2026-08-13T11:05:07.1102628+00:00","Level":"Information","Data":{"EventId":1310426735},"Message":"Dead letter envelope for DLQ message: {\"SourceTopic\":\"stg.notification.orchestrator\",\"SourceChannel\":\"notification-orchestrator\",\"FailedAtUtc\":\"2026-08-13T11:05:07.1101167Z\",\"Attempts\":1,\"ErrorType\":\"OQSHA.Notification.Orchestrator.Exceptions.PermanentOrchestratorException\",\"ErrorMessage\":\"Inspection V2 ID 2541 not found for message ID 18283f31fdec3000\",\"StackTrace\":\"   at OQSHA.Notification.Orchestrator.NotificationHandlers.InspectionV2NotificationHandler.FetchInspectionAsync(String messageId, Int32 orgId, Int32 inspectionId) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\NotificationHandlers\\\\InspectionV2NotificationHandler.cs:line 268\\r\\n   at OQSHA.Notification.Orchestrator.NotificationHandlers.InspectionV2NotificationHandler.HandleTemplateBasedNotificationAsync(String messageId, NotificationEventDto request) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\NotificationHandlers\\\\InspectionV2NotificationHandler.cs:line 93\\r\\n   at OQSHA.Notification.Orchestrator.NotificationHandlers.InspectionV2NotificationHandler.ProcessEventAsync(String messageId, NotificationEventDto request) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\NotificationHandlers\\\\InspectionV2NotificationHandler.cs:line 56\\r\\n   at OQSHA.Notification.Orchestrator.Routing.EventRouter.ExecuteAsync(String messageId, NotificationEventDto request) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\Routing\\\\EventRouter.cs:line 38\\r\\n   at OQSHA.Notification.Orchestrator.Worker.OrchestratorMessageHandler.HandleMessage(IMessage message) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\Worker\\\\OrchestratorMessageHandler.cs:line 44\",\"OriginalBody\":\"{\\\"TemplateId\\\":29,\\\"EntityType\\\":\\\"inspection_v2\\\",\\\"EventType\\\":null,\\\"NotifyRoleId\\\":null,\\\"NotifyUserId\\\":267,\\\"NotifyDynamicActor\\\":null,\\\"EntityContext\\\":{\\\"Parameters\\\":{\\\"inspectionId\\\":\\\"2541\\\",\\\"orgId\\\":\\\"262\\\",\\\"inspectionLink\\\":\\\"https://sandbox.oqsha.com/#/inspection-v2/edit-inspection-v2/2541\\\",\\\"emailFooter\\\":\\\"OQSHA Team\\\",\\\"userName\\\":\\\"Hebert Eaton\\\"}},\\\"ActorContext\\\":{},\\\"Metadata\\\":null}\"}"}

{"Timestamp":"2026-08-13T11:05:07.1109306+00:00","Level":"Information","Data":{"EventId":2272764305},"Message":"Sent message ID 18283f31fdec3000 to DLQ"}

{"Timestamp":"2026-08-13T12:23:25.7928161+00:00","Level":"Information","Data":{"EventId":2037773470},"Message":"Notification event with message ID 1828504a192c3000 received: {\"TemplateId\":18,\"EntityType\":\"work_permit_v2\",\"EventType\":null,\"NotifyRoleId\":null,\"NotifyUserId\":null,\"NotifyDynamicActor\":\"Work_Permit_Authorization_Department_Head\",\"EntityContext\":{\"Parameters\":{\"workPermitId\":\"533\",\"workPermitV2Id\":\"533\",\"orgId\":\"264\",\"viewLink\":\"http://localhost:4200/#/work-permit-v2/view-work-permit/264/533?dlType=viewWorkPermitV2\",\"workPermitLink\":\"http://localhost:4200/#/work-permit-v2/view-work-permit/264/533?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}"}

{"Timestamp":"2026-08-13T12:23:25.7955187+00:00","Level":"Information","Data":{"EventId":1650789389},"Message":"Started processing notification for message ID 1828504a192c3000"}

{"Timestamp":"2026-08-13T12:23:25.7955501+00:00","Level":"Information","Data":{"EventId":3133466037},"Message":"Looking up the notification handler for message ID 1828504a192c3000"}

{"Timestamp":"2026-08-13T12:23:25.7955621+00:00","Level":"Information","Data":{"EventId":2171355087},"Message":"Event handling in process for message ID 1828504a192c3000"}

{"Timestamp":"2026-08-13T12:23:25.8032671+00:00","Level":"Information","Data":{"EventId":1022179836},"Message":"Dispatching the notifications for message ID 1828504a192c3000"}

{"Timestamp":"2026-08-13T12:23:25.8041533+00:00","Level":"Information","Data":{"EventId":4008903008},"Message":"Successfully processed notification for message ID 1828504a192c3000"}

{"Timestamp":"2026-08-13T12:23:26.0201664+00:00","Level":"Information","Data":{"EventId":34546065},"Message":"Notification event with message ID 1828504a1a2c3000 received: {\"TemplateId\":19,\"EntityType\":\"work_permit_v2\",\"EventType\":null,\"NotifyRoleId\":null,\"NotifyUserId\":null,\"NotifyDynamicActor\":\"Work_Permit_Authorization_Department_Head\",\"EntityContext\":{\"Parameters\":{\"workPermitId\":\"533\",\"workPermitV2Id\":\"533\",\"orgId\":\"264\",\"viewLink\":\"http://localhost:4200/#/work-permit-v2/view-work-permit/264/533?dlType=viewWorkPermitV2\",\"workPermitLink\":\"http://localhost:4200/#/work-permit-v2/view-work-permit/264/533?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}"}

{"Timestamp":"2026-08-13T12:23:26.0229129+00:00","Level":"Information","Data":{"EventId":3652776989},"Message":"Started processing notification for message ID 1828504a1a2c3000"}

{"Timestamp":"2026-08-13T12:23:26.0229491+00:00","Level":"Information","Data":{"EventId":3633803764},"Message":"Looking up the notification handler for message ID 1828504a1a2c3000"}

{"Timestamp":"2026-08-13T12:23:26.0229594+00:00","Level":"Information","Data":{"EventId":3390800179},"Message":"Event handling in process for message ID 1828504a1a2c3000"}

{"Timestamp":"2026-08-13T12:23:26.0293615+00:00","Level":"Information","Data":{"EventId":1723846083},"Message":"Dispatching the notifications for message ID 1828504a1a2c3000"}

{"Timestamp":"2026-08-13T12:23:26.0301501+00:00","Level":"Information","Data":{"EventId":851280641},"Message":"Successfully processed notification for message ID 1828504a1a2c3000"}

{"Timestamp":"2026-08-13T12:24:33.5531902+00:00","Level":"Information","Data":{"EventId":2693021114},"Message":"Notification event with message ID 1828508934ec3000 received: {\"TemplateId\":18,\"EntityType\":\"work_permit_v2\",\"EventType\":null,\"NotifyRoleId\":null,\"NotifyUserId\":null,\"NotifyDynamicActor\":\"Work_Permit_Authorization_Area_Owner\",\"EntityContext\":{\"Parameters\":{\"workPermitId\":\"533\",\"workPermitV2Id\":\"533\",\"orgId\":\"264\",\"viewLink\":\"http://localhost:4200/#/work-permit-v2/view-work-permit/264/533?dlType=viewWorkPermitV2\",\"workPermitLink\":\"http://localhost:4200/#/work-permit-v2/view-work-permit/264/533?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}"}

{"Timestamp":"2026-08-13T12:24:33.5555430+00:00","Level":"Information","Data":{"EventId":623254312},"Message":"Started processing notification for message ID 1828508934ec3000"}

{"Timestamp":"2026-08-13T12:24:33.5555795+00:00","Level":"Information","Data":{"EventId":3856083223},"Message":"Looking up the notification handler for message ID 1828508934ec3000"}

{"Timestamp":"2026-08-13T12:24:33.5555888+00:00","Level":"Information","Data":{"EventId":2813264694},"Message":"Event handling in process for message ID 1828508934ec3000"}

{"Timestamp":"2026-08-13T12:24:33.5633846+00:00","Level":"Information","Data":{"EventId":705689514},"Message":"Dispatching the notifications for message ID 1828508934ec3000"}

{"Timestamp":"2026-08-13T12:24:33.5638628+00:00","Level":"Information","Data":{"EventId":1459230787},"Message":"Successfully processed notification for message ID 1828508934ec3000"}

{"Timestamp":"2026-08-13T12:24:33.7783822+00:00","Level":"Information","Data":{"EventId":1602060342},"Message":"Notification event with message ID 1828508935ec3000 received: {\"TemplateId\":19,\"EntityType\":\"work_permit_v2\",\"EventType\":null,\"NotifyRoleId\":null,\"NotifyUserId\":null,\"NotifyDynamicActor\":\"Work_Permit_Authorization_Area_Owner\",\"EntityContext\":{\"Parameters\":{\"workPermitId\":\"533\",\"workPermitV2Id\":\"533\",\"orgId\":\"264\",\"viewLink\":\"http://localhost:4200/#/work-permit-v2/view-work-permit/264/533?dlType=viewWorkPermitV2\",\"workPermitLink\":\"http://localhost:4200/#/work-permit-v2/view-work-permit/264/533?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}"}

{"Timestamp":"2026-08-13T12:24:33.7826675+00:00","Level":"Information","Data":{"EventId":4268452550},"Message":"Started processing notification for message ID 1828508935ec3000"}

{"Timestamp":"2026-08-13T12:24:33.7827036+00:00","Level":"Information","Data":{"EventId":3778023810},"Message":"Looking up the notification handler for message ID 1828508935ec3000"}

{"Timestamp":"2026-08-13T12:24:33.7827149+00:00","Level":"Information","Data":{"EventId":3023071165},"Message":"Event handling in process for message ID 1828508935ec3000"}

{"Timestamp":"2026-08-13T12:24:33.7885317+00:00","Level":"Information","Data":{"EventId":1377155867},"Message":"Dispatching the notifications for message ID 1828508935ec3000"}

{"Timestamp":"2026-08-13T12:24:33.7893042+00:00","Level":"Information","Data":{"EventId":4262999105},"Message":"Successfully processed notification for message ID 1828508935ec3000"}

{"Timestamp":"2026-08-13T12:26:22.1693827+00:00","Level":"Information","Data":{"EventId":2679946868},"Message":"Notification event with message ID 182850ee5d6c3000 received: {\"TemplateId\":18,\"EntityType\":\"work_permit_v2\",\"EventType\":null,\"NotifyRoleId\":null,\"NotifyUserId\":null,\"NotifyDynamicActor\":\"Work_Permit_Authorization_Plant_Head\",\"EntityContext\":{\"Parameters\":{\"workPermitId\":\"533\",\"workPermitV2Id\":\"533\",\"orgId\":\"264\",\"viewLink\":\"http://localhost:4200/#/work-permit-v2/view-work-permit/264/533?dlType=viewWorkPermitV2\",\"workPermitLink\":\"http://localhost:4200/#/work-permit-v2/view-work-permit/264/533?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}"}

{"Timestamp":"2026-08-13T12:26:22.1711865+00:00","Level":"Information","Data":{"EventId":1812876738},"Message":"Started processing notification for message ID 182850ee5d6c3000"}

{"Timestamp":"2026-08-13T12:26:22.1712141+00:00","Level":"Information","Data":{"EventId":769682706},"Message":"Looking up the notification handler for message ID 182850ee5d6c3000"}

{"Timestamp":"2026-08-13T12:26:22.1712240+00:00","Level":"Information","Data":{"EventId":4095760674},"Message":"Event handling in process for message ID 182850ee5d6c3000"}

{"Timestamp":"2026-08-13T12:26:22.1752474+00:00","Level":"Information","Data":{"EventId":2800160369},"Message":"Dispatching the notifications for message ID 182850ee5d6c3000"}

{"Timestamp":"2026-08-13T12:26:22.1759028+00:00","Level":"Information","Data":{"EventId":2643461067},"Message":"Successfully processed notification for message ID 182850ee5d6c3000"}

{"Timestamp":"2026-08-13T12:26:22.2711339+00:00","Level":"Information","Data":{"EventId":958617291},"Message":"Notification event with message ID 182850ee5dec3000 received: {\"TemplateId\":19,\"EntityType\":\"work_permit_v2\",\"EventType\":null,\"NotifyRoleId\":null,\"NotifyUserId\":null,\"NotifyDynamicActor\":\"Work_Permit_Authorization_Plant_Head\",\"EntityContext\":{\"Parameters\":{\"workPermitId\":\"533\",\"workPermitV2Id\":\"533\",\"orgId\":\"264\",\"viewLink\":\"http://localhost:4200/#/work-permit-v2/view-work-permit/264/533?dlType=viewWorkPermitV2\",\"workPermitLink\":\"http://localhost:4200/#/work-permit-v2/view-work-permit/264/533?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}"}

{"Timestamp":"2026-08-13T12:26:22.2743089+00:00","Level":"Information","Data":{"EventId":1179037788},"Message":"Started processing notification for message ID 182850ee5dec3000"}

{"Timestamp":"2026-08-13T12:26:22.2744153+00:00","Level":"Information","Data":{"EventId":2605237220},"Message":"Looking up the notification handler for message ID 182850ee5dec3000"}

{"Timestamp":"2026-08-13T12:26:22.2744599+00:00","Level":"Information","Data":{"EventId":506105277},"Message":"Event handling in process for message ID 182850ee5dec3000"}

{"Timestamp":"2026-08-13T12:26:22.2818684+00:00","Level":"Information","Data":{"EventId":53624462},"Message":"Dispatching the notifications for message ID 182850ee5dec3000"}

{"Timestamp":"2026-08-13T12:26:22.2835692+00:00","Level":"Information","Data":{"EventId":227246361},"Message":"Successfully processed notification for message ID 182850ee5dec3000"}

{"Timestamp":"2026-08-13T12:39:48.7869778+00:00","Level":"Information","Data":{"EventId":3091016791},"Message":"Inside hosted service - for nsq"}

{"Timestamp":"2026-08-13T12:39:48.8704295+00:00","Level":"Information","Data":{"EventId":3138514657},"Message":"Started the consumer service and handler for NSQ"}

{"Timestamp":"2026-08-13T13:37:01.9858887+00:00","Level":"Information","Data":{"EventId":3068931589},"Message":"Notification event with message ID 1828605affec3000 received: {\"TemplateId\":7,\"EntityType\":\"safety_alerts\",\"EventType\":null,\"NotifyRoleId\":null,\"NotifyUserId\":null,\"NotifyDynamicActor\":null,\"EntityContext\":{\"Parameters\":{\"alertId\":\"885\",\"orgId\":\"207\",\"alertLink\":\"https://sandbox.oqsha.com/#/safety-alerts-v2/edit-safety-alert-v2/885\",\"EmailFooter\":\"OQSHA Team\",\"UserName\":\"Hebert Eaton\",\"description\":\"test\"}},\"ActorContext\":null,\"Metadata\":null}"}

{"Timestamp":"2026-08-13T13:37:02.1458794+00:00","Level":"Information","Data":{"EventId":1547617327},"Message":"Started processing notification for message ID 1828605affec3000"}

{"Timestamp":"2026-08-13T13:37:02.1460250+00:00","Level":"Information","Data":{"EventId":3487332902},"Message":"Looking up the notification handler for message ID 1828605affec3000"}

{"Timestamp":"2026-08-13T13:37:02.1466483+00:00","Level":"Information","Data":{"EventId":3095676963},"Message":"Event handling in process for message ID 1828605affec3000"}

{"Timestamp":"2026-08-13T13:37:02.8287481+00:00","Level":"Information","Data":{"EventId":353807586},"Message":"Sending message ID 1828605affec3000 to DLQ"}

{"Timestamp":"2026-08-13T13:37:02.8632166+00:00","Level":"Information","Data":{"EventId":1266119607},"Message":"Dead letter envelope for DLQ message: {\"SourceTopic\":\"stg.notification.orchestrator\",\"SourceChannel\":\"notification-orchestrator\",\"FailedAtUtc\":\"2026-08-13T13:37:02.8289005Z\",\"Attempts\":1,\"ErrorType\":\"OQSHA.Notification.Orchestrator.Exceptions.PermanentOrchestratorException\",\"ErrorMessage\":\"No recipients received for message ID 1828605affec3000\",\"StackTrace\":\"   at OQSHA.Notification.Orchestrator.Services.UsersService.ResolveRecipientsAsync(String messageId, Int32 orgId, NotificationEventDto request) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\Services\\\\UsersService.cs:line 84\\r\\n   at OQSHA.Notification.Orchestrator.Services.UsersService.GetRecipientsWithDetailsAsync(String messageId, Int32 orgId, NotificationEventDto request, NotificationTemplatesDbo notificationTemplate) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\Services\\\\UsersService.cs:line 134\\r\\n   at OQSHA.Notification.Orchestrator.NotificationHandlers.SafetyAlertsNotificationHandler.HandleTemplateBasedAlertNotificationAsync(String messageId, NotificationEventDto request) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\NotificationHandlers\\\\SafetyAlertsNotificationHandler.cs:line 75\\r\\n   at OQSHA.Notification.Orchestrator.NotificationHandlers.SafetyAlertsNotificationHandler.ProcessEventAsync(String messageId, NotificationEventDto request) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\NotificationHandlers\\\\SafetyAlertsNotificationHandler.cs:line 45\\r\\n   at OQSHA.Notification.Orchestrator.Routing.EventRouter.ExecuteAsync(String messageId, NotificationEventDto request) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\Routing\\\\EventRouter.cs:line 38\\r\\n   at OQSHA.Notification.Orchestrator.Worker.OrchestratorMessageHandler.HandleMessage(IMessage message) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\Worker\\\\OrchestratorMessageHandler.cs:line 44\",\"OriginalBody\":\"{\\\"TemplateId\\\":7,\\\"EntityType\\\":\\\"safety_alerts\\\",\\\"EventType\\\":null,\\\"NotifyRoleId\\\":null,\\\"NotifyUserId\\\":null,\\\"NotifyDynamicActor\\\":null,\\\"EntityContext\\\":{\\\"Parameters\\\":{\\\"alertId\\\":\\\"885\\\",\\\"orgId\\\":\\\"207\\\",\\\"alertLink\\\":\\\"https://sandbox.oqsha.com/#/safety-alerts-v2/edit-safety-alert-v2/885\\\",\\\"EmailFooter\\\":\\\"OQSHA Team\\\",\\\"UserName\\\":\\\"Hebert Eaton\\\",\\\"description\\\":\\\"test\\\"}},\\\"ActorContext\\\":null,\\\"Metadata\\\":null}\"}"}

{"Timestamp":"2026-08-13T13:37:02.8682994+00:00","Level":"Information","Data":{"EventId":45559611},"Message":"Sent message ID 1828605affec3000 to DLQ"}

{"Timestamp":"2026-08-13T13:37:02.8690934+00:00","Level":"Information","Data":{"EventId":1635393128},"Message":"Notification event with message ID 1828605b00ac3000 received: {\"TemplateId\":1,\"EntityType\":\"safety_alerts\",\"EventType\":null,\"NotifyRoleId\":null,\"NotifyUserId\":null,\"NotifyDynamicActor\":null,\"EntityContext\":{\"Parameters\":{\"alertId\":\"885\",\"orgId\":\"207\",\"alertLink\":\"https://sandbox.oqsha.com/#/safety-alerts-v2/edit-safety-alert-v2/885\",\"EmailFooter\":\"OQSHA Team\",\"UserName\":\"Hebert Eaton\",\"description\":\"test\"}},\"ActorContext\":null,\"Metadata\":null}"}

{"Timestamp":"2026-08-13T13:37:02.8749138+00:00","Level":"Information","Data":{"EventId":2476055819},"Message":"Started processing notification for message ID 1828605b00ac3000"}

{"Timestamp":"2026-08-13T13:37:02.8749729+00:00","Level":"Information","Data":{"EventId":3539144382},"Message":"Looking up the notification handler for message ID 1828605b00ac3000"}

{"Timestamp":"2026-08-13T13:37:02.8750396+00:00","Level":"Information","Data":{"EventId":2514996810},"Message":"Event handling in process for message ID 1828605b00ac3000"}

{"Timestamp":"2026-08-13T13:37:02.8893605+00:00","Level":"Information","Data":{"EventId":3159437543},"Message":"Sending message ID 1828605b00ac3000 to DLQ"}

{"Timestamp":"2026-08-13T13:37:02.8896614+00:00","Level":"Information","Data":{"EventId":2975158746},"Message":"Dead letter envelope for DLQ message: {\"SourceTopic\":\"stg.notification.orchestrator\",\"SourceChannel\":\"notification-orchestrator\",\"FailedAtUtc\":\"2026-08-13T13:37:02.8894341Z\",\"Attempts\":1,\"ErrorType\":\"OQSHA.Notification.Orchestrator.Exceptions.PermanentOrchestratorException\",\"ErrorMessage\":\"No recipients received for message ID 1828605b00ac3000\",\"StackTrace\":\"   at OQSHA.Notification.Orchestrator.Services.UsersService.ResolveRecipientsAsync(String messageId, Int32 orgId, NotificationEventDto request) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\Services\\\\UsersService.cs:line 84\\r\\n   at OQSHA.Notification.Orchestrator.Services.UsersService.GetRecipientsWithDetailsAsync(String messageId, Int32 orgId, NotificationEventDto request, NotificationTemplatesDbo notificationTemplate) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\Services\\\\UsersService.cs:line 134\\r\\n   at OQSHA.Notification.Orchestrator.NotificationHandlers.SafetyAlertsNotificationHandler.HandleTemplateBasedAlertNotificationAsync(String messageId, NotificationEventDto request) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\NotificationHandlers\\\\SafetyAlertsNotificationHandler.cs:line 75\\r\\n   at OQSHA.Notification.Orchestrator.NotificationHandlers.SafetyAlertsNotificationHandler.ProcessEventAsync(String messageId, NotificationEventDto request) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\NotificationHandlers\\\\SafetyAlertsNotificationHandler.cs:line 45\\r\\n   at OQSHA.Notification.Orchestrator.Routing.EventRouter.ExecuteAsync(String messageId, NotificationEventDto request) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\Routing\\\\EventRouter.cs:line 38\\r\\n   at OQSHA.Notification.Orchestrator.Worker.OrchestratorMessageHandler.HandleMessage(IMessage message) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\Worker\\\\OrchestratorMessageHandler.cs:line 44\",\"OriginalBody\":\"{\\\"TemplateId\\\":1,\\\"EntityType\\\":\\\"safety_alerts\\\",\\\"EventType\\\":null,\\\"NotifyRoleId\\\":null,\\\"NotifyUserId\\\":null,\\\"NotifyDynamicActor\\\":null,\\\"EntityContext\\\":{\\\"Parameters\\\":{\\\"alertId\\\":\\\"885\\\",\\\"orgId\\\":\\\"207\\\",\\\"alertLink\\\":\\\"https://sandbox.oqsha.com/#/safety-alerts-v2/edit-safety-alert-v2/885\\\",\\\"EmailFooter\\\":\\\"OQSHA Team\\\",\\\"UserName\\\":\\\"Hebert Eaton\\\",\\\"description\\\":\\\"test\\\"}},\\\"ActorContext\\\":null,\\\"Metadata\\\":null}\"}"}

{"Timestamp":"2026-08-13T13:37:02.8904396+00:00","Level":"Information","Data":{"EventId":2159191284},"Message":"Sent message ID 1828605b00ac3000 to DLQ"}

{"Timestamp":"2026-08-13T13:39:21.3354407+00:00","Level":"Information","Data":{"EventId":1395325241},"Message":"Notification event with message ID 182860dcc7ec3000 received: {\"TemplateId\":7,\"EntityType\":\"safety_alerts\",\"EventType\":null,\"NotifyRoleId\":null,\"NotifyUserId\":null,\"NotifyDynamicActor\":null,\"EntityContext\":{\"Parameters\":{\"alertId\":\"886\",\"orgId\":\"207\",\"alertLink\":\"https://sandbox.oqsha.com/#/safety-alerts-v2/edit-safety-alert-v2/886\",\"EmailFooter\":\"OQSHA Team\",\"UserName\":\"Hebert Eaton\",\"description\":\"test\"}},\"ActorContext\":null,\"Metadata\":null}"}

{"Timestamp":"2026-08-13T13:39:21.3526570+00:00","Level":"Information","Data":{"EventId":792428212},"Message":"Started processing notification for message ID 182860dcc7ec3000"}

{"Timestamp":"2026-08-13T13:39:21.3527495+00:00","Level":"Information","Data":{"EventId":2945944729},"Message":"Looking up the notification handler for message ID 182860dcc7ec3000"}

{"Timestamp":"2026-08-13T13:39:21.3527760+00:00","Level":"Information","Data":{"EventId":1947834011},"Message":"Event handling in process for message ID 182860dcc7ec3000"}

{"Timestamp":"2026-08-13T13:39:21.3924950+00:00","Level":"Information","Data":{"EventId":2378751562},"Message":"Sending message ID 182860dcc7ec3000 to DLQ"}

{"Timestamp":"2026-08-13T13:39:21.3928892+00:00","Level":"Information","Data":{"EventId":1081525332},"Message":"Dead letter envelope for DLQ message: {\"SourceTopic\":\"stg.notification.orchestrator\",\"SourceChannel\":\"notification-orchestrator\",\"FailedAtUtc\":\"2026-08-13T13:39:21.3925735Z\",\"Attempts\":1,\"ErrorType\":\"OQSHA.Notification.Orchestrator.Exceptions.PermanentOrchestratorException\",\"ErrorMessage\":\"No recipients received for message ID 182860dcc7ec3000\",\"StackTrace\":\"   at OQSHA.Notification.Orchestrator.Services.UsersService.ResolveRecipientsAsync(String messageId, Int32 orgId, NotificationEventDto request) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\Services\\\\UsersService.cs:line 84\\r\\n   at OQSHA.Notification.Orchestrator.Services.UsersService.GetRecipientsWithDetailsAsync(String messageId, Int32 orgId, NotificationEventDto request, NotificationTemplatesDbo notificationTemplate) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\Services\\\\UsersService.cs:line 134\\r\\n   at OQSHA.Notification.Orchestrator.NotificationHandlers.SafetyAlertsNotificationHandler.HandleTemplateBasedAlertNotificationAsync(String messageId, NotificationEventDto request) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\NotificationHandlers\\\\SafetyAlertsNotificationHandler.cs:line 75\\r\\n   at OQSHA.Notification.Orchestrator.NotificationHandlers.SafetyAlertsNotificationHandler.ProcessEventAsync(String messageId, NotificationEventDto request) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\NotificationHandlers\\\\SafetyAlertsNotificationHandler.cs:line 45\\r\\n   at OQSHA.Notification.Orchestrator.Routing.EventRouter.ExecuteAsync(String messageId, NotificationEventDto request) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\Routing\\\\EventRouter.cs:line 38\\r\\n   at OQSHA.Notification.Orchestrator.Worker.OrchestratorMessageHandler.HandleMessage(IMessage message) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\Worker\\\\OrchestratorMessageHandler.cs:line 44\",\"OriginalBody\":\"{\\\"TemplateId\\\":7,\\\"EntityType\\\":\\\"safety_alerts\\\",\\\"EventType\\\":null,\\\"NotifyRoleId\\\":null,\\\"NotifyUserId\\\":null,\\\"NotifyDynamicActor\\\":null,\\\"EntityContext\\\":{\\\"Parameters\\\":{\\\"alertId\\\":\\\"886\\\",\\\"orgId\\\":\\\"207\\\",\\\"alertLink\\\":\\\"https://sandbox.oqsha.com/#/safety-alerts-v2/edit-safety-alert-v2/886\\\",\\\"EmailFooter\\\":\\\"OQSHA Team\\\",\\\"UserName\\\":\\\"Hebert Eaton\\\",\\\"description\\\":\\\"test\\\"}},\\\"ActorContext\\\":null,\\\"Metadata\\\":null}\"}"}

{"Timestamp":"2026-08-13T13:39:21.3938312+00:00","Level":"Information","Data":{"EventId":1509084808},"Message":"Sent message ID 182860dcc7ec3000 to DLQ"}

{"Timestamp":"2026-08-13T13:39:21.5634348+00:00","Level":"Information","Data":{"EventId":2955485615},"Message":"Notification event with message ID 182860dcc8ac3000 received: {\"TemplateId\":1,\"EntityType\":\"safety_alerts\",\"EventType\":null,\"NotifyRoleId\":null,\"NotifyUserId\":null,\"NotifyDynamicActor\":null,\"EntityContext\":{\"Parameters\":{\"alertId\":\"886\",\"orgId\":\"207\",\"alertLink\":\"https://sandbox.oqsha.com/#/safety-alerts-v2/edit-safety-alert-v2/886\",\"EmailFooter\":\"OQSHA Team\",\"UserName\":\"Hebert Eaton\",\"description\":\"test\"}},\"ActorContext\":null,\"Metadata\":null}"}

{"Timestamp":"2026-08-13T13:39:21.5658937+00:00","Level":"Information","Data":{"EventId":1579621595},"Message":"Started processing notification for message ID 182860dcc8ac3000"}

{"Timestamp":"2026-08-13T13:39:21.5659611+00:00","Level":"Information","Data":{"EventId":3853992588},"Message":"Looking up the notification handler for message ID 182860dcc8ac3000"}

{"Timestamp":"2026-08-13T13:39:21.5659847+00:00","Level":"Information","Data":{"EventId":3629623662},"Message":"Event handling in process for message ID 182860dcc8ac3000"}

{"Timestamp":"2026-08-13T13:39:21.5678708+00:00","Level":"Information","Data":{"EventId":3584678750},"Message":"Sending message ID 182860dcc8ac3000 to DLQ"}

{"Timestamp":"2026-08-13T13:39:21.5681948+00:00","Level":"Information","Data":{"EventId":3068973624},"Message":"Dead letter envelope for DLQ message: {\"SourceTopic\":\"stg.notification.orchestrator\",\"SourceChannel\":\"notification-orchestrator\",\"FailedAtUtc\":\"2026-08-13T13:39:21.5679287Z\",\"Attempts\":1,\"ErrorType\":\"OQSHA.Notification.Orchestrator.Exceptions.PermanentOrchestratorException\",\"ErrorMessage\":\"No recipients received for message ID 182860dcc8ac3000\",\"StackTrace\":\"   at OQSHA.Notification.Orchestrator.Services.UsersService.ResolveRecipientsAsync(String messageId, Int32 orgId, NotificationEventDto request) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\Services\\\\UsersService.cs:line 84\\r\\n   at OQSHA.Notification.Orchestrator.Services.UsersService.GetRecipientsWithDetailsAsync(String messageId, Int32 orgId, NotificationEventDto request, NotificationTemplatesDbo notificationTemplate) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\Services\\\\UsersService.cs:line 134\\r\\n   at OQSHA.Notification.Orchestrator.NotificationHandlers.SafetyAlertsNotificationHandler.HandleTemplateBasedAlertNotificationAsync(String messageId, NotificationEventDto request) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\NotificationHandlers\\\\SafetyAlertsNotificationHandler.cs:line 75\\r\\n   at OQSHA.Notification.Orchestrator.NotificationHandlers.SafetyAlertsNotificationHandler.ProcessEventAsync(String messageId, NotificationEventDto request) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\NotificationHandlers\\\\SafetyAlertsNotificationHandler.cs:line 45\\r\\n   at OQSHA.Notification.Orchestrator.Routing.EventRouter.ExecuteAsync(String messageId, NotificationEventDto request) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\Routing\\\\EventRouter.cs:line 38\\r\\n   at OQSHA.Notification.Orchestrator.Worker.OrchestratorMessageHandler.HandleMessage(IMessage message) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\Worker\\\\OrchestratorMessageHandler.cs:line 44\",\"OriginalBody\":\"{\\\"TemplateId\\\":1,\\\"EntityType\\\":\\\"safety_alerts\\\",\\\"EventType\\\":null,\\\"NotifyRoleId\\\":null,\\\"NotifyUserId\\\":null,\\\"NotifyDynamicActor\\\":null,\\\"EntityContext\\\":{\\\"Parameters\\\":{\\\"alertId\\\":\\\"886\\\",\\\"orgId\\\":\\\"207\\\",\\\"alertLink\\\":\\\"https://sandbox.oqsha.com/#/safety-alerts-v2/edit-safety-alert-v2/886\\\",\\\"EmailFooter\\\":\\\"OQSHA Team\\\",\\\"UserName\\\":\\\"Hebert Eaton\\\",\\\"description\\\":\\\"test\\\"}},\\\"ActorContext\\\":null,\\\"Metadata\\\":null}\"}"}

{"Timestamp":"2026-08-13T13:39:21.5690033+00:00","Level":"Information","Data":{"EventId":169843657},"Message":"Sent message ID 182860dcc8ac3000 to DLQ"}

{"Timestamp":"2026-08-13T16:49:21.6399924+00:00","Level":"Information","Data":{"EventId":3091016791},"Message":"Inside hosted service - for nsq"}

{"Timestamp":"2026-08-13T16:49:21.7267500+00:00","Level":"Information","Data":{"EventId":3138514657},"Message":"Started the consumer service and handler for NSQ"}

