{"Timestamp":"2026-07-15T00:21:21.9356632+00:00","Level":"Information","Data":{"EventId":3091016791},"Message":"Inside hosted service - for nsq"}

{"Timestamp":"2026-07-15T00:21:22.0348916+00:00","Level":"Information","Data":{"EventId":3138514657},"Message":"Started the consumer service and handler for NSQ"}

{"Timestamp":"2026-07-15T02:59:28.6719389+00:00","Level":"Information","Data":{"EventId":356872584},"Message":"Notification event with message ID 180439defb6c3000 received: {\"TemplateId\":18,\"EntityType\":\"work_permit_v2\",\"EventType\":null,\"NotifyRoleId\":null,\"NotifyUserId\":null,\"NotifyDynamicActor\":\"Work_Permit_Authorization_Plant_Head\",\"EntityContext\":{\"Parameters\":{\"workPermitId\":\"418\",\"workPermitV2Id\":\"418\",\"orgId\":\"264\",\"viewLink\":\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/264/418?dlType=viewWorkPermitV2\",\"workPermitLink\":\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/264/418?dlType=viewWorkPermitV2\",\"emailFooter\":\"OQSHA Team\"}},\"ActorContext\":{\"Requestor\":[678],\"Work_Permit_Authorization_Department_Head\":[678],\"Isolation_Reviewed_User\":[678],\"Work_Permit_Authorization_Area_Owner\":[678],\"Work_Permit_Authorization_Plant_Head\":[678]},\"Metadata\":null}"}

{"Timestamp":"2026-07-15T02:59:28.8336804+00:00","Level":"Information","Data":{"EventId":3752138040},"Message":"Started processing notification for message ID 180439defb6c3000"}

{"Timestamp":"2026-07-15T02:59:28.8337668+00:00","Level":"Information","Data":{"EventId":1547769215},"Message":"Looking up the notification handler for message ID 180439defb6c3000"}

{"Timestamp":"2026-07-15T02:59:28.8341964+00:00","Level":"Information","Data":{"EventId":1862258679},"Message":"Event handling in process for message ID 180439defb6c3000"}

{"Timestamp":"2026-07-15T02:59:29.6758741+00:00","Level":"Information","Data":{"EventId":1566482272},"Message":"Dispatching the notifications for message ID 180439defb6c3000"}

{"Timestamp":"2026-07-15T02:59:29.6931184+00:00","Level":"Information","Data":{"EventId":4048185883},"Message":"Successfully processed notification for message ID 180439defb6c3000"}

{"Timestamp":"2026-07-15T02:59:29.6959638+00:00","Level":"Information","Data":{"EventId":2757766488},"Message":"Notification event with message ID 180439defbac3000 received: {\"TemplateId\":19,\"EntityType\":\"work_permit_v2\",\"EventType\":null,\"NotifyRoleId\":null,\"NotifyUserId\":null,\"NotifyDynamicActor\":\"Work_Permit_Authorization_Plant_Head\",\"EntityContext\":{\"Parameters\":{\"workPermitId\":\"418\",\"workPermitV2Id\":\"418\",\"orgId\":\"264\",\"viewLink\":\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/264/418?dlType=viewWorkPermitV2\",\"workPermitLink\":\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/264/418?dlType=viewWorkPermitV2\",\"emailFooter\":\"OQSHA Team\"}},\"ActorContext\":{\"Requestor\":[678],\"Work_Permit_Authorization_Department_Head\":[678],\"Isolation_Reviewed_User\":[678],\"Work_Permit_Authorization_Area_Owner\":[678],\"Work_Permit_Authorization_Plant_Head\":[678]},\"Metadata\":null}"}

{"Timestamp":"2026-07-15T02:59:29.7016427+00:00","Level":"Information","Data":{"EventId":1525332911},"Message":"Started processing notification for message ID 180439defbac3000"}

{"Timestamp":"2026-07-15T02:59:29.7017343+00:00","Level":"Information","Data":{"EventId":2265036330},"Message":"Looking up the notification handler for message ID 180439defbac3000"}

{"Timestamp":"2026-07-15T02:59:29.7018562+00:00","Level":"Information","Data":{"EventId":796328857},"Message":"Event handling in process for message ID 180439defbac3000"}

{"Timestamp":"2026-07-15T02:59:29.7183748+00:00","Level":"Information","Data":{"EventId":1520012851},"Message":"Dispatching the notifications for message ID 180439defbac3000"}

{"Timestamp":"2026-07-15T02:59:29.7193549+00:00","Level":"Information","Data":{"EventId":1788355718},"Message":"Successfully processed notification for message ID 180439defbac3000"}

{"Timestamp":"2026-07-15T03:00:05.6181435+00:00","Level":"Information","Data":{"EventId":2281285947},"Message":"Notification event with message ID 18043a0164ac3000 received: {\"TemplateId\":18,\"EntityType\":\"work_permit_v2\",\"EventType\":null,\"NotifyRoleId\":null,\"NotifyUserId\":null,\"NotifyDynamicActor\":\"Work_Permit_Authorization_Area_Owner\",\"EntityContext\":{\"Parameters\":{\"workPermitId\":\"396\",\"workPermitV2Id\":\"396\",\"orgId\":\"264\",\"viewLink\":\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/264/396?dlType=viewWorkPermitV2\",\"workPermitLink\":\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/264/396?dlType=viewWorkPermitV2\",\"emailFooter\":\"OQSHA Team\"}},\"ActorContext\":{\"Requestor\":[678],\"Work_Permit_Authorization_Department_Head\":[678],\"Work_Permit_Authorization_Area_Owner\":[678]},\"Metadata\":null}"}

{"Timestamp":"2026-07-15T03:00:05.6324298+00:00","Level":"Information","Data":{"EventId":768744410},"Message":"Started processing notification for message ID 18043a0164ac3000"}

{"Timestamp":"2026-07-15T03:00:05.6325117+00:00","Level":"Information","Data":{"EventId":3734465830},"Message":"Looking up the notification handler for message ID 18043a0164ac3000"}

{"Timestamp":"2026-07-15T03:00:05.6325407+00:00","Level":"Information","Data":{"EventId":787925781},"Message":"Event handling in process for message ID 18043a0164ac3000"}

{"Timestamp":"2026-07-15T03:00:05.6752253+00:00","Level":"Information","Data":{"EventId":1568617669},"Message":"Dispatching the notifications for message ID 18043a0164ac3000"}

{"Timestamp":"2026-07-15T03:00:05.6759320+00:00","Level":"Information","Data":{"EventId":2868060097},"Message":"Successfully processed notification for message ID 18043a0164ac3000"}

{"Timestamp":"2026-07-15T03:00:05.8645686+00:00","Level":"Information","Data":{"EventId":3270894655},"Message":"Notification event with message ID 18043a0164ac3001 received: {\"TemplateId\":19,\"EntityType\":\"work_permit_v2\",\"EventType\":null,\"NotifyRoleId\":null,\"NotifyUserId\":null,\"NotifyDynamicActor\":\"Work_Permit_Authorization_Area_Owner\",\"EntityContext\":{\"Parameters\":{\"workPermitId\":\"396\",\"workPermitV2Id\":\"396\",\"orgId\":\"264\",\"viewLink\":\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/264/396?dlType=viewWorkPermitV2\",\"workPermitLink\":\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/264/396?dlType=viewWorkPermitV2\",\"emailFooter\":\"OQSHA Team\"}},\"ActorContext\":{\"Requestor\":[678],\"Work_Permit_Authorization_Department_Head\":[678],\"Work_Permit_Authorization_Area_Owner\":[678]},\"Metadata\":null}"}

{"Timestamp":"2026-07-15T03:00:05.8673685+00:00","Level":"Information","Data":{"EventId":455800460},"Message":"Started processing notification for message ID 18043a0164ac3001"}

{"Timestamp":"2026-07-15T03:00:05.8674424+00:00","Level":"Information","Data":{"EventId":364469097},"Message":"Looking up the notification handler for message ID 18043a0164ac3001"}

{"Timestamp":"2026-07-15T03:00:05.8674608+00:00","Level":"Information","Data":{"EventId":1094283162},"Message":"Event handling in process for message ID 18043a0164ac3001"}

{"Timestamp":"2026-07-15T03:00:05.8739462+00:00","Level":"Information","Data":{"EventId":1337071915},"Message":"Dispatching the notifications for message ID 18043a0164ac3001"}

{"Timestamp":"2026-07-15T03:00:05.8747611+00:00","Level":"Information","Data":{"EventId":4230201893},"Message":"Successfully processed notification for message ID 18043a0164ac3001"}

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

{"Timestamp":"2026-07-15T04:36:44.6420428+00:00","Level":"Information","Data":{"EventId":2000695714},"Message":"Started processing notification for message ID 18044f1a26ec3000"}

{"Timestamp":"2026-07-15T04:36:44.6421573+00:00","Level":"Information","Data":{"EventId":1645719109},"Message":"Looking up the notification handler for message ID 18044f1a26ec3000"}

{"Timestamp":"2026-07-15T04:36:44.6421992+00:00","Level":"Information","Data":{"EventId":1832161123},"Message":"Event handling in process for message ID 18044f1a26ec3000"}

{"Timestamp":"2026-07-15T04:36:44.6517490+00:00","Level":"Information","Data":{"EventId":2482347606},"Message":"Sending message ID 18044f1a26ec3000 to DLQ"}

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

{"Timestamp":"2026-07-15T04:36:44.6836576+00:00","Level":"Information","Data":{"EventId":1893756823},"Message":"Sent message ID 18044f1a26ec3000 to DLQ"}

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

{"Timestamp":"2026-07-15T04:36:44.7740430+00:00","Level":"Information","Data":{"EventId":549880106},"Message":"Started processing notification for message ID 18044f1a272c3000"}

{"Timestamp":"2026-07-15T04:36:44.7742390+00:00","Level":"Information","Data":{"EventId":1130487812},"Message":"Looking up the notification handler for message ID 18044f1a272c3000"}

{"Timestamp":"2026-07-15T04:36:44.7743078+00:00","Level":"Information","Data":{"EventId":4110944077},"Message":"Event handling in process for message ID 18044f1a272c3000"}

{"Timestamp":"2026-07-15T04:36:44.7798948+00:00","Level":"Information","Data":{"EventId":239448749},"Message":"Sending message ID 18044f1a272c3000 to DLQ"}

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

{"Timestamp":"2026-07-15T04:36:44.7828589+00:00","Level":"Information","Data":{"EventId":1860901062},"Message":"Sent message ID 18044f1a272c3000 to DLQ"}

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

{"Timestamp":"2026-07-15T04:38:19.5052097+00:00","Level":"Information","Data":{"EventId":659885120},"Message":"Started processing notification for message ID 18044f72802c3000"}

{"Timestamp":"2026-07-15T04:38:19.5052554+00:00","Level":"Information","Data":{"EventId":1286034321},"Message":"Looking up the notification handler for message ID 18044f72802c3000"}

{"Timestamp":"2026-07-15T04:38:19.5052717+00:00","Level":"Information","Data":{"EventId":622428052},"Message":"Event handling in process for message ID 18044f72802c3000"}

{"Timestamp":"2026-07-15T04:38:19.5090143+00:00","Level":"Information","Data":{"EventId":170306023},"Message":"Sending message ID 18044f72802c3000 to DLQ"}

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

{"Timestamp":"2026-07-15T04:38:19.5102403+00:00","Level":"Information","Data":{"EventId":3325735337},"Message":"Sent message ID 18044f72802c3000 to DLQ"}

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

{"Timestamp":"2026-07-15T04:38:19.5219963+00:00","Level":"Information","Data":{"EventId":2673966167},"Message":"Started processing notification for message ID 18044f72802c3001"}

{"Timestamp":"2026-07-15T04:38:19.5221239+00:00","Level":"Information","Data":{"EventId":3276882251},"Message":"Looking up the notification handler for message ID 18044f72802c3001"}

{"Timestamp":"2026-07-15T04:38:19.5221628+00:00","Level":"Information","Data":{"EventId":4074806051},"Message":"Event handling in process for message ID 18044f72802c3001"}

{"Timestamp":"2026-07-15T04:38:19.5269041+00:00","Level":"Information","Data":{"EventId":2200886492},"Message":"Sending message ID 18044f72802c3001 to DLQ"}

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

{"Timestamp":"2026-07-15T04:38:19.5295090+00:00","Level":"Information","Data":{"EventId":504855700},"Message":"Sent message ID 18044f72802c3001 to DLQ"}

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

{"Timestamp":"2026-07-15T04:39:04.6208630+00:00","Level":"Information","Data":{"EventId":3920301981},"Message":"Started processing notification for message ID 18044f9c84ac3000"}

{"Timestamp":"2026-07-15T04:39:04.6209297+00:00","Level":"Information","Data":{"EventId":3437033604},"Message":"Looking up the notification handler for message ID 18044f9c84ac3000"}

{"Timestamp":"2026-07-15T04:39:04.6209549+00:00","Level":"Information","Data":{"EventId":3132339936},"Message":"Event handling in process for message ID 18044f9c84ac3000"}

{"Timestamp":"2026-07-15T04:39:04.6245340+00:00","Level":"Information","Data":{"EventId":2582812781},"Message":"Sending message ID 18044f9c84ac3000 to DLQ"}

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

{"Timestamp":"2026-07-15T04:39:04.6254302+00:00","Level":"Information","Data":{"EventId":1294339580},"Message":"Sent message ID 18044f9c84ac3000 to DLQ"}

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

{"Timestamp":"2026-07-15T04:39:04.7679488+00:00","Level":"Information","Data":{"EventId":4147882706},"Message":"Started processing notification for message ID 18044f9c84ac3001"}

{"Timestamp":"2026-07-15T04:39:04.7681095+00:00","Level":"Information","Data":{"EventId":1691265129},"Message":"Looking up the notification handler for message ID 18044f9c84ac3001"}

{"Timestamp":"2026-07-15T04:39:04.7681647+00:00","Level":"Information","Data":{"EventId":2489608770},"Message":"Event handling in process for message ID 18044f9c84ac3001"}

{"Timestamp":"2026-07-15T04:39:04.7739417+00:00","Level":"Information","Data":{"EventId":3977876536},"Message":"Sending message ID 18044f9c84ac3001 to DLQ"}

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

{"Timestamp":"2026-07-15T04:39:04.7764462+00:00","Level":"Information","Data":{"EventId":3821879393},"Message":"Sent message ID 18044f9c84ac3001 to DLQ"}

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

{"Timestamp":"2026-07-15T04:39:34.0425906+00:00","Level":"Information","Data":{"EventId":15527184},"Message":"Started processing notification for message ID 18044fb7eaec3000"}

{"Timestamp":"2026-07-15T04:39:34.0426589+00:00","Level":"Information","Data":{"EventId":2325603825},"Message":"Looking up the notification handler for message ID 18044fb7eaec3000"}

{"Timestamp":"2026-07-15T04:39:34.0426959+00:00","Level":"Information","Data":{"EventId":3622477990},"Message":"Event handling in process for message ID 18044fb7eaec3000"}

{"Timestamp":"2026-07-15T04:39:34.0459343+00:00","Level":"Information","Data":{"EventId":433135514},"Message":"Sending message ID 18044fb7eaec3000 to DLQ"}

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

{"Timestamp":"2026-07-15T04:39:34.0469442+00:00","Level":"Information","Data":{"EventId":3629586603},"Message":"Sent message ID 18044fb7eaec3000 to DLQ"}

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

{"Timestamp":"2026-07-15T04:39:34.2737681+00:00","Level":"Information","Data":{"EventId":4054994587},"Message":"Started processing notification for message ID 18044fb7eaec3001"}

{"Timestamp":"2026-07-15T04:39:34.2738875+00:00","Level":"Information","Data":{"EventId":2757302631},"Message":"Looking up the notification handler for message ID 18044fb7eaec3001"}

{"Timestamp":"2026-07-15T04:39:34.2739257+00:00","Level":"Information","Data":{"EventId":3385459813},"Message":"Event handling in process for message ID 18044fb7eaec3001"}

{"Timestamp":"2026-07-15T04:39:34.2804091+00:00","Level":"Information","Data":{"EventId":1625614142},"Message":"Sending message ID 18044fb7eaec3001 to DLQ"}

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

{"Timestamp":"2026-07-15T04:39:34.2826190+00:00","Level":"Information","Data":{"EventId":1801511623},"Message":"Sent message ID 18044fb7eaec3001 to DLQ"}

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

{"Timestamp":"2026-07-15T04:40:18.0905934+00:00","Level":"Information","Data":{"EventId":1502281785},"Message":"Started processing notification for message ID 18044fe0f12c3000"}

{"Timestamp":"2026-07-15T04:40:18.0906248+00:00","Level":"Information","Data":{"EventId":3341024256},"Message":"Looking up the notification handler for message ID 18044fe0f12c3000"}

{"Timestamp":"2026-07-15T04:40:18.0906338+00:00","Level":"Information","Data":{"EventId":1120912360},"Message":"Event handling in process for message ID 18044fe0f12c3000"}

{"Timestamp":"2026-07-15T04:40:18.0935033+00:00","Level":"Information","Data":{"EventId":4249739018},"Message":"Sending message ID 18044fe0f12c3000 to DLQ"}

{"Timestamp":"2026-07-15T04:40:18.0936942+00:00","Level":"Information","Data":{"EventId":519411866},"Message":"Dead letter envelope for DLQ message: {\"SourceTopic\":\"notification.orchestrator\",\"SourceChannel\":\"notification-orchestrator\",\"FailedAtUtc\":\"2026-07-15T04:40:18.0935297Z\",\"Attempts\":1,\"ErrorType\":\"OQSHA.Notification.Orchestrator.Exceptions.PermanentOrchestratorException\",\"ErrorMessage\":\"Work Permit V2 ID 404 not found for message ID 18044fe0f12c3000\",\"StackTrace\":\"   at OQSHA.Notification.Orchestrator.NotificationHandlers.WorkPermitV2NotificationHandler.FetchWorkPermitAsync(String messageId, Int32 orgId, Int32 workPermitId) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\NotificationHandlers\\\\WorkPermitV2NotificationHandler.cs:line 225\\r\\n   at OQSHA.Notification.Orchestrator.NotificationHandlers.WorkPermitV2NotificationHandler.HandleAsync(String messageId, NotificationEventDto request) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\NotificationHandlers\\\\WorkPermitV2NotificationHandler.cs:line 54\\r\\n   at OQSHA.Notification.Orchestrator.NotificationHandlers.WorkPermitV2NotificationHandler.ProcessEventAsync(String messageId, NotificationEventDto request) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\NotificationHandlers\\\\WorkPermitV2NotificationHandler.cs:line 46\\r\\n   at OQSHA.Notification.Orchestrator.Routing.EventRouter.ExecuteAsync(String messageId, NotificationEventDto request) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\Routing\\\\EventRouter.cs:line 38\\r\\n   at OQSHA.Notification.Orchestrator.Worker.OrchestratorMessageHandler.HandleMessage(IMessage message) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\Worker\\\\OrchestratorMessageHandler.cs:line 44\",\"OriginalBody\":\"{\\\"TemplateId\\\":22,\\\"EntityType\\\":\\\"work_permit_v2\\\",\\\"EventType\\\":null,\\\"NotifyRoleId\\\":null,\\\"NotifyUserId\\\":null,\\\"NotifyDynamicActor\\\":\\\"Requestor\\\",\\\"EntityContext\\\":{\\\"Parameters\\\":{\\\"workPermitId\\\":\\\"404\\\",\\\"workPermitV2Id\\\":\\\"404\\\",\\\"orgId\\\":\\\"264\\\",\\\"viewLink\\\":\\\"http://localhost:4200/#/work-permit-v2/view-work-permit/264/404?dlType=viewWorkPermitV2\\\",\\\"workPermitLink\\\":\\\"http://localhost:4200/#/work-permit-v2/view-work-permit/264/404?dlType=viewWorkPermitV2\\\",\\\"emailFooter\\\":\\\"OQSHA Team\\\"}},\\\"ActorContext\\\":{\\\"Requestor\\\":[678],\\\"Work_Permit_Authorization_Department_Head\\\":[678],\\\"Isolation_Reviewed_User\\\":[678],\\\"Work_Permit_Authorization_Area_Owner\\\":[678],\\\"Work_Permit_Authorization_Plant_Head\\\":[678]},\\\"Metadata\\\":null}\"}"}

{"Timestamp":"2026-07-15T04:40:18.0940302+00:00","Level":"Information","Data":{"EventId":2548021063},"Message":"Sent message ID 18044fe0f12c3000 to DLQ"}

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

{"Timestamp":"2026-07-15T04:40:18.2609026+00:00","Level":"Information","Data":{"EventId":2565766911},"Message":"Started processing notification for message ID 18044fe0f12c3001"}

{"Timestamp":"2026-07-15T04:40:18.2609326+00:00","Level":"Information","Data":{"EventId":3044628651},"Message":"Looking up the notification handler for message ID 18044fe0f12c3001"}

{"Timestamp":"2026-07-15T04:40:18.2609424+00:00","Level":"Information","Data":{"EventId":941141626},"Message":"Event handling in process for message ID 18044fe0f12c3001"}

{"Timestamp":"2026-07-15T04:40:18.2642822+00:00","Level":"Information","Data":{"EventId":55855413},"Message":"Sending message ID 18044fe0f12c3001 to DLQ"}

{"Timestamp":"2026-07-15T04:40:18.2644569+00:00","Level":"Information","Data":{"EventId":2031542981},"Message":"Dead letter envelope for DLQ message: {\"SourceTopic\":\"notification.orchestrator\",\"SourceChannel\":\"notification-orchestrator\",\"FailedAtUtc\":\"2026-07-15T04:40:18.2643139Z\",\"Attempts\":1,\"ErrorType\":\"OQSHA.Notification.Orchestrator.Exceptions.PermanentOrchestratorException\",\"ErrorMessage\":\"Work Permit V2 ID 404 not found for message ID 18044fe0f12c3001\",\"StackTrace\":\"   at OQSHA.Notification.Orchestrator.NotificationHandlers.WorkPermitV2NotificationHandler.FetchWorkPermitAsync(String messageId, Int32 orgId, Int32 workPermitId) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\NotificationHandlers\\\\WorkPermitV2NotificationHandler.cs:line 225\\r\\n   at OQSHA.Notification.Orchestrator.NotificationHandlers.WorkPermitV2NotificationHandler.HandleAsync(String messageId, NotificationEventDto request) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\NotificationHandlers\\\\WorkPermitV2NotificationHandler.cs:line 54\\r\\n   at OQSHA.Notification.Orchestrator.NotificationHandlers.WorkPermitV2NotificationHandler.ProcessEventAsync(String messageId, NotificationEventDto request) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\NotificationHandlers\\\\WorkPermitV2NotificationHandler.cs:line 46\\r\\n   at OQSHA.Notification.Orchestrator.Routing.EventRouter.ExecuteAsync(String messageId, NotificationEventDto request) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\Routing\\\\EventRouter.cs:line 38\\r\\n   at OQSHA.Notification.Orchestrator.Worker.OrchestratorMessageHandler.HandleMessage(IMessage message) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\Worker\\\\OrchestratorMessageHandler.cs:line 44\",\"OriginalBody\":\"{\\\"TemplateId\\\":23,\\\"EntityType\\\":\\\"work_permit_v2\\\",\\\"EventType\\\":null,\\\"NotifyRoleId\\\":null,\\\"NotifyUserId\\\":null,\\\"NotifyDynamicActor\\\":\\\"Requestor\\\",\\\"EntityContext\\\":{\\\"Parameters\\\":{\\\"workPermitId\\\":\\\"404\\\",\\\"workPermitV2Id\\\":\\\"404\\\",\\\"orgId\\\":\\\"264\\\",\\\"viewLink\\\":\\\"http://localhost:4200/#/work-permit-v2/view-work-permit/264/404?dlType=viewWorkPermitV2\\\",\\\"workPermitLink\\\":\\\"http://localhost:4200/#/work-permit-v2/view-work-permit/264/404?dlType=viewWorkPermitV2\\\",\\\"emailFooter\\\":\\\"OQSHA Team\\\"}},\\\"ActorContext\\\":{\\\"Requestor\\\":[678],\\\"Work_Permit_Authorization_Department_Head\\\":[678],\\\"Isolation_Reviewed_User\\\":[678],\\\"Work_Permit_Authorization_Area_Owner\\\":[678],\\\"Work_Permit_Authorization_Plant_Head\\\":[678]},\\\"Metadata\\\":null}\"}"}

{"Timestamp":"2026-07-15T04:40:18.2648089+00:00","Level":"Information","Data":{"EventId":1242118928},"Message":"Sent message ID 18044fe0f12c3001 to DLQ"}

{"Timestamp":"2026-07-15T04:41:13.6561254+00:00","Level":"Information","Data":{"EventId":3696476860},"Message":"Notification event with message ID 18045014b12c3000 received: {\"TemplateId\":20,\"EntityType\":\"work_permit_v2\",\"EventType\":null,\"NotifyRoleId\":null,\"NotifyUserId\":null,\"NotifyDynamicActor\":\"Ext_AuthorizedBy_Initiator_Department_Head\",\"EntityContext\":{\"Parameters\":{\"workPermitId\":\"404\",\"workPermitV2Id\":\"404\",\"orgId\":\"264\",\"viewLink\":\"http://localhost:4200/#/work-permit-v2/view-work-permit/264/404?dlType=viewWorkPermitV2\",\"workPermitLink\":\"http://localhost:4200/#/work-permit-v2/view-work-permit/264/404?dlType=viewWorkPermitV2\",\"emailFooter\":\"OQSHA Team\"}},\"ActorContext\":{\"Requestor\":[678],\"Work_Permit_Authorization_Department_Head\":[678],\"Isolation_Reviewed_User\":[678],\"Work_Permit_Authorization_Area_Owner\":[678],\"Work_Permit_Authorization_Plant_Head\":[678],\"Ext_AuthorizedBy_Initiator_Department_Head\":[678],\"Ext_AuthorizedBy_AreaOwner\":[678],\"Ext_PlantHead\":[678]},\"Metadata\":null}"}

{"Timestamp":"2026-07-15T04:41:13.6576809+00:00","Level":"Information","Data":{"EventId":1668094825},"Message":"Started processing notification for message ID 18045014b12c3000"}

{"Timestamp":"2026-07-15T04:41:13.6577165+00:00","Level":"Information","Data":{"EventId":2413674468},"Message":"Looking up the notification handler for message ID 18045014b12c3000"}

{"Timestamp":"2026-07-15T04:41:13.6577574+00:00","Level":"Information","Data":{"EventId":1806606509},"Message":"Event handling in process for message ID 18045014b12c3000"}

{"Timestamp":"2026-07-15T04:41:13.6604436+00:00","Level":"Information","Data":{"EventId":3368229811},"Message":"Sending message ID 18045014b12c3000 to DLQ"}

{"Timestamp":"2026-07-15T04:41:13.6606229+00:00","Level":"Information","Data":{"EventId":215421910},"Message":"Dead letter envelope for DLQ message: {\"SourceTopic\":\"notification.orchestrator\",\"SourceChannel\":\"notification-orchestrator\",\"FailedAtUtc\":\"2026-07-15T04:41:13.6604805Z\",\"Attempts\":1,\"ErrorType\":\"OQSHA.Notification.Orchestrator.Exceptions.PermanentOrchestratorException\",\"ErrorMessage\":\"Work Permit V2 ID 404 not found for message ID 18045014b12c3000\",\"StackTrace\":\"   at OQSHA.Notification.Orchestrator.NotificationHandlers.WorkPermitV2NotificationHandler.FetchWorkPermitAsync(String messageId, Int32 orgId, Int32 workPermitId) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\NotificationHandlers\\\\WorkPermitV2NotificationHandler.cs:line 225\\r\\n   at OQSHA.Notification.Orchestrator.NotificationHandlers.WorkPermitV2NotificationHandler.HandleAsync(String messageId, NotificationEventDto request) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\NotificationHandlers\\\\WorkPermitV2NotificationHandler.cs:line 54\\r\\n   at OQSHA.Notification.Orchestrator.NotificationHandlers.WorkPermitV2NotificationHandler.ProcessEventAsync(String messageId, NotificationEventDto request) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\NotificationHandlers\\\\WorkPermitV2NotificationHandler.cs:line 46\\r\\n   at OQSHA.Notification.Orchestrator.Routing.EventRouter.ExecuteAsync(String messageId, NotificationEventDto request) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\Routing\\\\EventRouter.cs:line 38\\r\\n   at OQSHA.Notification.Orchestrator.Worker.OrchestratorMessageHandler.HandleMessage(IMessage message) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\Worker\\\\OrchestratorMessageHandler.cs:line 44\",\"OriginalBody\":\"{\\\"TemplateId\\\":20,\\\"EntityType\\\":\\\"work_permit_v2\\\",\\\"EventType\\\":null,\\\"NotifyRoleId\\\":null,\\\"NotifyUserId\\\":null,\\\"NotifyDynamicActor\\\":\\\"Ext_AuthorizedBy_Initiator_Department_Head\\\",\\\"EntityContext\\\":{\\\"Parameters\\\":{\\\"workPermitId\\\":\\\"404\\\",\\\"workPermitV2Id\\\":\\\"404\\\",\\\"orgId\\\":\\\"264\\\",\\\"viewLink\\\":\\\"http://localhost:4200/#/work-permit-v2/view-work-permit/264/404?dlType=viewWorkPermitV2\\\",\\\"workPermitLink\\\":\\\"http://localhost:4200/#/work-permit-v2/view-work-permit/264/404?dlType=viewWorkPermitV2\\\",\\\"emailFooter\\\":\\\"OQSHA Team\\\"}},\\\"ActorContext\\\":{\\\"Requestor\\\":[678],\\\"Work_Permit_Authorization_Department_Head\\\":[678],\\\"Isolation_Reviewed_User\\\":[678],\\\"Work_Permit_Authorization_Area_Owner\\\":[678],\\\"Work_Permit_Authorization_Plant_Head\\\":[678],\\\"Ext_AuthorizedBy_Initiator_Department_Head\\\":[678],\\\"Ext_AuthorizedBy_AreaOwner\\\":[678],\\\"Ext_PlantHead\\\":[678]},\\\"Metadata\\\":null}\"}"}

{"Timestamp":"2026-07-15T04:41:13.6612992+00:00","Level":"Information","Data":{"EventId":162048152},"Message":"Sent message ID 18045014b12c3000 to DLQ"}

{"Timestamp":"2026-07-15T04:41:13.7668967+00:00","Level":"Information","Data":{"EventId":1336708024},"Message":"Notification event with message ID 18045014b12c3001 received: {\"TemplateId\":21,\"EntityType\":\"work_permit_v2\",\"EventType\":null,\"NotifyRoleId\":null,\"NotifyUserId\":null,\"NotifyDynamicActor\":\"Ext_AuthorizedBy_Initiator_Department_Head\",\"EntityContext\":{\"Parameters\":{\"workPermitId\":\"404\",\"workPermitV2Id\":\"404\",\"orgId\":\"264\",\"viewLink\":\"http://localhost:4200/#/work-permit-v2/view-work-permit/264/404?dlType=viewWorkPermitV2\",\"workPermitLink\":\"http://localhost:4200/#/work-permit-v2/view-work-permit/264/404?dlType=viewWorkPermitV2\",\"emailFooter\":\"OQSHA Team\"}},\"ActorContext\":{\"Requestor\":[678],\"Work_Permit_Authorization_Department_Head\":[678],\"Isolation_Reviewed_User\":[678],\"Work_Permit_Authorization_Area_Owner\":[678],\"Work_Permit_Authorization_Plant_Head\":[678],\"Ext_AuthorizedBy_Initiator_Department_Head\":[678],\"Ext_AuthorizedBy_AreaOwner\":[678],\"Ext_PlantHead\":[678]},\"Metadata\":null}"}

{"Timestamp":"2026-07-15T04:41:13.7702398+00:00","Level":"Information","Data":{"EventId":1970978692},"Message":"Started processing notification for message ID 18045014b12c3001"}

{"Timestamp":"2026-07-15T04:41:13.7703011+00:00","Level":"Information","Data":{"EventId":877037755},"Message":"Looking up the notification handler for message ID 18045014b12c3001"}

{"Timestamp":"2026-07-15T04:41:13.7703211+00:00","Level":"Information","Data":{"EventId":3409665977},"Message":"Event handling in process for message ID 18045014b12c3001"}

{"Timestamp":"2026-07-15T04:41:13.7740242+00:00","Level":"Information","Data":{"EventId":3328922871},"Message":"Sending message ID 18045014b12c3001 to DLQ"}

{"Timestamp":"2026-07-15T04:41:13.7742941+00:00","Level":"Information","Data":{"EventId":2503275285},"Message":"Dead letter envelope for DLQ message: {\"SourceTopic\":\"notification.orchestrator\",\"SourceChannel\":\"notification-orchestrator\",\"FailedAtUtc\":\"2026-07-15T04:41:13.7740665Z\",\"Attempts\":1,\"ErrorType\":\"OQSHA.Notification.Orchestrator.Exceptions.PermanentOrchestratorException\",\"ErrorMessage\":\"Work Permit V2 ID 404 not found for message ID 18045014b12c3001\",\"StackTrace\":\"   at OQSHA.Notification.Orchestrator.NotificationHandlers.WorkPermitV2NotificationHandler.FetchWorkPermitAsync(String messageId, Int32 orgId, Int32 workPermitId) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\NotificationHandlers\\\\WorkPermitV2NotificationHandler.cs:line 225\\r\\n   at OQSHA.Notification.Orchestrator.NotificationHandlers.WorkPermitV2NotificationHandler.HandleAsync(String messageId, NotificationEventDto request) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\NotificationHandlers\\\\WorkPermitV2NotificationHandler.cs:line 54\\r\\n   at OQSHA.Notification.Orchestrator.NotificationHandlers.WorkPermitV2NotificationHandler.ProcessEventAsync(String messageId, NotificationEventDto request) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\NotificationHandlers\\\\WorkPermitV2NotificationHandler.cs:line 46\\r\\n   at OQSHA.Notification.Orchestrator.Routing.EventRouter.ExecuteAsync(String messageId, NotificationEventDto request) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\Routing\\\\EventRouter.cs:line 38\\r\\n   at OQSHA.Notification.Orchestrator.Worker.OrchestratorMessageHandler.HandleMessage(IMessage message) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\Worker\\\\OrchestratorMessageHandler.cs:line 44\",\"OriginalBody\":\"{\\\"TemplateId\\\":21,\\\"EntityType\\\":\\\"work_permit_v2\\\",\\\"EventType\\\":null,\\\"NotifyRoleId\\\":null,\\\"NotifyUserId\\\":null,\\\"NotifyDynamicActor\\\":\\\"Ext_AuthorizedBy_Initiator_Department_Head\\\",\\\"EntityContext\\\":{\\\"Parameters\\\":{\\\"workPermitId\\\":\\\"404\\\",\\\"workPermitV2Id\\\":\\\"404\\\",\\\"orgId\\\":\\\"264\\\",\\\"viewLink\\\":\\\"http://localhost:4200/#/work-permit-v2/view-work-permit/264/404?dlType=viewWorkPermitV2\\\",\\\"workPermitLink\\\":\\\"http://localhost:4200/#/work-permit-v2/view-work-permit/264/404?dlType=viewWorkPermitV2\\\",\\\"emailFooter\\\":\\\"OQSHA Team\\\"}},\\\"ActorContext\\\":{\\\"Requestor\\\":[678],\\\"Work_Permit_Authorization_Department_Head\\\":[678],\\\"Isolation_Reviewed_User\\\":[678],\\\"Work_Permit_Authorization_Area_Owner\\\":[678],\\\"Work_Permit_Authorization_Plant_Head\\\":[678],\\\"Ext_AuthorizedBy_Initiator_Department_Head\\\":[678],\\\"Ext_AuthorizedBy_AreaOwner\\\":[678],\\\"Ext_PlantHead\\\":[678]},\\\"Metadata\\\":null}\"}"}

{"Timestamp":"2026-07-15T04:41:13.7751808+00:00","Level":"Information","Data":{"EventId":1328217901},"Message":"Sent message ID 18045014b12c3001 to DLQ"}

{"Timestamp":"2026-07-15T04:47:17.4304823+00:00","Level":"Information","Data":{"EventId":2904489158},"Message":"Notification event with message ID 180451677c2c3000 received: {\"TemplateId\":20,\"EntityType\":\"work_permit_v2\",\"EventType\":null,\"NotifyRoleId\":null,\"NotifyUserId\":null,\"NotifyDynamicActor\":\"Ext_AuthorizedBy_Initiator_Department_Head\",\"EntityContext\":{\"Parameters\":{\"workPermitId\":\"404\",\"workPermitV2Id\":\"404\",\"orgId\":\"264\",\"viewLink\":\"http://localhost:4200/#/work-permit-v2/view-work-permit/264/404?dlType=viewWorkPermitV2\",\"workPermitLink\":\"http://localhost:4200/#/work-permit-v2/view-work-permit/264/404?dlType=viewWorkPermitV2\",\"emailFooter\":\"OQSHA Team\"}},\"ActorContext\":{\"Requestor\":[678],\"Work_Permit_Authorization_Department_Head\":[678],\"Isolation_Reviewed_User\":[678],\"Work_Permit_Authorization_Area_Owner\":[678],\"Work_Permit_Authorization_Plant_Head\":[678],\"Ext_AuthorizedBy_Initiator_Department_Head\":[678],\"Ext_AuthorizedBy_AreaOwner\":[678],\"Ext_PlantHead\":[678]},\"Metadata\":null}"}

{"Timestamp":"2026-07-15T04:47:17.4331240+00:00","Level":"Information","Data":{"EventId":1602582930},"Message":"Started processing notification for message ID 180451677c2c3000"}

{"Timestamp":"2026-07-15T04:47:17.4331656+00:00","Level":"Information","Data":{"EventId":3875897904},"Message":"Looking up the notification handler for message ID 180451677c2c3000"}

{"Timestamp":"2026-07-15T04:47:17.4331773+00:00","Level":"Information","Data":{"EventId":26117098},"Message":"Event handling in process for message ID 180451677c2c3000"}

{"Timestamp":"2026-07-15T04:47:17.4371650+00:00","Level":"Information","Data":{"EventId":4171277931},"Message":"Sending message ID 180451677c2c3000 to DLQ"}

{"Timestamp":"2026-07-15T04:47:17.4373701+00:00","Level":"Information","Data":{"EventId":1884746872},"Message":"Dead letter envelope for DLQ message: {\"SourceTopic\":\"notification.orchestrator\",\"SourceChannel\":\"notification-orchestrator\",\"FailedAtUtc\":\"2026-07-15T04:47:17.4372139Z\",\"Attempts\":1,\"ErrorType\":\"OQSHA.Notification.Orchestrator.Exceptions.PermanentOrchestratorException\",\"ErrorMessage\":\"Work Permit V2 ID 404 not found for message ID 180451677c2c3000\",\"StackTrace\":\"   at OQSHA.Notification.Orchestrator.NotificationHandlers.WorkPermitV2NotificationHandler.FetchWorkPermitAsync(String messageId, Int32 orgId, Int32 workPermitId) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\NotificationHandlers\\\\WorkPermitV2NotificationHandler.cs:line 225\\r\\n   at OQSHA.Notification.Orchestrator.NotificationHandlers.WorkPermitV2NotificationHandler.HandleAsync(String messageId, NotificationEventDto request) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\NotificationHandlers\\\\WorkPermitV2NotificationHandler.cs:line 54\\r\\n   at OQSHA.Notification.Orchestrator.NotificationHandlers.WorkPermitV2NotificationHandler.ProcessEventAsync(String messageId, NotificationEventDto request) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\NotificationHandlers\\\\WorkPermitV2NotificationHandler.cs:line 46\\r\\n   at OQSHA.Notification.Orchestrator.Routing.EventRouter.ExecuteAsync(String messageId, NotificationEventDto request) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\Routing\\\\EventRouter.cs:line 38\\r\\n   at OQSHA.Notification.Orchestrator.Worker.OrchestratorMessageHandler.HandleMessage(IMessage message) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\Worker\\\\OrchestratorMessageHandler.cs:line 44\",\"OriginalBody\":\"{\\\"TemplateId\\\":20,\\\"EntityType\\\":\\\"work_permit_v2\\\",\\\"EventType\\\":null,\\\"NotifyRoleId\\\":null,\\\"NotifyUserId\\\":null,\\\"NotifyDynamicActor\\\":\\\"Ext_AuthorizedBy_Initiator_Department_Head\\\",\\\"EntityContext\\\":{\\\"Parameters\\\":{\\\"workPermitId\\\":\\\"404\\\",\\\"workPermitV2Id\\\":\\\"404\\\",\\\"orgId\\\":\\\"264\\\",\\\"viewLink\\\":\\\"http://localhost:4200/#/work-permit-v2/view-work-permit/264/404?dlType=viewWorkPermitV2\\\",\\\"workPermitLink\\\":\\\"http://localhost:4200/#/work-permit-v2/view-work-permit/264/404?dlType=viewWorkPermitV2\\\",\\\"emailFooter\\\":\\\"OQSHA Team\\\"}},\\\"ActorContext\\\":{\\\"Requestor\\\":[678],\\\"Work_Permit_Authorization_Department_Head\\\":[678],\\\"Isolation_Reviewed_User\\\":[678],\\\"Work_Permit_Authorization_Area_Owner\\\":[678],\\\"Work_Permit_Authorization_Plant_Head\\\":[678],\\\"Ext_AuthorizedBy_Initiator_Department_Head\\\":[678],\\\"Ext_AuthorizedBy_AreaOwner\\\":[678],\\\"Ext_PlantHead\\\":[678]},\\\"Metadata\\\":null}\"}"}

{"Timestamp":"2026-07-15T04:47:17.4378173+00:00","Level":"Information","Data":{"EventId":2380014302},"Message":"Sent message ID 180451677c2c3000 to DLQ"}

{"Timestamp":"2026-07-15T04:47:17.5082501+00:00","Level":"Information","Data":{"EventId":4136131348},"Message":"Notification event with message ID 180451677c6c3000 received: {\"TemplateId\":21,\"EntityType\":\"work_permit_v2\",\"EventType\":null,\"NotifyRoleId\":null,\"NotifyUserId\":null,\"NotifyDynamicActor\":\"Ext_AuthorizedBy_Initiator_Department_Head\",\"EntityContext\":{\"Parameters\":{\"workPermitId\":\"404\",\"workPermitV2Id\":\"404\",\"orgId\":\"264\",\"viewLink\":\"http://localhost:4200/#/work-permit-v2/view-work-permit/264/404?dlType=viewWorkPermitV2\",\"workPermitLink\":\"http://localhost:4200/#/work-permit-v2/view-work-permit/264/404?dlType=viewWorkPermitV2\",\"emailFooter\":\"OQSHA Team\"}},\"ActorContext\":{\"Requestor\":[678],\"Work_Permit_Authorization_Department_Head\":[678],\"Isolation_Reviewed_User\":[678],\"Work_Permit_Authorization_Area_Owner\":[678],\"Work_Permit_Authorization_Plant_Head\":[678],\"Ext_AuthorizedBy_Initiator_Department_Head\":[678],\"Ext_AuthorizedBy_AreaOwner\":[678],\"Ext_PlantHead\":[678]},\"Metadata\":null}"}

{"Timestamp":"2026-07-15T04:47:17.5098978+00:00","Level":"Information","Data":{"EventId":1245193918},"Message":"Started processing notification for message ID 180451677c6c3000"}

{"Timestamp":"2026-07-15T04:47:17.5099241+00:00","Level":"Information","Data":{"EventId":1970313087},"Message":"Looking up the notification handler for message ID 180451677c6c3000"}

{"Timestamp":"2026-07-15T04:47:17.5099332+00:00","Level":"Information","Data":{"EventId":810007460},"Message":"Event handling in process for message ID 180451677c6c3000"}

{"Timestamp":"2026-07-15T04:47:17.5118710+00:00","Level":"Information","Data":{"EventId":2564475806},"Message":"Sending message ID 180451677c6c3000 to DLQ"}

{"Timestamp":"2026-07-15T04:47:17.5120523+00:00","Level":"Information","Data":{"EventId":846637865},"Message":"Dead letter envelope for DLQ message: {\"SourceTopic\":\"notification.orchestrator\",\"SourceChannel\":\"notification-orchestrator\",\"FailedAtUtc\":\"2026-07-15T04:47:17.511897Z\",\"Attempts\":1,\"ErrorType\":\"OQSHA.Notification.Orchestrator.Exceptions.PermanentOrchestratorException\",\"ErrorMessage\":\"Work Permit V2 ID 404 not found for message ID 180451677c6c3000\",\"StackTrace\":\"   at OQSHA.Notification.Orchestrator.NotificationHandlers.WorkPermitV2NotificationHandler.FetchWorkPermitAsync(String messageId, Int32 orgId, Int32 workPermitId) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\NotificationHandlers\\\\WorkPermitV2NotificationHandler.cs:line 225\\r\\n   at OQSHA.Notification.Orchestrator.NotificationHandlers.WorkPermitV2NotificationHandler.HandleAsync(String messageId, NotificationEventDto request) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\NotificationHandlers\\\\WorkPermitV2NotificationHandler.cs:line 54\\r\\n   at OQSHA.Notification.Orchestrator.NotificationHandlers.WorkPermitV2NotificationHandler.ProcessEventAsync(String messageId, NotificationEventDto request) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\NotificationHandlers\\\\WorkPermitV2NotificationHandler.cs:line 46\\r\\n   at OQSHA.Notification.Orchestrator.Routing.EventRouter.ExecuteAsync(String messageId, NotificationEventDto request) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\Routing\\\\EventRouter.cs:line 38\\r\\n   at OQSHA.Notification.Orchestrator.Worker.OrchestratorMessageHandler.HandleMessage(IMessage message) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\Worker\\\\OrchestratorMessageHandler.cs:line 44\",\"OriginalBody\":\"{\\\"TemplateId\\\":21,\\\"EntityType\\\":\\\"work_permit_v2\\\",\\\"EventType\\\":null,\\\"NotifyRoleId\\\":null,\\\"NotifyUserId\\\":null,\\\"NotifyDynamicActor\\\":\\\"Ext_AuthorizedBy_Initiator_Department_Head\\\",\\\"EntityContext\\\":{\\\"Parameters\\\":{\\\"workPermitId\\\":\\\"404\\\",\\\"workPermitV2Id\\\":\\\"404\\\",\\\"orgId\\\":\\\"264\\\",\\\"viewLink\\\":\\\"http://localhost:4200/#/work-permit-v2/view-work-permit/264/404?dlType=viewWorkPermitV2\\\",\\\"workPermitLink\\\":\\\"http://localhost:4200/#/work-permit-v2/view-work-permit/264/404?dlType=viewWorkPermitV2\\\",\\\"emailFooter\\\":\\\"OQSHA Team\\\"}},\\\"ActorContext\\\":{\\\"Requestor\\\":[678],\\\"Work_Permit_Authorization_Department_Head\\\":[678],\\\"Isolation_Reviewed_User\\\":[678],\\\"Work_Permit_Authorization_Area_Owner\\\":[678],\\\"Work_Permit_Authorization_Plant_Head\\\":[678],\\\"Ext_AuthorizedBy_Initiator_Department_Head\\\":[678],\\\"Ext_AuthorizedBy_AreaOwner\\\":[678],\\\"Ext_PlantHead\\\":[678]},\\\"Metadata\\\":null}\"}"}

{"Timestamp":"2026-07-15T04:47:17.5126870+00:00","Level":"Information","Data":{"EventId":1362984970},"Message":"Sent message ID 180451677c6c3000 to DLQ"}

{"Timestamp":"2026-07-15T05:18:38.7842913+00:00","Level":"Information","Data":{"EventId":3475021682},"Message":"Notification event with message ID 1804583fa1ec3000 received: {\"TemplateId\":18,\"EntityType\":\"work_permit_v2\",\"EventType\":null,\"NotifyRoleId\":null,\"NotifyUserId\":null,\"NotifyDynamicActor\":\"Work_Permit_Authorization_Area_Owner\",\"EntityContext\":{\"Parameters\":{\"workPermitId\":\"389\",\"workPermitV2Id\":\"389\",\"orgId\":\"264\",\"viewLink\":\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/264/389?dlType=viewWorkPermitV2\",\"workPermitLink\":\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/264/389?dlType=viewWorkPermitV2\",\"emailFooter\":\"OQSHA Team\"}},\"ActorContext\":{\"Requestor\":[678],\"Work_Permit_Authorization_Department_Head\":[678],\"Work_Permit_Authorization_Area_Owner\":[678]},\"Metadata\":null}"}

{"Timestamp":"2026-07-15T05:18:38.7864144+00:00","Level":"Information","Data":{"EventId":798905407},"Message":"Started processing notification for message ID 1804583fa1ec3000"}

{"Timestamp":"2026-07-15T05:18:38.7864505+00:00","Level":"Information","Data":{"EventId":3438687799},"Message":"Looking up the notification handler for message ID 1804583fa1ec3000"}

{"Timestamp":"2026-07-15T05:18:38.7864612+00:00","Level":"Information","Data":{"EventId":489984842},"Message":"Event handling in process for message ID 1804583fa1ec3000"}

{"Timestamp":"2026-07-15T05:18:38.7933009+00:00","Level":"Information","Data":{"EventId":3060827167},"Message":"Dispatching the notifications for message ID 1804583fa1ec3000"}

{"Timestamp":"2026-07-15T05:18:38.7938817+00:00","Level":"Information","Data":{"EventId":3804253755},"Message":"Successfully processed notification for message ID 1804583fa1ec3000"}

{"Timestamp":"2026-07-15T05:18:38.9814213+00:00","Level":"Information","Data":{"EventId":206021127},"Message":"Notification event with message ID 1804583fa1ec3001 received: {\"TemplateId\":19,\"EntityType\":\"work_permit_v2\",\"EventType\":null,\"NotifyRoleId\":null,\"NotifyUserId\":null,\"NotifyDynamicActor\":\"Work_Permit_Authorization_Area_Owner\",\"EntityContext\":{\"Parameters\":{\"workPermitId\":\"389\",\"workPermitV2Id\":\"389\",\"orgId\":\"264\",\"viewLink\":\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/264/389?dlType=viewWorkPermitV2\",\"workPermitLink\":\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/264/389?dlType=viewWorkPermitV2\",\"emailFooter\":\"OQSHA Team\"}},\"ActorContext\":{\"Requestor\":[678],\"Work_Permit_Authorization_Department_Head\":[678],\"Work_Permit_Authorization_Area_Owner\":[678]},\"Metadata\":null}"}

{"Timestamp":"2026-07-15T05:18:38.9831020+00:00","Level":"Information","Data":{"EventId":3764532680},"Message":"Started processing notification for message ID 1804583fa1ec3001"}

{"Timestamp":"2026-07-15T05:18:38.9831461+00:00","Level":"Information","Data":{"EventId":2602193536},"Message":"Looking up the notification handler for message ID 1804583fa1ec3001"}

{"Timestamp":"2026-07-15T05:18:38.9831594+00:00","Level":"Information","Data":{"EventId":2420341102},"Message":"Event handling in process for message ID 1804583fa1ec3001"}

{"Timestamp":"2026-07-15T05:18:38.9875311+00:00","Level":"Information","Data":{"EventId":3299942560},"Message":"Dispatching the notifications for message ID 1804583fa1ec3001"}

{"Timestamp":"2026-07-15T05:18:38.9878732+00:00","Level":"Information","Data":{"EventId":3329889711},"Message":"Successfully processed notification for message ID 1804583fa1ec3001"}

{"Timestamp":"2026-07-15T05:19:03.1232432+00:00","Level":"Information","Data":{"EventId":3564548070},"Message":"Notification event with message ID 180458564c2c3000 received: {\"TemplateId\":22,\"EntityType\":\"work_permit_v2\",\"EventType\":null,\"NotifyRoleId\":null,\"NotifyUserId\":null,\"NotifyDynamicActor\":\"Requestor\",\"EntityContext\":{\"Parameters\":{\"workPermitId\":\"389\",\"workPermitV2Id\":\"389\",\"orgId\":\"264\",\"viewLink\":\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/264/389?dlType=viewWorkPermitV2\",\"workPermitLink\":\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/264/389?dlType=viewWorkPermitV2\",\"emailFooter\":\"OQSHA Team\"}},\"ActorContext\":{\"Requestor\":[678],\"Work_Permit_Authorization_Department_Head\":[678],\"Work_Permit_Authorization_Area_Owner\":[678]},\"Metadata\":null}"}

{"Timestamp":"2026-07-15T05:19:03.1256927+00:00","Level":"Information","Data":{"EventId":3960810797},"Message":"Started processing notification for message ID 180458564c2c3000"}

{"Timestamp":"2026-07-15T05:19:03.1257254+00:00","Level":"Information","Data":{"EventId":3772982115},"Message":"Looking up the notification handler for message ID 180458564c2c3000"}

{"Timestamp":"2026-07-15T05:19:03.1257358+00:00","Level":"Information","Data":{"EventId":1046065914},"Message":"Event handling in process for message ID 180458564c2c3000"}

{"Timestamp":"2026-07-15T05:19:03.1313979+00:00","Level":"Information","Data":{"EventId":1492562768},"Message":"Dispatching the notifications for message ID 180458564c2c3000"}

{"Timestamp":"2026-07-15T05:19:03.1320135+00:00","Level":"Information","Data":{"EventId":2263720666},"Message":"Successfully processed notification for message ID 180458564c2c3000"}

{"Timestamp":"2026-07-15T05:19:03.2215591+00:00","Level":"Information","Data":{"EventId":3790765466},"Message":"Notification event with message ID 180458564c2c3001 received: {\"TemplateId\":23,\"EntityType\":\"work_permit_v2\",\"EventType\":null,\"NotifyRoleId\":null,\"NotifyUserId\":null,\"NotifyDynamicActor\":\"Requestor\",\"EntityContext\":{\"Parameters\":{\"workPermitId\":\"389\",\"workPermitV2Id\":\"389\",\"orgId\":\"264\",\"viewLink\":\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/264/389?dlType=viewWorkPermitV2\",\"workPermitLink\":\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/264/389?dlType=viewWorkPermitV2\",\"emailFooter\":\"OQSHA Team\"}},\"ActorContext\":{\"Requestor\":[678],\"Work_Permit_Authorization_Department_Head\":[678],\"Work_Permit_Authorization_Area_Owner\":[678]},\"Metadata\":null}"}

{"Timestamp":"2026-07-15T05:19:03.2250546+00:00","Level":"Information","Data":{"EventId":1302392911},"Message":"Started processing notification for message ID 180458564c2c3001"}

{"Timestamp":"2026-07-15T05:19:03.2251415+00:00","Level":"Information","Data":{"EventId":3490742718},"Message":"Looking up the notification handler for message ID 180458564c2c3001"}

{"Timestamp":"2026-07-15T05:19:03.2251755+00:00","Level":"Information","Data":{"EventId":881106768},"Message":"Event handling in process for message ID 180458564c2c3001"}

{"Timestamp":"2026-07-15T05:19:03.2321780+00:00","Level":"Information","Data":{"EventId":1253381837},"Message":"Dispatching the notifications for message ID 180458564c2c3001"}

{"Timestamp":"2026-07-15T05:19:03.2329906+00:00","Level":"Information","Data":{"EventId":1905555496},"Message":"Successfully processed notification for message ID 180458564c2c3001"}

{"Timestamp":"2026-07-15T05:36:20.5575720+00:00","Level":"Information","Data":{"EventId":2220182266},"Message":"Notification event with message ID 18045c1c7c6c3000 received: {\"TemplateId\":18,\"EntityType\":\"work_permit_v2\",\"EventType\":null,\"NotifyRoleId\":null,\"NotifyUserId\":null,\"NotifyDynamicActor\":\"Work_Permit_Authorization_Department_Head\",\"EntityContext\":{\"Parameters\":{\"workPermitId\":\"421\",\"workPermitV2Id\":\"421\",\"orgId\":\"264\",\"viewLink\":\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/264/421?dlType=viewWorkPermitV2\",\"workPermitLink\":\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/264/421?dlType=viewWorkPermitV2\",\"emailFooter\":\"OQSHA Team\"}},\"ActorContext\":{\"Requestor\":[678],\"Work_Permit_Authorization_Department_Head\":[678],\"Work_Permit_Authorization_Area_Owner\":[678],\"Work_Permit_Authorization_Plant_Head\":[678]},\"Metadata\":null}"}

{"Timestamp":"2026-07-15T05:36:20.5602657+00:00","Level":"Information","Data":{"EventId":1142154177},"Message":"Started processing notification for message ID 18045c1c7c6c3000"}

{"Timestamp":"2026-07-15T05:36:20.5602965+00:00","Level":"Information","Data":{"EventId":3936803878},"Message":"Looking up the notification handler for message ID 18045c1c7c6c3000"}

{"Timestamp":"2026-07-15T05:36:20.5603061+00:00","Level":"Information","Data":{"EventId":297219619},"Message":"Event handling in process for message ID 18045c1c7c6c3000"}

{"Timestamp":"2026-07-15T05:36:20.5684069+00:00","Level":"Information","Data":{"EventId":3084255512},"Message":"Dispatching the notifications for message ID 18045c1c7c6c3000"}

{"Timestamp":"2026-07-15T05:36:20.5691352+00:00","Level":"Information","Data":{"EventId":4092714762},"Message":"Successfully processed notification for message ID 18045c1c7c6c3000"}

{"Timestamp":"2026-07-15T05:36:20.7121206+00:00","Level":"Information","Data":{"EventId":2388477339},"Message":"Notification event with message ID 18045c1c7c6c3001 received: {\"TemplateId\":19,\"EntityType\":\"work_permit_v2\",\"EventType\":null,\"NotifyRoleId\":null,\"NotifyUserId\":null,\"NotifyDynamicActor\":\"Work_Permit_Authorization_Department_Head\",\"EntityContext\":{\"Parameters\":{\"workPermitId\":\"421\",\"workPermitV2Id\":\"421\",\"orgId\":\"264\",\"viewLink\":\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/264/421?dlType=viewWorkPermitV2\",\"workPermitLink\":\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/264/421?dlType=viewWorkPermitV2\",\"emailFooter\":\"OQSHA Team\"}},\"ActorContext\":{\"Requestor\":[678],\"Work_Permit_Authorization_Department_Head\":[678],\"Work_Permit_Authorization_Area_Owner\":[678],\"Work_Permit_Authorization_Plant_Head\":[678]},\"Metadata\":null}"}

{"Timestamp":"2026-07-15T05:36:20.7162797+00:00","Level":"Information","Data":{"EventId":904480620},"Message":"Started processing notification for message ID 18045c1c7c6c3001"}

{"Timestamp":"2026-07-15T05:36:20.7164017+00:00","Level":"Information","Data":{"EventId":4175984809},"Message":"Looking up the notification handler for message ID 18045c1c7c6c3001"}

{"Timestamp":"2026-07-15T05:36:20.7164434+00:00","Level":"Information","Data":{"EventId":730294723},"Message":"Event handling in process for message ID 18045c1c7c6c3001"}

{"Timestamp":"2026-07-15T05:36:20.7252283+00:00","Level":"Information","Data":{"EventId":1146952224},"Message":"Dispatching the notifications for message ID 18045c1c7c6c3001"}

{"Timestamp":"2026-07-15T05:36:20.7266705+00:00","Level":"Information","Data":{"EventId":967371387},"Message":"Successfully processed notification for message ID 18045c1c7c6c3001"}

{"Timestamp":"2026-07-15T05:36:54.2606995+00:00","Level":"Information","Data":{"EventId":962447306},"Message":"Notification event with message ID 18045c3bdfec3000 received: {\"TemplateId\":18,\"EntityType\":\"work_permit_v2\",\"EventType\":null,\"NotifyRoleId\":null,\"NotifyUserId\":null,\"NotifyDynamicActor\":\"Work_Permit_Authorization_Area_Owner\",\"EntityContext\":{\"Parameters\":{\"workPermitId\":\"378\",\"workPermitV2Id\":\"378\",\"orgId\":\"264\",\"viewLink\":\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/264/378?dlType=viewWorkPermitV2\",\"workPermitLink\":\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/264/378?dlType=viewWorkPermitV2\",\"emailFooter\":\"OQSHA Team\"}},\"ActorContext\":{\"Requestor\":[678],\"Work_Permit_Authorization_Department_Head\":[678],\"Isolation_Reviewed_User\":[678],\"Work_Permit_Authorization_Area_Owner\":[678],\"Work_Permit_Authorization_Plant_Head\":[678]},\"Metadata\":null}"}

{"Timestamp":"2026-07-15T05:36:54.2629534+00:00","Level":"Information","Data":{"EventId":3557853056},"Message":"Started processing notification for message ID 18045c3bdfec3000"}

{"Timestamp":"2026-07-15T05:36:54.2629884+00:00","Level":"Information","Data":{"EventId":3588592437},"Message":"Looking up the notification handler for message ID 18045c3bdfec3000"}

{"Timestamp":"2026-07-15T05:36:54.2630018+00:00","Level":"Information","Data":{"EventId":1512069280},"Message":"Event handling in process for message ID 18045c3bdfec3000"}

{"Timestamp":"2026-07-15T05:36:54.2688091+00:00","Level":"Information","Data":{"EventId":553014153},"Message":"Dispatching the notifications for message ID 18045c3bdfec3000"}

{"Timestamp":"2026-07-15T05:36:54.2693574+00:00","Level":"Information","Data":{"EventId":3007007519},"Message":"Successfully processed notification for message ID 18045c3bdfec3000"}

{"Timestamp":"2026-07-15T05:36:54.4559341+00:00","Level":"Information","Data":{"EventId":3456999198},"Message":"Notification event with message ID 18045c3bdfec3001 received: {\"TemplateId\":19,\"EntityType\":\"work_permit_v2\",\"EventType\":null,\"NotifyRoleId\":null,\"NotifyUserId\":null,\"NotifyDynamicActor\":\"Work_Permit_Authorization_Area_Owner\",\"EntityContext\":{\"Parameters\":{\"workPermitId\":\"378\",\"workPermitV2Id\":\"378\",\"orgId\":\"264\",\"viewLink\":\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/264/378?dlType=viewWorkPermitV2\",\"workPermitLink\":\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/264/378?dlType=viewWorkPermitV2\",\"emailFooter\":\"OQSHA Team\"}},\"ActorContext\":{\"Requestor\":[678],\"Work_Permit_Authorization_Department_Head\":[678],\"Isolation_Reviewed_User\":[678],\"Work_Permit_Authorization_Area_Owner\":[678],\"Work_Permit_Authorization_Plant_Head\":[678]},\"Metadata\":null}"}

{"Timestamp":"2026-07-15T05:36:54.4591148+00:00","Level":"Information","Data":{"EventId":189363697},"Message":"Started processing notification for message ID 18045c3bdfec3001"}

{"Timestamp":"2026-07-15T05:36:54.4591935+00:00","Level":"Information","Data":{"EventId":3894359976},"Message":"Looking up the notification handler for message ID 18045c3bdfec3001"}

{"Timestamp":"2026-07-15T05:36:54.4592275+00:00","Level":"Information","Data":{"EventId":226377557},"Message":"Event handling in process for message ID 18045c3bdfec3001"}

{"Timestamp":"2026-07-15T05:36:54.4647987+00:00","Level":"Information","Data":{"EventId":843839028},"Message":"Dispatching the notifications for message ID 18045c3bdfec3001"}

{"Timestamp":"2026-07-15T05:36:54.4656905+00:00","Level":"Information","Data":{"EventId":3430808992},"Message":"Successfully processed notification for message ID 18045c3bdfec3001"}

{"Timestamp":"2026-07-15T05:37:26.2104193+00:00","Level":"Information","Data":{"EventId":919293743},"Message":"Notification event with message ID 18045c59a16c3000 received: {\"TemplateId\":20,\"EntityType\":\"work_permit_v2\",\"EventType\":null,\"NotifyRoleId\":null,\"NotifyUserId\":null,\"NotifyDynamicActor\":\"Ext_AuthorizedBy_Initiator_Department_Head\",\"EntityContext\":{\"Parameters\":{\"workPermitId\":\"404\",\"workPermitV2Id\":\"404\",\"orgId\":\"264\",\"viewLink\":\"http://localhost:4200/#/work-permit-v2/view-work-permit/264/404?dlType=viewWorkPermitV2\",\"workPermitLink\":\"http://localhost:4200/#/work-permit-v2/view-work-permit/264/404?dlType=viewWorkPermitV2\",\"emailFooter\":\"OQSHA Team\"}},\"ActorContext\":{\"Requestor\":[678],\"Work_Permit_Authorization_Department_Head\":[678],\"Isolation_Reviewed_User\":[678],\"Work_Permit_Authorization_Area_Owner\":[678],\"Work_Permit_Authorization_Plant_Head\":[678],\"Ext_AuthorizedBy_Initiator_Department_Head\":[678],\"Ext_AuthorizedBy_AreaOwner\":[678],\"Ext_PlantHead\":[678]},\"Metadata\":null}"}

{"Timestamp":"2026-07-15T05:37:26.2129629+00:00","Level":"Information","Data":{"EventId":2751655168},"Message":"Started processing notification for message ID 18045c59a16c3000"}

{"Timestamp":"2026-07-15T05:37:26.2130018+00:00","Level":"Information","Data":{"EventId":712847522},"Message":"Looking up the notification handler for message ID 18045c59a16c3000"}

{"Timestamp":"2026-07-15T05:37:26.2130119+00:00","Level":"Information","Data":{"EventId":2723333132},"Message":"Event handling in process for message ID 18045c59a16c3000"}

{"Timestamp":"2026-07-15T05:37:26.2183094+00:00","Level":"Information","Data":{"EventId":2625726216},"Message":"Sending message ID 18045c59a16c3000 to DLQ"}

{"Timestamp":"2026-07-15T05:37:26.2185378+00:00","Level":"Information","Data":{"EventId":2062889862},"Message":"Dead letter envelope for DLQ message: {\"SourceTopic\":\"notification.orchestrator\",\"SourceChannel\":\"notification-orchestrator\",\"FailedAtUtc\":\"2026-07-15T05:37:26.2183565Z\",\"Attempts\":1,\"ErrorType\":\"OQSHA.Notification.Orchestrator.Exceptions.PermanentOrchestratorException\",\"ErrorMessage\":\"Work Permit V2 ID 404 not found for message ID 18045c59a16c3000\",\"StackTrace\":\"   at OQSHA.Notification.Orchestrator.NotificationHandlers.WorkPermitV2NotificationHandler.FetchWorkPermitAsync(String messageId, Int32 orgId, Int32 workPermitId) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\NotificationHandlers\\\\WorkPermitV2NotificationHandler.cs:line 225\\r\\n   at OQSHA.Notification.Orchestrator.NotificationHandlers.WorkPermitV2NotificationHandler.HandleAsync(String messageId, NotificationEventDto request) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\NotificationHandlers\\\\WorkPermitV2NotificationHandler.cs:line 54\\r\\n   at OQSHA.Notification.Orchestrator.NotificationHandlers.WorkPermitV2NotificationHandler.ProcessEventAsync(String messageId, NotificationEventDto request) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\NotificationHandlers\\\\WorkPermitV2NotificationHandler.cs:line 46\\r\\n   at OQSHA.Notification.Orchestrator.Routing.EventRouter.ExecuteAsync(String messageId, NotificationEventDto request) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\Routing\\\\EventRouter.cs:line 38\\r\\n   at OQSHA.Notification.Orchestrator.Worker.OrchestratorMessageHandler.HandleMessage(IMessage message) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\Worker\\\\OrchestratorMessageHandler.cs:line 44\",\"OriginalBody\":\"{\\\"TemplateId\\\":20,\\\"EntityType\\\":\\\"work_permit_v2\\\",\\\"EventType\\\":null,\\\"NotifyRoleId\\\":null,\\\"NotifyUserId\\\":null,\\\"NotifyDynamicActor\\\":\\\"Ext_AuthorizedBy_Initiator_Department_Head\\\",\\\"EntityContext\\\":{\\\"Parameters\\\":{\\\"workPermitId\\\":\\\"404\\\",\\\"workPermitV2Id\\\":\\\"404\\\",\\\"orgId\\\":\\\"264\\\",\\\"viewLink\\\":\\\"http://localhost:4200/#/work-permit-v2/view-work-permit/264/404?dlType=viewWorkPermitV2\\\",\\\"workPermitLink\\\":\\\"http://localhost:4200/#/work-permit-v2/view-work-permit/264/404?dlType=viewWorkPermitV2\\\",\\\"emailFooter\\\":\\\"OQSHA Team\\\"}},\\\"ActorContext\\\":{\\\"Requestor\\\":[678],\\\"Work_Permit_Authorization_Department_Head\\\":[678],\\\"Isolation_Reviewed_User\\\":[678],\\\"Work_Permit_Authorization_Area_Owner\\\":[678],\\\"Work_Permit_Authorization_Plant_Head\\\":[678],\\\"Ext_AuthorizedBy_Initiator_Department_Head\\\":[678],\\\"Ext_AuthorizedBy_AreaOwner\\\":[678],\\\"Ext_PlantHead\\\":[678]},\\\"Metadata\\\":null}\"}"}

{"Timestamp":"2026-07-15T05:37:26.2193058+00:00","Level":"Information","Data":{"EventId":4281394641},"Message":"Sent message ID 18045c59a16c3000 to DLQ"}

{"Timestamp":"2026-07-15T05:37:26.4628342+00:00","Level":"Information","Data":{"EventId":964669432},"Message":"Notification event with message ID 18045c59a16c3001 received: {\"TemplateId\":21,\"EntityType\":\"work_permit_v2\",\"EventType\":null,\"NotifyRoleId\":null,\"NotifyUserId\":null,\"NotifyDynamicActor\":\"Ext_AuthorizedBy_Initiator_Department_Head\",\"EntityContext\":{\"Parameters\":{\"workPermitId\":\"404\",\"workPermitV2Id\":\"404\",\"orgId\":\"264\",\"viewLink\":\"http://localhost:4200/#/work-permit-v2/view-work-permit/264/404?dlType=viewWorkPermitV2\",\"workPermitLink\":\"http://localhost:4200/#/work-permit-v2/view-work-permit/264/404?dlType=viewWorkPermitV2\",\"emailFooter\":\"OQSHA Team\"}},\"ActorContext\":{\"Requestor\":[678],\"Work_Permit_Authorization_Department_Head\":[678],\"Isolation_Reviewed_User\":[678],\"Work_Permit_Authorization_Area_Owner\":[678],\"Work_Permit_Authorization_Plant_Head\":[678],\"Ext_AuthorizedBy_Initiator_Department_Head\":[678],\"Ext_AuthorizedBy_AreaOwner\":[678],\"Ext_PlantHead\":[678]},\"Metadata\":null}"}

{"Timestamp":"2026-07-15T05:37:26.4653161+00:00","Level":"Information","Data":{"EventId":1791490699},"Message":"Started processing notification for message ID 18045c59a16c3001"}

{"Timestamp":"2026-07-15T05:37:26.4653490+00:00","Level":"Information","Data":{"EventId":505059293},"Message":"Looking up the notification handler for message ID 18045c59a16c3001"}

{"Timestamp":"2026-07-15T05:37:26.4653588+00:00","Level":"Information","Data":{"EventId":2444894939},"Message":"Event handling in process for message ID 18045c59a16c3001"}

{"Timestamp":"2026-07-15T05:37:26.4684760+00:00","Level":"Information","Data":{"EventId":2709855032},"Message":"Sending message ID 18045c59a16c3001 to DLQ"}

{"Timestamp":"2026-07-15T05:37:26.4686598+00:00","Level":"Information","Data":{"EventId":943402339},"Message":"Dead letter envelope for DLQ message: {\"SourceTopic\":\"notification.orchestrator\",\"SourceChannel\":\"notification-orchestrator\",\"FailedAtUtc\":\"2026-07-15T05:37:26.4685024Z\",\"Attempts\":1,\"ErrorType\":\"OQSHA.Notification.Orchestrator.Exceptions.PermanentOrchestratorException\",\"ErrorMessage\":\"Work Permit V2 ID 404 not found for message ID 18045c59a16c3001\",\"StackTrace\":\"   at OQSHA.Notification.Orchestrator.NotificationHandlers.WorkPermitV2NotificationHandler.FetchWorkPermitAsync(String messageId, Int32 orgId, Int32 workPermitId) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\NotificationHandlers\\\\WorkPermitV2NotificationHandler.cs:line 225\\r\\n   at OQSHA.Notification.Orchestrator.NotificationHandlers.WorkPermitV2NotificationHandler.HandleAsync(String messageId, NotificationEventDto request) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\NotificationHandlers\\\\WorkPermitV2NotificationHandler.cs:line 54\\r\\n   at OQSHA.Notification.Orchestrator.NotificationHandlers.WorkPermitV2NotificationHandler.ProcessEventAsync(String messageId, NotificationEventDto request) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\NotificationHandlers\\\\WorkPermitV2NotificationHandler.cs:line 46\\r\\n   at OQSHA.Notification.Orchestrator.Routing.EventRouter.ExecuteAsync(String messageId, NotificationEventDto request) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\Routing\\\\EventRouter.cs:line 38\\r\\n   at OQSHA.Notification.Orchestrator.Worker.OrchestratorMessageHandler.HandleMessage(IMessage message) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\Worker\\\\OrchestratorMessageHandler.cs:line 44\",\"OriginalBody\":\"{\\\"TemplateId\\\":21,\\\"EntityType\\\":\\\"work_permit_v2\\\",\\\"EventType\\\":null,\\\"NotifyRoleId\\\":null,\\\"NotifyUserId\\\":null,\\\"NotifyDynamicActor\\\":\\\"Ext_AuthorizedBy_Initiator_Department_Head\\\",\\\"EntityContext\\\":{\\\"Parameters\\\":{\\\"workPermitId\\\":\\\"404\\\",\\\"workPermitV2Id\\\":\\\"404\\\",\\\"orgId\\\":\\\"264\\\",\\\"viewLink\\\":\\\"http://localhost:4200/#/work-permit-v2/view-work-permit/264/404?dlType=viewWorkPermitV2\\\",\\\"workPermitLink\\\":\\\"http://localhost:4200/#/work-permit-v2/view-work-permit/264/404?dlType=viewWorkPermitV2\\\",\\\"emailFooter\\\":\\\"OQSHA Team\\\"}},\\\"ActorContext\\\":{\\\"Requestor\\\":[678],\\\"Work_Permit_Authorization_Department_Head\\\":[678],\\\"Isolation_Reviewed_User\\\":[678],\\\"Work_Permit_Authorization_Area_Owner\\\":[678],\\\"Work_Permit_Authorization_Plant_Head\\\":[678],\\\"Ext_AuthorizedBy_Initiator_Department_Head\\\":[678],\\\"Ext_AuthorizedBy_AreaOwner\\\":[678],\\\"Ext_PlantHead\\\":[678]},\\\"Metadata\\\":null}\"}"}

{"Timestamp":"2026-07-15T05:37:26.4693639+00:00","Level":"Information","Data":{"EventId":1057142283},"Message":"Sent message ID 18045c59a16c3001 to DLQ"}

{"Timestamp":"2026-07-15T05:47:53.1594542+00:00","Level":"Information","Data":{"EventId":2909030909},"Message":"Notification event with message ID 18045ea1856c3000 received: {\"TemplateId\":18,\"EntityType\":\"work_permit_v2\",\"EventType\":null,\"NotifyRoleId\":null,\"NotifyUserId\":null,\"NotifyDynamicActor\":\"Work_Permit_Authorization_Department_Head\",\"EntityContext\":{\"Parameters\":{\"workPermitId\":\"405\",\"workPermitV2Id\":\"405\",\"orgId\":\"264\",\"viewLink\":\"http://localhost:4200/#/work-permit-v2/view-work-permit/264/405?dlType=viewWorkPermitV2\",\"workPermitLink\":\"http://localhost:4200/#/work-permit-v2/view-work-permit/264/405?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-07-15T05:47:53.1621044+00:00","Level":"Information","Data":{"EventId":525975441},"Message":"Started processing notification for message ID 18045ea1856c3000"}

{"Timestamp":"2026-07-15T05:47:53.1621448+00:00","Level":"Information","Data":{"EventId":301329654},"Message":"Looking up the notification handler for message ID 18045ea1856c3000"}

{"Timestamp":"2026-07-15T05:47:53.1621625+00:00","Level":"Information","Data":{"EventId":412656606},"Message":"Event handling in process for message ID 18045ea1856c3000"}

{"Timestamp":"2026-07-15T05:47:53.1669402+00:00","Level":"Information","Data":{"EventId":2058294145},"Message":"Sending message ID 18045ea1856c3000 to DLQ"}

{"Timestamp":"2026-07-15T05:47:53.1671261+00:00","Level":"Information","Data":{"EventId":3042239739},"Message":"Dead letter envelope for DLQ message: {\"SourceTopic\":\"notification.orchestrator\",\"SourceChannel\":\"notification-orchestrator\",\"FailedAtUtc\":\"2026-07-15T05:47:53.1669747Z\",\"Attempts\":1,\"ErrorType\":\"OQSHA.Notification.Orchestrator.Exceptions.PermanentOrchestratorException\",\"ErrorMessage\":\"Work Permit V2 ID 405 not found for message ID 18045ea1856c3000\",\"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\\\":\\\"405\\\",\\\"workPermitV2Id\\\":\\\"405\\\",\\\"orgId\\\":\\\"264\\\",\\\"viewLink\\\":\\\"http://localhost:4200/#/work-permit-v2/view-work-permit/264/405?dlType=viewWorkPermitV2\\\",\\\"workPermitLink\\\":\\\"http://localhost:4200/#/work-permit-v2/view-work-permit/264/405?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-07-15T05:47:53.1679443+00:00","Level":"Information","Data":{"EventId":372413761},"Message":"Sent message ID 18045ea1856c3000 to DLQ"}

{"Timestamp":"2026-07-15T05:47:53.1894803+00:00","Level":"Information","Data":{"EventId":2018026750},"Message":"Notification event with message ID 18045ea1856c3001 received: {\"TemplateId\":19,\"EntityType\":\"work_permit_v2\",\"EventType\":null,\"NotifyRoleId\":null,\"NotifyUserId\":null,\"NotifyDynamicActor\":\"Work_Permit_Authorization_Department_Head\",\"EntityContext\":{\"Parameters\":{\"workPermitId\":\"405\",\"workPermitV2Id\":\"405\",\"orgId\":\"264\",\"viewLink\":\"http://localhost:4200/#/work-permit-v2/view-work-permit/264/405?dlType=viewWorkPermitV2\",\"workPermitLink\":\"http://localhost:4200/#/work-permit-v2/view-work-permit/264/405?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-07-15T05:47:53.1932513+00:00","Level":"Information","Data":{"EventId":757816116},"Message":"Started processing notification for message ID 18045ea1856c3001"}

{"Timestamp":"2026-07-15T05:47:53.1933719+00:00","Level":"Information","Data":{"EventId":3040097140},"Message":"Looking up the notification handler for message ID 18045ea1856c3001"}

{"Timestamp":"2026-07-15T05:47:53.1933944+00:00","Level":"Information","Data":{"EventId":172689219},"Message":"Event handling in process for message ID 18045ea1856c3001"}

{"Timestamp":"2026-07-15T05:47:53.1973627+00:00","Level":"Information","Data":{"EventId":1908132086},"Message":"Sending message ID 18045ea1856c3001 to DLQ"}

{"Timestamp":"2026-07-15T05:47:53.1975489+00:00","Level":"Information","Data":{"EventId":462965675},"Message":"Dead letter envelope for DLQ message: {\"SourceTopic\":\"notification.orchestrator\",\"SourceChannel\":\"notification-orchestrator\",\"FailedAtUtc\":\"2026-07-15T05:47:53.1974001Z\",\"Attempts\":1,\"ErrorType\":\"OQSHA.Notification.Orchestrator.Exceptions.PermanentOrchestratorException\",\"ErrorMessage\":\"Work Permit V2 ID 405 not found for message ID 18045ea1856c3001\",\"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\\\":\\\"405\\\",\\\"workPermitV2Id\\\":\\\"405\\\",\\\"orgId\\\":\\\"264\\\",\\\"viewLink\\\":\\\"http://localhost:4200/#/work-permit-v2/view-work-permit/264/405?dlType=viewWorkPermitV2\\\",\\\"workPermitLink\\\":\\\"http://localhost:4200/#/work-permit-v2/view-work-permit/264/405?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-07-15T05:47:53.1983488+00:00","Level":"Information","Data":{"EventId":2177512878},"Message":"Sent message ID 18045ea1856c3001 to DLQ"}

{"Timestamp":"2026-07-15T05:48:05.5342577+00:00","Level":"Information","Data":{"EventId":1918191860},"Message":"Notification event with message ID 18045ead0bec3000 received: {\"TemplateId\":18,\"EntityType\":\"work_permit_v2\",\"EventType\":null,\"NotifyRoleId\":null,\"NotifyUserId\":null,\"NotifyDynamicActor\":\"Work_Permit_Authorization_Area_Owner\",\"EntityContext\":{\"Parameters\":{\"workPermitId\":\"405\",\"workPermitV2Id\":\"405\",\"orgId\":\"264\",\"viewLink\":\"http://localhost:4200/#/work-permit-v2/view-work-permit/264/405?dlType=viewWorkPermitV2\",\"workPermitLink\":\"http://localhost:4200/#/work-permit-v2/view-work-permit/264/405?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-07-15T05:48:05.5363155+00:00","Level":"Information","Data":{"EventId":4129666584},"Message":"Started processing notification for message ID 18045ead0bec3000"}

{"Timestamp":"2026-07-15T05:48:05.5363425+00:00","Level":"Information","Data":{"EventId":1238705126},"Message":"Looking up the notification handler for message ID 18045ead0bec3000"}

{"Timestamp":"2026-07-15T05:48:05.5363528+00:00","Level":"Information","Data":{"EventId":3444273801},"Message":"Event handling in process for message ID 18045ead0bec3000"}

{"Timestamp":"2026-07-15T05:48:05.5388314+00:00","Level":"Information","Data":{"EventId":2335527891},"Message":"Sending message ID 18045ead0bec3000 to DLQ"}

{"Timestamp":"2026-07-15T05:48:05.5390008+00:00","Level":"Information","Data":{"EventId":2860124596},"Message":"Dead letter envelope for DLQ message: {\"SourceTopic\":\"notification.orchestrator\",\"SourceChannel\":\"notification-orchestrator\",\"FailedAtUtc\":\"2026-07-15T05:48:05.5388576Z\",\"Attempts\":1,\"ErrorType\":\"OQSHA.Notification.Orchestrator.Exceptions.PermanentOrchestratorException\",\"ErrorMessage\":\"Work Permit V2 ID 405 not found for message ID 18045ead0bec3000\",\"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\\\":\\\"405\\\",\\\"workPermitV2Id\\\":\\\"405\\\",\\\"orgId\\\":\\\"264\\\",\\\"viewLink\\\":\\\"http://localhost:4200/#/work-permit-v2/view-work-permit/264/405?dlType=viewWorkPermitV2\\\",\\\"workPermitLink\\\":\\\"http://localhost:4200/#/work-permit-v2/view-work-permit/264/405?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-07-15T05:48:05.5396534+00:00","Level":"Information","Data":{"EventId":3252361583},"Message":"Sent message ID 18045ead0bec3000 to DLQ"}

{"Timestamp":"2026-07-15T05:48:05.7014275+00:00","Level":"Information","Data":{"EventId":2184075139},"Message":"Notification event with message ID 18045ead0c2c3000 received: {\"TemplateId\":19,\"EntityType\":\"work_permit_v2\",\"EventType\":null,\"NotifyRoleId\":null,\"NotifyUserId\":null,\"NotifyDynamicActor\":\"Work_Permit_Authorization_Area_Owner\",\"EntityContext\":{\"Parameters\":{\"workPermitId\":\"405\",\"workPermitV2Id\":\"405\",\"orgId\":\"264\",\"viewLink\":\"http://localhost:4200/#/work-permit-v2/view-work-permit/264/405?dlType=viewWorkPermitV2\",\"workPermitLink\":\"http://localhost:4200/#/work-permit-v2/view-work-permit/264/405?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-07-15T05:48:05.7047567+00:00","Level":"Information","Data":{"EventId":2782535793},"Message":"Started processing notification for message ID 18045ead0c2c3000"}

{"Timestamp":"2026-07-15T05:48:05.7048210+00:00","Level":"Information","Data":{"EventId":1417019548},"Message":"Looking up the notification handler for message ID 18045ead0c2c3000"}

{"Timestamp":"2026-07-15T05:48:05.7048473+00:00","Level":"Information","Data":{"EventId":1597745387},"Message":"Event handling in process for message ID 18045ead0c2c3000"}

{"Timestamp":"2026-07-15T05:48:05.7083925+00:00","Level":"Information","Data":{"EventId":3544511942},"Message":"Sending message ID 18045ead0c2c3000 to DLQ"}

{"Timestamp":"2026-07-15T05:48:05.7085958+00:00","Level":"Information","Data":{"EventId":93664330},"Message":"Dead letter envelope for DLQ message: {\"SourceTopic\":\"notification.orchestrator\",\"SourceChannel\":\"notification-orchestrator\",\"FailedAtUtc\":\"2026-07-15T05:48:05.7084414Z\",\"Attempts\":1,\"ErrorType\":\"OQSHA.Notification.Orchestrator.Exceptions.PermanentOrchestratorException\",\"ErrorMessage\":\"Work Permit V2 ID 405 not found for message ID 18045ead0c2c3000\",\"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\\\":\\\"405\\\",\\\"workPermitV2Id\\\":\\\"405\\\",\\\"orgId\\\":\\\"264\\\",\\\"viewLink\\\":\\\"http://localhost:4200/#/work-permit-v2/view-work-permit/264/405?dlType=viewWorkPermitV2\\\",\\\"workPermitLink\\\":\\\"http://localhost:4200/#/work-permit-v2/view-work-permit/264/405?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-07-15T05:48:05.7094769+00:00","Level":"Information","Data":{"EventId":3238122055},"Message":"Sent message ID 18045ead0c2c3000 to DLQ"}

{"Timestamp":"2026-07-15T05:49:20.1909227+00:00","Level":"Information","Data":{"EventId":3878877654},"Message":"Notification event with message ID 18045ef292ec3000 received: {\"TemplateId\":18,\"EntityType\":\"work_permit_v2\",\"EventType\":null,\"NotifyRoleId\":null,\"NotifyUserId\":null,\"NotifyDynamicActor\":\"Work_Permit_Authorization_Department_Head\",\"EntityContext\":{\"Parameters\":{\"workPermitId\":\"406\",\"workPermitV2Id\":\"406\",\"orgId\":\"264\",\"viewLink\":\"http://localhost:4200/#/work-permit-v2/view-work-permit/264/406?dlType=viewWorkPermitV2\",\"workPermitLink\":\"http://localhost:4200/#/work-permit-v2/view-work-permit/264/406?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-07-15T05:49:20.1934181+00:00","Level":"Information","Data":{"EventId":3430229434},"Message":"Started processing notification for message ID 18045ef292ec3000"}

{"Timestamp":"2026-07-15T05:49:20.1934643+00:00","Level":"Information","Data":{"EventId":2197367257},"Message":"Looking up the notification handler for message ID 18045ef292ec3000"}

{"Timestamp":"2026-07-15T05:49:20.1935213+00:00","Level":"Information","Data":{"EventId":3767727576},"Message":"Event handling in process for message ID 18045ef292ec3000"}

{"Timestamp":"2026-07-15T05:49:20.1967488+00:00","Level":"Information","Data":{"EventId":3148927961},"Message":"Sending message ID 18045ef292ec3000 to DLQ"}

{"Timestamp":"2026-07-15T05:49:20.1969881+00:00","Level":"Information","Data":{"EventId":3169679848},"Message":"Dead letter envelope for DLQ message: {\"SourceTopic\":\"notification.orchestrator\",\"SourceChannel\":\"notification-orchestrator\",\"FailedAtUtc\":\"2026-07-15T05:49:20.196784Z\",\"Attempts\":1,\"ErrorType\":\"OQSHA.Notification.Orchestrator.Exceptions.PermanentOrchestratorException\",\"ErrorMessage\":\"Work Permit V2 ID 406 not found for message ID 18045ef292ec3000\",\"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\\\":\\\"406\\\",\\\"workPermitV2Id\\\":\\\"406\\\",\\\"orgId\\\":\\\"264\\\",\\\"viewLink\\\":\\\"http://localhost:4200/#/work-permit-v2/view-work-permit/264/406?dlType=viewWorkPermitV2\\\",\\\"workPermitLink\\\":\\\"http://localhost:4200/#/work-permit-v2/view-work-permit/264/406?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-07-15T05:49:20.1975942+00:00","Level":"Information","Data":{"EventId":1597319181},"Message":"Sent message ID 18045ef292ec3000 to DLQ"}

{"Timestamp":"2026-07-15T05:49:20.4502358+00:00","Level":"Information","Data":{"EventId":3124784061},"Message":"Notification event with message ID 18045ef292ec3001 received: {\"TemplateId\":19,\"EntityType\":\"work_permit_v2\",\"EventType\":null,\"NotifyRoleId\":null,\"NotifyUserId\":null,\"NotifyDynamicActor\":\"Work_Permit_Authorization_Department_Head\",\"EntityContext\":{\"Parameters\":{\"workPermitId\":\"406\",\"workPermitV2Id\":\"406\",\"orgId\":\"264\",\"viewLink\":\"http://localhost:4200/#/work-permit-v2/view-work-permit/264/406?dlType=viewWorkPermitV2\",\"workPermitLink\":\"http://localhost:4200/#/work-permit-v2/view-work-permit/264/406?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-07-15T05:49:20.4544170+00:00","Level":"Information","Data":{"EventId":2592489945},"Message":"Started processing notification for message ID 18045ef292ec3001"}

{"Timestamp":"2026-07-15T05:49:20.4545008+00:00","Level":"Information","Data":{"EventId":1892812171},"Message":"Looking up the notification handler for message ID 18045ef292ec3001"}

{"Timestamp":"2026-07-15T05:49:20.4545377+00:00","Level":"Information","Data":{"EventId":3479458683},"Message":"Event handling in process for message ID 18045ef292ec3001"}

{"Timestamp":"2026-07-15T05:49:20.4596068+00:00","Level":"Information","Data":{"EventId":2838349609},"Message":"Sending message ID 18045ef292ec3001 to DLQ"}

{"Timestamp":"2026-07-15T05:49:20.4598190+00:00","Level":"Information","Data":{"EventId":3485642772},"Message":"Dead letter envelope for DLQ message: {\"SourceTopic\":\"notification.orchestrator\",\"SourceChannel\":\"notification-orchestrator\",\"FailedAtUtc\":\"2026-07-15T05:49:20.4596628Z\",\"Attempts\":1,\"ErrorType\":\"OQSHA.Notification.Orchestrator.Exceptions.PermanentOrchestratorException\",\"ErrorMessage\":\"Work Permit V2 ID 406 not found for message ID 18045ef292ec3001\",\"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\\\":\\\"406\\\",\\\"workPermitV2Id\\\":\\\"406\\\",\\\"orgId\\\":\\\"264\\\",\\\"viewLink\\\":\\\"http://localhost:4200/#/work-permit-v2/view-work-permit/264/406?dlType=viewWorkPermitV2\\\",\\\"workPermitLink\\\":\\\"http://localhost:4200/#/work-permit-v2/view-work-permit/264/406?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-07-15T05:49:20.4614968+00:00","Level":"Information","Data":{"EventId":382210264},"Message":"Sent message ID 18045ef292ec3001 to DLQ"}

{"Timestamp":"2026-07-15T05:49:32.4533839+00:00","Level":"Information","Data":{"EventId":1733724446},"Message":"Notification event with message ID 18045efdfeec3000 received: {\"TemplateId\":18,\"EntityType\":\"work_permit_v2\",\"EventType\":null,\"NotifyRoleId\":null,\"NotifyUserId\":null,\"NotifyDynamicActor\":\"Work_Permit_Authorization_Area_Owner\",\"EntityContext\":{\"Parameters\":{\"workPermitId\":\"406\",\"workPermitV2Id\":\"406\",\"orgId\":\"264\",\"viewLink\":\"http://localhost:4200/#/work-permit-v2/view-work-permit/264/406?dlType=viewWorkPermitV2\",\"workPermitLink\":\"http://localhost:4200/#/work-permit-v2/view-work-permit/264/406?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-07-15T05:49:32.4555109+00:00","Level":"Information","Data":{"EventId":114443495},"Message":"Started processing notification for message ID 18045efdfeec3000"}

{"Timestamp":"2026-07-15T05:49:32.4555351+00:00","Level":"Information","Data":{"EventId":627164336},"Message":"Looking up the notification handler for message ID 18045efdfeec3000"}

{"Timestamp":"2026-07-15T05:49:32.4555444+00:00","Level":"Information","Data":{"EventId":1981229657},"Message":"Event handling in process for message ID 18045efdfeec3000"}

{"Timestamp":"2026-07-15T05:49:32.4586394+00:00","Level":"Information","Data":{"EventId":641981840},"Message":"Sending message ID 18045efdfeec3000 to DLQ"}

{"Timestamp":"2026-07-15T05:49:32.4587776+00:00","Level":"Information","Data":{"EventId":3957041687},"Message":"Dead letter envelope for DLQ message: {\"SourceTopic\":\"notification.orchestrator\",\"SourceChannel\":\"notification-orchestrator\",\"FailedAtUtc\":\"2026-07-15T05:49:32.458659Z\",\"Attempts\":1,\"ErrorType\":\"OQSHA.Notification.Orchestrator.Exceptions.PermanentOrchestratorException\",\"ErrorMessage\":\"Work Permit V2 ID 406 not found for message ID 18045efdfeec3000\",\"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\\\":\\\"406\\\",\\\"workPermitV2Id\\\":\\\"406\\\",\\\"orgId\\\":\\\"264\\\",\\\"viewLink\\\":\\\"http://localhost:4200/#/work-permit-v2/view-work-permit/264/406?dlType=viewWorkPermitV2\\\",\\\"workPermitLink\\\":\\\"http://localhost:4200/#/work-permit-v2/view-work-permit/264/406?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-07-15T05:49:32.4594481+00:00","Level":"Information","Data":{"EventId":3600196629},"Message":"Sent message ID 18045efdfeec3000 to DLQ"}

{"Timestamp":"2026-07-15T05:49:32.6893718+00:00","Level":"Information","Data":{"EventId":755043185},"Message":"Notification event with message ID 18045efdfeec3001 received: {\"TemplateId\":19,\"EntityType\":\"work_permit_v2\",\"EventType\":null,\"NotifyRoleId\":null,\"NotifyUserId\":null,\"NotifyDynamicActor\":\"Work_Permit_Authorization_Area_Owner\",\"EntityContext\":{\"Parameters\":{\"workPermitId\":\"406\",\"workPermitV2Id\":\"406\",\"orgId\":\"264\",\"viewLink\":\"http://localhost:4200/#/work-permit-v2/view-work-permit/264/406?dlType=viewWorkPermitV2\",\"workPermitLink\":\"http://localhost:4200/#/work-permit-v2/view-work-permit/264/406?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-07-15T05:49:32.6933466+00:00","Level":"Information","Data":{"EventId":4103053410},"Message":"Started processing notification for message ID 18045efdfeec3001"}

{"Timestamp":"2026-07-15T05:49:32.6934470+00:00","Level":"Information","Data":{"EventId":2314309074},"Message":"Looking up the notification handler for message ID 18045efdfeec3001"}

{"Timestamp":"2026-07-15T05:49:32.6934816+00:00","Level":"Information","Data":{"EventId":2224539482},"Message":"Event handling in process for message ID 18045efdfeec3001"}

{"Timestamp":"2026-07-15T05:49:32.6982889+00:00","Level":"Information","Data":{"EventId":3792712814},"Message":"Sending message ID 18045efdfeec3001 to DLQ"}

{"Timestamp":"2026-07-15T05:49:32.6987989+00:00","Level":"Information","Data":{"EventId":1741445598},"Message":"Dead letter envelope for DLQ message: {\"SourceTopic\":\"notification.orchestrator\",\"SourceChannel\":\"notification-orchestrator\",\"FailedAtUtc\":\"2026-07-15T05:49:32.6983789Z\",\"Attempts\":1,\"ErrorType\":\"OQSHA.Notification.Orchestrator.Exceptions.PermanentOrchestratorException\",\"ErrorMessage\":\"Work Permit V2 ID 406 not found for message ID 18045efdfeec3001\",\"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\\\":\\\"406\\\",\\\"workPermitV2Id\\\":\\\"406\\\",\\\"orgId\\\":\\\"264\\\",\\\"viewLink\\\":\\\"http://localhost:4200/#/work-permit-v2/view-work-permit/264/406?dlType=viewWorkPermitV2\\\",\\\"workPermitLink\\\":\\\"http://localhost:4200/#/work-permit-v2/view-work-permit/264/406?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-07-15T05:49:32.7003076+00:00","Level":"Information","Data":{"EventId":492349731},"Message":"Sent message ID 18045efdfeec3001 to DLQ"}

{"Timestamp":"2026-07-15T05:49:47.3190621+00:00","Level":"Information","Data":{"EventId":3245471017},"Message":"Notification event with message ID 18045f0bd72c3000 received: {\"TemplateId\":18,\"EntityType\":\"work_permit_v2\",\"EventType\":null,\"NotifyRoleId\":null,\"NotifyUserId\":null,\"NotifyDynamicActor\":\"Work_Permit_Authorization_Plant_Head\",\"EntityContext\":{\"Parameters\":{\"workPermitId\":\"406\",\"workPermitV2Id\":\"406\",\"orgId\":\"264\",\"viewLink\":\"http://localhost:4200/#/work-permit-v2/view-work-permit/264/406?dlType=viewWorkPermitV2\",\"workPermitLink\":\"http://localhost:4200/#/work-permit-v2/view-work-permit/264/406?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-07-15T05:49:47.3218273+00:00","Level":"Information","Data":{"EventId":2205576723},"Message":"Started processing notification for message ID 18045f0bd72c3000"}

{"Timestamp":"2026-07-15T05:49:47.3218795+00:00","Level":"Information","Data":{"EventId":2017735939},"Message":"Looking up the notification handler for message ID 18045f0bd72c3000"}

{"Timestamp":"2026-07-15T05:49:47.3218963+00:00","Level":"Information","Data":{"EventId":2739359671},"Message":"Event handling in process for message ID 18045f0bd72c3000"}

{"Timestamp":"2026-07-15T05:49:47.3251606+00:00","Level":"Information","Data":{"EventId":3654399852},"Message":"Sending message ID 18045f0bd72c3000 to DLQ"}

{"Timestamp":"2026-07-15T05:49:47.3254909+00:00","Level":"Information","Data":{"EventId":3224669155},"Message":"Dead letter envelope for DLQ message: {\"SourceTopic\":\"notification.orchestrator\",\"SourceChannel\":\"notification-orchestrator\",\"FailedAtUtc\":\"2026-07-15T05:49:47.3252138Z\",\"Attempts\":1,\"ErrorType\":\"OQSHA.Notification.Orchestrator.Exceptions.PermanentOrchestratorException\",\"ErrorMessage\":\"Work Permit V2 ID 406 not found for message ID 18045f0bd72c3000\",\"StackTrace\":\"   at OQSHA.Notification.Orchestrator.NotificationHandlers.WorkPermitV2NotificationHandler.FetchWorkPermitAsync(String messageId, Int32 orgId, Int32 workPermitId) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\NotificationHandlers\\\\WorkPermitV2NotificationHandler.cs:line 225\\r\\n   at OQSHA.Notification.Orchestrator.NotificationHandlers.WorkPermitV2NotificationHandler.HandleAsync(String messageId, NotificationEventDto request) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\NotificationHandlers\\\\WorkPermitV2NotificationHandler.cs:line 54\\r\\n   at OQSHA.Notification.Orchestrator.NotificationHandlers.WorkPermitV2NotificationHandler.ProcessEventAsync(String messageId, NotificationEventDto request) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\NotificationHandlers\\\\WorkPermitV2NotificationHandler.cs:line 46\\r\\n   at OQSHA.Notification.Orchestrator.Routing.EventRouter.ExecuteAsync(String messageId, NotificationEventDto request) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\Routing\\\\EventRouter.cs:line 38\\r\\n   at OQSHA.Notification.Orchestrator.Worker.OrchestratorMessageHandler.HandleMessage(IMessage message) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\Worker\\\\OrchestratorMessageHandler.cs:line 44\",\"OriginalBody\":\"{\\\"TemplateId\\\":18,\\\"EntityType\\\":\\\"work_permit_v2\\\",\\\"EventType\\\":null,\\\"NotifyRoleId\\\":null,\\\"NotifyUserId\\\":null,\\\"NotifyDynamicActor\\\":\\\"Work_Permit_Authorization_Plant_Head\\\",\\\"EntityContext\\\":{\\\"Parameters\\\":{\\\"workPermitId\\\":\\\"406\\\",\\\"workPermitV2Id\\\":\\\"406\\\",\\\"orgId\\\":\\\"264\\\",\\\"viewLink\\\":\\\"http://localhost:4200/#/work-permit-v2/view-work-permit/264/406?dlType=viewWorkPermitV2\\\",\\\"workPermitLink\\\":\\\"http://localhost:4200/#/work-permit-v2/view-work-permit/264/406?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-07-15T05:49:47.3262737+00:00","Level":"Information","Data":{"EventId":2514403482},"Message":"Sent message ID 18045f0bd72c3000 to DLQ"}

{"Timestamp":"2026-07-15T05:49:47.4431819+00:00","Level":"Information","Data":{"EventId":1721301529},"Message":"Notification event with message ID 18045f0bd76c3000 received: {\"TemplateId\":19,\"EntityType\":\"work_permit_v2\",\"EventType\":null,\"NotifyRoleId\":null,\"NotifyUserId\":null,\"NotifyDynamicActor\":\"Work_Permit_Authorization_Plant_Head\",\"EntityContext\":{\"Parameters\":{\"workPermitId\":\"406\",\"workPermitV2Id\":\"406\",\"orgId\":\"264\",\"viewLink\":\"http://localhost:4200/#/work-permit-v2/view-work-permit/264/406?dlType=viewWorkPermitV2\",\"workPermitLink\":\"http://localhost:4200/#/work-permit-v2/view-work-permit/264/406?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-07-15T05:49:47.4475475+00:00","Level":"Information","Data":{"EventId":1744571880},"Message":"Started processing notification for message ID 18045f0bd76c3000"}

{"Timestamp":"2026-07-15T05:49:47.4476486+00:00","Level":"Information","Data":{"EventId":1142710457},"Message":"Looking up the notification handler for message ID 18045f0bd76c3000"}

{"Timestamp":"2026-07-15T05:49:47.4476866+00:00","Level":"Information","Data":{"EventId":4205708619},"Message":"Event handling in process for message ID 18045f0bd76c3000"}

{"Timestamp":"2026-07-15T05:49:47.4529541+00:00","Level":"Information","Data":{"EventId":720182760},"Message":"Sending message ID 18045f0bd76c3000 to DLQ"}

{"Timestamp":"2026-07-15T05:49:47.4535169+00:00","Level":"Information","Data":{"EventId":713840969},"Message":"Dead letter envelope for DLQ message: {\"SourceTopic\":\"notification.orchestrator\",\"SourceChannel\":\"notification-orchestrator\",\"FailedAtUtc\":\"2026-07-15T05:49:47.4530791Z\",\"Attempts\":1,\"ErrorType\":\"OQSHA.Notification.Orchestrator.Exceptions.PermanentOrchestratorException\",\"ErrorMessage\":\"Work Permit V2 ID 406 not found for message ID 18045f0bd76c3000\",\"StackTrace\":\"   at OQSHA.Notification.Orchestrator.NotificationHandlers.WorkPermitV2NotificationHandler.FetchWorkPermitAsync(String messageId, Int32 orgId, Int32 workPermitId) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\NotificationHandlers\\\\WorkPermitV2NotificationHandler.cs:line 225\\r\\n   at OQSHA.Notification.Orchestrator.NotificationHandlers.WorkPermitV2NotificationHandler.HandleAsync(String messageId, NotificationEventDto request) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\NotificationHandlers\\\\WorkPermitV2NotificationHandler.cs:line 54\\r\\n   at OQSHA.Notification.Orchestrator.NotificationHandlers.WorkPermitV2NotificationHandler.ProcessEventAsync(String messageId, NotificationEventDto request) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\NotificationHandlers\\\\WorkPermitV2NotificationHandler.cs:line 46\\r\\n   at OQSHA.Notification.Orchestrator.Routing.EventRouter.ExecuteAsync(String messageId, NotificationEventDto request) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\Routing\\\\EventRouter.cs:line 38\\r\\n   at OQSHA.Notification.Orchestrator.Worker.OrchestratorMessageHandler.HandleMessage(IMessage message) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\Worker\\\\OrchestratorMessageHandler.cs:line 44\",\"OriginalBody\":\"{\\\"TemplateId\\\":19,\\\"EntityType\\\":\\\"work_permit_v2\\\",\\\"EventType\\\":null,\\\"NotifyRoleId\\\":null,\\\"NotifyUserId\\\":null,\\\"NotifyDynamicActor\\\":\\\"Work_Permit_Authorization_Plant_Head\\\",\\\"EntityContext\\\":{\\\"Parameters\\\":{\\\"workPermitId\\\":\\\"406\\\",\\\"workPermitV2Id\\\":\\\"406\\\",\\\"orgId\\\":\\\"264\\\",\\\"viewLink\\\":\\\"http://localhost:4200/#/work-permit-v2/view-work-permit/264/406?dlType=viewWorkPermitV2\\\",\\\"workPermitLink\\\":\\\"http://localhost:4200/#/work-permit-v2/view-work-permit/264/406?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-07-15T05:49:47.4553032+00:00","Level":"Information","Data":{"EventId":23103068},"Message":"Sent message ID 18045f0bd76c3000 to DLQ"}

{"Timestamp":"2026-07-15T05:50:03.1946926+00:00","Level":"Information","Data":{"EventId":1859269600},"Message":"Notification event with message ID 18045f1aa02c3000 received: {\"TemplateId\":22,\"EntityType\":\"work_permit_v2\",\"EventType\":null,\"NotifyRoleId\":null,\"NotifyUserId\":null,\"NotifyDynamicActor\":\"Requestor\",\"EntityContext\":{\"Parameters\":{\"workPermitId\":\"406\",\"workPermitV2Id\":\"406\",\"orgId\":\"264\",\"viewLink\":\"http://localhost:4200/#/work-permit-v2/view-work-permit/264/406?dlType=viewWorkPermitV2\",\"workPermitLink\":\"http://localhost:4200/#/work-permit-v2/view-work-permit/264/406?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-07-15T05:50:03.1971917+00:00","Level":"Information","Data":{"EventId":2259791587},"Message":"Started processing notification for message ID 18045f1aa02c3000"}

{"Timestamp":"2026-07-15T05:50:03.1972219+00:00","Level":"Information","Data":{"EventId":913290755},"Message":"Looking up the notification handler for message ID 18045f1aa02c3000"}

{"Timestamp":"2026-07-15T05:50:03.1972306+00:00","Level":"Information","Data":{"EventId":3937611887},"Message":"Event handling in process for message ID 18045f1aa02c3000"}

{"Timestamp":"2026-07-15T05:50:03.2002708+00:00","Level":"Information","Data":{"EventId":292117955},"Message":"Sending message ID 18045f1aa02c3000 to DLQ"}

{"Timestamp":"2026-07-15T05:50:03.2004065+00:00","Level":"Information","Data":{"EventId":4263452994},"Message":"Dead letter envelope for DLQ message: {\"SourceTopic\":\"notification.orchestrator\",\"SourceChannel\":\"notification-orchestrator\",\"FailedAtUtc\":\"2026-07-15T05:50:03.2002992Z\",\"Attempts\":1,\"ErrorType\":\"OQSHA.Notification.Orchestrator.Exceptions.PermanentOrchestratorException\",\"ErrorMessage\":\"Work Permit V2 ID 406 not found for message ID 18045f1aa02c3000\",\"StackTrace\":\"   at OQSHA.Notification.Orchestrator.NotificationHandlers.WorkPermitV2NotificationHandler.FetchWorkPermitAsync(String messageId, Int32 orgId, Int32 workPermitId) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\NotificationHandlers\\\\WorkPermitV2NotificationHandler.cs:line 225\\r\\n   at OQSHA.Notification.Orchestrator.NotificationHandlers.WorkPermitV2NotificationHandler.HandleAsync(String messageId, NotificationEventDto request) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\NotificationHandlers\\\\WorkPermitV2NotificationHandler.cs:line 54\\r\\n   at OQSHA.Notification.Orchestrator.NotificationHandlers.WorkPermitV2NotificationHandler.ProcessEventAsync(String messageId, NotificationEventDto request) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\NotificationHandlers\\\\WorkPermitV2NotificationHandler.cs:line 46\\r\\n   at OQSHA.Notification.Orchestrator.Routing.EventRouter.ExecuteAsync(String messageId, NotificationEventDto request) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\Routing\\\\EventRouter.cs:line 38\\r\\n   at OQSHA.Notification.Orchestrator.Worker.OrchestratorMessageHandler.HandleMessage(IMessage message) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\Worker\\\\OrchestratorMessageHandler.cs:line 44\",\"OriginalBody\":\"{\\\"TemplateId\\\":22,\\\"EntityType\\\":\\\"work_permit_v2\\\",\\\"EventType\\\":null,\\\"NotifyRoleId\\\":null,\\\"NotifyUserId\\\":null,\\\"NotifyDynamicActor\\\":\\\"Requestor\\\",\\\"EntityContext\\\":{\\\"Parameters\\\":{\\\"workPermitId\\\":\\\"406\\\",\\\"workPermitV2Id\\\":\\\"406\\\",\\\"orgId\\\":\\\"264\\\",\\\"viewLink\\\":\\\"http://localhost:4200/#/work-permit-v2/view-work-permit/264/406?dlType=viewWorkPermitV2\\\",\\\"workPermitLink\\\":\\\"http://localhost:4200/#/work-permit-v2/view-work-permit/264/406?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-07-15T05:50:03.2011075+00:00","Level":"Information","Data":{"EventId":234663014},"Message":"Sent message ID 18045f1aa02c3000 to DLQ"}

{"Timestamp":"2026-07-15T05:50:03.4415076+00:00","Level":"Information","Data":{"EventId":2041025712},"Message":"Notification event with message ID 18045f1aa06c3000 received: {\"TemplateId\":23,\"EntityType\":\"work_permit_v2\",\"EventType\":null,\"NotifyRoleId\":null,\"NotifyUserId\":null,\"NotifyDynamicActor\":\"Requestor\",\"EntityContext\":{\"Parameters\":{\"workPermitId\":\"406\",\"workPermitV2Id\":\"406\",\"orgId\":\"264\",\"viewLink\":\"http://localhost:4200/#/work-permit-v2/view-work-permit/264/406?dlType=viewWorkPermitV2\",\"workPermitLink\":\"http://localhost:4200/#/work-permit-v2/view-work-permit/264/406?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-07-15T05:50:03.4452434+00:00","Level":"Information","Data":{"EventId":2180604426},"Message":"Started processing notification for message ID 18045f1aa06c3000"}

{"Timestamp":"2026-07-15T05:50:03.4453221+00:00","Level":"Information","Data":{"EventId":2617287407},"Message":"Looking up the notification handler for message ID 18045f1aa06c3000"}

{"Timestamp":"2026-07-15T05:50:03.4453486+00:00","Level":"Information","Data":{"EventId":3391754114},"Message":"Event handling in process for message ID 18045f1aa06c3000"}

{"Timestamp":"2026-07-15T05:50:03.4500442+00:00","Level":"Information","Data":{"EventId":1389316312},"Message":"Sending message ID 18045f1aa06c3000 to DLQ"}

{"Timestamp":"2026-07-15T05:50:03.4505144+00:00","Level":"Information","Data":{"EventId":544916191},"Message":"Dead letter envelope for DLQ message: {\"SourceTopic\":\"notification.orchestrator\",\"SourceChannel\":\"notification-orchestrator\",\"FailedAtUtc\":\"2026-07-15T05:50:03.4501565Z\",\"Attempts\":1,\"ErrorType\":\"OQSHA.Notification.Orchestrator.Exceptions.PermanentOrchestratorException\",\"ErrorMessage\":\"Work Permit V2 ID 406 not found for message ID 18045f1aa06c3000\",\"StackTrace\":\"   at OQSHA.Notification.Orchestrator.NotificationHandlers.WorkPermitV2NotificationHandler.FetchWorkPermitAsync(String messageId, Int32 orgId, Int32 workPermitId) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\NotificationHandlers\\\\WorkPermitV2NotificationHandler.cs:line 225\\r\\n   at OQSHA.Notification.Orchestrator.NotificationHandlers.WorkPermitV2NotificationHandler.HandleAsync(String messageId, NotificationEventDto request) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\NotificationHandlers\\\\WorkPermitV2NotificationHandler.cs:line 54\\r\\n   at OQSHA.Notification.Orchestrator.NotificationHandlers.WorkPermitV2NotificationHandler.ProcessEventAsync(String messageId, NotificationEventDto request) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\NotificationHandlers\\\\WorkPermitV2NotificationHandler.cs:line 46\\r\\n   at OQSHA.Notification.Orchestrator.Routing.EventRouter.ExecuteAsync(String messageId, NotificationEventDto request) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\Routing\\\\EventRouter.cs:line 38\\r\\n   at OQSHA.Notification.Orchestrator.Worker.OrchestratorMessageHandler.HandleMessage(IMessage message) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\Worker\\\\OrchestratorMessageHandler.cs:line 44\",\"OriginalBody\":\"{\\\"TemplateId\\\":23,\\\"EntityType\\\":\\\"work_permit_v2\\\",\\\"EventType\\\":null,\\\"NotifyRoleId\\\":null,\\\"NotifyUserId\\\":null,\\\"NotifyDynamicActor\\\":\\\"Requestor\\\",\\\"EntityContext\\\":{\\\"Parameters\\\":{\\\"workPermitId\\\":\\\"406\\\",\\\"workPermitV2Id\\\":\\\"406\\\",\\\"orgId\\\":\\\"264\\\",\\\"viewLink\\\":\\\"http://localhost:4200/#/work-permit-v2/view-work-permit/264/406?dlType=viewWorkPermitV2\\\",\\\"workPermitLink\\\":\\\"http://localhost:4200/#/work-permit-v2/view-work-permit/264/406?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-07-15T05:50:03.4517862+00:00","Level":"Information","Data":{"EventId":207861741},"Message":"Sent message ID 18045f1aa06c3000 to DLQ"}

{"Timestamp":"2026-07-15T05:50:54.2628972+00:00","Level":"Information","Data":{"EventId":1262012553},"Message":"Notification event with message ID 18045f4a2f2c3000 received: {\"TemplateId\":20,\"EntityType\":\"work_permit_v2\",\"EventType\":null,\"NotifyRoleId\":null,\"NotifyUserId\":null,\"NotifyDynamicActor\":\"Ext_AuthorizedBy_Initiator_Department_Head\",\"EntityContext\":{\"Parameters\":{\"workPermitId\":\"406\",\"workPermitV2Id\":\"406\",\"orgId\":\"264\",\"viewLink\":\"http://localhost:4200/#/work-permit-v2/view-work-permit/264/406?dlType=viewWorkPermitV2\",\"workPermitLink\":\"http://localhost:4200/#/work-permit-v2/view-work-permit/264/406?dlType=viewWorkPermitV2\",\"emailFooter\":\"OQSHA Team\"}},\"ActorContext\":{\"Requestor\":[678],\"Work_Permit_Authorization_Department_Head\":[678],\"Work_Permit_Authorization_Area_Owner\":[678],\"Work_Permit_Authorization_Plant_Head\":[678],\"Ext_AuthorizedBy_Initiator_Department_Head\":[678],\"Ext_AuthorizedBy_AreaOwner\":[678],\"Ext_PlantHead\":[678]},\"Metadata\":null}"}

{"Timestamp":"2026-07-15T05:50:54.2653080+00:00","Level":"Information","Data":{"EventId":3638125020},"Message":"Started processing notification for message ID 18045f4a2f2c3000"}

{"Timestamp":"2026-07-15T05:50:54.2653426+00:00","Level":"Information","Data":{"EventId":3833220812},"Message":"Looking up the notification handler for message ID 18045f4a2f2c3000"}

{"Timestamp":"2026-07-15T05:50:54.2653518+00:00","Level":"Information","Data":{"EventId":2662409000},"Message":"Event handling in process for message ID 18045f4a2f2c3000"}

{"Timestamp":"2026-07-15T05:50:54.2682724+00:00","Level":"Information","Data":{"EventId":56663961},"Message":"Sending message ID 18045f4a2f2c3000 to DLQ"}

{"Timestamp":"2026-07-15T05:50:54.2684407+00:00","Level":"Information","Data":{"EventId":3672359429},"Message":"Dead letter envelope for DLQ message: {\"SourceTopic\":\"notification.orchestrator\",\"SourceChannel\":\"notification-orchestrator\",\"FailedAtUtc\":\"2026-07-15T05:50:54.2683152Z\",\"Attempts\":1,\"ErrorType\":\"OQSHA.Notification.Orchestrator.Exceptions.PermanentOrchestratorException\",\"ErrorMessage\":\"Work Permit V2 ID 406 not found for message ID 18045f4a2f2c3000\",\"StackTrace\":\"   at OQSHA.Notification.Orchestrator.NotificationHandlers.WorkPermitV2NotificationHandler.FetchWorkPermitAsync(String messageId, Int32 orgId, Int32 workPermitId) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\NotificationHandlers\\\\WorkPermitV2NotificationHandler.cs:line 225\\r\\n   at OQSHA.Notification.Orchestrator.NotificationHandlers.WorkPermitV2NotificationHandler.HandleAsync(String messageId, NotificationEventDto request) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\NotificationHandlers\\\\WorkPermitV2NotificationHandler.cs:line 54\\r\\n   at OQSHA.Notification.Orchestrator.NotificationHandlers.WorkPermitV2NotificationHandler.ProcessEventAsync(String messageId, NotificationEventDto request) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\NotificationHandlers\\\\WorkPermitV2NotificationHandler.cs:line 46\\r\\n   at OQSHA.Notification.Orchestrator.Routing.EventRouter.ExecuteAsync(String messageId, NotificationEventDto request) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\Routing\\\\EventRouter.cs:line 38\\r\\n   at OQSHA.Notification.Orchestrator.Worker.OrchestratorMessageHandler.HandleMessage(IMessage message) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\Worker\\\\OrchestratorMessageHandler.cs:line 44\",\"OriginalBody\":\"{\\\"TemplateId\\\":20,\\\"EntityType\\\":\\\"work_permit_v2\\\",\\\"EventType\\\":null,\\\"NotifyRoleId\\\":null,\\\"NotifyUserId\\\":null,\\\"NotifyDynamicActor\\\":\\\"Ext_AuthorizedBy_Initiator_Department_Head\\\",\\\"EntityContext\\\":{\\\"Parameters\\\":{\\\"workPermitId\\\":\\\"406\\\",\\\"workPermitV2Id\\\":\\\"406\\\",\\\"orgId\\\":\\\"264\\\",\\\"viewLink\\\":\\\"http://localhost:4200/#/work-permit-v2/view-work-permit/264/406?dlType=viewWorkPermitV2\\\",\\\"workPermitLink\\\":\\\"http://localhost:4200/#/work-permit-v2/view-work-permit/264/406?dlType=viewWorkPermitV2\\\",\\\"emailFooter\\\":\\\"OQSHA Team\\\"}},\\\"ActorContext\\\":{\\\"Requestor\\\":[678],\\\"Work_Permit_Authorization_Department_Head\\\":[678],\\\"Work_Permit_Authorization_Area_Owner\\\":[678],\\\"Work_Permit_Authorization_Plant_Head\\\":[678],\\\"Ext_AuthorizedBy_Initiator_Department_Head\\\":[678],\\\"Ext_AuthorizedBy_AreaOwner\\\":[678],\\\"Ext_PlantHead\\\":[678]},\\\"Metadata\\\":null}\"}"}

{"Timestamp":"2026-07-15T05:50:54.2690926+00:00","Level":"Information","Data":{"EventId":2305234005},"Message":"Sent message ID 18045f4a2f2c3000 to DLQ"}

{"Timestamp":"2026-07-15T05:50:54.4371815+00:00","Level":"Information","Data":{"EventId":3331831711},"Message":"Notification event with message ID 18045f4a302c3000 received: {\"TemplateId\":21,\"EntityType\":\"work_permit_v2\",\"EventType\":null,\"NotifyRoleId\":null,\"NotifyUserId\":null,\"NotifyDynamicActor\":\"Ext_AuthorizedBy_Initiator_Department_Head\",\"EntityContext\":{\"Parameters\":{\"workPermitId\":\"406\",\"workPermitV2Id\":\"406\",\"orgId\":\"264\",\"viewLink\":\"http://localhost:4200/#/work-permit-v2/view-work-permit/264/406?dlType=viewWorkPermitV2\",\"workPermitLink\":\"http://localhost:4200/#/work-permit-v2/view-work-permit/264/406?dlType=viewWorkPermitV2\",\"emailFooter\":\"OQSHA Team\"}},\"ActorContext\":{\"Requestor\":[678],\"Work_Permit_Authorization_Department_Head\":[678],\"Work_Permit_Authorization_Area_Owner\":[678],\"Work_Permit_Authorization_Plant_Head\":[678],\"Ext_AuthorizedBy_Initiator_Department_Head\":[678],\"Ext_AuthorizedBy_AreaOwner\":[678],\"Ext_PlantHead\":[678]},\"Metadata\":null}"}

{"Timestamp":"2026-07-15T05:50:54.4406238+00:00","Level":"Information","Data":{"EventId":3005819220},"Message":"Started processing notification for message ID 18045f4a302c3000"}

{"Timestamp":"2026-07-15T05:50:54.4407380+00:00","Level":"Information","Data":{"EventId":3537004303},"Message":"Looking up the notification handler for message ID 18045f4a302c3000"}

{"Timestamp":"2026-07-15T05:50:54.4407871+00:00","Level":"Information","Data":{"EventId":3846636391},"Message":"Event handling in process for message ID 18045f4a302c3000"}

{"Timestamp":"2026-07-15T05:50:54.4459407+00:00","Level":"Information","Data":{"EventId":646996020},"Message":"Sending message ID 18045f4a302c3000 to DLQ"}

{"Timestamp":"2026-07-15T05:50:54.4465215+00:00","Level":"Information","Data":{"EventId":3563235989},"Message":"Dead letter envelope for DLQ message: {\"SourceTopic\":\"notification.orchestrator\",\"SourceChannel\":\"notification-orchestrator\",\"FailedAtUtc\":\"2026-07-15T05:50:54.4460919Z\",\"Attempts\":1,\"ErrorType\":\"OQSHA.Notification.Orchestrator.Exceptions.PermanentOrchestratorException\",\"ErrorMessage\":\"Work Permit V2 ID 406 not found for message ID 18045f4a302c3000\",\"StackTrace\":\"   at OQSHA.Notification.Orchestrator.NotificationHandlers.WorkPermitV2NotificationHandler.FetchWorkPermitAsync(String messageId, Int32 orgId, Int32 workPermitId) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\NotificationHandlers\\\\WorkPermitV2NotificationHandler.cs:line 225\\r\\n   at OQSHA.Notification.Orchestrator.NotificationHandlers.WorkPermitV2NotificationHandler.HandleAsync(String messageId, NotificationEventDto request) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\NotificationHandlers\\\\WorkPermitV2NotificationHandler.cs:line 54\\r\\n   at OQSHA.Notification.Orchestrator.NotificationHandlers.WorkPermitV2NotificationHandler.ProcessEventAsync(String messageId, NotificationEventDto request) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\NotificationHandlers\\\\WorkPermitV2NotificationHandler.cs:line 46\\r\\n   at OQSHA.Notification.Orchestrator.Routing.EventRouter.ExecuteAsync(String messageId, NotificationEventDto request) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\Routing\\\\EventRouter.cs:line 38\\r\\n   at OQSHA.Notification.Orchestrator.Worker.OrchestratorMessageHandler.HandleMessage(IMessage message) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\Worker\\\\OrchestratorMessageHandler.cs:line 44\",\"OriginalBody\":\"{\\\"TemplateId\\\":21,\\\"EntityType\\\":\\\"work_permit_v2\\\",\\\"EventType\\\":null,\\\"NotifyRoleId\\\":null,\\\"NotifyUserId\\\":null,\\\"NotifyDynamicActor\\\":\\\"Ext_AuthorizedBy_Initiator_Department_Head\\\",\\\"EntityContext\\\":{\\\"Parameters\\\":{\\\"workPermitId\\\":\\\"406\\\",\\\"workPermitV2Id\\\":\\\"406\\\",\\\"orgId\\\":\\\"264\\\",\\\"viewLink\\\":\\\"http://localhost:4200/#/work-permit-v2/view-work-permit/264/406?dlType=viewWorkPermitV2\\\",\\\"workPermitLink\\\":\\\"http://localhost:4200/#/work-permit-v2/view-work-permit/264/406?dlType=viewWorkPermitV2\\\",\\\"emailFooter\\\":\\\"OQSHA Team\\\"}},\\\"ActorContext\\\":{\\\"Requestor\\\":[678],\\\"Work_Permit_Authorization_Department_Head\\\":[678],\\\"Work_Permit_Authorization_Area_Owner\\\":[678],\\\"Work_Permit_Authorization_Plant_Head\\\":[678],\\\"Ext_AuthorizedBy_Initiator_Department_Head\\\":[678],\\\"Ext_AuthorizedBy_AreaOwner\\\":[678],\\\"Ext_PlantHead\\\":[678]},\\\"Metadata\\\":null}\"}"}

{"Timestamp":"2026-07-15T05:50:54.4479746+00:00","Level":"Information","Data":{"EventId":3653233971},"Message":"Sent message ID 18045f4a302c3000 to DLQ"}

{"Timestamp":"2026-07-15T05:52:50.4818339+00:00","Level":"Information","Data":{"EventId":107900493},"Message":"Notification event with message ID 18045fb66c6c3000 received: {\"TemplateId\":20,\"EntityType\":\"work_permit_v2\",\"EventType\":null,\"NotifyRoleId\":null,\"NotifyUserId\":null,\"NotifyDynamicActor\":\"Ext_AuthorizedBy_Initiator_Department_Head\",\"EntityContext\":{\"Parameters\":{\"workPermitId\":\"406\",\"workPermitV2Id\":\"406\",\"orgId\":\"264\",\"viewLink\":\"http://localhost:4200/#/work-permit-v2/view-work-permit/264/406?dlType=viewWorkPermitV2\",\"workPermitLink\":\"http://localhost:4200/#/work-permit-v2/view-work-permit/264/406?dlType=viewWorkPermitV2\",\"emailFooter\":\"OQSHA Team\"}},\"ActorContext\":{\"Requestor\":[678],\"Work_Permit_Authorization_Department_Head\":[678],\"Work_Permit_Authorization_Area_Owner\":[678],\"Work_Permit_Authorization_Plant_Head\":[678],\"Ext_AuthorizedBy_Initiator_Department_Head\":[678],\"Ext_AuthorizedBy_AreaOwner\":[678],\"Ext_PlantHead\":[678]},\"Metadata\":null}"}

{"Timestamp":"2026-07-15T05:52:50.4840102+00:00","Level":"Information","Data":{"EventId":903119663},"Message":"Started processing notification for message ID 18045fb66c6c3000"}

{"Timestamp":"2026-07-15T05:52:50.4840429+00:00","Level":"Information","Data":{"EventId":2946753554},"Message":"Looking up the notification handler for message ID 18045fb66c6c3000"}

{"Timestamp":"2026-07-15T05:52:50.4840568+00:00","Level":"Information","Data":{"EventId":1689677185},"Message":"Event handling in process for message ID 18045fb66c6c3000"}

{"Timestamp":"2026-07-15T05:52:50.4869735+00:00","Level":"Information","Data":{"EventId":2447012145},"Message":"Sending message ID 18045fb66c6c3000 to DLQ"}

{"Timestamp":"2026-07-15T05:52:50.4871147+00:00","Level":"Information","Data":{"EventId":3630517794},"Message":"Dead letter envelope for DLQ message: {\"SourceTopic\":\"notification.orchestrator\",\"SourceChannel\":\"notification-orchestrator\",\"FailedAtUtc\":\"2026-07-15T05:52:50.4869991Z\",\"Attempts\":1,\"ErrorType\":\"OQSHA.Notification.Orchestrator.Exceptions.PermanentOrchestratorException\",\"ErrorMessage\":\"Work Permit V2 ID 406 not found for message ID 18045fb66c6c3000\",\"StackTrace\":\"   at OQSHA.Notification.Orchestrator.NotificationHandlers.WorkPermitV2NotificationHandler.FetchWorkPermitAsync(String messageId, Int32 orgId, Int32 workPermitId) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\NotificationHandlers\\\\WorkPermitV2NotificationHandler.cs:line 225\\r\\n   at OQSHA.Notification.Orchestrator.NotificationHandlers.WorkPermitV2NotificationHandler.HandleAsync(String messageId, NotificationEventDto request) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\NotificationHandlers\\\\WorkPermitV2NotificationHandler.cs:line 54\\r\\n   at OQSHA.Notification.Orchestrator.NotificationHandlers.WorkPermitV2NotificationHandler.ProcessEventAsync(String messageId, NotificationEventDto request) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\NotificationHandlers\\\\WorkPermitV2NotificationHandler.cs:line 46\\r\\n   at OQSHA.Notification.Orchestrator.Routing.EventRouter.ExecuteAsync(String messageId, NotificationEventDto request) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\Routing\\\\EventRouter.cs:line 38\\r\\n   at OQSHA.Notification.Orchestrator.Worker.OrchestratorMessageHandler.HandleMessage(IMessage message) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\Worker\\\\OrchestratorMessageHandler.cs:line 44\",\"OriginalBody\":\"{\\\"TemplateId\\\":20,\\\"EntityType\\\":\\\"work_permit_v2\\\",\\\"EventType\\\":null,\\\"NotifyRoleId\\\":null,\\\"NotifyUserId\\\":null,\\\"NotifyDynamicActor\\\":\\\"Ext_AuthorizedBy_Initiator_Department_Head\\\",\\\"EntityContext\\\":{\\\"Parameters\\\":{\\\"workPermitId\\\":\\\"406\\\",\\\"workPermitV2Id\\\":\\\"406\\\",\\\"orgId\\\":\\\"264\\\",\\\"viewLink\\\":\\\"http://localhost:4200/#/work-permit-v2/view-work-permit/264/406?dlType=viewWorkPermitV2\\\",\\\"workPermitLink\\\":\\\"http://localhost:4200/#/work-permit-v2/view-work-permit/264/406?dlType=viewWorkPermitV2\\\",\\\"emailFooter\\\":\\\"OQSHA Team\\\"}},\\\"ActorContext\\\":{\\\"Requestor\\\":[678],\\\"Work_Permit_Authorization_Department_Head\\\":[678],\\\"Work_Permit_Authorization_Area_Owner\\\":[678],\\\"Work_Permit_Authorization_Plant_Head\\\":[678],\\\"Ext_AuthorizedBy_Initiator_Department_Head\\\":[678],\\\"Ext_AuthorizedBy_AreaOwner\\\":[678],\\\"Ext_PlantHead\\\":[678]},\\\"Metadata\\\":null}\"}"}

{"Timestamp":"2026-07-15T05:52:50.4877541+00:00","Level":"Information","Data":{"EventId":1252631290},"Message":"Sent message ID 18045fb66c6c3000 to DLQ"}

{"Timestamp":"2026-07-15T05:52:50.6847957+00:00","Level":"Information","Data":{"EventId":792918769},"Message":"Notification event with message ID 18045fb66cec3000 received: {\"TemplateId\":21,\"EntityType\":\"work_permit_v2\",\"EventType\":null,\"NotifyRoleId\":null,\"NotifyUserId\":null,\"NotifyDynamicActor\":\"Ext_AuthorizedBy_Initiator_Department_Head\",\"EntityContext\":{\"Parameters\":{\"workPermitId\":\"406\",\"workPermitV2Id\":\"406\",\"orgId\":\"264\",\"viewLink\":\"http://localhost:4200/#/work-permit-v2/view-work-permit/264/406?dlType=viewWorkPermitV2\",\"workPermitLink\":\"http://localhost:4200/#/work-permit-v2/view-work-permit/264/406?dlType=viewWorkPermitV2\",\"emailFooter\":\"OQSHA Team\"}},\"ActorContext\":{\"Requestor\":[678],\"Work_Permit_Authorization_Department_Head\":[678],\"Work_Permit_Authorization_Area_Owner\":[678],\"Work_Permit_Authorization_Plant_Head\":[678],\"Ext_AuthorizedBy_Initiator_Department_Head\":[678],\"Ext_AuthorizedBy_AreaOwner\":[678],\"Ext_PlantHead\":[678]},\"Metadata\":null}"}

{"Timestamp":"2026-07-15T05:52:50.6864447+00:00","Level":"Information","Data":{"EventId":56210887},"Message":"Started processing notification for message ID 18045fb66cec3000"}

{"Timestamp":"2026-07-15T05:52:50.6864808+00:00","Level":"Information","Data":{"EventId":1947386855},"Message":"Looking up the notification handler for message ID 18045fb66cec3000"}

{"Timestamp":"2026-07-15T05:52:50.6864918+00:00","Level":"Information","Data":{"EventId":3300449849},"Message":"Event handling in process for message ID 18045fb66cec3000"}

{"Timestamp":"2026-07-15T05:52:50.6884829+00:00","Level":"Information","Data":{"EventId":3970227471},"Message":"Sending message ID 18045fb66cec3000 to DLQ"}

{"Timestamp":"2026-07-15T05:52:50.6888236+00:00","Level":"Information","Data":{"EventId":3672793159},"Message":"Dead letter envelope for DLQ message: {\"SourceTopic\":\"notification.orchestrator\",\"SourceChannel\":\"notification-orchestrator\",\"FailedAtUtc\":\"2026-07-15T05:52:50.6885217Z\",\"Attempts\":1,\"ErrorType\":\"OQSHA.Notification.Orchestrator.Exceptions.PermanentOrchestratorException\",\"ErrorMessage\":\"Work Permit V2 ID 406 not found for message ID 18045fb66cec3000\",\"StackTrace\":\"   at OQSHA.Notification.Orchestrator.NotificationHandlers.WorkPermitV2NotificationHandler.FetchWorkPermitAsync(String messageId, Int32 orgId, Int32 workPermitId) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\NotificationHandlers\\\\WorkPermitV2NotificationHandler.cs:line 225\\r\\n   at OQSHA.Notification.Orchestrator.NotificationHandlers.WorkPermitV2NotificationHandler.HandleAsync(String messageId, NotificationEventDto request) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\NotificationHandlers\\\\WorkPermitV2NotificationHandler.cs:line 54\\r\\n   at OQSHA.Notification.Orchestrator.NotificationHandlers.WorkPermitV2NotificationHandler.ProcessEventAsync(String messageId, NotificationEventDto request) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\NotificationHandlers\\\\WorkPermitV2NotificationHandler.cs:line 46\\r\\n   at OQSHA.Notification.Orchestrator.Routing.EventRouter.ExecuteAsync(String messageId, NotificationEventDto request) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\Routing\\\\EventRouter.cs:line 38\\r\\n   at OQSHA.Notification.Orchestrator.Worker.OrchestratorMessageHandler.HandleMessage(IMessage message) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\Worker\\\\OrchestratorMessageHandler.cs:line 44\",\"OriginalBody\":\"{\\\"TemplateId\\\":21,\\\"EntityType\\\":\\\"work_permit_v2\\\",\\\"EventType\\\":null,\\\"NotifyRoleId\\\":null,\\\"NotifyUserId\\\":null,\\\"NotifyDynamicActor\\\":\\\"Ext_AuthorizedBy_Initiator_Department_Head\\\",\\\"EntityContext\\\":{\\\"Parameters\\\":{\\\"workPermitId\\\":\\\"406\\\",\\\"workPermitV2Id\\\":\\\"406\\\",\\\"orgId\\\":\\\"264\\\",\\\"viewLink\\\":\\\"http://localhost:4200/#/work-permit-v2/view-work-permit/264/406?dlType=viewWorkPermitV2\\\",\\\"workPermitLink\\\":\\\"http://localhost:4200/#/work-permit-v2/view-work-permit/264/406?dlType=viewWorkPermitV2\\\",\\\"emailFooter\\\":\\\"OQSHA Team\\\"}},\\\"ActorContext\\\":{\\\"Requestor\\\":[678],\\\"Work_Permit_Authorization_Department_Head\\\":[678],\\\"Work_Permit_Authorization_Area_Owner\\\":[678],\\\"Work_Permit_Authorization_Plant_Head\\\":[678],\\\"Ext_AuthorizedBy_Initiator_Department_Head\\\":[678],\\\"Ext_AuthorizedBy_AreaOwner\\\":[678],\\\"Ext_PlantHead\\\":[678]},\\\"Metadata\\\":null}\"}"}

{"Timestamp":"2026-07-15T05:52:50.6894909+00:00","Level":"Information","Data":{"EventId":231458527},"Message":"Sent message ID 18045fb66cec3000 to DLQ"}

{"Timestamp":"2026-07-15T08:52:35.5383814+00:00","Level":"Information","Data":{"EventId":3091016791},"Message":"Inside hosted service - for nsq"}

{"Timestamp":"2026-07-15T08:52:35.6210370+00:00","Level":"Information","Data":{"EventId":3138514657},"Message":"Started the consumer service and handler for NSQ"}

{"Timestamp":"2026-07-15T09:37:20.2855244+00:00","Level":"Information","Data":{"EventId":3091016791},"Message":"Inside hosted service - for nsq"}

{"Timestamp":"2026-07-15T09:37:20.3713262+00:00","Level":"Information","Data":{"EventId":3138514657},"Message":"Started the consumer service and handler for NSQ"}

{"Timestamp":"2026-07-15T10:39:17.8127394+00:00","Level":"Information","Data":{"EventId":1369303068},"Message":"Notification event with message ID 18049e3d5eec3000 received: {\"TemplateId\":17,\"EntityType\":\"work_permit_v2\",\"EventType\":null,\"NotifyRoleId\":null,\"NotifyUserId\":null,\"NotifyDynamicActor\":\"AreaOwnerGeneral\",\"EntityContext\":{\"Parameters\":{\"workPermitId\":\"430\",\"workPermitV2Id\":\"430\",\"orgId\":\"259\",\"viewLink\":\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/259/430?dlType=viewWorkPermitV2\",\"workPermitLink\":\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/259/430?dlType=viewWorkPermitV2\",\"emailFooter\":\"OQSHA Team\"}},\"ActorContext\":null,\"Metadata\":null}"}

{"Timestamp":"2026-07-15T10:39:17.9887737+00:00","Level":"Information","Data":{"EventId":3123964085},"Message":"Started processing notification for message ID 18049e3d5eec3000"}

{"Timestamp":"2026-07-15T10:39:17.9888826+00:00","Level":"Information","Data":{"EventId":2443522544},"Message":"Looking up the notification handler for message ID 18049e3d5eec3000"}

{"Timestamp":"2026-07-15T10:39:17.9894938+00:00","Level":"Information","Data":{"EventId":3756397376},"Message":"Event handling in process for message ID 18049e3d5eec3000"}

{"Timestamp":"2026-07-15T10:39:18.8571057+00:00","Level":"Information","Data":{"EventId":154593164},"Message":"Sending message ID 18049e3d5eec3000 to DLQ"}

{"Timestamp":"2026-07-15T10:39:18.8832321+00:00","Level":"Information","Data":{"EventId":1335461225},"Message":"Dead letter envelope for DLQ message: {\"SourceTopic\":\"notification.orchestrator\",\"SourceChannel\":\"notification-orchestrator\",\"FailedAtUtc\":\"2026-07-15T10:39:18.8572665Z\",\"Attempts\":1,\"ErrorType\":\"OQSHA.Notification.Orchestrator.Exceptions.PermanentOrchestratorException\",\"ErrorMessage\":\"No recipients received for message ID 18049e3d5eec3000\",\"StackTrace\":\"   at OQSHA.Notification.Orchestrator.Services.UsersService.ResolveRecipientsAsync(String messageId, Int32 orgId, NotificationEventDto request) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\Services\\\\UsersService.cs:line 84\\r\\n   at OQSHA.Notification.Orchestrator.Services.UsersService.GetRecipientsWithDetailsAsync(String messageId, Int32 orgId, NotificationEventDto request, NotificationTemplatesDbo notificationTemplate) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\Services\\\\UsersService.cs:line 134\\r\\n   at OQSHA.Notification.Orchestrator.NotificationHandlers.WorkPermitV2NotificationHandler.HandleAsync(String messageId, NotificationEventDto request) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\NotificationHandlers\\\\WorkPermitV2NotificationHandler.cs:line 62\\r\\n   at OQSHA.Notification.Orchestrator.NotificationHandlers.WorkPermitV2NotificationHandler.ProcessEventAsync(String messageId, NotificationEventDto request) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\NotificationHandlers\\\\WorkPermitV2NotificationHandler.cs:line 46\\r\\n   at OQSHA.Notification.Orchestrator.Routing.EventRouter.ExecuteAsync(String messageId, NotificationEventDto request) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\Routing\\\\EventRouter.cs:line 38\\r\\n   at OQSHA.Notification.Orchestrator.Worker.OrchestratorMessageHandler.HandleMessage(IMessage message) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\Worker\\\\OrchestratorMessageHandler.cs:line 44\",\"OriginalBody\":\"{\\\"TemplateId\\\":17,\\\"EntityType\\\":\\\"work_permit_v2\\\",\\\"EventType\\\":null,\\\"NotifyRoleId\\\":null,\\\"NotifyUserId\\\":null,\\\"NotifyDynamicActor\\\":\\\"AreaOwnerGeneral\\\",\\\"EntityContext\\\":{\\\"Parameters\\\":{\\\"workPermitId\\\":\\\"430\\\",\\\"workPermitV2Id\\\":\\\"430\\\",\\\"orgId\\\":\\\"259\\\",\\\"viewLink\\\":\\\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/259/430?dlType=viewWorkPermitV2\\\",\\\"workPermitLink\\\":\\\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/259/430?dlType=viewWorkPermitV2\\\",\\\"emailFooter\\\":\\\"OQSHA Team\\\"}},\\\"ActorContext\\\":null,\\\"Metadata\\\":null}\"}"}

{"Timestamp":"2026-07-15T10:39:18.8880384+00:00","Level":"Information","Data":{"EventId":2278461903},"Message":"Sent message ID 18049e3d5eec3000 to DLQ"}

{"Timestamp":"2026-07-15T10:39:18.8886286+00:00","Level":"Information","Data":{"EventId":2260747777},"Message":"Notification event with message ID 18049e3d5f2c3000 received: {\"TemplateId\":17,\"EntityType\":\"work_permit_v2\",\"EventType\":null,\"NotifyRoleId\":null,\"NotifyUserId\":null,\"NotifyDynamicActor\":\"PermitAcceptanceGeneral\",\"EntityContext\":{\"Parameters\":{\"workPermitId\":\"430\",\"workPermitV2Id\":\"430\",\"orgId\":\"259\",\"viewLink\":\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/259/430?dlType=viewWorkPermitV2\",\"workPermitLink\":\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/259/430?dlType=viewWorkPermitV2\",\"emailFooter\":\"OQSHA Team\"}},\"ActorContext\":null,\"Metadata\":null}"}

{"Timestamp":"2026-07-15T10:39:18.8954176+00:00","Level":"Information","Data":{"EventId":2453164076},"Message":"Started processing notification for message ID 18049e3d5f2c3000"}

{"Timestamp":"2026-07-15T10:39:18.8955305+00:00","Level":"Information","Data":{"EventId":923070538},"Message":"Looking up the notification handler for message ID 18049e3d5f2c3000"}

{"Timestamp":"2026-07-15T10:39:18.8957298+00:00","Level":"Information","Data":{"EventId":432101443},"Message":"Event handling in process for message ID 18049e3d5f2c3000"}

{"Timestamp":"2026-07-15T10:39:18.9138648+00:00","Level":"Information","Data":{"EventId":612242941},"Message":"Sending message ID 18049e3d5f2c3000 to DLQ"}

{"Timestamp":"2026-07-15T10:39:18.9141940+00:00","Level":"Information","Data":{"EventId":2507980446},"Message":"Dead letter envelope for DLQ message: {\"SourceTopic\":\"notification.orchestrator\",\"SourceChannel\":\"notification-orchestrator\",\"FailedAtUtc\":\"2026-07-15T10:39:18.9139392Z\",\"Attempts\":1,\"ErrorType\":\"OQSHA.Notification.Orchestrator.Exceptions.PermanentOrchestratorException\",\"ErrorMessage\":\"No recipients received for message ID 18049e3d5f2c3000\",\"StackTrace\":\"   at OQSHA.Notification.Orchestrator.Services.UsersService.ResolveRecipientsAsync(String messageId, Int32 orgId, NotificationEventDto request) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\Services\\\\UsersService.cs:line 84\\r\\n   at OQSHA.Notification.Orchestrator.Services.UsersService.GetRecipientsWithDetailsAsync(String messageId, Int32 orgId, NotificationEventDto request, NotificationTemplatesDbo notificationTemplate) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\Services\\\\UsersService.cs:line 134\\r\\n   at OQSHA.Notification.Orchestrator.NotificationHandlers.WorkPermitV2NotificationHandler.HandleAsync(String messageId, NotificationEventDto request) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\NotificationHandlers\\\\WorkPermitV2NotificationHandler.cs:line 62\\r\\n   at OQSHA.Notification.Orchestrator.NotificationHandlers.WorkPermitV2NotificationHandler.ProcessEventAsync(String messageId, NotificationEventDto request) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\NotificationHandlers\\\\WorkPermitV2NotificationHandler.cs:line 46\\r\\n   at OQSHA.Notification.Orchestrator.Routing.EventRouter.ExecuteAsync(String messageId, NotificationEventDto request) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\Routing\\\\EventRouter.cs:line 38\\r\\n   at OQSHA.Notification.Orchestrator.Worker.OrchestratorMessageHandler.HandleMessage(IMessage message) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\Worker\\\\OrchestratorMessageHandler.cs:line 44\",\"OriginalBody\":\"{\\\"TemplateId\\\":17,\\\"EntityType\\\":\\\"work_permit_v2\\\",\\\"EventType\\\":null,\\\"NotifyRoleId\\\":null,\\\"NotifyUserId\\\":null,\\\"NotifyDynamicActor\\\":\\\"PermitAcceptanceGeneral\\\",\\\"EntityContext\\\":{\\\"Parameters\\\":{\\\"workPermitId\\\":\\\"430\\\",\\\"workPermitV2Id\\\":\\\"430\\\",\\\"orgId\\\":\\\"259\\\",\\\"viewLink\\\":\\\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/259/430?dlType=viewWorkPermitV2\\\",\\\"workPermitLink\\\":\\\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/259/430?dlType=viewWorkPermitV2\\\",\\\"emailFooter\\\":\\\"OQSHA Team\\\"}},\\\"ActorContext\\\":null,\\\"Metadata\\\":null}\"}"}

{"Timestamp":"2026-07-15T10:39:18.9147248+00:00","Level":"Information","Data":{"EventId":2477011379},"Message":"Sent message ID 18049e3d5f2c3000 to DLQ"}

{"Timestamp":"2026-07-15T10:39:18.9149683+00:00","Level":"Information","Data":{"EventId":439922247},"Message":"Notification event with message ID 18049e3d5f2c3001 received: {\"TemplateId\":17,\"EntityType\":\"work_permit_v2\",\"EventType\":null,\"NotifyRoleId\":null,\"NotifyUserId\":null,\"NotifyDynamicActor\":\"PermitAuthorizerGeneral\",\"EntityContext\":{\"Parameters\":{\"workPermitId\":\"430\",\"workPermitV2Id\":\"430\",\"orgId\":\"259\",\"viewLink\":\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/259/430?dlType=viewWorkPermitV2\",\"workPermitLink\":\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/259/430?dlType=viewWorkPermitV2\",\"emailFooter\":\"OQSHA Team\"}},\"ActorContext\":null,\"Metadata\":null}"}

{"Timestamp":"2026-07-15T10:39:18.9294778+00:00","Level":"Information","Data":{"EventId":322753075},"Message":"Started processing notification for message ID 18049e3d5f2c3001"}

{"Timestamp":"2026-07-15T10:39:18.9295857+00:00","Level":"Information","Data":{"EventId":767221174},"Message":"Looking up the notification handler for message ID 18049e3d5f2c3001"}

{"Timestamp":"2026-07-15T10:39:18.9296155+00:00","Level":"Information","Data":{"EventId":3830738282},"Message":"Event handling in process for message ID 18049e3d5f2c3001"}

{"Timestamp":"2026-07-15T10:39:18.9688445+00:00","Level":"Information","Data":{"EventId":3055498846},"Message":"Sending message ID 18049e3d5f2c3001 to DLQ"}

{"Timestamp":"2026-07-15T10:39:18.9692328+00:00","Level":"Information","Data":{"EventId":602039336},"Message":"Dead letter envelope for DLQ message: {\"SourceTopic\":\"notification.orchestrator\",\"SourceChannel\":\"notification-orchestrator\",\"FailedAtUtc\":\"2026-07-15T10:39:18.9689249Z\",\"Attempts\":1,\"ErrorType\":\"OQSHA.Notification.Orchestrator.Exceptions.PermanentOrchestratorException\",\"ErrorMessage\":\"No recipients received for message ID 18049e3d5f2c3001\",\"StackTrace\":\"   at OQSHA.Notification.Orchestrator.Services.UsersService.ResolveRecipientsAsync(String messageId, Int32 orgId, NotificationEventDto request) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\Services\\\\UsersService.cs:line 84\\r\\n   at OQSHA.Notification.Orchestrator.Services.UsersService.GetRecipientsWithDetailsAsync(String messageId, Int32 orgId, NotificationEventDto request, NotificationTemplatesDbo notificationTemplate) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\Services\\\\UsersService.cs:line 134\\r\\n   at OQSHA.Notification.Orchestrator.NotificationHandlers.WorkPermitV2NotificationHandler.HandleAsync(String messageId, NotificationEventDto request) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\NotificationHandlers\\\\WorkPermitV2NotificationHandler.cs:line 62\\r\\n   at OQSHA.Notification.Orchestrator.NotificationHandlers.WorkPermitV2NotificationHandler.ProcessEventAsync(String messageId, NotificationEventDto request) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\NotificationHandlers\\\\WorkPermitV2NotificationHandler.cs:line 46\\r\\n   at OQSHA.Notification.Orchestrator.Routing.EventRouter.ExecuteAsync(String messageId, NotificationEventDto request) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\Routing\\\\EventRouter.cs:line 38\\r\\n   at OQSHA.Notification.Orchestrator.Worker.OrchestratorMessageHandler.HandleMessage(IMessage message) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\Worker\\\\OrchestratorMessageHandler.cs:line 44\",\"OriginalBody\":\"{\\\"TemplateId\\\":17,\\\"EntityType\\\":\\\"work_permit_v2\\\",\\\"EventType\\\":null,\\\"NotifyRoleId\\\":null,\\\"NotifyUserId\\\":null,\\\"NotifyDynamicActor\\\":\\\"PermitAuthorizerGeneral\\\",\\\"EntityContext\\\":{\\\"Parameters\\\":{\\\"workPermitId\\\":\\\"430\\\",\\\"workPermitV2Id\\\":\\\"430\\\",\\\"orgId\\\":\\\"259\\\",\\\"viewLink\\\":\\\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/259/430?dlType=viewWorkPermitV2\\\",\\\"workPermitLink\\\":\\\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/259/430?dlType=viewWorkPermitV2\\\",\\\"emailFooter\\\":\\\"OQSHA Team\\\"}},\\\"ActorContext\\\":null,\\\"Metadata\\\":null}\"}"}

{"Timestamp":"2026-07-15T10:39:18.9697747+00:00","Level":"Information","Data":{"EventId":2122369758},"Message":"Sent message ID 18049e3d5f2c3001 to DLQ"}

{"Timestamp":"2026-07-15T10:39:30.5850429+00:00","Level":"Information","Data":{"EventId":1491302430},"Message":"Notification event with message ID 18049e4944ec3000 received: {\"TemplateId\":19,\"EntityType\":\"work_permit_v2\",\"EventType\":null,\"NotifyRoleId\":null,\"NotifyUserId\":null,\"NotifyDynamicActor\":\"PermitAcceptanceGeneral\",\"EntityContext\":{\"Parameters\":{\"workPermitId\":\"431\",\"workPermitV2Id\":\"431\",\"orgId\":\"259\",\"viewLink\":\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/259/431?dlType=viewWorkPermitV2\",\"workPermitLink\":\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/259/431?dlType=viewWorkPermitV2\",\"emailFooter\":\"OQSHA Team\"}},\"ActorContext\":{\"Requestor\":[678],\"AreaOwnerGeneral\":[678],\"PermitAcceptanceGeneral\":[678],\"PermitAuthorizerGeneral\":[678]},\"Metadata\":null}"}

{"Timestamp":"2026-07-15T10:39:30.5910898+00:00","Level":"Information","Data":{"EventId":3724564472},"Message":"Started processing notification for message ID 18049e4944ec3000"}

{"Timestamp":"2026-07-15T10:39:30.5911897+00:00","Level":"Information","Data":{"EventId":3626135573},"Message":"Looking up the notification handler for message ID 18049e4944ec3000"}

{"Timestamp":"2026-07-15T10:39:30.5912202+00:00","Level":"Information","Data":{"EventId":3193870453},"Message":"Event handling in process for message ID 18049e4944ec3000"}

{"Timestamp":"2026-07-15T10:39:30.6228835+00:00","Level":"Information","Data":{"EventId":2746347200},"Message":"Dispatching the notifications for message ID 18049e4944ec3000"}

{"Timestamp":"2026-07-15T10:39:30.6314261+00:00","Level":"Information","Data":{"EventId":4252724564},"Message":"Successfully processed notification for message ID 18049e4944ec3000"}

{"Timestamp":"2026-07-15T10:39:37.6075465+00:00","Level":"Information","Data":{"EventId":3053143291},"Message":"Notification event with message ID 18049e4fceec3000 received: {\"TemplateId\":19,\"EntityType\":\"work_permit_v2\",\"EventType\":null,\"NotifyRoleId\":null,\"NotifyUserId\":null,\"NotifyDynamicActor\":\"PermitAuthorizerGeneral\",\"EntityContext\":{\"Parameters\":{\"workPermitId\":\"431\",\"workPermitV2Id\":\"431\",\"orgId\":\"259\",\"viewLink\":\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/259/431?dlType=viewWorkPermitV2\",\"workPermitLink\":\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/259/431?dlType=viewWorkPermitV2\",\"emailFooter\":\"OQSHA Team\"}},\"ActorContext\":{\"Requestor\":[678],\"AreaOwnerGeneral\":[678],\"PermitAcceptanceGeneral\":[678],\"PermitAuthorizerGeneral\":[678]},\"Metadata\":null}"}

{"Timestamp":"2026-07-15T10:39:37.6104588+00:00","Level":"Information","Data":{"EventId":1803215157},"Message":"Started processing notification for message ID 18049e4fceec3000"}

{"Timestamp":"2026-07-15T10:39:37.6105973+00:00","Level":"Information","Data":{"EventId":2000658679},"Message":"Looking up the notification handler for message ID 18049e4fceec3000"}

{"Timestamp":"2026-07-15T10:39:37.6106787+00:00","Level":"Information","Data":{"EventId":627190052},"Message":"Event handling in process for message ID 18049e4fceec3000"}

{"Timestamp":"2026-07-15T10:39:37.6232575+00:00","Level":"Information","Data":{"EventId":2329633590},"Message":"Dispatching the notifications for message ID 18049e4fceec3000"}

{"Timestamp":"2026-07-15T10:39:37.6243750+00:00","Level":"Information","Data":{"EventId":3010952291},"Message":"Successfully processed notification for message ID 18049e4fceec3000"}

{"Timestamp":"2026-07-15T10:39:46.4190651+00:00","Level":"Information","Data":{"EventId":4259029905},"Message":"Notification event with message ID 18049e5803ec3000 received: {\"TemplateId\":23,\"EntityType\":\"work_permit_v2\",\"EventType\":null,\"NotifyRoleId\":null,\"NotifyUserId\":null,\"NotifyDynamicActor\":\"Requestor\",\"EntityContext\":{\"Parameters\":{\"workPermitId\":\"431\",\"workPermitV2Id\":\"431\",\"orgId\":\"259\",\"viewLink\":\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/259/431?dlType=viewWorkPermitV2\",\"workPermitLink\":\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/259/431?dlType=viewWorkPermitV2\",\"emailFooter\":\"OQSHA Team\"}},\"ActorContext\":{\"Requestor\":[678],\"AreaOwnerGeneral\":[678],\"PermitAcceptanceGeneral\":[678],\"PermitAuthorizerGeneral\":[678]},\"Metadata\":null}"}

{"Timestamp":"2026-07-15T10:39:46.4216962+00:00","Level":"Information","Data":{"EventId":300392163},"Message":"Started processing notification for message ID 18049e5803ec3000"}

{"Timestamp":"2026-07-15T10:39:46.4217369+00:00","Level":"Information","Data":{"EventId":14249738},"Message":"Looking up the notification handler for message ID 18049e5803ec3000"}

{"Timestamp":"2026-07-15T10:39:46.4217612+00:00","Level":"Information","Data":{"EventId":2283374267},"Message":"Event handling in process for message ID 18049e5803ec3000"}

{"Timestamp":"2026-07-15T10:39:46.4279144+00:00","Level":"Information","Data":{"EventId":2213748428},"Message":"Dispatching the notifications for message ID 18049e5803ec3000"}

{"Timestamp":"2026-07-15T10:39:46.4285886+00:00","Level":"Information","Data":{"EventId":4113554898},"Message":"Successfully processed notification for message ID 18049e5803ec3000"}

{"Timestamp":"2026-07-15T10:40:59.4612619+00:00","Level":"Information","Data":{"EventId":3435236575},"Message":"Notification event with message ID 18049e9c0aac3000 received: {\"TemplateId\":18,\"EntityType\":\"work_permit_v2\",\"EventType\":null,\"NotifyRoleId\":null,\"NotifyUserId\":null,\"NotifyDynamicActor\":\"Work_Permit_Authorization_Department_Head\",\"EntityContext\":{\"Parameters\":{\"workPermitId\":\"432\",\"workPermitV2Id\":\"432\",\"orgId\":\"264\",\"viewLink\":\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/264/432?dlType=viewWorkPermitV2\",\"workPermitLink\":\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/264/432?dlType=viewWorkPermitV2\",\"emailFooter\":\"OQSHA Team\"}},\"ActorContext\":null,\"Metadata\":null}"}

{"Timestamp":"2026-07-15T10:40:59.4637306+00:00","Level":"Information","Data":{"EventId":3862044150},"Message":"Started processing notification for message ID 18049e9c0aac3000"}

{"Timestamp":"2026-07-15T10:40:59.4637945+00:00","Level":"Information","Data":{"EventId":3132963776},"Message":"Looking up the notification handler for message ID 18049e9c0aac3000"}

{"Timestamp":"2026-07-15T10:40:59.4638191+00:00","Level":"Information","Data":{"EventId":2218599536},"Message":"Event handling in process for message ID 18049e9c0aac3000"}

{"Timestamp":"2026-07-15T10:40:59.4723378+00:00","Level":"Information","Data":{"EventId":1826722154},"Message":"Sending message ID 18049e9c0aac3000 to DLQ"}

{"Timestamp":"2026-07-15T10:40:59.4727717+00:00","Level":"Information","Data":{"EventId":1965217687},"Message":"Dead letter envelope for DLQ message: {\"SourceTopic\":\"notification.orchestrator\",\"SourceChannel\":\"notification-orchestrator\",\"FailedAtUtc\":\"2026-07-15T10:40:59.4724104Z\",\"Attempts\":1,\"ErrorType\":\"OQSHA.Notification.Orchestrator.Exceptions.PermanentOrchestratorException\",\"ErrorMessage\":\"No recipients received for message ID 18049e9c0aac3000\",\"StackTrace\":\"   at OQSHA.Notification.Orchestrator.Services.UsersService.ResolveRecipientsAsync(String messageId, Int32 orgId, NotificationEventDto request) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\Services\\\\UsersService.cs:line 84\\r\\n   at OQSHA.Notification.Orchestrator.Services.UsersService.GetRecipientsWithDetailsAsync(String messageId, Int32 orgId, NotificationEventDto request, NotificationTemplatesDbo notificationTemplate) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\Services\\\\UsersService.cs:line 134\\r\\n   at OQSHA.Notification.Orchestrator.NotificationHandlers.WorkPermitV2NotificationHandler.HandleAsync(String messageId, NotificationEventDto request) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\NotificationHandlers\\\\WorkPermitV2NotificationHandler.cs:line 62\\r\\n   at OQSHA.Notification.Orchestrator.NotificationHandlers.WorkPermitV2NotificationHandler.ProcessEventAsync(String messageId, NotificationEventDto request) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\NotificationHandlers\\\\WorkPermitV2NotificationHandler.cs:line 46\\r\\n   at OQSHA.Notification.Orchestrator.Routing.EventRouter.ExecuteAsync(String messageId, NotificationEventDto request) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\Routing\\\\EventRouter.cs:line 38\\r\\n   at OQSHA.Notification.Orchestrator.Worker.OrchestratorMessageHandler.HandleMessage(IMessage message) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\Worker\\\\OrchestratorMessageHandler.cs:line 44\",\"OriginalBody\":\"{\\\"TemplateId\\\":18,\\\"EntityType\\\":\\\"work_permit_v2\\\",\\\"EventType\\\":null,\\\"NotifyRoleId\\\":null,\\\"NotifyUserId\\\":null,\\\"NotifyDynamicActor\\\":\\\"Work_Permit_Authorization_Department_Head\\\",\\\"EntityContext\\\":{\\\"Parameters\\\":{\\\"workPermitId\\\":\\\"432\\\",\\\"workPermitV2Id\\\":\\\"432\\\",\\\"orgId\\\":\\\"264\\\",\\\"viewLink\\\":\\\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/264/432?dlType=viewWorkPermitV2\\\",\\\"workPermitLink\\\":\\\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/264/432?dlType=viewWorkPermitV2\\\",\\\"emailFooter\\\":\\\"OQSHA Team\\\"}},\\\"ActorContext\\\":null,\\\"Metadata\\\":null}\"}"}

{"Timestamp":"2026-07-15T10:40:59.4731617+00:00","Level":"Information","Data":{"EventId":2574197908},"Message":"Sent message ID 18049e9c0aac3000 to DLQ"}

{"Timestamp":"2026-07-15T10:40:59.5571528+00:00","Level":"Information","Data":{"EventId":2531970384},"Message":"Notification event with message ID 18049e9c0aac3001 received: {\"TemplateId\":19,\"EntityType\":\"work_permit_v2\",\"EventType\":null,\"NotifyRoleId\":null,\"NotifyUserId\":null,\"NotifyDynamicActor\":\"Work_Permit_Authorization_Department_Head\",\"EntityContext\":{\"Parameters\":{\"workPermitId\":\"432\",\"workPermitV2Id\":\"432\",\"orgId\":\"264\",\"viewLink\":\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/264/432?dlType=viewWorkPermitV2\",\"workPermitLink\":\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/264/432?dlType=viewWorkPermitV2\",\"emailFooter\":\"OQSHA Team\"}},\"ActorContext\":null,\"Metadata\":null}"}

{"Timestamp":"2026-07-15T10:40:59.5595722+00:00","Level":"Information","Data":{"EventId":3552475411},"Message":"Started processing notification for message ID 18049e9c0aac3001"}

{"Timestamp":"2026-07-15T10:40:59.5596154+00:00","Level":"Information","Data":{"EventId":218030146},"Message":"Looking up the notification handler for message ID 18049e9c0aac3001"}

{"Timestamp":"2026-07-15T10:40:59.5596319+00:00","Level":"Information","Data":{"EventId":1929019883},"Message":"Event handling in process for message ID 18049e9c0aac3001"}

{"Timestamp":"2026-07-15T10:40:59.5644774+00:00","Level":"Information","Data":{"EventId":1127953133},"Message":"Sending message ID 18049e9c0aac3001 to DLQ"}

{"Timestamp":"2026-07-15T10:40:59.5647591+00:00","Level":"Information","Data":{"EventId":2399400743},"Message":"Dead letter envelope for DLQ message: {\"SourceTopic\":\"notification.orchestrator\",\"SourceChannel\":\"notification-orchestrator\",\"FailedAtUtc\":\"2026-07-15T10:40:59.5645149Z\",\"Attempts\":1,\"ErrorType\":\"OQSHA.Notification.Orchestrator.Exceptions.PermanentOrchestratorException\",\"ErrorMessage\":\"No recipients received for message ID 18049e9c0aac3001\",\"StackTrace\":\"   at OQSHA.Notification.Orchestrator.Services.UsersService.ResolveRecipientsAsync(String messageId, Int32 orgId, NotificationEventDto request) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\Services\\\\UsersService.cs:line 84\\r\\n   at OQSHA.Notification.Orchestrator.Services.UsersService.GetRecipientsWithDetailsAsync(String messageId, Int32 orgId, NotificationEventDto request, NotificationTemplatesDbo notificationTemplate) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\Services\\\\UsersService.cs:line 134\\r\\n   at OQSHA.Notification.Orchestrator.NotificationHandlers.WorkPermitV2NotificationHandler.HandleAsync(String messageId, NotificationEventDto request) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\NotificationHandlers\\\\WorkPermitV2NotificationHandler.cs:line 62\\r\\n   at OQSHA.Notification.Orchestrator.NotificationHandlers.WorkPermitV2NotificationHandler.ProcessEventAsync(String messageId, NotificationEventDto request) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\NotificationHandlers\\\\WorkPermitV2NotificationHandler.cs:line 46\\r\\n   at OQSHA.Notification.Orchestrator.Routing.EventRouter.ExecuteAsync(String messageId, NotificationEventDto request) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\Routing\\\\EventRouter.cs:line 38\\r\\n   at OQSHA.Notification.Orchestrator.Worker.OrchestratorMessageHandler.HandleMessage(IMessage message) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\Worker\\\\OrchestratorMessageHandler.cs:line 44\",\"OriginalBody\":\"{\\\"TemplateId\\\":19,\\\"EntityType\\\":\\\"work_permit_v2\\\",\\\"EventType\\\":null,\\\"NotifyRoleId\\\":null,\\\"NotifyUserId\\\":null,\\\"NotifyDynamicActor\\\":\\\"Work_Permit_Authorization_Department_Head\\\",\\\"EntityContext\\\":{\\\"Parameters\\\":{\\\"workPermitId\\\":\\\"432\\\",\\\"workPermitV2Id\\\":\\\"432\\\",\\\"orgId\\\":\\\"264\\\",\\\"viewLink\\\":\\\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/264/432?dlType=viewWorkPermitV2\\\",\\\"workPermitLink\\\":\\\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/264/432?dlType=viewWorkPermitV2\\\",\\\"emailFooter\\\":\\\"OQSHA Team\\\"}},\\\"ActorContext\\\":null,\\\"Metadata\\\":null}\"}"}

{"Timestamp":"2026-07-15T10:40:59.5653128+00:00","Level":"Information","Data":{"EventId":1713568111},"Message":"Sent message ID 18049e9c0aac3001 to DLQ"}

{"Timestamp":"2026-07-15T10:42:50.7982905+00:00","Level":"Information","Data":{"EventId":2310095655},"Message":"Notification event with message ID 18049f03bb2c3000 received: {\"TemplateId\":18,\"EntityType\":\"work_permit_v2\",\"EventType\":null,\"NotifyRoleId\":null,\"NotifyUserId\":null,\"NotifyDynamicActor\":\"Work_Permit_Authorization_Department_Head\",\"EntityContext\":{\"Parameters\":{\"workPermitId\":\"433\",\"workPermitV2Id\":\"433\",\"orgId\":\"264\",\"viewLink\":\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/264/433?dlType=viewWorkPermitV2\",\"workPermitLink\":\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/264/433?dlType=viewWorkPermitV2\",\"emailFooter\":\"OQSHA Team\"}},\"ActorContext\":null,\"Metadata\":null}"}

{"Timestamp":"2026-07-15T10:42:50.8009404+00:00","Level":"Information","Data":{"EventId":97208547},"Message":"Started processing notification for message ID 18049f03bb2c3000"}

{"Timestamp":"2026-07-15T10:42:50.8009950+00:00","Level":"Information","Data":{"EventId":3667933307},"Message":"Looking up the notification handler for message ID 18049f03bb2c3000"}

{"Timestamp":"2026-07-15T10:42:50.8010098+00:00","Level":"Information","Data":{"EventId":1471764521},"Message":"Event handling in process for message ID 18049f03bb2c3000"}

{"Timestamp":"2026-07-15T10:42:50.8067747+00:00","Level":"Information","Data":{"EventId":616833993},"Message":"Sending message ID 18049f03bb2c3000 to DLQ"}

{"Timestamp":"2026-07-15T10:42:50.8071089+00:00","Level":"Information","Data":{"EventId":3051734526},"Message":"Dead letter envelope for DLQ message: {\"SourceTopic\":\"notification.orchestrator\",\"SourceChannel\":\"notification-orchestrator\",\"FailedAtUtc\":\"2026-07-15T10:42:50.8068317Z\",\"Attempts\":1,\"ErrorType\":\"OQSHA.Notification.Orchestrator.Exceptions.PermanentOrchestratorException\",\"ErrorMessage\":\"No recipients received for message ID 18049f03bb2c3000\",\"StackTrace\":\"   at OQSHA.Notification.Orchestrator.Services.UsersService.ResolveRecipientsAsync(String messageId, Int32 orgId, NotificationEventDto request) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\Services\\\\UsersService.cs:line 84\\r\\n   at OQSHA.Notification.Orchestrator.Services.UsersService.GetRecipientsWithDetailsAsync(String messageId, Int32 orgId, NotificationEventDto request, NotificationTemplatesDbo notificationTemplate) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\Services\\\\UsersService.cs:line 134\\r\\n   at OQSHA.Notification.Orchestrator.NotificationHandlers.WorkPermitV2NotificationHandler.HandleAsync(String messageId, NotificationEventDto request) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\NotificationHandlers\\\\WorkPermitV2NotificationHandler.cs:line 62\\r\\n   at OQSHA.Notification.Orchestrator.NotificationHandlers.WorkPermitV2NotificationHandler.ProcessEventAsync(String messageId, NotificationEventDto request) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\NotificationHandlers\\\\WorkPermitV2NotificationHandler.cs:line 46\\r\\n   at OQSHA.Notification.Orchestrator.Routing.EventRouter.ExecuteAsync(String messageId, NotificationEventDto request) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\Routing\\\\EventRouter.cs:line 38\\r\\n   at OQSHA.Notification.Orchestrator.Worker.OrchestratorMessageHandler.HandleMessage(IMessage message) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\Worker\\\\OrchestratorMessageHandler.cs:line 44\",\"OriginalBody\":\"{\\\"TemplateId\\\":18,\\\"EntityType\\\":\\\"work_permit_v2\\\",\\\"EventType\\\":null,\\\"NotifyRoleId\\\":null,\\\"NotifyUserId\\\":null,\\\"NotifyDynamicActor\\\":\\\"Work_Permit_Authorization_Department_Head\\\",\\\"EntityContext\\\":{\\\"Parameters\\\":{\\\"workPermitId\\\":\\\"433\\\",\\\"workPermitV2Id\\\":\\\"433\\\",\\\"orgId\\\":\\\"264\\\",\\\"viewLink\\\":\\\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/264/433?dlType=viewWorkPermitV2\\\",\\\"workPermitLink\\\":\\\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/264/433?dlType=viewWorkPermitV2\\\",\\\"emailFooter\\\":\\\"OQSHA Team\\\"}},\\\"ActorContext\\\":null,\\\"Metadata\\\":null}\"}"}

{"Timestamp":"2026-07-15T10:42:50.8078788+00:00","Level":"Information","Data":{"EventId":1345803284},"Message":"Sent message ID 18049f03bb2c3000 to DLQ"}

{"Timestamp":"2026-07-15T10:42:50.8081363+00:00","Level":"Information","Data":{"EventId":2437498765},"Message":"Notification event with message ID 18049f03bb2c3001 received: {\"TemplateId\":19,\"EntityType\":\"work_permit_v2\",\"EventType\":null,\"NotifyRoleId\":null,\"NotifyUserId\":null,\"NotifyDynamicActor\":\"Work_Permit_Authorization_Department_Head\",\"EntityContext\":{\"Parameters\":{\"workPermitId\":\"433\",\"workPermitV2Id\":\"433\",\"orgId\":\"264\",\"viewLink\":\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/264/433?dlType=viewWorkPermitV2\",\"workPermitLink\":\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/264/433?dlType=viewWorkPermitV2\",\"emailFooter\":\"OQSHA Team\"}},\"ActorContext\":null,\"Metadata\":null}"}

{"Timestamp":"2026-07-15T10:42:50.8103658+00:00","Level":"Information","Data":{"EventId":929901606},"Message":"Started processing notification for message ID 18049f03bb2c3001"}

{"Timestamp":"2026-07-15T10:42:50.8104072+00:00","Level":"Information","Data":{"EventId":1341793073},"Message":"Looking up the notification handler for message ID 18049f03bb2c3001"}

{"Timestamp":"2026-07-15T10:42:50.8104476+00:00","Level":"Information","Data":{"EventId":1799487286},"Message":"Event handling in process for message ID 18049f03bb2c3001"}

{"Timestamp":"2026-07-15T10:42:50.8149706+00:00","Level":"Information","Data":{"EventId":2760025556},"Message":"Sending message ID 18049f03bb2c3001 to DLQ"}

{"Timestamp":"2026-07-15T10:42:50.8152097+00:00","Level":"Information","Data":{"EventId":2899556423},"Message":"Dead letter envelope for DLQ message: {\"SourceTopic\":\"notification.orchestrator\",\"SourceChannel\":\"notification-orchestrator\",\"FailedAtUtc\":\"2026-07-15T10:42:50.8150161Z\",\"Attempts\":1,\"ErrorType\":\"OQSHA.Notification.Orchestrator.Exceptions.PermanentOrchestratorException\",\"ErrorMessage\":\"No recipients received for message ID 18049f03bb2c3001\",\"StackTrace\":\"   at OQSHA.Notification.Orchestrator.Services.UsersService.ResolveRecipientsAsync(String messageId, Int32 orgId, NotificationEventDto request) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\Services\\\\UsersService.cs:line 84\\r\\n   at OQSHA.Notification.Orchestrator.Services.UsersService.GetRecipientsWithDetailsAsync(String messageId, Int32 orgId, NotificationEventDto request, NotificationTemplatesDbo notificationTemplate) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\Services\\\\UsersService.cs:line 134\\r\\n   at OQSHA.Notification.Orchestrator.NotificationHandlers.WorkPermitV2NotificationHandler.HandleAsync(String messageId, NotificationEventDto request) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\NotificationHandlers\\\\WorkPermitV2NotificationHandler.cs:line 62\\r\\n   at OQSHA.Notification.Orchestrator.NotificationHandlers.WorkPermitV2NotificationHandler.ProcessEventAsync(String messageId, NotificationEventDto request) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\NotificationHandlers\\\\WorkPermitV2NotificationHandler.cs:line 46\\r\\n   at OQSHA.Notification.Orchestrator.Routing.EventRouter.ExecuteAsync(String messageId, NotificationEventDto request) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\Routing\\\\EventRouter.cs:line 38\\r\\n   at OQSHA.Notification.Orchestrator.Worker.OrchestratorMessageHandler.HandleMessage(IMessage message) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\Worker\\\\OrchestratorMessageHandler.cs:line 44\",\"OriginalBody\":\"{\\\"TemplateId\\\":19,\\\"EntityType\\\":\\\"work_permit_v2\\\",\\\"EventType\\\":null,\\\"NotifyRoleId\\\":null,\\\"NotifyUserId\\\":null,\\\"NotifyDynamicActor\\\":\\\"Work_Permit_Authorization_Department_Head\\\",\\\"EntityContext\\\":{\\\"Parameters\\\":{\\\"workPermitId\\\":\\\"433\\\",\\\"workPermitV2Id\\\":\\\"433\\\",\\\"orgId\\\":\\\"264\\\",\\\"viewLink\\\":\\\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/264/433?dlType=viewWorkPermitV2\\\",\\\"workPermitLink\\\":\\\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/264/433?dlType=viewWorkPermitV2\\\",\\\"emailFooter\\\":\\\"OQSHA Team\\\"}},\\\"ActorContext\\\":null,\\\"Metadata\\\":null}\"}"}

{"Timestamp":"2026-07-15T10:42:50.8156512+00:00","Level":"Information","Data":{"EventId":3087006988},"Message":"Sent message ID 18049f03bb2c3001 to DLQ"}

{"Timestamp":"2026-07-15T10:45:43.7268465+00:00","Level":"Information","Data":{"EventId":863968187},"Message":"Notification event with message ID 18049fa4c8ec3000 received: {\"TemplateId\":17,\"EntityType\":\"work_permit_v2\",\"EventType\":null,\"NotifyRoleId\":null,\"NotifyUserId\":null,\"NotifyDynamicActor\":\"AreaOwnerHeight\",\"EntityContext\":{\"Parameters\":{\"workPermitId\":\"434\",\"workPermitV2Id\":\"434\",\"orgId\":\"259\",\"viewLink\":\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/259/434?dlType=viewWorkPermitV2\",\"workPermitLink\":\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/259/434?dlType=viewWorkPermitV2\",\"emailFooter\":\"OQSHA Team\"}},\"ActorContext\":{\"Requestor\":[678],\"AreaOwnerHeight\":[678],\"PermitAcceptanceHeight\":[678],\"PermitAuthorizerHeight\":[678],\"ExtAreaOwnerHeight\":[678]},\"Metadata\":null}"}

{"Timestamp":"2026-07-15T10:45:43.7297951+00:00","Level":"Information","Data":{"EventId":1064078730},"Message":"Started processing notification for message ID 18049fa4c8ec3000"}

{"Timestamp":"2026-07-15T10:45:43.7298576+00:00","Level":"Information","Data":{"EventId":2067517440},"Message":"Looking up the notification handler for message ID 18049fa4c8ec3000"}

{"Timestamp":"2026-07-15T10:45:43.7298932+00:00","Level":"Information","Data":{"EventId":3940197281},"Message":"Event handling in process for message ID 18049fa4c8ec3000"}

{"Timestamp":"2026-07-15T10:45:43.7367330+00:00","Level":"Information","Data":{"EventId":3037091388},"Message":"Dispatching the notifications for message ID 18049fa4c8ec3000"}

{"Timestamp":"2026-07-15T10:45:43.7371768+00:00","Level":"Information","Data":{"EventId":3087654019},"Message":"Successfully processed notification for message ID 18049fa4c8ec3000"}

{"Timestamp":"2026-07-15T10:45:43.7998317+00:00","Level":"Information","Data":{"EventId":3414185184},"Message":"Notification event with message ID 18049fa4c8ec3001 received: {\"TemplateId\":17,\"EntityType\":\"work_permit_v2\",\"EventType\":null,\"NotifyRoleId\":null,\"NotifyUserId\":null,\"NotifyDynamicActor\":\"PermitAcceptanceHeight\",\"EntityContext\":{\"Parameters\":{\"workPermitId\":\"434\",\"workPermitV2Id\":\"434\",\"orgId\":\"259\",\"viewLink\":\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/259/434?dlType=viewWorkPermitV2\",\"workPermitLink\":\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/259/434?dlType=viewWorkPermitV2\",\"emailFooter\":\"OQSHA Team\"}},\"ActorContext\":{\"Requestor\":[678],\"AreaOwnerHeight\":[678],\"PermitAcceptanceHeight\":[678],\"PermitAuthorizerHeight\":[678],\"ExtAreaOwnerHeight\":[678]},\"Metadata\":null}"}

{"Timestamp":"2026-07-15T10:45:43.8022276+00:00","Level":"Information","Data":{"EventId":1295526177},"Message":"Started processing notification for message ID 18049fa4c8ec3001"}

{"Timestamp":"2026-07-15T10:45:43.8022663+00:00","Level":"Information","Data":{"EventId":2374202511},"Message":"Looking up the notification handler for message ID 18049fa4c8ec3001"}

{"Timestamp":"2026-07-15T10:45:43.8022856+00:00","Level":"Information","Data":{"EventId":3698919134},"Message":"Event handling in process for message ID 18049fa4c8ec3001"}

{"Timestamp":"2026-07-15T10:45:43.8084037+00:00","Level":"Information","Data":{"EventId":3812438697},"Message":"Dispatching the notifications for message ID 18049fa4c8ec3001"}

{"Timestamp":"2026-07-15T10:45:43.8089283+00:00","Level":"Information","Data":{"EventId":3801952681},"Message":"Successfully processed notification for message ID 18049fa4c8ec3001"}

{"Timestamp":"2026-07-15T10:45:43.8092727+00:00","Level":"Information","Data":{"EventId":1958071662},"Message":"Notification event with message ID 18049fa4c8ec3002 received: {\"TemplateId\":17,\"EntityType\":\"work_permit_v2\",\"EventType\":null,\"NotifyRoleId\":null,\"NotifyUserId\":null,\"NotifyDynamicActor\":\"PermitAuthorizerHeight\",\"EntityContext\":{\"Parameters\":{\"workPermitId\":\"434\",\"workPermitV2Id\":\"434\",\"orgId\":\"259\",\"viewLink\":\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/259/434?dlType=viewWorkPermitV2\",\"workPermitLink\":\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/259/434?dlType=viewWorkPermitV2\",\"emailFooter\":\"OQSHA Team\"}},\"ActorContext\":{\"Requestor\":[678],\"AreaOwnerHeight\":[678],\"PermitAcceptanceHeight\":[678],\"PermitAuthorizerHeight\":[678],\"ExtAreaOwnerHeight\":[678]},\"Metadata\":null}"}

{"Timestamp":"2026-07-15T10:45:43.8113619+00:00","Level":"Information","Data":{"EventId":3776205015},"Message":"Started processing notification for message ID 18049fa4c8ec3002"}

{"Timestamp":"2026-07-15T10:45:43.8113978+00:00","Level":"Information","Data":{"EventId":418351977},"Message":"Looking up the notification handler for message ID 18049fa4c8ec3002"}

{"Timestamp":"2026-07-15T10:45:43.8114768+00:00","Level":"Information","Data":{"EventId":238512730},"Message":"Event handling in process for message ID 18049fa4c8ec3002"}

{"Timestamp":"2026-07-15T10:45:43.8151477+00:00","Level":"Information","Data":{"EventId":2590384380},"Message":"Dispatching the notifications for message ID 18049fa4c8ec3002"}

{"Timestamp":"2026-07-15T10:45:43.8157250+00:00","Level":"Information","Data":{"EventId":3562706212},"Message":"Successfully processed notification for message ID 18049fa4c8ec3002"}

{"Timestamp":"2026-07-15T10:47:17.9652889+00:00","Level":"Information","Data":{"EventId":3820646467},"Message":"Notification event with message ID 18049ffc8cec3000 received: {\"TemplateId\":19,\"EntityType\":\"work_permit_v2\",\"EventType\":null,\"NotifyRoleId\":null,\"NotifyUserId\":null,\"NotifyDynamicActor\":\"PermitAcceptanceHeight\",\"EntityContext\":{\"Parameters\":{\"workPermitId\":\"434\",\"workPermitV2Id\":\"434\",\"orgId\":\"259\",\"viewLink\":\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/259/434?dlType=viewWorkPermitV2\",\"workPermitLink\":\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/259/434?dlType=viewWorkPermitV2\",\"emailFooter\":\"OQSHA Team\"}},\"ActorContext\":{\"Requestor\":[678],\"AreaOwnerHeight\":[678],\"PermitAcceptanceHeight\":[678],\"PermitAuthorizerHeight\":[678],\"ExtAreaOwnerHeight\":[678]},\"Metadata\":null}"}

{"Timestamp":"2026-07-15T10:47:17.9671227+00:00","Level":"Information","Data":{"EventId":3671889527},"Message":"Started processing notification for message ID 18049ffc8cec3000"}

{"Timestamp":"2026-07-15T10:47:17.9671544+00:00","Level":"Information","Data":{"EventId":1210422320},"Message":"Looking up the notification handler for message ID 18049ffc8cec3000"}

{"Timestamp":"2026-07-15T10:47:17.9671986+00:00","Level":"Information","Data":{"EventId":2560024762},"Message":"Event handling in process for message ID 18049ffc8cec3000"}

{"Timestamp":"2026-07-15T10:47:17.9709734+00:00","Level":"Information","Data":{"EventId":1761207995},"Message":"Dispatching the notifications for message ID 18049ffc8cec3000"}

{"Timestamp":"2026-07-15T10:47:17.9715242+00:00","Level":"Information","Data":{"EventId":3880436548},"Message":"Successfully processed notification for message ID 18049ffc8cec3000"}

{"Timestamp":"2026-07-15T10:48:15.1150174+00:00","Level":"Information","Data":{"EventId":568000926},"Message":"Notification event with message ID 1804a031c6ac3000 received: {\"TemplateId\":19,\"EntityType\":\"work_permit_v2\",\"EventType\":null,\"NotifyRoleId\":null,\"NotifyUserId\":null,\"NotifyDynamicActor\":\"PermitAuthorizerHeight\",\"EntityContext\":{\"Parameters\":{\"workPermitId\":\"434\",\"workPermitV2Id\":\"434\",\"orgId\":\"259\",\"viewLink\":\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/259/434?dlType=viewWorkPermitV2\",\"workPermitLink\":\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/259/434?dlType=viewWorkPermitV2\",\"emailFooter\":\"OQSHA Team\"}},\"ActorContext\":{\"Requestor\":[678],\"AreaOwnerHeight\":[678],\"PermitAcceptanceHeight\":[678],\"PermitAuthorizerHeight\":[678],\"ExtAreaOwnerHeight\":[678]},\"Metadata\":null}"}

{"Timestamp":"2026-07-15T10:48:15.1166916+00:00","Level":"Information","Data":{"EventId":3661174625},"Message":"Started processing notification for message ID 1804a031c6ac3000"}

{"Timestamp":"2026-07-15T10:48:15.1167248+00:00","Level":"Information","Data":{"EventId":3780648702},"Message":"Looking up the notification handler for message ID 1804a031c6ac3000"}

{"Timestamp":"2026-07-15T10:48:15.1167358+00:00","Level":"Information","Data":{"EventId":4184041300},"Message":"Event handling in process for message ID 1804a031c6ac3000"}

{"Timestamp":"2026-07-15T10:48:15.1206216+00:00","Level":"Information","Data":{"EventId":2943870981},"Message":"Dispatching the notifications for message ID 1804a031c6ac3000"}

{"Timestamp":"2026-07-15T10:48:15.1209645+00:00","Level":"Information","Data":{"EventId":2139696747},"Message":"Successfully processed notification for message ID 1804a031c6ac3000"}

{"Timestamp":"2026-07-15T10:48:27.8531423+00:00","Level":"Information","Data":{"EventId":2152417179},"Message":"Notification event with message ID 1804a03da32c3000 received: {\"TemplateId\":23,\"EntityType\":\"work_permit_v2\",\"EventType\":null,\"NotifyRoleId\":null,\"NotifyUserId\":null,\"NotifyDynamicActor\":\"Requestor\",\"EntityContext\":{\"Parameters\":{\"workPermitId\":\"434\",\"workPermitV2Id\":\"434\",\"orgId\":\"259\",\"viewLink\":\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/259/434?dlType=viewWorkPermitV2\",\"workPermitLink\":\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/259/434?dlType=viewWorkPermitV2\",\"emailFooter\":\"OQSHA Team\"}},\"ActorContext\":{\"Requestor\":[678],\"AreaOwnerHeight\":[678],\"PermitAcceptanceHeight\":[678],\"PermitAuthorizerHeight\":[678],\"ExtAreaOwnerHeight\":[678]},\"Metadata\":null}"}

{"Timestamp":"2026-07-15T10:48:27.8546651+00:00","Level":"Information","Data":{"EventId":2635866268},"Message":"Started processing notification for message ID 1804a03da32c3000"}

{"Timestamp":"2026-07-15T10:48:27.8547040+00:00","Level":"Information","Data":{"EventId":3707852465},"Message":"Looking up the notification handler for message ID 1804a03da32c3000"}

{"Timestamp":"2026-07-15T10:48:27.8547143+00:00","Level":"Information","Data":{"EventId":725650643},"Message":"Event handling in process for message ID 1804a03da32c3000"}

{"Timestamp":"2026-07-15T10:48:27.8702986+00:00","Level":"Information","Data":{"EventId":1328532374},"Message":"Dispatching the notifications for message ID 1804a03da32c3000"}

{"Timestamp":"2026-07-15T10:48:27.8711297+00:00","Level":"Information","Data":{"EventId":30100249},"Message":"Successfully processed notification for message ID 1804a03da32c3000"}

{"Timestamp":"2026-07-15T10:50:08.2706925+00:00","Level":"Information","Data":{"EventId":2626265452},"Message":"Notification event with message ID 1804a09b28ec3000 received: {\"TemplateId\":1,\"EntityType\":\"fir\",\"EventType\":null,\"NotifyRoleId\":null,\"NotifyUserId\":null,\"NotifyDynamicActor\":null,\"EntityContext\":{\"Parameters\":{\"firId\":\"181\",\"orgId\":\"262\",\"viewLink\":\"https://qa-staging-2.oqsha.com/#/fir-v2/view/262/181\",\"emailFooter\":\"OQSHA Team\",\"description\":\"\"}},\"ActorContext\":null,\"Metadata\":null}"}

{"Timestamp":"2026-07-15T10:50:08.2734080+00:00","Level":"Information","Data":{"EventId":335729325},"Message":"Started processing notification for message ID 1804a09b28ec3000"}

{"Timestamp":"2026-07-15T10:50:08.2734496+00:00","Level":"Information","Data":{"EventId":1466042225},"Message":"Looking up the notification handler for message ID 1804a09b28ec3000"}

{"Timestamp":"2026-07-15T10:50:08.2734622+00:00","Level":"Information","Data":{"EventId":1513496812},"Message":"Event handling in process for message ID 1804a09b28ec3000"}

{"Timestamp":"2026-07-15T10:50:08.2939236+00:00","Level":"Information","Data":{"EventId":1788984879},"Message":"Sending message ID 1804a09b28ec3000 to DLQ"}

{"Timestamp":"2026-07-15T10:50:08.2941754+00:00","Level":"Information","Data":{"EventId":1195686431},"Message":"Dead letter envelope for DLQ message: {\"SourceTopic\":\"notification.orchestrator\",\"SourceChannel\":\"notification-orchestrator\",\"FailedAtUtc\":\"2026-07-15T10:50:08.2939605Z\",\"Attempts\":1,\"ErrorType\":\"OQSHA.Notification.Orchestrator.Exceptions.PermanentOrchestratorException\",\"ErrorMessage\":\"FIR ID 181 not found for message ID 1804a09b28ec3000\",\"StackTrace\":\"   at OQSHA.Notification.Orchestrator.NotificationHandlers.FirNotificationHandler.FetchFirAsync(String messageId, Int32 orgId, Int32 firId) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\NotificationHandlers\\\\FirNotificationHandler.cs:line 225\\r\\n   at OQSHA.Notification.Orchestrator.NotificationHandlers.FirNotificationHandler.HandleAsync(String messageId, NotificationEventDto request) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\NotificationHandlers\\\\FirNotificationHandler.cs:line 48\\r\\n   at OQSHA.Notification.Orchestrator.NotificationHandlers.FirNotificationHandler.ProcessEventAsync(String messageId, NotificationEventDto request) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\NotificationHandlers\\\\FirNotificationHandler.cs:line 38\\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\\\":\\\"fir\\\",\\\"EventType\\\":null,\\\"NotifyRoleId\\\":null,\\\"NotifyUserId\\\":null,\\\"NotifyDynamicActor\\\":null,\\\"EntityContext\\\":{\\\"Parameters\\\":{\\\"firId\\\":\\\"181\\\",\\\"orgId\\\":\\\"262\\\",\\\"viewLink\\\":\\\"https://qa-staging-2.oqsha.com/#/fir-v2/view/262/181\\\",\\\"emailFooter\\\":\\\"OQSHA Team\\\",\\\"description\\\":\\\"\\\"}},\\\"ActorContext\\\":null,\\\"Metadata\\\":null}\"}"}

{"Timestamp":"2026-07-15T10:50:08.2945830+00:00","Level":"Information","Data":{"EventId":2486597611},"Message":"Sent message ID 1804a09b28ec3000 to DLQ"}

{"Timestamp":"2026-07-15T10:52:20.7289074+00:00","Level":"Information","Data":{"EventId":1384015238},"Message":"Notification event with message ID 1804a116856c3000 received: {\"TemplateId\":18,\"EntityType\":\"work_permit_v2\",\"EventType\":null,\"NotifyRoleId\":null,\"NotifyUserId\":null,\"NotifyDynamicActor\":\"Work_Permit_Authorization_Department_Head\",\"EntityContext\":{\"Parameters\":{\"workPermitId\":\"435\",\"workPermitV2Id\":\"435\",\"orgId\":\"264\",\"viewLink\":\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/264/435?dlType=viewWorkPermitV2\",\"workPermitLink\":\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/264/435?dlType=viewWorkPermitV2\",\"emailFooter\":\"OQSHA Team\"}},\"ActorContext\":{\"Requestor\":[678],\"Work_Permit_Authorization_Department_Head\":[678],\"Isolation_Reviewed_User\":[678],\"Work_Permit_Authorization_Area_Owner\":[678]},\"Metadata\":null}"}

{"Timestamp":"2026-07-15T10:52:20.7305010+00:00","Level":"Information","Data":{"EventId":1332917723},"Message":"Started processing notification for message ID 1804a116856c3000"}

{"Timestamp":"2026-07-15T10:52:20.7305341+00:00","Level":"Information","Data":{"EventId":2111083478},"Message":"Looking up the notification handler for message ID 1804a116856c3000"}

{"Timestamp":"2026-07-15T10:52:20.7305462+00:00","Level":"Information","Data":{"EventId":2530248720},"Message":"Event handling in process for message ID 1804a116856c3000"}

{"Timestamp":"2026-07-15T10:52:20.7340169+00:00","Level":"Information","Data":{"EventId":2028376528},"Message":"Dispatching the notifications for message ID 1804a116856c3000"}

{"Timestamp":"2026-07-15T10:52:20.7343910+00:00","Level":"Information","Data":{"EventId":2952739051},"Message":"Successfully processed notification for message ID 1804a116856c3000"}

{"Timestamp":"2026-07-15T10:52:20.7962390+00:00","Level":"Information","Data":{"EventId":2187983405},"Message":"Notification event with message ID 1804a11685ac3000 received: {\"TemplateId\":19,\"EntityType\":\"work_permit_v2\",\"EventType\":null,\"NotifyRoleId\":null,\"NotifyUserId\":null,\"NotifyDynamicActor\":\"Work_Permit_Authorization_Department_Head\",\"EntityContext\":{\"Parameters\":{\"workPermitId\":\"435\",\"workPermitV2Id\":\"435\",\"orgId\":\"264\",\"viewLink\":\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/264/435?dlType=viewWorkPermitV2\",\"workPermitLink\":\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/264/435?dlType=viewWorkPermitV2\",\"emailFooter\":\"OQSHA Team\"}},\"ActorContext\":{\"Requestor\":[678],\"Work_Permit_Authorization_Department_Head\":[678],\"Isolation_Reviewed_User\":[678],\"Work_Permit_Authorization_Area_Owner\":[678]},\"Metadata\":null}"}

{"Timestamp":"2026-07-15T10:52:20.8005481+00:00","Level":"Information","Data":{"EventId":1862433360},"Message":"Started processing notification for message ID 1804a11685ac3000"}

{"Timestamp":"2026-07-15T10:52:20.8006242+00:00","Level":"Information","Data":{"EventId":3038740120},"Message":"Looking up the notification handler for message ID 1804a11685ac3000"}

{"Timestamp":"2026-07-15T10:52:20.8006510+00:00","Level":"Information","Data":{"EventId":126227400},"Message":"Event handling in process for message ID 1804a11685ac3000"}

{"Timestamp":"2026-07-15T10:52:20.8081267+00:00","Level":"Information","Data":{"EventId":1066288579},"Message":"Dispatching the notifications for message ID 1804a11685ac3000"}

{"Timestamp":"2026-07-15T10:52:20.8088698+00:00","Level":"Information","Data":{"EventId":3152718098},"Message":"Successfully processed notification for message ID 1804a11685ac3000"}

{"Timestamp":"2026-07-15T10:53:12.3587809+00:00","Level":"Information","Data":{"EventId":1693074151},"Message":"Notification event with message ID 1804a1469aec3000 received: {\"TemplateId\":17,\"EntityType\":\"work_permit_v2\",\"EventType\":null,\"NotifyRoleId\":null,\"NotifyUserId\":null,\"NotifyDynamicActor\":\"AreaOwnerHeight\",\"EntityContext\":{\"Parameters\":{\"workPermitId\":\"436\",\"workPermitV2Id\":\"436\",\"orgId\":\"259\",\"viewLink\":\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/259/436?dlType=viewWorkPermitV2\",\"workPermitLink\":\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/259/436?dlType=viewWorkPermitV2\",\"emailFooter\":\"OQSHA Team\"}},\"ActorContext\":null,\"Metadata\":null}"}

{"Timestamp":"2026-07-15T10:53:12.3607504+00:00","Level":"Information","Data":{"EventId":3268999991},"Message":"Started processing notification for message ID 1804a1469aec3000"}

{"Timestamp":"2026-07-15T10:53:12.3607904+00:00","Level":"Information","Data":{"EventId":2309235453},"Message":"Looking up the notification handler for message ID 1804a1469aec3000"}

{"Timestamp":"2026-07-15T10:53:12.3608010+00:00","Level":"Information","Data":{"EventId":1289973327},"Message":"Event handling in process for message ID 1804a1469aec3000"}

{"Timestamp":"2026-07-15T10:53:12.3653602+00:00","Level":"Information","Data":{"EventId":1050471357},"Message":"Sending message ID 1804a1469aec3000 to DLQ"}

{"Timestamp":"2026-07-15T10:53:12.3656247+00:00","Level":"Information","Data":{"EventId":3646636959},"Message":"Dead letter envelope for DLQ message: {\"SourceTopic\":\"notification.orchestrator\",\"SourceChannel\":\"notification-orchestrator\",\"FailedAtUtc\":\"2026-07-15T10:53:12.3654Z\",\"Attempts\":1,\"ErrorType\":\"OQSHA.Notification.Orchestrator.Exceptions.PermanentOrchestratorException\",\"ErrorMessage\":\"No recipients received for message ID 1804a1469aec3000\",\"StackTrace\":\"   at OQSHA.Notification.Orchestrator.Services.UsersService.ResolveRecipientsAsync(String messageId, Int32 orgId, NotificationEventDto request) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\Services\\\\UsersService.cs:line 84\\r\\n   at OQSHA.Notification.Orchestrator.Services.UsersService.GetRecipientsWithDetailsAsync(String messageId, Int32 orgId, NotificationEventDto request, NotificationTemplatesDbo notificationTemplate) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\Services\\\\UsersService.cs:line 134\\r\\n   at OQSHA.Notification.Orchestrator.NotificationHandlers.WorkPermitV2NotificationHandler.HandleAsync(String messageId, NotificationEventDto request) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\NotificationHandlers\\\\WorkPermitV2NotificationHandler.cs:line 62\\r\\n   at OQSHA.Notification.Orchestrator.NotificationHandlers.WorkPermitV2NotificationHandler.ProcessEventAsync(String messageId, NotificationEventDto request) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\NotificationHandlers\\\\WorkPermitV2NotificationHandler.cs:line 46\\r\\n   at OQSHA.Notification.Orchestrator.Routing.EventRouter.ExecuteAsync(String messageId, NotificationEventDto request) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\Routing\\\\EventRouter.cs:line 38\\r\\n   at OQSHA.Notification.Orchestrator.Worker.OrchestratorMessageHandler.HandleMessage(IMessage message) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\Worker\\\\OrchestratorMessageHandler.cs:line 44\",\"OriginalBody\":\"{\\\"TemplateId\\\":17,\\\"EntityType\\\":\\\"work_permit_v2\\\",\\\"EventType\\\":null,\\\"NotifyRoleId\\\":null,\\\"NotifyUserId\\\":null,\\\"NotifyDynamicActor\\\":\\\"AreaOwnerHeight\\\",\\\"EntityContext\\\":{\\\"Parameters\\\":{\\\"workPermitId\\\":\\\"436\\\",\\\"workPermitV2Id\\\":\\\"436\\\",\\\"orgId\\\":\\\"259\\\",\\\"viewLink\\\":\\\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/259/436?dlType=viewWorkPermitV2\\\",\\\"workPermitLink\\\":\\\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/259/436?dlType=viewWorkPermitV2\\\",\\\"emailFooter\\\":\\\"OQSHA Team\\\"}},\\\"ActorContext\\\":null,\\\"Metadata\\\":null}\"}"}

{"Timestamp":"2026-07-15T10:53:12.3659139+00:00","Level":"Information","Data":{"EventId":154597958},"Message":"Sent message ID 1804a1469aec3000 to DLQ"}

{"Timestamp":"2026-07-15T10:53:12.5475530+00:00","Level":"Information","Data":{"EventId":2325376414},"Message":"Notification event with message ID 1804a1469b2c3000 received: {\"TemplateId\":17,\"EntityType\":\"work_permit_v2\",\"EventType\":null,\"NotifyRoleId\":null,\"NotifyUserId\":null,\"NotifyDynamicActor\":\"PermitAcceptanceHeight\",\"EntityContext\":{\"Parameters\":{\"workPermitId\":\"436\",\"workPermitV2Id\":\"436\",\"orgId\":\"259\",\"viewLink\":\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/259/436?dlType=viewWorkPermitV2\",\"workPermitLink\":\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/259/436?dlType=viewWorkPermitV2\",\"emailFooter\":\"OQSHA Team\"}},\"ActorContext\":null,\"Metadata\":null}"}

{"Timestamp":"2026-07-15T10:53:12.5499894+00:00","Level":"Information","Data":{"EventId":3456915720},"Message":"Started processing notification for message ID 1804a1469b2c3000"}

{"Timestamp":"2026-07-15T10:53:12.5500326+00:00","Level":"Information","Data":{"EventId":3404551415},"Message":"Looking up the notification handler for message ID 1804a1469b2c3000"}

{"Timestamp":"2026-07-15T10:53:12.5500505+00:00","Level":"Information","Data":{"EventId":4291568955},"Message":"Event handling in process for message ID 1804a1469b2c3000"}

{"Timestamp":"2026-07-15T10:53:12.5577168+00:00","Level":"Information","Data":{"EventId":3508339133},"Message":"Sending message ID 1804a1469b2c3000 to DLQ"}

{"Timestamp":"2026-07-15T10:53:12.5579704+00:00","Level":"Information","Data":{"EventId":3451857163},"Message":"Dead letter envelope for DLQ message: {\"SourceTopic\":\"notification.orchestrator\",\"SourceChannel\":\"notification-orchestrator\",\"FailedAtUtc\":\"2026-07-15T10:53:12.5577688Z\",\"Attempts\":1,\"ErrorType\":\"OQSHA.Notification.Orchestrator.Exceptions.PermanentOrchestratorException\",\"ErrorMessage\":\"No recipients received for message ID 1804a1469b2c3000\",\"StackTrace\":\"   at OQSHA.Notification.Orchestrator.Services.UsersService.ResolveRecipientsAsync(String messageId, Int32 orgId, NotificationEventDto request) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\Services\\\\UsersService.cs:line 84\\r\\n   at OQSHA.Notification.Orchestrator.Services.UsersService.GetRecipientsWithDetailsAsync(String messageId, Int32 orgId, NotificationEventDto request, NotificationTemplatesDbo notificationTemplate) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\Services\\\\UsersService.cs:line 134\\r\\n   at OQSHA.Notification.Orchestrator.NotificationHandlers.WorkPermitV2NotificationHandler.HandleAsync(String messageId, NotificationEventDto request) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\NotificationHandlers\\\\WorkPermitV2NotificationHandler.cs:line 62\\r\\n   at OQSHA.Notification.Orchestrator.NotificationHandlers.WorkPermitV2NotificationHandler.ProcessEventAsync(String messageId, NotificationEventDto request) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\NotificationHandlers\\\\WorkPermitV2NotificationHandler.cs:line 46\\r\\n   at OQSHA.Notification.Orchestrator.Routing.EventRouter.ExecuteAsync(String messageId, NotificationEventDto request) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\Routing\\\\EventRouter.cs:line 38\\r\\n   at OQSHA.Notification.Orchestrator.Worker.OrchestratorMessageHandler.HandleMessage(IMessage message) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\Worker\\\\OrchestratorMessageHandler.cs:line 44\",\"OriginalBody\":\"{\\\"TemplateId\\\":17,\\\"EntityType\\\":\\\"work_permit_v2\\\",\\\"EventType\\\":null,\\\"NotifyRoleId\\\":null,\\\"NotifyUserId\\\":null,\\\"NotifyDynamicActor\\\":\\\"PermitAcceptanceHeight\\\",\\\"EntityContext\\\":{\\\"Parameters\\\":{\\\"workPermitId\\\":\\\"436\\\",\\\"workPermitV2Id\\\":\\\"436\\\",\\\"orgId\\\":\\\"259\\\",\\\"viewLink\\\":\\\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/259/436?dlType=viewWorkPermitV2\\\",\\\"workPermitLink\\\":\\\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/259/436?dlType=viewWorkPermitV2\\\",\\\"emailFooter\\\":\\\"OQSHA Team\\\"}},\\\"ActorContext\\\":null,\\\"Metadata\\\":null}\"}"}

{"Timestamp":"2026-07-15T10:53:12.5584059+00:00","Level":"Information","Data":{"EventId":1673755382},"Message":"Sent message ID 1804a1469b2c3000 to DLQ"}

{"Timestamp":"2026-07-15T10:53:12.5585637+00:00","Level":"Information","Data":{"EventId":1306389950},"Message":"Notification event with message ID 1804a1469b2c3001 received: {\"TemplateId\":17,\"EntityType\":\"work_permit_v2\",\"EventType\":null,\"NotifyRoleId\":null,\"NotifyUserId\":null,\"NotifyDynamicActor\":\"PermitAuthorizerHeight\",\"EntityContext\":{\"Parameters\":{\"workPermitId\":\"436\",\"workPermitV2Id\":\"436\",\"orgId\":\"259\",\"viewLink\":\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/259/436?dlType=viewWorkPermitV2\",\"workPermitLink\":\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/259/436?dlType=viewWorkPermitV2\",\"emailFooter\":\"OQSHA Team\"}},\"ActorContext\":null,\"Metadata\":null}"}

{"Timestamp":"2026-07-15T10:53:12.5607252+00:00","Level":"Information","Data":{"EventId":3703797366},"Message":"Started processing notification for message ID 1804a1469b2c3001"}

{"Timestamp":"2026-07-15T10:53:12.5607451+00:00","Level":"Information","Data":{"EventId":3173726579},"Message":"Looking up the notification handler for message ID 1804a1469b2c3001"}

{"Timestamp":"2026-07-15T10:53:12.5607530+00:00","Level":"Information","Data":{"EventId":4022633784},"Message":"Event handling in process for message ID 1804a1469b2c3001"}

{"Timestamp":"2026-07-15T10:53:12.5649678+00:00","Level":"Information","Data":{"EventId":1142056703},"Message":"Sending message ID 1804a1469b2c3001 to DLQ"}

{"Timestamp":"2026-07-15T10:53:12.5652570+00:00","Level":"Information","Data":{"EventId":1854881585},"Message":"Dead letter envelope for DLQ message: {\"SourceTopic\":\"notification.orchestrator\",\"SourceChannel\":\"notification-orchestrator\",\"FailedAtUtc\":\"2026-07-15T10:53:12.5650062Z\",\"Attempts\":1,\"ErrorType\":\"OQSHA.Notification.Orchestrator.Exceptions.PermanentOrchestratorException\",\"ErrorMessage\":\"No recipients received for message ID 1804a1469b2c3001\",\"StackTrace\":\"   at OQSHA.Notification.Orchestrator.Services.UsersService.ResolveRecipientsAsync(String messageId, Int32 orgId, NotificationEventDto request) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\Services\\\\UsersService.cs:line 84\\r\\n   at OQSHA.Notification.Orchestrator.Services.UsersService.GetRecipientsWithDetailsAsync(String messageId, Int32 orgId, NotificationEventDto request, NotificationTemplatesDbo notificationTemplate) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\Services\\\\UsersService.cs:line 134\\r\\n   at OQSHA.Notification.Orchestrator.NotificationHandlers.WorkPermitV2NotificationHandler.HandleAsync(String messageId, NotificationEventDto request) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\NotificationHandlers\\\\WorkPermitV2NotificationHandler.cs:line 62\\r\\n   at OQSHA.Notification.Orchestrator.NotificationHandlers.WorkPermitV2NotificationHandler.ProcessEventAsync(String messageId, NotificationEventDto request) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\NotificationHandlers\\\\WorkPermitV2NotificationHandler.cs:line 46\\r\\n   at OQSHA.Notification.Orchestrator.Routing.EventRouter.ExecuteAsync(String messageId, NotificationEventDto request) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\Routing\\\\EventRouter.cs:line 38\\r\\n   at OQSHA.Notification.Orchestrator.Worker.OrchestratorMessageHandler.HandleMessage(IMessage message) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\Worker\\\\OrchestratorMessageHandler.cs:line 44\",\"OriginalBody\":\"{\\\"TemplateId\\\":17,\\\"EntityType\\\":\\\"work_permit_v2\\\",\\\"EventType\\\":null,\\\"NotifyRoleId\\\":null,\\\"NotifyUserId\\\":null,\\\"NotifyDynamicActor\\\":\\\"PermitAuthorizerHeight\\\",\\\"EntityContext\\\":{\\\"Parameters\\\":{\\\"workPermitId\\\":\\\"436\\\",\\\"workPermitV2Id\\\":\\\"436\\\",\\\"orgId\\\":\\\"259\\\",\\\"viewLink\\\":\\\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/259/436?dlType=viewWorkPermitV2\\\",\\\"workPermitLink\\\":\\\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/259/436?dlType=viewWorkPermitV2\\\",\\\"emailFooter\\\":\\\"OQSHA Team\\\"}},\\\"ActorContext\\\":null,\\\"Metadata\\\":null}\"}"}

{"Timestamp":"2026-07-15T10:53:12.5655193+00:00","Level":"Information","Data":{"EventId":1327298666},"Message":"Sent message ID 1804a1469b2c3001 to DLQ"}

{"Timestamp":"2026-07-15T10:53:22.8202105+00:00","Level":"Information","Data":{"EventId":1588500930},"Message":"Notification event with message ID 1804a150592c3000 received: {\"TemplateId\":19,\"EntityType\":\"work_permit_v2\",\"EventType\":null,\"NotifyRoleId\":null,\"NotifyUserId\":null,\"NotifyDynamicActor\":\"PermitAcceptanceHeight\",\"EntityContext\":{\"Parameters\":{\"workPermitId\":\"436\",\"workPermitV2Id\":\"436\",\"orgId\":\"259\",\"viewLink\":\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/259/436?dlType=viewWorkPermitV2\",\"workPermitLink\":\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/259/436?dlType=viewWorkPermitV2\",\"emailFooter\":\"OQSHA Team\"}},\"ActorContext\":{\"Requestor\":[678],\"AreaOwnerHeight\":[678],\"PermitAcceptanceHeight\":[678],\"PermitAuthorizerHeight\":[678]},\"Metadata\":null}"}

{"Timestamp":"2026-07-15T10:53:22.8219217+00:00","Level":"Information","Data":{"EventId":3251415721},"Message":"Started processing notification for message ID 1804a150592c3000"}

{"Timestamp":"2026-07-15T10:53:22.8219765+00:00","Level":"Information","Data":{"EventId":3542585254},"Message":"Looking up the notification handler for message ID 1804a150592c3000"}

{"Timestamp":"2026-07-15T10:53:22.8219857+00:00","Level":"Information","Data":{"EventId":4185345395},"Message":"Event handling in process for message ID 1804a150592c3000"}

{"Timestamp":"2026-07-15T10:53:22.8271077+00:00","Level":"Information","Data":{"EventId":565910055},"Message":"Dispatching the notifications for message ID 1804a150592c3000"}

{"Timestamp":"2026-07-15T10:53:22.8274904+00:00","Level":"Information","Data":{"EventId":3659870341},"Message":"Successfully processed notification for message ID 1804a150592c3000"}

{"Timestamp":"2026-07-15T10:53:28.4657434+00:00","Level":"Information","Data":{"EventId":22589409},"Message":"Notification event with message ID 1804a1559b2c3000 received: {\"TemplateId\":19,\"EntityType\":\"work_permit_v2\",\"EventType\":null,\"NotifyRoleId\":null,\"NotifyUserId\":null,\"NotifyDynamicActor\":\"PermitAuthorizerHeight\",\"EntityContext\":{\"Parameters\":{\"workPermitId\":\"436\",\"workPermitV2Id\":\"436\",\"orgId\":\"259\",\"viewLink\":\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/259/436?dlType=viewWorkPermitV2\",\"workPermitLink\":\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/259/436?dlType=viewWorkPermitV2\",\"emailFooter\":\"OQSHA Team\"}},\"ActorContext\":{\"Requestor\":[678],\"AreaOwnerHeight\":[678],\"PermitAcceptanceHeight\":[678],\"PermitAuthorizerHeight\":[678]},\"Metadata\":null}"}

{"Timestamp":"2026-07-15T10:53:28.4675096+00:00","Level":"Information","Data":{"EventId":3849097804},"Message":"Started processing notification for message ID 1804a1559b2c3000"}

{"Timestamp":"2026-07-15T10:53:28.4675552+00:00","Level":"Information","Data":{"EventId":2493094894},"Message":"Looking up the notification handler for message ID 1804a1559b2c3000"}

{"Timestamp":"2026-07-15T10:53:28.4675650+00:00","Level":"Information","Data":{"EventId":3147118611},"Message":"Event handling in process for message ID 1804a1559b2c3000"}

{"Timestamp":"2026-07-15T10:53:28.4703398+00:00","Level":"Information","Data":{"EventId":287731513},"Message":"Dispatching the notifications for message ID 1804a1559b2c3000"}

{"Timestamp":"2026-07-15T10:53:28.4706562+00:00","Level":"Information","Data":{"EventId":2041301334},"Message":"Successfully processed notification for message ID 1804a1559b2c3000"}

{"Timestamp":"2026-07-15T10:53:34.1885861+00:00","Level":"Information","Data":{"EventId":307284332},"Message":"Notification event with message ID 1804a15aefac3000 received: {\"TemplateId\":23,\"EntityType\":\"work_permit_v2\",\"EventType\":null,\"NotifyRoleId\":null,\"NotifyUserId\":null,\"NotifyDynamicActor\":\"Requestor\",\"EntityContext\":{\"Parameters\":{\"workPermitId\":\"436\",\"workPermitV2Id\":\"436\",\"orgId\":\"259\",\"viewLink\":\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/259/436?dlType=viewWorkPermitV2\",\"workPermitLink\":\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/259/436?dlType=viewWorkPermitV2\",\"emailFooter\":\"OQSHA Team\"}},\"ActorContext\":{\"Requestor\":[678],\"AreaOwnerHeight\":[678],\"PermitAcceptanceHeight\":[678],\"PermitAuthorizerHeight\":[678]},\"Metadata\":null}"}

{"Timestamp":"2026-07-15T10:53:34.1901213+00:00","Level":"Information","Data":{"EventId":4022891470},"Message":"Started processing notification for message ID 1804a15aefac3000"}

{"Timestamp":"2026-07-15T10:53:34.1901528+00:00","Level":"Information","Data":{"EventId":1855728154},"Message":"Looking up the notification handler for message ID 1804a15aefac3000"}

{"Timestamp":"2026-07-15T10:53:34.1901619+00:00","Level":"Information","Data":{"EventId":1263914302},"Message":"Event handling in process for message ID 1804a15aefac3000"}

{"Timestamp":"2026-07-15T10:53:34.1932677+00:00","Level":"Information","Data":{"EventId":2667592986},"Message":"Dispatching the notifications for message ID 1804a15aefac3000"}

{"Timestamp":"2026-07-15T10:53:34.1937684+00:00","Level":"Information","Data":{"EventId":4208305420},"Message":"Successfully processed notification for message ID 1804a15aefac3000"}

{"Timestamp":"2026-07-15T10:56:44.4000143+00:00","Level":"Information","Data":{"EventId":2470464135},"Message":"Notification event with message ID 1804a20c14ec3000 received: {\"TemplateId\":18,\"EntityType\":\"work_permit_v2\",\"EventType\":null,\"NotifyRoleId\":null,\"NotifyUserId\":null,\"NotifyDynamicActor\":\"Work_Permit_Authorization_Department_Head\",\"EntityContext\":{\"Parameters\":{\"workPermitId\":\"439\",\"workPermitV2Id\":\"439\",\"orgId\":\"264\",\"viewLink\":\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/264/439?dlType=viewWorkPermitV2\",\"workPermitLink\":\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/264/439?dlType=viewWorkPermitV2\",\"emailFooter\":\"OQSHA Team\"}},\"ActorContext\":null,\"Metadata\":null}"}

{"Timestamp":"2026-07-15T10:56:44.4024133+00:00","Level":"Information","Data":{"EventId":2098681173},"Message":"Started processing notification for message ID 1804a20c14ec3000"}

{"Timestamp":"2026-07-15T10:56:44.4024473+00:00","Level":"Information","Data":{"EventId":3864394385},"Message":"Looking up the notification handler for message ID 1804a20c14ec3000"}

{"Timestamp":"2026-07-15T10:56:44.4025362+00:00","Level":"Information","Data":{"EventId":2030371365},"Message":"Event handling in process for message ID 1804a20c14ec3000"}

{"Timestamp":"2026-07-15T10:56:44.4071889+00:00","Level":"Information","Data":{"EventId":1885409499},"Message":"Sending message ID 1804a20c14ec3000 to DLQ"}

{"Timestamp":"2026-07-15T10:56:44.4074518+00:00","Level":"Information","Data":{"EventId":3156651504},"Message":"Dead letter envelope for DLQ message: {\"SourceTopic\":\"notification.orchestrator\",\"SourceChannel\":\"notification-orchestrator\",\"FailedAtUtc\":\"2026-07-15T10:56:44.4072315Z\",\"Attempts\":1,\"ErrorType\":\"OQSHA.Notification.Orchestrator.Exceptions.PermanentOrchestratorException\",\"ErrorMessage\":\"No recipients received for message ID 1804a20c14ec3000\",\"StackTrace\":\"   at OQSHA.Notification.Orchestrator.Services.UsersService.ResolveRecipientsAsync(String messageId, Int32 orgId, NotificationEventDto request) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\Services\\\\UsersService.cs:line 84\\r\\n   at OQSHA.Notification.Orchestrator.Services.UsersService.GetRecipientsWithDetailsAsync(String messageId, Int32 orgId, NotificationEventDto request, NotificationTemplatesDbo notificationTemplate) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\Services\\\\UsersService.cs:line 134\\r\\n   at OQSHA.Notification.Orchestrator.NotificationHandlers.WorkPermitV2NotificationHandler.HandleAsync(String messageId, NotificationEventDto request) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\NotificationHandlers\\\\WorkPermitV2NotificationHandler.cs:line 62\\r\\n   at OQSHA.Notification.Orchestrator.NotificationHandlers.WorkPermitV2NotificationHandler.ProcessEventAsync(String messageId, NotificationEventDto request) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\NotificationHandlers\\\\WorkPermitV2NotificationHandler.cs:line 46\\r\\n   at OQSHA.Notification.Orchestrator.Routing.EventRouter.ExecuteAsync(String messageId, NotificationEventDto request) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\Routing\\\\EventRouter.cs:line 38\\r\\n   at OQSHA.Notification.Orchestrator.Worker.OrchestratorMessageHandler.HandleMessage(IMessage message) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\Worker\\\\OrchestratorMessageHandler.cs:line 44\",\"OriginalBody\":\"{\\\"TemplateId\\\":18,\\\"EntityType\\\":\\\"work_permit_v2\\\",\\\"EventType\\\":null,\\\"NotifyRoleId\\\":null,\\\"NotifyUserId\\\":null,\\\"NotifyDynamicActor\\\":\\\"Work_Permit_Authorization_Department_Head\\\",\\\"EntityContext\\\":{\\\"Parameters\\\":{\\\"workPermitId\\\":\\\"439\\\",\\\"workPermitV2Id\\\":\\\"439\\\",\\\"orgId\\\":\\\"264\\\",\\\"viewLink\\\":\\\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/264/439?dlType=viewWorkPermitV2\\\",\\\"workPermitLink\\\":\\\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/264/439?dlType=viewWorkPermitV2\\\",\\\"emailFooter\\\":\\\"OQSHA Team\\\"}},\\\"ActorContext\\\":null,\\\"Metadata\\\":null}\"}"}

{"Timestamp":"2026-07-15T10:56:44.4081458+00:00","Level":"Information","Data":{"EventId":1872511770},"Message":"Sent message ID 1804a20c14ec3000 to DLQ"}

{"Timestamp":"2026-07-15T10:56:44.5489623+00:00","Level":"Information","Data":{"EventId":3782010380},"Message":"Notification event with message ID 1804a20c14ec3001 received: {\"TemplateId\":19,\"EntityType\":\"work_permit_v2\",\"EventType\":null,\"NotifyRoleId\":null,\"NotifyUserId\":null,\"NotifyDynamicActor\":\"Work_Permit_Authorization_Department_Head\",\"EntityContext\":{\"Parameters\":{\"workPermitId\":\"439\",\"workPermitV2Id\":\"439\",\"orgId\":\"264\",\"viewLink\":\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/264/439?dlType=viewWorkPermitV2\",\"workPermitLink\":\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/264/439?dlType=viewWorkPermitV2\",\"emailFooter\":\"OQSHA Team\"}},\"ActorContext\":null,\"Metadata\":null}"}

{"Timestamp":"2026-07-15T10:56:44.5520488+00:00","Level":"Information","Data":{"EventId":2374039080},"Message":"Started processing notification for message ID 1804a20c14ec3001"}

{"Timestamp":"2026-07-15T10:56:44.5521320+00:00","Level":"Information","Data":{"EventId":3020985863},"Message":"Looking up the notification handler for message ID 1804a20c14ec3001"}

{"Timestamp":"2026-07-15T10:56:44.5521656+00:00","Level":"Information","Data":{"EventId":2336663208},"Message":"Event handling in process for message ID 1804a20c14ec3001"}

{"Timestamp":"2026-07-15T10:56:44.5581949+00:00","Level":"Information","Data":{"EventId":1904680886},"Message":"Sending message ID 1804a20c14ec3001 to DLQ"}

{"Timestamp":"2026-07-15T10:56:44.5588341+00:00","Level":"Information","Data":{"EventId":1339390327},"Message":"Dead letter envelope for DLQ message: {\"SourceTopic\":\"notification.orchestrator\",\"SourceChannel\":\"notification-orchestrator\",\"FailedAtUtc\":\"2026-07-15T10:56:44.5583057Z\",\"Attempts\":1,\"ErrorType\":\"OQSHA.Notification.Orchestrator.Exceptions.PermanentOrchestratorException\",\"ErrorMessage\":\"No recipients received for message ID 1804a20c14ec3001\",\"StackTrace\":\"   at OQSHA.Notification.Orchestrator.Services.UsersService.ResolveRecipientsAsync(String messageId, Int32 orgId, NotificationEventDto request) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\Services\\\\UsersService.cs:line 84\\r\\n   at OQSHA.Notification.Orchestrator.Services.UsersService.GetRecipientsWithDetailsAsync(String messageId, Int32 orgId, NotificationEventDto request, NotificationTemplatesDbo notificationTemplate) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\Services\\\\UsersService.cs:line 134\\r\\n   at OQSHA.Notification.Orchestrator.NotificationHandlers.WorkPermitV2NotificationHandler.HandleAsync(String messageId, NotificationEventDto request) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\NotificationHandlers\\\\WorkPermitV2NotificationHandler.cs:line 62\\r\\n   at OQSHA.Notification.Orchestrator.NotificationHandlers.WorkPermitV2NotificationHandler.ProcessEventAsync(String messageId, NotificationEventDto request) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\NotificationHandlers\\\\WorkPermitV2NotificationHandler.cs:line 46\\r\\n   at OQSHA.Notification.Orchestrator.Routing.EventRouter.ExecuteAsync(String messageId, NotificationEventDto request) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\Routing\\\\EventRouter.cs:line 38\\r\\n   at OQSHA.Notification.Orchestrator.Worker.OrchestratorMessageHandler.HandleMessage(IMessage message) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\Worker\\\\OrchestratorMessageHandler.cs:line 44\",\"OriginalBody\":\"{\\\"TemplateId\\\":19,\\\"EntityType\\\":\\\"work_permit_v2\\\",\\\"EventType\\\":null,\\\"NotifyRoleId\\\":null,\\\"NotifyUserId\\\":null,\\\"NotifyDynamicActor\\\":\\\"Work_Permit_Authorization_Department_Head\\\",\\\"EntityContext\\\":{\\\"Parameters\\\":{\\\"workPermitId\\\":\\\"439\\\",\\\"workPermitV2Id\\\":\\\"439\\\",\\\"orgId\\\":\\\"264\\\",\\\"viewLink\\\":\\\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/264/439?dlType=viewWorkPermitV2\\\",\\\"workPermitLink\\\":\\\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/264/439?dlType=viewWorkPermitV2\\\",\\\"emailFooter\\\":\\\"OQSHA Team\\\"}},\\\"ActorContext\\\":null,\\\"Metadata\\\":null}\"}"}

{"Timestamp":"2026-07-15T10:56:44.5604288+00:00","Level":"Information","Data":{"EventId":2207433415},"Message":"Sent message ID 1804a20c14ec3001 to DLQ"}

{"Timestamp":"2026-07-15T10:56:45.3934349+00:00","Level":"Information","Data":{"EventId":1576787957},"Message":"Notification event with message ID 1804a20d026c3000 received: {\"TemplateId\":17,\"EntityType\":\"work_permit_v2\",\"EventType\":null,\"NotifyRoleId\":null,\"NotifyUserId\":null,\"NotifyDynamicActor\":\"AreaOwnerHeight\",\"EntityContext\":{\"Parameters\":{\"workPermitId\":\"440\",\"workPermitV2Id\":\"440\",\"orgId\":\"259\",\"viewLink\":\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/259/440?dlType=viewWorkPermitV2\",\"workPermitLink\":\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/259/440?dlType=viewWorkPermitV2\",\"emailFooter\":\"OQSHA Team\"}},\"ActorContext\":null,\"Metadata\":null}"}

{"Timestamp":"2026-07-15T10:56:45.3957808+00:00","Level":"Information","Data":{"EventId":575493029},"Message":"Started processing notification for message ID 1804a20d026c3000"}

{"Timestamp":"2026-07-15T10:56:45.3958137+00:00","Level":"Information","Data":{"EventId":1274890771},"Message":"Looking up the notification handler for message ID 1804a20d026c3000"}

{"Timestamp":"2026-07-15T10:56:45.3958231+00:00","Level":"Information","Data":{"EventId":4107034467},"Message":"Event handling in process for message ID 1804a20d026c3000"}

{"Timestamp":"2026-07-15T10:56:45.4002337+00:00","Level":"Information","Data":{"EventId":1265043722},"Message":"Sending message ID 1804a20d026c3000 to DLQ"}

{"Timestamp":"2026-07-15T10:56:45.4004588+00:00","Level":"Information","Data":{"EventId":2567881881},"Message":"Dead letter envelope for DLQ message: {\"SourceTopic\":\"notification.orchestrator\",\"SourceChannel\":\"notification-orchestrator\",\"FailedAtUtc\":\"2026-07-15T10:56:45.40027Z\",\"Attempts\":1,\"ErrorType\":\"OQSHA.Notification.Orchestrator.Exceptions.PermanentOrchestratorException\",\"ErrorMessage\":\"No recipients received for message ID 1804a20d026c3000\",\"StackTrace\":\"   at OQSHA.Notification.Orchestrator.Services.UsersService.ResolveRecipientsAsync(String messageId, Int32 orgId, NotificationEventDto request) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\Services\\\\UsersService.cs:line 84\\r\\n   at OQSHA.Notification.Orchestrator.Services.UsersService.GetRecipientsWithDetailsAsync(String messageId, Int32 orgId, NotificationEventDto request, NotificationTemplatesDbo notificationTemplate) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\Services\\\\UsersService.cs:line 134\\r\\n   at OQSHA.Notification.Orchestrator.NotificationHandlers.WorkPermitV2NotificationHandler.HandleAsync(String messageId, NotificationEventDto request) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\NotificationHandlers\\\\WorkPermitV2NotificationHandler.cs:line 62\\r\\n   at OQSHA.Notification.Orchestrator.NotificationHandlers.WorkPermitV2NotificationHandler.ProcessEventAsync(String messageId, NotificationEventDto request) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\NotificationHandlers\\\\WorkPermitV2NotificationHandler.cs:line 46\\r\\n   at OQSHA.Notification.Orchestrator.Routing.EventRouter.ExecuteAsync(String messageId, NotificationEventDto request) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\Routing\\\\EventRouter.cs:line 38\\r\\n   at OQSHA.Notification.Orchestrator.Worker.OrchestratorMessageHandler.HandleMessage(IMessage message) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\Worker\\\\OrchestratorMessageHandler.cs:line 44\",\"OriginalBody\":\"{\\\"TemplateId\\\":17,\\\"EntityType\\\":\\\"work_permit_v2\\\",\\\"EventType\\\":null,\\\"NotifyRoleId\\\":null,\\\"NotifyUserId\\\":null,\\\"NotifyDynamicActor\\\":\\\"AreaOwnerHeight\\\",\\\"EntityContext\\\":{\\\"Parameters\\\":{\\\"workPermitId\\\":\\\"440\\\",\\\"workPermitV2Id\\\":\\\"440\\\",\\\"orgId\\\":\\\"259\\\",\\\"viewLink\\\":\\\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/259/440?dlType=viewWorkPermitV2\\\",\\\"workPermitLink\\\":\\\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/259/440?dlType=viewWorkPermitV2\\\",\\\"emailFooter\\\":\\\"OQSHA Team\\\"}},\\\"ActorContext\\\":null,\\\"Metadata\\\":null}\"}"}

{"Timestamp":"2026-07-15T10:56:45.4007382+00:00","Level":"Information","Data":{"EventId":2044497611},"Message":"Sent message ID 1804a20d026c3000 to DLQ"}

{"Timestamp":"2026-07-15T10:56:45.5420916+00:00","Level":"Information","Data":{"EventId":2075090437},"Message":"Notification event with message ID 1804a20d026c3001 received: {\"TemplateId\":17,\"EntityType\":\"work_permit_v2\",\"EventType\":null,\"NotifyRoleId\":null,\"NotifyUserId\":null,\"NotifyDynamicActor\":\"PermitAcceptanceHeight\",\"EntityContext\":{\"Parameters\":{\"workPermitId\":\"440\",\"workPermitV2Id\":\"440\",\"orgId\":\"259\",\"viewLink\":\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/259/440?dlType=viewWorkPermitV2\",\"workPermitLink\":\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/259/440?dlType=viewWorkPermitV2\",\"emailFooter\":\"OQSHA Team\"}},\"ActorContext\":null,\"Metadata\":null}"}

{"Timestamp":"2026-07-15T10:56:45.5450843+00:00","Level":"Information","Data":{"EventId":1077186423},"Message":"Started processing notification for message ID 1804a20d026c3001"}

{"Timestamp":"2026-07-15T10:56:45.5451283+00:00","Level":"Information","Data":{"EventId":372399742},"Message":"Looking up the notification handler for message ID 1804a20d026c3001"}

{"Timestamp":"2026-07-15T10:56:45.5451419+00:00","Level":"Information","Data":{"EventId":3750376679},"Message":"Event handling in process for message ID 1804a20d026c3001"}

{"Timestamp":"2026-07-15T10:56:45.5501741+00:00","Level":"Information","Data":{"EventId":3151042001},"Message":"Sending message ID 1804a20d026c3001 to DLQ"}

{"Timestamp":"2026-07-15T10:56:45.5504500+00:00","Level":"Information","Data":{"EventId":2135470},"Message":"Dead letter envelope for DLQ message: {\"SourceTopic\":\"notification.orchestrator\",\"SourceChannel\":\"notification-orchestrator\",\"FailedAtUtc\":\"2026-07-15T10:56:45.5502144Z\",\"Attempts\":1,\"ErrorType\":\"OQSHA.Notification.Orchestrator.Exceptions.PermanentOrchestratorException\",\"ErrorMessage\":\"No recipients received for message ID 1804a20d026c3001\",\"StackTrace\":\"   at OQSHA.Notification.Orchestrator.Services.UsersService.ResolveRecipientsAsync(String messageId, Int32 orgId, NotificationEventDto request) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\Services\\\\UsersService.cs:line 84\\r\\n   at OQSHA.Notification.Orchestrator.Services.UsersService.GetRecipientsWithDetailsAsync(String messageId, Int32 orgId, NotificationEventDto request, NotificationTemplatesDbo notificationTemplate) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\Services\\\\UsersService.cs:line 134\\r\\n   at OQSHA.Notification.Orchestrator.NotificationHandlers.WorkPermitV2NotificationHandler.HandleAsync(String messageId, NotificationEventDto request) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\NotificationHandlers\\\\WorkPermitV2NotificationHandler.cs:line 62\\r\\n   at OQSHA.Notification.Orchestrator.NotificationHandlers.WorkPermitV2NotificationHandler.ProcessEventAsync(String messageId, NotificationEventDto request) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\NotificationHandlers\\\\WorkPermitV2NotificationHandler.cs:line 46\\r\\n   at OQSHA.Notification.Orchestrator.Routing.EventRouter.ExecuteAsync(String messageId, NotificationEventDto request) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\Routing\\\\EventRouter.cs:line 38\\r\\n   at OQSHA.Notification.Orchestrator.Worker.OrchestratorMessageHandler.HandleMessage(IMessage message) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\Worker\\\\OrchestratorMessageHandler.cs:line 44\",\"OriginalBody\":\"{\\\"TemplateId\\\":17,\\\"EntityType\\\":\\\"work_permit_v2\\\",\\\"EventType\\\":null,\\\"NotifyRoleId\\\":null,\\\"NotifyUserId\\\":null,\\\"NotifyDynamicActor\\\":\\\"PermitAcceptanceHeight\\\",\\\"EntityContext\\\":{\\\"Parameters\\\":{\\\"workPermitId\\\":\\\"440\\\",\\\"workPermitV2Id\\\":\\\"440\\\",\\\"orgId\\\":\\\"259\\\",\\\"viewLink\\\":\\\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/259/440?dlType=viewWorkPermitV2\\\",\\\"workPermitLink\\\":\\\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/259/440?dlType=viewWorkPermitV2\\\",\\\"emailFooter\\\":\\\"OQSHA Team\\\"}},\\\"ActorContext\\\":null,\\\"Metadata\\\":null}\"}"}

{"Timestamp":"2026-07-15T10:56:45.5512960+00:00","Level":"Information","Data":{"EventId":1650146886},"Message":"Sent message ID 1804a20d026c3001 to DLQ"}

{"Timestamp":"2026-07-15T10:56:45.5517324+00:00","Level":"Information","Data":{"EventId":239130826},"Message":"Notification event with message ID 1804a20d026c3002 received: {\"TemplateId\":17,\"EntityType\":\"work_permit_v2\",\"EventType\":null,\"NotifyRoleId\":null,\"NotifyUserId\":null,\"NotifyDynamicActor\":\"PermitAuthorizerHeight\",\"EntityContext\":{\"Parameters\":{\"workPermitId\":\"440\",\"workPermitV2Id\":\"440\",\"orgId\":\"259\",\"viewLink\":\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/259/440?dlType=viewWorkPermitV2\",\"workPermitLink\":\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/259/440?dlType=viewWorkPermitV2\",\"emailFooter\":\"OQSHA Team\"}},\"ActorContext\":null,\"Metadata\":null}"}

{"Timestamp":"2026-07-15T10:56:45.5539357+00:00","Level":"Information","Data":{"EventId":3183479436},"Message":"Started processing notification for message ID 1804a20d026c3002"}

{"Timestamp":"2026-07-15T10:56:45.5539597+00:00","Level":"Information","Data":{"EventId":678003436},"Message":"Looking up the notification handler for message ID 1804a20d026c3002"}

{"Timestamp":"2026-07-15T10:56:45.5539691+00:00","Level":"Information","Data":{"EventId":3502413656},"Message":"Event handling in process for message ID 1804a20d026c3002"}

{"Timestamp":"2026-07-15T10:56:45.5582002+00:00","Level":"Information","Data":{"EventId":2969371439},"Message":"Sending message ID 1804a20d026c3002 to DLQ"}

{"Timestamp":"2026-07-15T10:56:45.5583922+00:00","Level":"Information","Data":{"EventId":294412146},"Message":"Dead letter envelope for DLQ message: {\"SourceTopic\":\"notification.orchestrator\",\"SourceChannel\":\"notification-orchestrator\",\"FailedAtUtc\":\"2026-07-15T10:56:45.5582383Z\",\"Attempts\":1,\"ErrorType\":\"OQSHA.Notification.Orchestrator.Exceptions.PermanentOrchestratorException\",\"ErrorMessage\":\"No recipients received for message ID 1804a20d026c3002\",\"StackTrace\":\"   at OQSHA.Notification.Orchestrator.Services.UsersService.ResolveRecipientsAsync(String messageId, Int32 orgId, NotificationEventDto request) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\Services\\\\UsersService.cs:line 84\\r\\n   at OQSHA.Notification.Orchestrator.Services.UsersService.GetRecipientsWithDetailsAsync(String messageId, Int32 orgId, NotificationEventDto request, NotificationTemplatesDbo notificationTemplate) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\Services\\\\UsersService.cs:line 134\\r\\n   at OQSHA.Notification.Orchestrator.NotificationHandlers.WorkPermitV2NotificationHandler.HandleAsync(String messageId, NotificationEventDto request) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\NotificationHandlers\\\\WorkPermitV2NotificationHandler.cs:line 62\\r\\n   at OQSHA.Notification.Orchestrator.NotificationHandlers.WorkPermitV2NotificationHandler.ProcessEventAsync(String messageId, NotificationEventDto request) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\NotificationHandlers\\\\WorkPermitV2NotificationHandler.cs:line 46\\r\\n   at OQSHA.Notification.Orchestrator.Routing.EventRouter.ExecuteAsync(String messageId, NotificationEventDto request) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\Routing\\\\EventRouter.cs:line 38\\r\\n   at OQSHA.Notification.Orchestrator.Worker.OrchestratorMessageHandler.HandleMessage(IMessage message) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\Worker\\\\OrchestratorMessageHandler.cs:line 44\",\"OriginalBody\":\"{\\\"TemplateId\\\":17,\\\"EntityType\\\":\\\"work_permit_v2\\\",\\\"EventType\\\":null,\\\"NotifyRoleId\\\":null,\\\"NotifyUserId\\\":null,\\\"NotifyDynamicActor\\\":\\\"PermitAuthorizerHeight\\\",\\\"EntityContext\\\":{\\\"Parameters\\\":{\\\"workPermitId\\\":\\\"440\\\",\\\"workPermitV2Id\\\":\\\"440\\\",\\\"orgId\\\":\\\"259\\\",\\\"viewLink\\\":\\\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/259/440?dlType=viewWorkPermitV2\\\",\\\"workPermitLink\\\":\\\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/259/440?dlType=viewWorkPermitV2\\\",\\\"emailFooter\\\":\\\"OQSHA Team\\\"}},\\\"ActorContext\\\":null,\\\"Metadata\\\":null}\"}"}

{"Timestamp":"2026-07-15T10:56:45.5589408+00:00","Level":"Information","Data":{"EventId":3427416976},"Message":"Sent message ID 1804a20d026c3002 to DLQ"}

{"Timestamp":"2026-07-15T10:56:46.0759954+00:00","Level":"Information","Data":{"EventId":1355188493},"Message":"Notification event with message ID 1804a20da52c3000 received: {\"TemplateId\":17,\"EntityType\":\"work_permit_v2\",\"EventType\":null,\"NotifyRoleId\":null,\"NotifyUserId\":null,\"NotifyDynamicActor\":\"AreaOwnerHeight\",\"EntityContext\":{\"Parameters\":{\"workPermitId\":\"441\",\"workPermitV2Id\":\"441\",\"orgId\":\"259\",\"viewLink\":\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/259/441?dlType=viewWorkPermitV2\",\"workPermitLink\":\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/259/441?dlType=viewWorkPermitV2\",\"emailFooter\":\"OQSHA Team\"}},\"ActorContext\":null,\"Metadata\":null}"}

{"Timestamp":"2026-07-15T10:56:46.0786449+00:00","Level":"Information","Data":{"EventId":2020843846},"Message":"Started processing notification for message ID 1804a20da52c3000"}

{"Timestamp":"2026-07-15T10:56:46.0786872+00:00","Level":"Information","Data":{"EventId":14371037},"Message":"Looking up the notification handler for message ID 1804a20da52c3000"}

{"Timestamp":"2026-07-15T10:56:46.0787036+00:00","Level":"Information","Data":{"EventId":2159030806},"Message":"Event handling in process for message ID 1804a20da52c3000"}

{"Timestamp":"2026-07-15T10:56:46.0828915+00:00","Level":"Information","Data":{"EventId":1045480912},"Message":"Sending message ID 1804a20da52c3000 to DLQ"}

{"Timestamp":"2026-07-15T10:56:46.0830778+00:00","Level":"Information","Data":{"EventId":4240924679},"Message":"Dead letter envelope for DLQ message: {\"SourceTopic\":\"notification.orchestrator\",\"SourceChannel\":\"notification-orchestrator\",\"FailedAtUtc\":\"2026-07-15T10:56:46.0829289Z\",\"Attempts\":1,\"ErrorType\":\"OQSHA.Notification.Orchestrator.Exceptions.PermanentOrchestratorException\",\"ErrorMessage\":\"No recipients received for message ID 1804a20da52c3000\",\"StackTrace\":\"   at OQSHA.Notification.Orchestrator.Services.UsersService.ResolveRecipientsAsync(String messageId, Int32 orgId, NotificationEventDto request) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\Services\\\\UsersService.cs:line 84\\r\\n   at OQSHA.Notification.Orchestrator.Services.UsersService.GetRecipientsWithDetailsAsync(String messageId, Int32 orgId, NotificationEventDto request, NotificationTemplatesDbo notificationTemplate) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\Services\\\\UsersService.cs:line 134\\r\\n   at OQSHA.Notification.Orchestrator.NotificationHandlers.WorkPermitV2NotificationHandler.HandleAsync(String messageId, NotificationEventDto request) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\NotificationHandlers\\\\WorkPermitV2NotificationHandler.cs:line 62\\r\\n   at OQSHA.Notification.Orchestrator.NotificationHandlers.WorkPermitV2NotificationHandler.ProcessEventAsync(String messageId, NotificationEventDto request) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\NotificationHandlers\\\\WorkPermitV2NotificationHandler.cs:line 46\\r\\n   at OQSHA.Notification.Orchestrator.Routing.EventRouter.ExecuteAsync(String messageId, NotificationEventDto request) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\Routing\\\\EventRouter.cs:line 38\\r\\n   at OQSHA.Notification.Orchestrator.Worker.OrchestratorMessageHandler.HandleMessage(IMessage message) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\Worker\\\\OrchestratorMessageHandler.cs:line 44\",\"OriginalBody\":\"{\\\"TemplateId\\\":17,\\\"EntityType\\\":\\\"work_permit_v2\\\",\\\"EventType\\\":null,\\\"NotifyRoleId\\\":null,\\\"NotifyUserId\\\":null,\\\"NotifyDynamicActor\\\":\\\"AreaOwnerHeight\\\",\\\"EntityContext\\\":{\\\"Parameters\\\":{\\\"workPermitId\\\":\\\"441\\\",\\\"workPermitV2Id\\\":\\\"441\\\",\\\"orgId\\\":\\\"259\\\",\\\"viewLink\\\":\\\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/259/441?dlType=viewWorkPermitV2\\\",\\\"workPermitLink\\\":\\\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/259/441?dlType=viewWorkPermitV2\\\",\\\"emailFooter\\\":\\\"OQSHA Team\\\"}},\\\"ActorContext\\\":null,\\\"Metadata\\\":null}\"}"}

{"Timestamp":"2026-07-15T10:56:46.0836593+00:00","Level":"Information","Data":{"EventId":1169911230},"Message":"Sent message ID 1804a20da52c3000 to DLQ"}

{"Timestamp":"2026-07-15T10:56:46.2978695+00:00","Level":"Information","Data":{"EventId":1151402566},"Message":"Notification event with message ID 1804a20da52c3001 received: {\"TemplateId\":17,\"EntityType\":\"work_permit_v2\",\"EventType\":null,\"NotifyRoleId\":null,\"NotifyUserId\":null,\"NotifyDynamicActor\":\"PermitAcceptanceHeight\",\"EntityContext\":{\"Parameters\":{\"workPermitId\":\"441\",\"workPermitV2Id\":\"441\",\"orgId\":\"259\",\"viewLink\":\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/259/441?dlType=viewWorkPermitV2\",\"workPermitLink\":\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/259/441?dlType=viewWorkPermitV2\",\"emailFooter\":\"OQSHA Team\"}},\"ActorContext\":null,\"Metadata\":null}"}

{"Timestamp":"2026-07-15T10:56:46.2996394+00:00","Level":"Information","Data":{"EventId":492169992},"Message":"Started processing notification for message ID 1804a20da52c3001"}

{"Timestamp":"2026-07-15T10:56:46.2996821+00:00","Level":"Information","Data":{"EventId":244671569},"Message":"Looking up the notification handler for message ID 1804a20da52c3001"}

{"Timestamp":"2026-07-15T10:56:46.2996930+00:00","Level":"Information","Data":{"EventId":2003967898},"Message":"Event handling in process for message ID 1804a20da52c3001"}

{"Timestamp":"2026-07-15T10:56:46.3025738+00:00","Level":"Information","Data":{"EventId":3123276120},"Message":"Sending message ID 1804a20da52c3001 to DLQ"}

{"Timestamp":"2026-07-15T10:56:46.3027539+00:00","Level":"Information","Data":{"EventId":4167013155},"Message":"Dead letter envelope for DLQ message: {\"SourceTopic\":\"notification.orchestrator\",\"SourceChannel\":\"notification-orchestrator\",\"FailedAtUtc\":\"2026-07-15T10:56:46.3026056Z\",\"Attempts\":1,\"ErrorType\":\"OQSHA.Notification.Orchestrator.Exceptions.PermanentOrchestratorException\",\"ErrorMessage\":\"No recipients received for message ID 1804a20da52c3001\",\"StackTrace\":\"   at OQSHA.Notification.Orchestrator.Services.UsersService.ResolveRecipientsAsync(String messageId, Int32 orgId, NotificationEventDto request) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\Services\\\\UsersService.cs:line 84\\r\\n   at OQSHA.Notification.Orchestrator.Services.UsersService.GetRecipientsWithDetailsAsync(String messageId, Int32 orgId, NotificationEventDto request, NotificationTemplatesDbo notificationTemplate) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\Services\\\\UsersService.cs:line 134\\r\\n   at OQSHA.Notification.Orchestrator.NotificationHandlers.WorkPermitV2NotificationHandler.HandleAsync(String messageId, NotificationEventDto request) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\NotificationHandlers\\\\WorkPermitV2NotificationHandler.cs:line 62\\r\\n   at OQSHA.Notification.Orchestrator.NotificationHandlers.WorkPermitV2NotificationHandler.ProcessEventAsync(String messageId, NotificationEventDto request) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\NotificationHandlers\\\\WorkPermitV2NotificationHandler.cs:line 46\\r\\n   at OQSHA.Notification.Orchestrator.Routing.EventRouter.ExecuteAsync(String messageId, NotificationEventDto request) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\Routing\\\\EventRouter.cs:line 38\\r\\n   at OQSHA.Notification.Orchestrator.Worker.OrchestratorMessageHandler.HandleMessage(IMessage message) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\Worker\\\\OrchestratorMessageHandler.cs:line 44\",\"OriginalBody\":\"{\\\"TemplateId\\\":17,\\\"EntityType\\\":\\\"work_permit_v2\\\",\\\"EventType\\\":null,\\\"NotifyRoleId\\\":null,\\\"NotifyUserId\\\":null,\\\"NotifyDynamicActor\\\":\\\"PermitAcceptanceHeight\\\",\\\"EntityContext\\\":{\\\"Parameters\\\":{\\\"workPermitId\\\":\\\"441\\\",\\\"workPermitV2Id\\\":\\\"441\\\",\\\"orgId\\\":\\\"259\\\",\\\"viewLink\\\":\\\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/259/441?dlType=viewWorkPermitV2\\\",\\\"workPermitLink\\\":\\\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/259/441?dlType=viewWorkPermitV2\\\",\\\"emailFooter\\\":\\\"OQSHA Team\\\"}},\\\"ActorContext\\\":null,\\\"Metadata\\\":null}\"}"}

{"Timestamp":"2026-07-15T10:56:46.3032785+00:00","Level":"Information","Data":{"EventId":2733762697},"Message":"Sent message ID 1804a20da52c3001 to DLQ"}

{"Timestamp":"2026-07-15T10:56:46.3034665+00:00","Level":"Information","Data":{"EventId":3710570874},"Message":"Notification event with message ID 1804a20da56c3000 received: {\"TemplateId\":17,\"EntityType\":\"work_permit_v2\",\"EventType\":null,\"NotifyRoleId\":null,\"NotifyUserId\":null,\"NotifyDynamicActor\":\"PermitAuthorizerHeight\",\"EntityContext\":{\"Parameters\":{\"workPermitId\":\"441\",\"workPermitV2Id\":\"441\",\"orgId\":\"259\",\"viewLink\":\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/259/441?dlType=viewWorkPermitV2\",\"workPermitLink\":\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/259/441?dlType=viewWorkPermitV2\",\"emailFooter\":\"OQSHA Team\"}},\"ActorContext\":null,\"Metadata\":null}"}

{"Timestamp":"2026-07-15T10:56:46.3052730+00:00","Level":"Information","Data":{"EventId":1578456169},"Message":"Started processing notification for message ID 1804a20da56c3000"}

{"Timestamp":"2026-07-15T10:56:46.3053121+00:00","Level":"Information","Data":{"EventId":1938288696},"Message":"Looking up the notification handler for message ID 1804a20da56c3000"}

{"Timestamp":"2026-07-15T10:56:46.3053302+00:00","Level":"Information","Data":{"EventId":3576779646},"Message":"Event handling in process for message ID 1804a20da56c3000"}

{"Timestamp":"2026-07-15T10:56:46.3086320+00:00","Level":"Information","Data":{"EventId":3369055608},"Message":"Sending message ID 1804a20da56c3000 to DLQ"}

{"Timestamp":"2026-07-15T10:56:46.3087993+00:00","Level":"Information","Data":{"EventId":1987711980},"Message":"Dead letter envelope for DLQ message: {\"SourceTopic\":\"notification.orchestrator\",\"SourceChannel\":\"notification-orchestrator\",\"FailedAtUtc\":\"2026-07-15T10:56:46.3086594Z\",\"Attempts\":1,\"ErrorType\":\"OQSHA.Notification.Orchestrator.Exceptions.PermanentOrchestratorException\",\"ErrorMessage\":\"No recipients received for message ID 1804a20da56c3000\",\"StackTrace\":\"   at OQSHA.Notification.Orchestrator.Services.UsersService.ResolveRecipientsAsync(String messageId, Int32 orgId, NotificationEventDto request) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\Services\\\\UsersService.cs:line 84\\r\\n   at OQSHA.Notification.Orchestrator.Services.UsersService.GetRecipientsWithDetailsAsync(String messageId, Int32 orgId, NotificationEventDto request, NotificationTemplatesDbo notificationTemplate) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\Services\\\\UsersService.cs:line 134\\r\\n   at OQSHA.Notification.Orchestrator.NotificationHandlers.WorkPermitV2NotificationHandler.HandleAsync(String messageId, NotificationEventDto request) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\NotificationHandlers\\\\WorkPermitV2NotificationHandler.cs:line 62\\r\\n   at OQSHA.Notification.Orchestrator.NotificationHandlers.WorkPermitV2NotificationHandler.ProcessEventAsync(String messageId, NotificationEventDto request) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\NotificationHandlers\\\\WorkPermitV2NotificationHandler.cs:line 46\\r\\n   at OQSHA.Notification.Orchestrator.Routing.EventRouter.ExecuteAsync(String messageId, NotificationEventDto request) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\Routing\\\\EventRouter.cs:line 38\\r\\n   at OQSHA.Notification.Orchestrator.Worker.OrchestratorMessageHandler.HandleMessage(IMessage message) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\Worker\\\\OrchestratorMessageHandler.cs:line 44\",\"OriginalBody\":\"{\\\"TemplateId\\\":17,\\\"EntityType\\\":\\\"work_permit_v2\\\",\\\"EventType\\\":null,\\\"NotifyRoleId\\\":null,\\\"NotifyUserId\\\":null,\\\"NotifyDynamicActor\\\":\\\"PermitAuthorizerHeight\\\",\\\"EntityContext\\\":{\\\"Parameters\\\":{\\\"workPermitId\\\":\\\"441\\\",\\\"workPermitV2Id\\\":\\\"441\\\",\\\"orgId\\\":\\\"259\\\",\\\"viewLink\\\":\\\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/259/441?dlType=viewWorkPermitV2\\\",\\\"workPermitLink\\\":\\\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/259/441?dlType=viewWorkPermitV2\\\",\\\"emailFooter\\\":\\\"OQSHA Team\\\"}},\\\"ActorContext\\\":null,\\\"Metadata\\\":null}\"}"}

{"Timestamp":"2026-07-15T10:56:46.3090911+00:00","Level":"Information","Data":{"EventId":3487723407},"Message":"Sent message ID 1804a20da56c3000 to DLQ"}

{"Timestamp":"2026-07-15T10:56:54.9149886+00:00","Level":"Information","Data":{"EventId":3234102746},"Message":"Notification event with message ID 1804a215e06c3000 received: {\"TemplateId\":19,\"EntityType\":\"work_permit_v2\",\"EventType\":null,\"NotifyRoleId\":null,\"NotifyUserId\":null,\"NotifyDynamicActor\":\"PermitAcceptanceHeight\",\"EntityContext\":{\"Parameters\":{\"workPermitId\":\"441\",\"workPermitV2Id\":\"441\",\"orgId\":\"259\",\"viewLink\":\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/259/441?dlType=viewWorkPermitV2\",\"workPermitLink\":\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/259/441?dlType=viewWorkPermitV2\",\"emailFooter\":\"OQSHA Team\"}},\"ActorContext\":{\"Requestor\":[678],\"AreaOwnerHeight\":[678],\"PermitAcceptanceHeight\":[678],\"PermitAuthorizerHeight\":[678]},\"Metadata\":null}"}

{"Timestamp":"2026-07-15T10:56:54.9164782+00:00","Level":"Information","Data":{"EventId":2852413358},"Message":"Started processing notification for message ID 1804a215e06c3000"}

{"Timestamp":"2026-07-15T10:56:54.9165112+00:00","Level":"Information","Data":{"EventId":1353568845},"Message":"Looking up the notification handler for message ID 1804a215e06c3000"}

{"Timestamp":"2026-07-15T10:56:54.9165220+00:00","Level":"Information","Data":{"EventId":2682266132},"Message":"Event handling in process for message ID 1804a215e06c3000"}

{"Timestamp":"2026-07-15T10:56:54.9194301+00:00","Level":"Information","Data":{"EventId":2041809285},"Message":"Dispatching the notifications for message ID 1804a215e06c3000"}

{"Timestamp":"2026-07-15T10:56:54.9198015+00:00","Level":"Information","Data":{"EventId":2552723691},"Message":"Successfully processed notification for message ID 1804a215e06c3000"}

{"Timestamp":"2026-07-15T10:56:59.1563138+00:00","Level":"Information","Data":{"EventId":3500192551},"Message":"Notification event with message ID 1804a219d3ac3000 received: {\"TemplateId\":19,\"EntityType\":\"work_permit_v2\",\"EventType\":null,\"NotifyRoleId\":null,\"NotifyUserId\":null,\"NotifyDynamicActor\":\"PermitAuthorizerHeight\",\"EntityContext\":{\"Parameters\":{\"workPermitId\":\"441\",\"workPermitV2Id\":\"441\",\"orgId\":\"259\",\"viewLink\":\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/259/441?dlType=viewWorkPermitV2\",\"workPermitLink\":\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/259/441?dlType=viewWorkPermitV2\",\"emailFooter\":\"OQSHA Team\"}},\"ActorContext\":{\"Requestor\":[678],\"AreaOwnerHeight\":[678],\"PermitAcceptanceHeight\":[678],\"PermitAuthorizerHeight\":[678]},\"Metadata\":null}"}

{"Timestamp":"2026-07-15T10:56:59.1577910+00:00","Level":"Information","Data":{"EventId":2936272829},"Message":"Started processing notification for message ID 1804a219d3ac3000"}

{"Timestamp":"2026-07-15T10:56:59.1578254+00:00","Level":"Information","Data":{"EventId":2876916216},"Message":"Looking up the notification handler for message ID 1804a219d3ac3000"}

{"Timestamp":"2026-07-15T10:56:59.1578358+00:00","Level":"Information","Data":{"EventId":660125290},"Message":"Event handling in process for message ID 1804a219d3ac3000"}

{"Timestamp":"2026-07-15T10:56:59.1614673+00:00","Level":"Information","Data":{"EventId":2670656681},"Message":"Dispatching the notifications for message ID 1804a219d3ac3000"}

{"Timestamp":"2026-07-15T10:56:59.1623189+00:00","Level":"Information","Data":{"EventId":1334944165},"Message":"Successfully processed notification for message ID 1804a219d3ac3000"}

{"Timestamp":"2026-07-15T10:57:03.3743177+00:00","Level":"Information","Data":{"EventId":3586138824},"Message":"Notification event with message ID 1804a21dc16c3000 received: {\"TemplateId\":23,\"EntityType\":\"work_permit_v2\",\"EventType\":null,\"NotifyRoleId\":null,\"NotifyUserId\":null,\"NotifyDynamicActor\":\"Requestor\",\"EntityContext\":{\"Parameters\":{\"workPermitId\":\"441\",\"workPermitV2Id\":\"441\",\"orgId\":\"259\",\"viewLink\":\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/259/441?dlType=viewWorkPermitV2\",\"workPermitLink\":\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/259/441?dlType=viewWorkPermitV2\",\"emailFooter\":\"OQSHA Team\"}},\"ActorContext\":{\"Requestor\":[678],\"AreaOwnerHeight\":[678],\"PermitAcceptanceHeight\":[678],\"PermitAuthorizerHeight\":[678]},\"Metadata\":null}"}

{"Timestamp":"2026-07-15T10:57:03.3756933+00:00","Level":"Information","Data":{"EventId":600435034},"Message":"Started processing notification for message ID 1804a21dc16c3000"}

{"Timestamp":"2026-07-15T10:57:03.3757191+00:00","Level":"Information","Data":{"EventId":3563179508},"Message":"Looking up the notification handler for message ID 1804a21dc16c3000"}

{"Timestamp":"2026-07-15T10:57:03.3757405+00:00","Level":"Information","Data":{"EventId":441502989},"Message":"Event handling in process for message ID 1804a21dc16c3000"}

{"Timestamp":"2026-07-15T10:57:03.3790940+00:00","Level":"Information","Data":{"EventId":2360582343},"Message":"Dispatching the notifications for message ID 1804a21dc16c3000"}

{"Timestamp":"2026-07-15T10:57:03.3797392+00:00","Level":"Information","Data":{"EventId":3757650542},"Message":"Successfully processed notification for message ID 1804a21dc16c3000"}

{"Timestamp":"2026-07-15T10:57:52.6291929+00:00","Level":"Information","Data":{"EventId":3824533935},"Message":"Notification event with message ID 1804a24ba0ac3000 received: {\"TemplateId\":18,\"EntityType\":\"work_permit_v2\",\"EventType\":null,\"NotifyRoleId\":null,\"NotifyUserId\":null,\"NotifyDynamicActor\":\"Work_Permit_Authorization_Area_Owner\",\"EntityContext\":{\"Parameters\":{\"workPermitId\":\"439\",\"workPermitV2Id\":\"439\",\"orgId\":\"264\",\"viewLink\":\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/264/439?dlType=viewWorkPermitV2\",\"workPermitLink\":\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/264/439?dlType=viewWorkPermitV2\",\"emailFooter\":\"OQSHA Team\"}},\"ActorContext\":{\"Requestor\":[678],\"Work_Permit_Authorization_Department_Head\":[678],\"Work_Permit_Authorization_Area_Owner\":[678],\"Work_Permit_Authorization_Plant_Head\":[678]},\"Metadata\":null}"}

{"Timestamp":"2026-07-15T10:57:52.6311957+00:00","Level":"Information","Data":{"EventId":904530258},"Message":"Started processing notification for message ID 1804a24ba0ac3000"}

{"Timestamp":"2026-07-15T10:57:52.6312330+00:00","Level":"Information","Data":{"EventId":271666209},"Message":"Looking up the notification handler for message ID 1804a24ba0ac3000"}

{"Timestamp":"2026-07-15T10:57:52.6312419+00:00","Level":"Information","Data":{"EventId":812852890},"Message":"Event handling in process for message ID 1804a24ba0ac3000"}

{"Timestamp":"2026-07-15T10:57:52.6372084+00:00","Level":"Information","Data":{"EventId":2398330897},"Message":"Dispatching the notifications for message ID 1804a24ba0ac3000"}

{"Timestamp":"2026-07-15T10:57:52.6375687+00:00","Level":"Information","Data":{"EventId":2090620168},"Message":"Successfully processed notification for message ID 1804a24ba0ac3000"}

{"Timestamp":"2026-07-15T10:57:52.7991503+00:00","Level":"Information","Data":{"EventId":2033407484},"Message":"Notification event with message ID 1804a24ba0ac3001 received: {\"TemplateId\":19,\"EntityType\":\"work_permit_v2\",\"EventType\":null,\"NotifyRoleId\":null,\"NotifyUserId\":null,\"NotifyDynamicActor\":\"Work_Permit_Authorization_Area_Owner\",\"EntityContext\":{\"Parameters\":{\"workPermitId\":\"439\",\"workPermitV2Id\":\"439\",\"orgId\":\"264\",\"viewLink\":\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/264/439?dlType=viewWorkPermitV2\",\"workPermitLink\":\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/264/439?dlType=viewWorkPermitV2\",\"emailFooter\":\"OQSHA Team\"}},\"ActorContext\":{\"Requestor\":[678],\"Work_Permit_Authorization_Department_Head\":[678],\"Work_Permit_Authorization_Area_Owner\":[678],\"Work_Permit_Authorization_Plant_Head\":[678]},\"Metadata\":null}"}

{"Timestamp":"2026-07-15T10:57:52.8007198+00:00","Level":"Information","Data":{"EventId":1184410287},"Message":"Started processing notification for message ID 1804a24ba0ac3001"}

{"Timestamp":"2026-07-15T10:57:52.8007489+00:00","Level":"Information","Data":{"EventId":1259520479},"Message":"Looking up the notification handler for message ID 1804a24ba0ac3001"}

{"Timestamp":"2026-07-15T10:57:52.8007592+00:00","Level":"Information","Data":{"EventId":2004300961},"Message":"Event handling in process for message ID 1804a24ba0ac3001"}

{"Timestamp":"2026-07-15T10:57:52.8039672+00:00","Level":"Information","Data":{"EventId":2123595601},"Message":"Dispatching the notifications for message ID 1804a24ba0ac3001"}

{"Timestamp":"2026-07-15T10:57:52.8042997+00:00","Level":"Information","Data":{"EventId":2392029430},"Message":"Successfully processed notification for message ID 1804a24ba0ac3001"}

{"Timestamp":"2026-07-15T11:06:14.2386689+00:00","Level":"Information","Data":{"EventId":3421419437},"Message":"Notification event with message ID 1804a41ec8ac3000 received: {\"TemplateId\":18,\"EntityType\":\"work_permit_v2\",\"EventType\":null,\"NotifyRoleId\":null,\"NotifyUserId\":null,\"NotifyDynamicActor\":\"Work_Permit_Authorization_Department_Head\",\"EntityContext\":{\"Parameters\":{\"workPermitId\":\"443\",\"workPermitV2Id\":\"443\",\"orgId\":\"264\",\"viewLink\":\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/264/443?dlType=viewWorkPermitV2\",\"workPermitLink\":\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/264/443?dlType=viewWorkPermitV2\",\"emailFooter\":\"OQSHA Team\"}},\"ActorContext\":{\"Requestor\":[267],\"Work_Permit_Authorization_Department_Head\":[678],\"Work_Permit_Authorization_Area_Owner\":[678]},\"Metadata\":null}"}

{"Timestamp":"2026-07-15T11:06:14.2403987+00:00","Level":"Information","Data":{"EventId":3416075426},"Message":"Started processing notification for message ID 1804a41ec8ac3000"}

{"Timestamp":"2026-07-15T11:06:14.2404270+00:00","Level":"Information","Data":{"EventId":497820419},"Message":"Looking up the notification handler for message ID 1804a41ec8ac3000"}

{"Timestamp":"2026-07-15T11:06:14.2404353+00:00","Level":"Information","Data":{"EventId":894223924},"Message":"Event handling in process for message ID 1804a41ec8ac3000"}

{"Timestamp":"2026-07-15T11:06:14.2443597+00:00","Level":"Information","Data":{"EventId":2019686510},"Message":"Dispatching the notifications for message ID 1804a41ec8ac3000"}

{"Timestamp":"2026-07-15T11:06:14.2448317+00:00","Level":"Information","Data":{"EventId":1041399835},"Message":"Successfully processed notification for message ID 1804a41ec8ac3000"}

{"Timestamp":"2026-07-15T11:06:14.2815441+00:00","Level":"Information","Data":{"EventId":1209954477},"Message":"Notification event with message ID 1804a41ec9ac3000 received: {\"TemplateId\":19,\"EntityType\":\"work_permit_v2\",\"EventType\":null,\"NotifyRoleId\":null,\"NotifyUserId\":null,\"NotifyDynamicActor\":\"Work_Permit_Authorization_Department_Head\",\"EntityContext\":{\"Parameters\":{\"workPermitId\":\"443\",\"workPermitV2Id\":\"443\",\"orgId\":\"264\",\"viewLink\":\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/264/443?dlType=viewWorkPermitV2\",\"workPermitLink\":\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/264/443?dlType=viewWorkPermitV2\",\"emailFooter\":\"OQSHA Team\"}},\"ActorContext\":{\"Requestor\":[267],\"Work_Permit_Authorization_Department_Head\":[678],\"Work_Permit_Authorization_Area_Owner\":[678]},\"Metadata\":null}"}

{"Timestamp":"2026-07-15T11:06:14.2858611+00:00","Level":"Information","Data":{"EventId":3435548363},"Message":"Started processing notification for message ID 1804a41ec9ac3000"}

{"Timestamp":"2026-07-15T11:06:14.2859445+00:00","Level":"Information","Data":{"EventId":2516464986},"Message":"Looking up the notification handler for message ID 1804a41ec9ac3000"}

{"Timestamp":"2026-07-15T11:06:14.2859849+00:00","Level":"Information","Data":{"EventId":57961333},"Message":"Event handling in process for message ID 1804a41ec9ac3000"}

{"Timestamp":"2026-07-15T11:06:14.2947434+00:00","Level":"Information","Data":{"EventId":1555905938},"Message":"Dispatching the notifications for message ID 1804a41ec9ac3000"}

{"Timestamp":"2026-07-15T11:06:14.2959354+00:00","Level":"Information","Data":{"EventId":1375345754},"Message":"Successfully processed notification for message ID 1804a41ec9ac3000"}

{"Timestamp":"2026-07-15T11:07:02.5773235+00:00","Level":"Information","Data":{"EventId":3360725134},"Message":"Notification event with message ID 1804a44bce6c3000 received: {\"TemplateId\":18,\"EntityType\":\"work_permit_v2\",\"EventType\":null,\"NotifyRoleId\":null,\"NotifyUserId\":null,\"NotifyDynamicActor\":\"Work_Permit_Authorization_Area_Owner\",\"EntityContext\":{\"Parameters\":{\"workPermitId\":\"443\",\"workPermitV2Id\":\"443\",\"orgId\":\"264\",\"viewLink\":\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/264/443?dlType=viewWorkPermitV2\",\"workPermitLink\":\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/264/443?dlType=viewWorkPermitV2\",\"emailFooter\":\"OQSHA Team\"}},\"ActorContext\":{\"Requestor\":[267],\"Work_Permit_Authorization_Department_Head\":[678],\"Work_Permit_Authorization_Area_Owner\":[678]},\"Metadata\":null}"}

{"Timestamp":"2026-07-15T11:07:02.5789196+00:00","Level":"Information","Data":{"EventId":3606843830},"Message":"Started processing notification for message ID 1804a44bce6c3000"}

{"Timestamp":"2026-07-15T11:07:02.5789486+00:00","Level":"Information","Data":{"EventId":1530916445},"Message":"Looking up the notification handler for message ID 1804a44bce6c3000"}

{"Timestamp":"2026-07-15T11:07:02.5789586+00:00","Level":"Information","Data":{"EventId":3990560756},"Message":"Event handling in process for message ID 1804a44bce6c3000"}

{"Timestamp":"2026-07-15T11:07:02.5819910+00:00","Level":"Information","Data":{"EventId":1252185617},"Message":"Dispatching the notifications for message ID 1804a44bce6c3000"}

{"Timestamp":"2026-07-15T11:07:02.5824688+00:00","Level":"Information","Data":{"EventId":1865300952},"Message":"Successfully processed notification for message ID 1804a44bce6c3000"}

{"Timestamp":"2026-07-15T11:07:02.7749681+00:00","Level":"Information","Data":{"EventId":1581148376},"Message":"Notification event with message ID 1804a44bce6c3001 received: {\"TemplateId\":19,\"EntityType\":\"work_permit_v2\",\"EventType\":null,\"NotifyRoleId\":null,\"NotifyUserId\":null,\"NotifyDynamicActor\":\"Work_Permit_Authorization_Area_Owner\",\"EntityContext\":{\"Parameters\":{\"workPermitId\":\"443\",\"workPermitV2Id\":\"443\",\"orgId\":\"264\",\"viewLink\":\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/264/443?dlType=viewWorkPermitV2\",\"workPermitLink\":\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/264/443?dlType=viewWorkPermitV2\",\"emailFooter\":\"OQSHA Team\"}},\"ActorContext\":{\"Requestor\":[267],\"Work_Permit_Authorization_Department_Head\":[678],\"Work_Permit_Authorization_Area_Owner\":[678]},\"Metadata\":null}"}

{"Timestamp":"2026-07-15T11:07:02.7783148+00:00","Level":"Information","Data":{"EventId":3963960392},"Message":"Started processing notification for message ID 1804a44bce6c3001"}

{"Timestamp":"2026-07-15T11:07:02.7784045+00:00","Level":"Information","Data":{"EventId":1236814670},"Message":"Looking up the notification handler for message ID 1804a44bce6c3001"}

{"Timestamp":"2026-07-15T11:07:02.7784419+00:00","Level":"Information","Data":{"EventId":1058390632},"Message":"Event handling in process for message ID 1804a44bce6c3001"}

{"Timestamp":"2026-07-15T11:07:02.7854665+00:00","Level":"Information","Data":{"EventId":285598424},"Message":"Dispatching the notifications for message ID 1804a44bce6c3001"}

{"Timestamp":"2026-07-15T11:07:02.7871630+00:00","Level":"Information","Data":{"EventId":891013020},"Message":"Successfully processed notification for message ID 1804a44bce6c3001"}

{"Timestamp":"2026-07-15T11:07:27.2542945+00:00","Level":"Information","Data":{"EventId":3785982544},"Message":"Notification event with message ID 1804a462c9ec3000 received: {\"TemplateId\":22,\"EntityType\":\"work_permit_v2\",\"EventType\":null,\"NotifyRoleId\":null,\"NotifyUserId\":null,\"NotifyDynamicActor\":\"Requestor\",\"EntityContext\":{\"Parameters\":{\"workPermitId\":\"443\",\"workPermitV2Id\":\"443\",\"orgId\":\"264\",\"viewLink\":\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/264/443?dlType=viewWorkPermitV2\",\"workPermitLink\":\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/264/443?dlType=viewWorkPermitV2\",\"emailFooter\":\"OQSHA Team\"}},\"ActorContext\":{\"Requestor\":[267],\"Work_Permit_Authorization_Department_Head\":[678],\"Work_Permit_Authorization_Area_Owner\":[678]},\"Metadata\":null}"}

{"Timestamp":"2026-07-15T11:07:27.2561161+00:00","Level":"Information","Data":{"EventId":3549679347},"Message":"Started processing notification for message ID 1804a462c9ec3000"}

{"Timestamp":"2026-07-15T11:07:27.2561462+00:00","Level":"Information","Data":{"EventId":134687942},"Message":"Looking up the notification handler for message ID 1804a462c9ec3000"}

{"Timestamp":"2026-07-15T11:07:27.2561555+00:00","Level":"Information","Data":{"EventId":3763054848},"Message":"Event handling in process for message ID 1804a462c9ec3000"}

{"Timestamp":"2026-07-15T11:07:27.2612115+00:00","Level":"Information","Data":{"EventId":2927346876},"Message":"Dispatching the notifications for message ID 1804a462c9ec3000"}

{"Timestamp":"2026-07-15T11:07:27.2614902+00:00","Level":"Information","Data":{"EventId":4119726313},"Message":"Successfully processed notification for message ID 1804a462c9ec3000"}

{"Timestamp":"2026-07-15T11:07:27.2855141+00:00","Level":"Information","Data":{"EventId":948282310},"Message":"Notification event with message ID 1804a462ca2c3000 received: {\"TemplateId\":23,\"EntityType\":\"work_permit_v2\",\"EventType\":null,\"NotifyRoleId\":null,\"NotifyUserId\":null,\"NotifyDynamicActor\":\"Requestor\",\"EntityContext\":{\"Parameters\":{\"workPermitId\":\"443\",\"workPermitV2Id\":\"443\",\"orgId\":\"264\",\"viewLink\":\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/264/443?dlType=viewWorkPermitV2\",\"workPermitLink\":\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/264/443?dlType=viewWorkPermitV2\",\"emailFooter\":\"OQSHA Team\"}},\"ActorContext\":{\"Requestor\":[267],\"Work_Permit_Authorization_Department_Head\":[678],\"Work_Permit_Authorization_Area_Owner\":[678]},\"Metadata\":null}"}

{"Timestamp":"2026-07-15T11:07:27.2886068+00:00","Level":"Information","Data":{"EventId":3770934981},"Message":"Started processing notification for message ID 1804a462ca2c3000"}

{"Timestamp":"2026-07-15T11:07:27.2886411+00:00","Level":"Information","Data":{"EventId":111129691},"Message":"Looking up the notification handler for message ID 1804a462ca2c3000"}

{"Timestamp":"2026-07-15T11:07:27.2886508+00:00","Level":"Information","Data":{"EventId":2309081885},"Message":"Event handling in process for message ID 1804a462ca2c3000"}

{"Timestamp":"2026-07-15T11:07:27.2941098+00:00","Level":"Information","Data":{"EventId":2128596617},"Message":"Dispatching the notifications for message ID 1804a462ca2c3000"}

{"Timestamp":"2026-07-15T11:07:27.2944340+00:00","Level":"Information","Data":{"EventId":499474173},"Message":"Successfully processed notification for message ID 1804a462ca2c3000"}

{"Timestamp":"2026-07-15T11:13:26.4151539+00:00","Level":"Information","Data":{"EventId":4063959565},"Message":"Notification event with message ID 1804a5b148ac3000 received: {\"TemplateId\":17,\"EntityType\":\"work_permit_v2\",\"EventType\":null,\"NotifyRoleId\":null,\"NotifyUserId\":null,\"NotifyDynamicActor\":\"AreaOwnerHeight\",\"EntityContext\":{\"Parameters\":{\"workPermitId\":\"445\",\"workPermitV2Id\":\"445\",\"orgId\":\"259\",\"viewLink\":\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/259/445?dlType=viewWorkPermitV2\",\"workPermitLink\":\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/259/445?dlType=viewWorkPermitV2\",\"emailFooter\":\"OQSHA Team\"}},\"ActorContext\":null,\"Metadata\":null}"}

{"Timestamp":"2026-07-15T11:13:26.4178426+00:00","Level":"Information","Data":{"EventId":375260086},"Message":"Started processing notification for message ID 1804a5b148ac3000"}

{"Timestamp":"2026-07-15T11:13:26.4178679+00:00","Level":"Information","Data":{"EventId":569605902},"Message":"Looking up the notification handler for message ID 1804a5b148ac3000"}

{"Timestamp":"2026-07-15T11:13:26.4178769+00:00","Level":"Information","Data":{"EventId":3438846360},"Message":"Event handling in process for message ID 1804a5b148ac3000"}

{"Timestamp":"2026-07-15T11:13:26.4238685+00:00","Level":"Information","Data":{"EventId":1033676020},"Message":"Sending message ID 1804a5b148ac3000 to DLQ"}

{"Timestamp":"2026-07-15T11:13:26.4241151+00:00","Level":"Information","Data":{"EventId":1989807681},"Message":"Dead letter envelope for DLQ message: {\"SourceTopic\":\"notification.orchestrator\",\"SourceChannel\":\"notification-orchestrator\",\"FailedAtUtc\":\"2026-07-15T11:13:26.423901Z\",\"Attempts\":1,\"ErrorType\":\"OQSHA.Notification.Orchestrator.Exceptions.PermanentOrchestratorException\",\"ErrorMessage\":\"No recipients received for message ID 1804a5b148ac3000\",\"StackTrace\":\"   at OQSHA.Notification.Orchestrator.Services.UsersService.ResolveRecipientsAsync(String messageId, Int32 orgId, NotificationEventDto request) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\Services\\\\UsersService.cs:line 84\\r\\n   at OQSHA.Notification.Orchestrator.Services.UsersService.GetRecipientsWithDetailsAsync(String messageId, Int32 orgId, NotificationEventDto request, NotificationTemplatesDbo notificationTemplate) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\Services\\\\UsersService.cs:line 134\\r\\n   at OQSHA.Notification.Orchestrator.NotificationHandlers.WorkPermitV2NotificationHandler.HandleAsync(String messageId, NotificationEventDto request) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\NotificationHandlers\\\\WorkPermitV2NotificationHandler.cs:line 62\\r\\n   at OQSHA.Notification.Orchestrator.NotificationHandlers.WorkPermitV2NotificationHandler.ProcessEventAsync(String messageId, NotificationEventDto request) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\NotificationHandlers\\\\WorkPermitV2NotificationHandler.cs:line 46\\r\\n   at OQSHA.Notification.Orchestrator.Routing.EventRouter.ExecuteAsync(String messageId, NotificationEventDto request) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\Routing\\\\EventRouter.cs:line 38\\r\\n   at OQSHA.Notification.Orchestrator.Worker.OrchestratorMessageHandler.HandleMessage(IMessage message) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\Worker\\\\OrchestratorMessageHandler.cs:line 44\",\"OriginalBody\":\"{\\\"TemplateId\\\":17,\\\"EntityType\\\":\\\"work_permit_v2\\\",\\\"EventType\\\":null,\\\"NotifyRoleId\\\":null,\\\"NotifyUserId\\\":null,\\\"NotifyDynamicActor\\\":\\\"AreaOwnerHeight\\\",\\\"EntityContext\\\":{\\\"Parameters\\\":{\\\"workPermitId\\\":\\\"445\\\",\\\"workPermitV2Id\\\":\\\"445\\\",\\\"orgId\\\":\\\"259\\\",\\\"viewLink\\\":\\\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/259/445?dlType=viewWorkPermitV2\\\",\\\"workPermitLink\\\":\\\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/259/445?dlType=viewWorkPermitV2\\\",\\\"emailFooter\\\":\\\"OQSHA Team\\\"}},\\\"ActorContext\\\":null,\\\"Metadata\\\":null}\"}"}

{"Timestamp":"2026-07-15T11:13:26.4248138+00:00","Level":"Information","Data":{"EventId":6226631},"Message":"Sent message ID 1804a5b148ac3000 to DLQ"}

{"Timestamp":"2026-07-15T11:13:26.5334027+00:00","Level":"Information","Data":{"EventId":1709897050},"Message":"Notification event with message ID 1804a5b148ac3001 received: {\"TemplateId\":17,\"EntityType\":\"work_permit_v2\",\"EventType\":null,\"NotifyRoleId\":null,\"NotifyUserId\":null,\"NotifyDynamicActor\":\"PermitAcceptanceHeight\",\"EntityContext\":{\"Parameters\":{\"workPermitId\":\"445\",\"workPermitV2Id\":\"445\",\"orgId\":\"259\",\"viewLink\":\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/259/445?dlType=viewWorkPermitV2\",\"workPermitLink\":\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/259/445?dlType=viewWorkPermitV2\",\"emailFooter\":\"OQSHA Team\"}},\"ActorContext\":null,\"Metadata\":null}"}

{"Timestamp":"2026-07-15T11:13:26.5375988+00:00","Level":"Information","Data":{"EventId":2459696176},"Message":"Started processing notification for message ID 1804a5b148ac3001"}

{"Timestamp":"2026-07-15T11:13:26.5376876+00:00","Level":"Information","Data":{"EventId":4030831531},"Message":"Looking up the notification handler for message ID 1804a5b148ac3001"}

{"Timestamp":"2026-07-15T11:13:26.5377238+00:00","Level":"Information","Data":{"EventId":3212969643},"Message":"Event handling in process for message ID 1804a5b148ac3001"}

{"Timestamp":"2026-07-15T11:13:26.5455778+00:00","Level":"Information","Data":{"EventId":460288886},"Message":"Sending message ID 1804a5b148ac3001 to DLQ"}

{"Timestamp":"2026-07-15T11:13:26.5462690+00:00","Level":"Information","Data":{"EventId":2675422471},"Message":"Dead letter envelope for DLQ message: {\"SourceTopic\":\"notification.orchestrator\",\"SourceChannel\":\"notification-orchestrator\",\"FailedAtUtc\":\"2026-07-15T11:13:26.5456835Z\",\"Attempts\":1,\"ErrorType\":\"OQSHA.Notification.Orchestrator.Exceptions.PermanentOrchestratorException\",\"ErrorMessage\":\"No recipients received for message ID 1804a5b148ac3001\",\"StackTrace\":\"   at OQSHA.Notification.Orchestrator.Services.UsersService.ResolveRecipientsAsync(String messageId, Int32 orgId, NotificationEventDto request) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\Services\\\\UsersService.cs:line 84\\r\\n   at OQSHA.Notification.Orchestrator.Services.UsersService.GetRecipientsWithDetailsAsync(String messageId, Int32 orgId, NotificationEventDto request, NotificationTemplatesDbo notificationTemplate) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\Services\\\\UsersService.cs:line 134\\r\\n   at OQSHA.Notification.Orchestrator.NotificationHandlers.WorkPermitV2NotificationHandler.HandleAsync(String messageId, NotificationEventDto request) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\NotificationHandlers\\\\WorkPermitV2NotificationHandler.cs:line 62\\r\\n   at OQSHA.Notification.Orchestrator.NotificationHandlers.WorkPermitV2NotificationHandler.ProcessEventAsync(String messageId, NotificationEventDto request) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\NotificationHandlers\\\\WorkPermitV2NotificationHandler.cs:line 46\\r\\n   at OQSHA.Notification.Orchestrator.Routing.EventRouter.ExecuteAsync(String messageId, NotificationEventDto request) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\Routing\\\\EventRouter.cs:line 38\\r\\n   at OQSHA.Notification.Orchestrator.Worker.OrchestratorMessageHandler.HandleMessage(IMessage message) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\Worker\\\\OrchestratorMessageHandler.cs:line 44\",\"OriginalBody\":\"{\\\"TemplateId\\\":17,\\\"EntityType\\\":\\\"work_permit_v2\\\",\\\"EventType\\\":null,\\\"NotifyRoleId\\\":null,\\\"NotifyUserId\\\":null,\\\"NotifyDynamicActor\\\":\\\"PermitAcceptanceHeight\\\",\\\"EntityContext\\\":{\\\"Parameters\\\":{\\\"workPermitId\\\":\\\"445\\\",\\\"workPermitV2Id\\\":\\\"445\\\",\\\"orgId\\\":\\\"259\\\",\\\"viewLink\\\":\\\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/259/445?dlType=viewWorkPermitV2\\\",\\\"workPermitLink\\\":\\\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/259/445?dlType=viewWorkPermitV2\\\",\\\"emailFooter\\\":\\\"OQSHA Team\\\"}},\\\"ActorContext\\\":null,\\\"Metadata\\\":null}\"}"}

{"Timestamp":"2026-07-15T11:13:26.5481646+00:00","Level":"Information","Data":{"EventId":1876370979},"Message":"Sent message ID 1804a5b148ac3001 to DLQ"}

{"Timestamp":"2026-07-15T11:13:26.5488823+00:00","Level":"Information","Data":{"EventId":3728310819},"Message":"Notification event with message ID 1804a5b148ec3000 received: {\"TemplateId\":17,\"EntityType\":\"work_permit_v2\",\"EventType\":null,\"NotifyRoleId\":null,\"NotifyUserId\":null,\"NotifyDynamicActor\":\"PermitAuthorizerHeight\",\"EntityContext\":{\"Parameters\":{\"workPermitId\":\"445\",\"workPermitV2Id\":\"445\",\"orgId\":\"259\",\"viewLink\":\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/259/445?dlType=viewWorkPermitV2\",\"workPermitLink\":\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/259/445?dlType=viewWorkPermitV2\",\"emailFooter\":\"OQSHA Team\"}},\"ActorContext\":null,\"Metadata\":null}"}

{"Timestamp":"2026-07-15T11:13:26.5520262+00:00","Level":"Information","Data":{"EventId":4255656444},"Message":"Started processing notification for message ID 1804a5b148ec3000"}

{"Timestamp":"2026-07-15T11:13:26.5521064+00:00","Level":"Information","Data":{"EventId":2101922081},"Message":"Looking up the notification handler for message ID 1804a5b148ec3000"}

{"Timestamp":"2026-07-15T11:13:26.5521417+00:00","Level":"Information","Data":{"EventId":981207286},"Message":"Event handling in process for message ID 1804a5b148ec3000"}

{"Timestamp":"2026-07-15T11:13:26.5595085+00:00","Level":"Information","Data":{"EventId":3722908419},"Message":"Sending message ID 1804a5b148ec3000 to DLQ"}

{"Timestamp":"2026-07-15T11:13:26.5600373+00:00","Level":"Information","Data":{"EventId":1560973400},"Message":"Dead letter envelope for DLQ message: {\"SourceTopic\":\"notification.orchestrator\",\"SourceChannel\":\"notification-orchestrator\",\"FailedAtUtc\":\"2026-07-15T11:13:26.5596092Z\",\"Attempts\":1,\"ErrorType\":\"OQSHA.Notification.Orchestrator.Exceptions.PermanentOrchestratorException\",\"ErrorMessage\":\"No recipients received for message ID 1804a5b148ec3000\",\"StackTrace\":\"   at OQSHA.Notification.Orchestrator.Services.UsersService.ResolveRecipientsAsync(String messageId, Int32 orgId, NotificationEventDto request) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\Services\\\\UsersService.cs:line 84\\r\\n   at OQSHA.Notification.Orchestrator.Services.UsersService.GetRecipientsWithDetailsAsync(String messageId, Int32 orgId, NotificationEventDto request, NotificationTemplatesDbo notificationTemplate) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\Services\\\\UsersService.cs:line 134\\r\\n   at OQSHA.Notification.Orchestrator.NotificationHandlers.WorkPermitV2NotificationHandler.HandleAsync(String messageId, NotificationEventDto request) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\NotificationHandlers\\\\WorkPermitV2NotificationHandler.cs:line 62\\r\\n   at OQSHA.Notification.Orchestrator.NotificationHandlers.WorkPermitV2NotificationHandler.ProcessEventAsync(String messageId, NotificationEventDto request) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\NotificationHandlers\\\\WorkPermitV2NotificationHandler.cs:line 46\\r\\n   at OQSHA.Notification.Orchestrator.Routing.EventRouter.ExecuteAsync(String messageId, NotificationEventDto request) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\Routing\\\\EventRouter.cs:line 38\\r\\n   at OQSHA.Notification.Orchestrator.Worker.OrchestratorMessageHandler.HandleMessage(IMessage message) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\Worker\\\\OrchestratorMessageHandler.cs:line 44\",\"OriginalBody\":\"{\\\"TemplateId\\\":17,\\\"EntityType\\\":\\\"work_permit_v2\\\",\\\"EventType\\\":null,\\\"NotifyRoleId\\\":null,\\\"NotifyUserId\\\":null,\\\"NotifyDynamicActor\\\":\\\"PermitAuthorizerHeight\\\",\\\"EntityContext\\\":{\\\"Parameters\\\":{\\\"workPermitId\\\":\\\"445\\\",\\\"workPermitV2Id\\\":\\\"445\\\",\\\"orgId\\\":\\\"259\\\",\\\"viewLink\\\":\\\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/259/445?dlType=viewWorkPermitV2\\\",\\\"workPermitLink\\\":\\\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/259/445?dlType=viewWorkPermitV2\\\",\\\"emailFooter\\\":\\\"OQSHA Team\\\"}},\\\"ActorContext\\\":null,\\\"Metadata\\\":null}\"}"}

{"Timestamp":"2026-07-15T11:13:26.5615471+00:00","Level":"Information","Data":{"EventId":569712169},"Message":"Sent message ID 1804a5b148ec3000 to DLQ"}

{"Timestamp":"2026-07-15T11:13:48.5493317+00:00","Level":"Information","Data":{"EventId":79196979},"Message":"Notification event with message ID 1804a5c5e5ac3000 received: {\"TemplateId\":17,\"EntityType\":\"work_permit_v2\",\"EventType\":null,\"NotifyRoleId\":null,\"NotifyUserId\":null,\"NotifyDynamicActor\":\"AreaOwnerHeight\",\"EntityContext\":{\"Parameters\":{\"workPermitId\":\"447\",\"workPermitV2Id\":\"447\",\"orgId\":\"259\",\"viewLink\":\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/259/447?dlType=viewWorkPermitV2\",\"workPermitLink\":\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/259/447?dlType=viewWorkPermitV2\",\"emailFooter\":\"OQSHA Team\"}},\"ActorContext\":null,\"Metadata\":null}"}

{"Timestamp":"2026-07-15T11:13:48.5508844+00:00","Level":"Information","Data":{"EventId":2865797428},"Message":"Started processing notification for message ID 1804a5c5e5ac3000"}

{"Timestamp":"2026-07-15T11:13:48.5509102+00:00","Level":"Information","Data":{"EventId":404756523},"Message":"Looking up the notification handler for message ID 1804a5c5e5ac3000"}

{"Timestamp":"2026-07-15T11:13:48.5509195+00:00","Level":"Information","Data":{"EventId":783687253},"Message":"Event handling in process for message ID 1804a5c5e5ac3000"}

{"Timestamp":"2026-07-15T11:13:48.5540123+00:00","Level":"Information","Data":{"EventId":1382634946},"Message":"Sending message ID 1804a5c5e5ac3000 to DLQ"}

{"Timestamp":"2026-07-15T11:13:48.5541832+00:00","Level":"Information","Data":{"EventId":3818440111},"Message":"Dead letter envelope for DLQ message: {\"SourceTopic\":\"notification.orchestrator\",\"SourceChannel\":\"notification-orchestrator\",\"FailedAtUtc\":\"2026-07-15T11:13:48.5540435Z\",\"Attempts\":1,\"ErrorType\":\"OQSHA.Notification.Orchestrator.Exceptions.PermanentOrchestratorException\",\"ErrorMessage\":\"No recipients received for message ID 1804a5c5e5ac3000\",\"StackTrace\":\"   at OQSHA.Notification.Orchestrator.Services.UsersService.ResolveRecipientsAsync(String messageId, Int32 orgId, NotificationEventDto request) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\Services\\\\UsersService.cs:line 84\\r\\n   at OQSHA.Notification.Orchestrator.Services.UsersService.GetRecipientsWithDetailsAsync(String messageId, Int32 orgId, NotificationEventDto request, NotificationTemplatesDbo notificationTemplate) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\Services\\\\UsersService.cs:line 134\\r\\n   at OQSHA.Notification.Orchestrator.NotificationHandlers.WorkPermitV2NotificationHandler.HandleAsync(String messageId, NotificationEventDto request) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\NotificationHandlers\\\\WorkPermitV2NotificationHandler.cs:line 62\\r\\n   at OQSHA.Notification.Orchestrator.NotificationHandlers.WorkPermitV2NotificationHandler.ProcessEventAsync(String messageId, NotificationEventDto request) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\NotificationHandlers\\\\WorkPermitV2NotificationHandler.cs:line 46\\r\\n   at OQSHA.Notification.Orchestrator.Routing.EventRouter.ExecuteAsync(String messageId, NotificationEventDto request) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\Routing\\\\EventRouter.cs:line 38\\r\\n   at OQSHA.Notification.Orchestrator.Worker.OrchestratorMessageHandler.HandleMessage(IMessage message) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\Worker\\\\OrchestratorMessageHandler.cs:line 44\",\"OriginalBody\":\"{\\\"TemplateId\\\":17,\\\"EntityType\\\":\\\"work_permit_v2\\\",\\\"EventType\\\":null,\\\"NotifyRoleId\\\":null,\\\"NotifyUserId\\\":null,\\\"NotifyDynamicActor\\\":\\\"AreaOwnerHeight\\\",\\\"EntityContext\\\":{\\\"Parameters\\\":{\\\"workPermitId\\\":\\\"447\\\",\\\"workPermitV2Id\\\":\\\"447\\\",\\\"orgId\\\":\\\"259\\\",\\\"viewLink\\\":\\\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/259/447?dlType=viewWorkPermitV2\\\",\\\"workPermitLink\\\":\\\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/259/447?dlType=viewWorkPermitV2\\\",\\\"emailFooter\\\":\\\"OQSHA Team\\\"}},\\\"ActorContext\\\":null,\\\"Metadata\\\":null}\"}"}

{"Timestamp":"2026-07-15T11:13:48.5546930+00:00","Level":"Information","Data":{"EventId":2501323777},"Message":"Sent message ID 1804a5c5e5ac3000 to DLQ"}

{"Timestamp":"2026-07-15T11:13:48.7699625+00:00","Level":"Information","Data":{"EventId":3136029592},"Message":"Notification event with message ID 1804a5c5e5ac3001 received: {\"TemplateId\":17,\"EntityType\":\"work_permit_v2\",\"EventType\":null,\"NotifyRoleId\":null,\"NotifyUserId\":null,\"NotifyDynamicActor\":\"PermitAcceptanceHeight\",\"EntityContext\":{\"Parameters\":{\"workPermitId\":\"447\",\"workPermitV2Id\":\"447\",\"orgId\":\"259\",\"viewLink\":\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/259/447?dlType=viewWorkPermitV2\",\"workPermitLink\":\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/259/447?dlType=viewWorkPermitV2\",\"emailFooter\":\"OQSHA Team\"}},\"ActorContext\":null,\"Metadata\":null}"}

{"Timestamp":"2026-07-15T11:13:48.7742423+00:00","Level":"Information","Data":{"EventId":2156414116},"Message":"Started processing notification for message ID 1804a5c5e5ac3001"}

{"Timestamp":"2026-07-15T11:13:48.7743688+00:00","Level":"Information","Data":{"EventId":2301721164},"Message":"Looking up the notification handler for message ID 1804a5c5e5ac3001"}

{"Timestamp":"2026-07-15T11:13:48.7744068+00:00","Level":"Information","Data":{"EventId":1003927702},"Message":"Event handling in process for message ID 1804a5c5e5ac3001"}

{"Timestamp":"2026-07-15T11:13:48.7828599+00:00","Level":"Information","Data":{"EventId":4114890561},"Message":"Sending message ID 1804a5c5e5ac3001 to DLQ"}

{"Timestamp":"2026-07-15T11:13:48.7834965+00:00","Level":"Information","Data":{"EventId":4119316842},"Message":"Dead letter envelope for DLQ message: {\"SourceTopic\":\"notification.orchestrator\",\"SourceChannel\":\"notification-orchestrator\",\"FailedAtUtc\":\"2026-07-15T11:13:48.7829853Z\",\"Attempts\":1,\"ErrorType\":\"OQSHA.Notification.Orchestrator.Exceptions.PermanentOrchestratorException\",\"ErrorMessage\":\"No recipients received for message ID 1804a5c5e5ac3001\",\"StackTrace\":\"   at OQSHA.Notification.Orchestrator.Services.UsersService.ResolveRecipientsAsync(String messageId, Int32 orgId, NotificationEventDto request) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\Services\\\\UsersService.cs:line 84\\r\\n   at OQSHA.Notification.Orchestrator.Services.UsersService.GetRecipientsWithDetailsAsync(String messageId, Int32 orgId, NotificationEventDto request, NotificationTemplatesDbo notificationTemplate) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\Services\\\\UsersService.cs:line 134\\r\\n   at OQSHA.Notification.Orchestrator.NotificationHandlers.WorkPermitV2NotificationHandler.HandleAsync(String messageId, NotificationEventDto request) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\NotificationHandlers\\\\WorkPermitV2NotificationHandler.cs:line 62\\r\\n   at OQSHA.Notification.Orchestrator.NotificationHandlers.WorkPermitV2NotificationHandler.ProcessEventAsync(String messageId, NotificationEventDto request) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\NotificationHandlers\\\\WorkPermitV2NotificationHandler.cs:line 46\\r\\n   at OQSHA.Notification.Orchestrator.Routing.EventRouter.ExecuteAsync(String messageId, NotificationEventDto request) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\Routing\\\\EventRouter.cs:line 38\\r\\n   at OQSHA.Notification.Orchestrator.Worker.OrchestratorMessageHandler.HandleMessage(IMessage message) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\Worker\\\\OrchestratorMessageHandler.cs:line 44\",\"OriginalBody\":\"{\\\"TemplateId\\\":17,\\\"EntityType\\\":\\\"work_permit_v2\\\",\\\"EventType\\\":null,\\\"NotifyRoleId\\\":null,\\\"NotifyUserId\\\":null,\\\"NotifyDynamicActor\\\":\\\"PermitAcceptanceHeight\\\",\\\"EntityContext\\\":{\\\"Parameters\\\":{\\\"workPermitId\\\":\\\"447\\\",\\\"workPermitV2Id\\\":\\\"447\\\",\\\"orgId\\\":\\\"259\\\",\\\"viewLink\\\":\\\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/259/447?dlType=viewWorkPermitV2\\\",\\\"workPermitLink\\\":\\\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/259/447?dlType=viewWorkPermitV2\\\",\\\"emailFooter\\\":\\\"OQSHA Team\\\"}},\\\"ActorContext\\\":null,\\\"Metadata\\\":null}\"}"}

{"Timestamp":"2026-07-15T11:13:48.7852152+00:00","Level":"Information","Data":{"EventId":2031886419},"Message":"Sent message ID 1804a5c5e5ac3001 to DLQ"}

{"Timestamp":"2026-07-15T11:13:48.7859620+00:00","Level":"Information","Data":{"EventId":93050446},"Message":"Notification event with message ID 1804a5c5e5ac3002 received: {\"TemplateId\":17,\"EntityType\":\"work_permit_v2\",\"EventType\":null,\"NotifyRoleId\":null,\"NotifyUserId\":null,\"NotifyDynamicActor\":\"PermitAuthorizerHeight\",\"EntityContext\":{\"Parameters\":{\"workPermitId\":\"447\",\"workPermitV2Id\":\"447\",\"orgId\":\"259\",\"viewLink\":\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/259/447?dlType=viewWorkPermitV2\",\"workPermitLink\":\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/259/447?dlType=viewWorkPermitV2\",\"emailFooter\":\"OQSHA Team\"}},\"ActorContext\":null,\"Metadata\":null}"}

{"Timestamp":"2026-07-15T11:13:48.7901519+00:00","Level":"Information","Data":{"EventId":2409816793},"Message":"Started processing notification for message ID 1804a5c5e5ac3002"}

{"Timestamp":"2026-07-15T11:13:48.7902642+00:00","Level":"Information","Data":{"EventId":1956335904},"Message":"Looking up the notification handler for message ID 1804a5c5e5ac3002"}

{"Timestamp":"2026-07-15T11:13:48.7903015+00:00","Level":"Information","Data":{"EventId":1243403554},"Message":"Event handling in process for message ID 1804a5c5e5ac3002"}

{"Timestamp":"2026-07-15T11:13:48.7978933+00:00","Level":"Information","Data":{"EventId":272355120},"Message":"Sending message ID 1804a5c5e5ac3002 to DLQ"}

{"Timestamp":"2026-07-15T11:13:48.7985309+00:00","Level":"Information","Data":{"EventId":2084125182},"Message":"Dead letter envelope for DLQ message: {\"SourceTopic\":\"notification.orchestrator\",\"SourceChannel\":\"notification-orchestrator\",\"FailedAtUtc\":\"2026-07-15T11:13:48.7980186Z\",\"Attempts\":1,\"ErrorType\":\"OQSHA.Notification.Orchestrator.Exceptions.PermanentOrchestratorException\",\"ErrorMessage\":\"No recipients received for message ID 1804a5c5e5ac3002\",\"StackTrace\":\"   at OQSHA.Notification.Orchestrator.Services.UsersService.ResolveRecipientsAsync(String messageId, Int32 orgId, NotificationEventDto request) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\Services\\\\UsersService.cs:line 84\\r\\n   at OQSHA.Notification.Orchestrator.Services.UsersService.GetRecipientsWithDetailsAsync(String messageId, Int32 orgId, NotificationEventDto request, NotificationTemplatesDbo notificationTemplate) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\Services\\\\UsersService.cs:line 134\\r\\n   at OQSHA.Notification.Orchestrator.NotificationHandlers.WorkPermitV2NotificationHandler.HandleAsync(String messageId, NotificationEventDto request) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\NotificationHandlers\\\\WorkPermitV2NotificationHandler.cs:line 62\\r\\n   at OQSHA.Notification.Orchestrator.NotificationHandlers.WorkPermitV2NotificationHandler.ProcessEventAsync(String messageId, NotificationEventDto request) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\NotificationHandlers\\\\WorkPermitV2NotificationHandler.cs:line 46\\r\\n   at OQSHA.Notification.Orchestrator.Routing.EventRouter.ExecuteAsync(String messageId, NotificationEventDto request) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\Routing\\\\EventRouter.cs:line 38\\r\\n   at OQSHA.Notification.Orchestrator.Worker.OrchestratorMessageHandler.HandleMessage(IMessage message) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\Worker\\\\OrchestratorMessageHandler.cs:line 44\",\"OriginalBody\":\"{\\\"TemplateId\\\":17,\\\"EntityType\\\":\\\"work_permit_v2\\\",\\\"EventType\\\":null,\\\"NotifyRoleId\\\":null,\\\"NotifyUserId\\\":null,\\\"NotifyDynamicActor\\\":\\\"PermitAuthorizerHeight\\\",\\\"EntityContext\\\":{\\\"Parameters\\\":{\\\"workPermitId\\\":\\\"447\\\",\\\"workPermitV2Id\\\":\\\"447\\\",\\\"orgId\\\":\\\"259\\\",\\\"viewLink\\\":\\\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/259/447?dlType=viewWorkPermitV2\\\",\\\"workPermitLink\\\":\\\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/259/447?dlType=viewWorkPermitV2\\\",\\\"emailFooter\\\":\\\"OQSHA Team\\\"}},\\\"ActorContext\\\":null,\\\"Metadata\\\":null}\"}"}

{"Timestamp":"2026-07-15T11:13:48.8001305+00:00","Level":"Information","Data":{"EventId":2868557210},"Message":"Sent message ID 1804a5c5e5ac3002 to DLQ"}

{"Timestamp":"2026-07-15T11:13:49.3839664+00:00","Level":"Information","Data":{"EventId":4075599740},"Message":"Notification event with message ID 1804a5c6aa6c3000 received: {\"TemplateId\":17,\"EntityType\":\"work_permit_v2\",\"EventType\":null,\"NotifyRoleId\":null,\"NotifyUserId\":null,\"NotifyDynamicActor\":\"AreaOwnerHeight\",\"EntityContext\":{\"Parameters\":{\"workPermitId\":\"448\",\"workPermitV2Id\":\"448\",\"orgId\":\"259\",\"viewLink\":\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/259/448?dlType=viewWorkPermitV2\",\"workPermitLink\":\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/259/448?dlType=viewWorkPermitV2\",\"emailFooter\":\"OQSHA Team\"}},\"ActorContext\":null,\"Metadata\":null}"}

{"Timestamp":"2026-07-15T11:13:49.3860243+00:00","Level":"Information","Data":{"EventId":3669575370},"Message":"Started processing notification for message ID 1804a5c6aa6c3000"}

{"Timestamp":"2026-07-15T11:13:49.3860582+00:00","Level":"Information","Data":{"EventId":766353972},"Message":"Looking up the notification handler for message ID 1804a5c6aa6c3000"}

{"Timestamp":"2026-07-15T11:13:49.3860681+00:00","Level":"Information","Data":{"EventId":942617111},"Message":"Event handling in process for message ID 1804a5c6aa6c3000"}

{"Timestamp":"2026-07-15T11:13:49.3902682+00:00","Level":"Information","Data":{"EventId":2162696386},"Message":"Sending message ID 1804a5c6aa6c3000 to DLQ"}

{"Timestamp":"2026-07-15T11:13:49.3904499+00:00","Level":"Information","Data":{"EventId":3079275374},"Message":"Dead letter envelope for DLQ message: {\"SourceTopic\":\"notification.orchestrator\",\"SourceChannel\":\"notification-orchestrator\",\"FailedAtUtc\":\"2026-07-15T11:13:49.3902993Z\",\"Attempts\":1,\"ErrorType\":\"OQSHA.Notification.Orchestrator.Exceptions.PermanentOrchestratorException\",\"ErrorMessage\":\"No recipients received for message ID 1804a5c6aa6c3000\",\"StackTrace\":\"   at OQSHA.Notification.Orchestrator.Services.UsersService.ResolveRecipientsAsync(String messageId, Int32 orgId, NotificationEventDto request) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\Services\\\\UsersService.cs:line 84\\r\\n   at OQSHA.Notification.Orchestrator.Services.UsersService.GetRecipientsWithDetailsAsync(String messageId, Int32 orgId, NotificationEventDto request, NotificationTemplatesDbo notificationTemplate) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\Services\\\\UsersService.cs:line 134\\r\\n   at OQSHA.Notification.Orchestrator.NotificationHandlers.WorkPermitV2NotificationHandler.HandleAsync(String messageId, NotificationEventDto request) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\NotificationHandlers\\\\WorkPermitV2NotificationHandler.cs:line 62\\r\\n   at OQSHA.Notification.Orchestrator.NotificationHandlers.WorkPermitV2NotificationHandler.ProcessEventAsync(String messageId, NotificationEventDto request) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\NotificationHandlers\\\\WorkPermitV2NotificationHandler.cs:line 46\\r\\n   at OQSHA.Notification.Orchestrator.Routing.EventRouter.ExecuteAsync(String messageId, NotificationEventDto request) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\Routing\\\\EventRouter.cs:line 38\\r\\n   at OQSHA.Notification.Orchestrator.Worker.OrchestratorMessageHandler.HandleMessage(IMessage message) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\Worker\\\\OrchestratorMessageHandler.cs:line 44\",\"OriginalBody\":\"{\\\"TemplateId\\\":17,\\\"EntityType\\\":\\\"work_permit_v2\\\",\\\"EventType\\\":null,\\\"NotifyRoleId\\\":null,\\\"NotifyUserId\\\":null,\\\"NotifyDynamicActor\\\":\\\"AreaOwnerHeight\\\",\\\"EntityContext\\\":{\\\"Parameters\\\":{\\\"workPermitId\\\":\\\"448\\\",\\\"workPermitV2Id\\\":\\\"448\\\",\\\"orgId\\\":\\\"259\\\",\\\"viewLink\\\":\\\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/259/448?dlType=viewWorkPermitV2\\\",\\\"workPermitLink\\\":\\\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/259/448?dlType=viewWorkPermitV2\\\",\\\"emailFooter\\\":\\\"OQSHA Team\\\"}},\\\"ActorContext\\\":null,\\\"Metadata\\\":null}\"}"}

{"Timestamp":"2026-07-15T11:13:49.3908802+00:00","Level":"Information","Data":{"EventId":3974732494},"Message":"Sent message ID 1804a5c6aa6c3000 to DLQ"}

{"Timestamp":"2026-07-15T11:13:49.5242459+00:00","Level":"Information","Data":{"EventId":3715257740},"Message":"Notification event with message ID 1804a5c6acec3000 received: {\"TemplateId\":17,\"EntityType\":\"work_permit_v2\",\"EventType\":null,\"NotifyRoleId\":null,\"NotifyUserId\":null,\"NotifyDynamicActor\":\"PermitAcceptanceHeight\",\"EntityContext\":{\"Parameters\":{\"workPermitId\":\"448\",\"workPermitV2Id\":\"448\",\"orgId\":\"259\",\"viewLink\":\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/259/448?dlType=viewWorkPermitV2\",\"workPermitLink\":\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/259/448?dlType=viewWorkPermitV2\",\"emailFooter\":\"OQSHA Team\"}},\"ActorContext\":null,\"Metadata\":null}"}

{"Timestamp":"2026-07-15T11:13:49.5273245+00:00","Level":"Information","Data":{"EventId":361594182},"Message":"Started processing notification for message ID 1804a5c6acec3000"}

{"Timestamp":"2026-07-15T11:13:49.5273674+00:00","Level":"Information","Data":{"EventId":3843996099},"Message":"Looking up the notification handler for message ID 1804a5c6acec3000"}

{"Timestamp":"2026-07-15T11:13:49.5273940+00:00","Level":"Information","Data":{"EventId":1394595925},"Message":"Event handling in process for message ID 1804a5c6acec3000"}

{"Timestamp":"2026-07-15T11:13:49.5337036+00:00","Level":"Information","Data":{"EventId":1118187691},"Message":"Sending message ID 1804a5c6acec3000 to DLQ"}

{"Timestamp":"2026-07-15T11:13:49.5342980+00:00","Level":"Information","Data":{"EventId":3057037596},"Message":"Dead letter envelope for DLQ message: {\"SourceTopic\":\"notification.orchestrator\",\"SourceChannel\":\"notification-orchestrator\",\"FailedAtUtc\":\"2026-07-15T11:13:49.5338057Z\",\"Attempts\":1,\"ErrorType\":\"OQSHA.Notification.Orchestrator.Exceptions.PermanentOrchestratorException\",\"ErrorMessage\":\"No recipients received for message ID 1804a5c6acec3000\",\"StackTrace\":\"   at OQSHA.Notification.Orchestrator.Services.UsersService.ResolveRecipientsAsync(String messageId, Int32 orgId, NotificationEventDto request) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\Services\\\\UsersService.cs:line 84\\r\\n   at OQSHA.Notification.Orchestrator.Services.UsersService.GetRecipientsWithDetailsAsync(String messageId, Int32 orgId, NotificationEventDto request, NotificationTemplatesDbo notificationTemplate) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\Services\\\\UsersService.cs:line 134\\r\\n   at OQSHA.Notification.Orchestrator.NotificationHandlers.WorkPermitV2NotificationHandler.HandleAsync(String messageId, NotificationEventDto request) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\NotificationHandlers\\\\WorkPermitV2NotificationHandler.cs:line 62\\r\\n   at OQSHA.Notification.Orchestrator.NotificationHandlers.WorkPermitV2NotificationHandler.ProcessEventAsync(String messageId, NotificationEventDto request) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\NotificationHandlers\\\\WorkPermitV2NotificationHandler.cs:line 46\\r\\n   at OQSHA.Notification.Orchestrator.Routing.EventRouter.ExecuteAsync(String messageId, NotificationEventDto request) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\Routing\\\\EventRouter.cs:line 38\\r\\n   at OQSHA.Notification.Orchestrator.Worker.OrchestratorMessageHandler.HandleMessage(IMessage message) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\Worker\\\\OrchestratorMessageHandler.cs:line 44\",\"OriginalBody\":\"{\\\"TemplateId\\\":17,\\\"EntityType\\\":\\\"work_permit_v2\\\",\\\"EventType\\\":null,\\\"NotifyRoleId\\\":null,\\\"NotifyUserId\\\":null,\\\"NotifyDynamicActor\\\":\\\"PermitAcceptanceHeight\\\",\\\"EntityContext\\\":{\\\"Parameters\\\":{\\\"workPermitId\\\":\\\"448\\\",\\\"workPermitV2Id\\\":\\\"448\\\",\\\"orgId\\\":\\\"259\\\",\\\"viewLink\\\":\\\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/259/448?dlType=viewWorkPermitV2\\\",\\\"workPermitLink\\\":\\\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/259/448?dlType=viewWorkPermitV2\\\",\\\"emailFooter\\\":\\\"OQSHA Team\\\"}},\\\"ActorContext\\\":null,\\\"Metadata\\\":null}\"}"}

{"Timestamp":"2026-07-15T11:13:49.5352761+00:00","Level":"Information","Data":{"EventId":3102088040},"Message":"Sent message ID 1804a5c6acec3000 to DLQ"}

{"Timestamp":"2026-07-15T11:13:49.5357457+00:00","Level":"Information","Data":{"EventId":3396338208},"Message":"Notification event with message ID 1804a5c6ad2c3000 received: {\"TemplateId\":17,\"EntityType\":\"work_permit_v2\",\"EventType\":null,\"NotifyRoleId\":null,\"NotifyUserId\":null,\"NotifyDynamicActor\":\"PermitAuthorizerHeight\",\"EntityContext\":{\"Parameters\":{\"workPermitId\":\"448\",\"workPermitV2Id\":\"448\",\"orgId\":\"259\",\"viewLink\":\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/259/448?dlType=viewWorkPermitV2\",\"workPermitLink\":\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/259/448?dlType=viewWorkPermitV2\",\"emailFooter\":\"OQSHA Team\"}},\"ActorContext\":null,\"Metadata\":null}"}

{"Timestamp":"2026-07-15T11:13:49.5393550+00:00","Level":"Information","Data":{"EventId":2121983747},"Message":"Started processing notification for message ID 1804a5c6ad2c3000"}

{"Timestamp":"2026-07-15T11:13:49.5394210+00:00","Level":"Information","Data":{"EventId":4004244907},"Message":"Looking up the notification handler for message ID 1804a5c6ad2c3000"}

{"Timestamp":"2026-07-15T11:13:49.5394366+00:00","Level":"Information","Data":{"EventId":976485975},"Message":"Event handling in process for message ID 1804a5c6ad2c3000"}

{"Timestamp":"2026-07-15T11:13:49.5444796+00:00","Level":"Information","Data":{"EventId":3697734511},"Message":"Sending message ID 1804a5c6ad2c3000 to DLQ"}

{"Timestamp":"2026-07-15T11:13:49.5446934+00:00","Level":"Information","Data":{"EventId":1130656171},"Message":"Dead letter envelope for DLQ message: {\"SourceTopic\":\"notification.orchestrator\",\"SourceChannel\":\"notification-orchestrator\",\"FailedAtUtc\":\"2026-07-15T11:13:49.5445234Z\",\"Attempts\":1,\"ErrorType\":\"OQSHA.Notification.Orchestrator.Exceptions.PermanentOrchestratorException\",\"ErrorMessage\":\"No recipients received for message ID 1804a5c6ad2c3000\",\"StackTrace\":\"   at OQSHA.Notification.Orchestrator.Services.UsersService.ResolveRecipientsAsync(String messageId, Int32 orgId, NotificationEventDto request) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\Services\\\\UsersService.cs:line 84\\r\\n   at OQSHA.Notification.Orchestrator.Services.UsersService.GetRecipientsWithDetailsAsync(String messageId, Int32 orgId, NotificationEventDto request, NotificationTemplatesDbo notificationTemplate) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\Services\\\\UsersService.cs:line 134\\r\\n   at OQSHA.Notification.Orchestrator.NotificationHandlers.WorkPermitV2NotificationHandler.HandleAsync(String messageId, NotificationEventDto request) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\NotificationHandlers\\\\WorkPermitV2NotificationHandler.cs:line 62\\r\\n   at OQSHA.Notification.Orchestrator.NotificationHandlers.WorkPermitV2NotificationHandler.ProcessEventAsync(String messageId, NotificationEventDto request) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\NotificationHandlers\\\\WorkPermitV2NotificationHandler.cs:line 46\\r\\n   at OQSHA.Notification.Orchestrator.Routing.EventRouter.ExecuteAsync(String messageId, NotificationEventDto request) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\Routing\\\\EventRouter.cs:line 38\\r\\n   at OQSHA.Notification.Orchestrator.Worker.OrchestratorMessageHandler.HandleMessage(IMessage message) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\Worker\\\\OrchestratorMessageHandler.cs:line 44\",\"OriginalBody\":\"{\\\"TemplateId\\\":17,\\\"EntityType\\\":\\\"work_permit_v2\\\",\\\"EventType\\\":null,\\\"NotifyRoleId\\\":null,\\\"NotifyUserId\\\":null,\\\"NotifyDynamicActor\\\":\\\"PermitAuthorizerHeight\\\",\\\"EntityContext\\\":{\\\"Parameters\\\":{\\\"workPermitId\\\":\\\"448\\\",\\\"workPermitV2Id\\\":\\\"448\\\",\\\"orgId\\\":\\\"259\\\",\\\"viewLink\\\":\\\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/259/448?dlType=viewWorkPermitV2\\\",\\\"workPermitLink\\\":\\\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/259/448?dlType=viewWorkPermitV2\\\",\\\"emailFooter\\\":\\\"OQSHA Team\\\"}},\\\"ActorContext\\\":null,\\\"Metadata\\\":null}\"}"}

{"Timestamp":"2026-07-15T11:13:49.5454891+00:00","Level":"Information","Data":{"EventId":3999513417},"Message":"Sent message ID 1804a5c6ad2c3000 to DLQ"}

{"Timestamp":"2026-07-15T11:14:04.3879320+00:00","Level":"Information","Data":{"EventId":3418584983},"Message":"Notification event with message ID 1804a5d4a56c3000 received: {\"TemplateId\":19,\"EntityType\":\"work_permit_v2\",\"EventType\":null,\"NotifyRoleId\":null,\"NotifyUserId\":null,\"NotifyDynamicActor\":\"PermitAcceptanceHeight\",\"EntityContext\":{\"Parameters\":{\"workPermitId\":\"448\",\"workPermitV2Id\":\"448\",\"orgId\":\"259\",\"viewLink\":\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/259/448?dlType=viewWorkPermitV2\",\"workPermitLink\":\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/259/448?dlType=viewWorkPermitV2\",\"emailFooter\":\"OQSHA Team\"}},\"ActorContext\":{\"Requestor\":[678],\"AreaOwnerHeight\":[678],\"PermitAcceptanceHeight\":[678],\"PermitAuthorizerHeight\":[678]},\"Metadata\":null}"}

{"Timestamp":"2026-07-15T11:14:04.3896886+00:00","Level":"Information","Data":{"EventId":816425221},"Message":"Started processing notification for message ID 1804a5d4a56c3000"}

{"Timestamp":"2026-07-15T11:14:04.3897231+00:00","Level":"Information","Data":{"EventId":1097228695},"Message":"Looking up the notification handler for message ID 1804a5d4a56c3000"}

{"Timestamp":"2026-07-15T11:14:04.3897321+00:00","Level":"Information","Data":{"EventId":3422428764},"Message":"Event handling in process for message ID 1804a5d4a56c3000"}

{"Timestamp":"2026-07-15T11:14:04.3927944+00:00","Level":"Information","Data":{"EventId":4129495792},"Message":"Dispatching the notifications for message ID 1804a5d4a56c3000"}

{"Timestamp":"2026-07-15T11:14:04.3935445+00:00","Level":"Information","Data":{"EventId":2862054654},"Message":"Successfully processed notification for message ID 1804a5d4a56c3000"}

{"Timestamp":"2026-07-15T11:14:12.5488318+00:00","Level":"Information","Data":{"EventId":2176100626},"Message":"Notification event with message ID 1804a5dc3fac3000 received: {\"TemplateId\":19,\"EntityType\":\"work_permit_v2\",\"EventType\":null,\"NotifyRoleId\":null,\"NotifyUserId\":null,\"NotifyDynamicActor\":\"PermitAuthorizerHeight\",\"EntityContext\":{\"Parameters\":{\"workPermitId\":\"448\",\"workPermitV2Id\":\"448\",\"orgId\":\"259\",\"viewLink\":\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/259/448?dlType=viewWorkPermitV2\",\"workPermitLink\":\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/259/448?dlType=viewWorkPermitV2\",\"emailFooter\":\"OQSHA Team\"}},\"ActorContext\":{\"Requestor\":[678],\"AreaOwnerHeight\":[678],\"PermitAcceptanceHeight\":[678],\"PermitAuthorizerHeight\":[678]},\"Metadata\":null}"}

{"Timestamp":"2026-07-15T11:14:12.5502929+00:00","Level":"Information","Data":{"EventId":3129911911},"Message":"Started processing notification for message ID 1804a5dc3fac3000"}

{"Timestamp":"2026-07-15T11:14:12.5503237+00:00","Level":"Information","Data":{"EventId":281659109},"Message":"Looking up the notification handler for message ID 1804a5dc3fac3000"}

{"Timestamp":"2026-07-15T11:14:12.5503327+00:00","Level":"Information","Data":{"EventId":258298620},"Message":"Event handling in process for message ID 1804a5dc3fac3000"}

{"Timestamp":"2026-07-15T11:14:12.5533491+00:00","Level":"Information","Data":{"EventId":3586823207},"Message":"Dispatching the notifications for message ID 1804a5dc3fac3000"}

{"Timestamp":"2026-07-15T11:14:12.5537184+00:00","Level":"Information","Data":{"EventId":2974746635},"Message":"Successfully processed notification for message ID 1804a5dc3fac3000"}

{"Timestamp":"2026-07-15T11:14:18.6334946+00:00","Level":"Information","Data":{"EventId":3228578407},"Message":"Notification event with message ID 1804a5e1ea6c3000 received: {\"TemplateId\":23,\"EntityType\":\"work_permit_v2\",\"EventType\":null,\"NotifyRoleId\":null,\"NotifyUserId\":null,\"NotifyDynamicActor\":\"Requestor\",\"EntityContext\":{\"Parameters\":{\"workPermitId\":\"448\",\"workPermitV2Id\":\"448\",\"orgId\":\"259\",\"viewLink\":\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/259/448?dlType=viewWorkPermitV2\",\"workPermitLink\":\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/259/448?dlType=viewWorkPermitV2\",\"emailFooter\":\"OQSHA Team\"}},\"ActorContext\":{\"Requestor\":[678],\"AreaOwnerHeight\":[678],\"PermitAcceptanceHeight\":[678],\"PermitAuthorizerHeight\":[678]},\"Metadata\":null}"}

{"Timestamp":"2026-07-15T11:14:18.6354814+00:00","Level":"Information","Data":{"EventId":998938931},"Message":"Started processing notification for message ID 1804a5e1ea6c3000"}

{"Timestamp":"2026-07-15T11:14:18.6355210+00:00","Level":"Information","Data":{"EventId":3925412883},"Message":"Looking up the notification handler for message ID 1804a5e1ea6c3000"}

{"Timestamp":"2026-07-15T11:14:18.6355299+00:00","Level":"Information","Data":{"EventId":2562748961},"Message":"Event handling in process for message ID 1804a5e1ea6c3000"}

{"Timestamp":"2026-07-15T11:14:18.6390368+00:00","Level":"Information","Data":{"EventId":2495538522},"Message":"Dispatching the notifications for message ID 1804a5e1ea6c3000"}

{"Timestamp":"2026-07-15T11:14:18.6395140+00:00","Level":"Information","Data":{"EventId":3719412342},"Message":"Successfully processed notification for message ID 1804a5e1ea6c3000"}

{"Timestamp":"2026-07-15T11:16:21.1086764+00:00","Level":"Information","Data":{"EventId":1138672122},"Message":"Notification event with message ID 1804a653faac3000 received: {\"TemplateId\":18,\"EntityType\":\"work_permit_v2\",\"EventType\":null,\"NotifyRoleId\":null,\"NotifyUserId\":null,\"NotifyDynamicActor\":\"Ext_AuthorizedBy_Initiator_Department_Head\",\"EntityContext\":{\"Parameters\":{\"workPermitId\":\"443\",\"workPermitV2Id\":\"443\",\"orgId\":\"264\",\"viewLink\":\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/264/443?dlType=viewWorkPermitV2\",\"workPermitLink\":\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/264/443?dlType=viewWorkPermitV2\",\"emailFooter\":\"OQSHA Team\"}},\"ActorContext\":{\"Requestor\":[267],\"Work_Permit_Authorization_Department_Head\":[678],\"Work_Permit_Authorization_Area_Owner\":[678],\"Ext_AuthorizedBy_Initiator_Department_Head\":[267],\"Ext_AuthorizedBy_AreaOwner\":[267]},\"Metadata\":null}"}

{"Timestamp":"2026-07-15T11:16:21.1100076+00:00","Level":"Information","Data":{"EventId":306322598},"Message":"Started processing notification for message ID 1804a653faac3000"}

{"Timestamp":"2026-07-15T11:16:21.1100386+00:00","Level":"Information","Data":{"EventId":1300845766},"Message":"Looking up the notification handler for message ID 1804a653faac3000"}

{"Timestamp":"2026-07-15T11:16:21.1100484+00:00","Level":"Information","Data":{"EventId":924795275},"Message":"Event handling in process for message ID 1804a653faac3000"}

{"Timestamp":"2026-07-15T11:16:21.1131114+00:00","Level":"Information","Data":{"EventId":110334863},"Message":"Dispatching the notifications for message ID 1804a653faac3000"}

{"Timestamp":"2026-07-15T11:16:21.1134644+00:00","Level":"Information","Data":{"EventId":4212235393},"Message":"Successfully processed notification for message ID 1804a653faac3000"}

{"Timestamp":"2026-07-15T11:16:21.2682307+00:00","Level":"Information","Data":{"EventId":1600087607},"Message":"Notification event with message ID 1804a653faac3001 received: {\"TemplateId\":19,\"EntityType\":\"work_permit_v2\",\"EventType\":null,\"NotifyRoleId\":null,\"NotifyUserId\":null,\"NotifyDynamicActor\":\"Ext_AuthorizedBy_Initiator_Department_Head\",\"EntityContext\":{\"Parameters\":{\"workPermitId\":\"443\",\"workPermitV2Id\":\"443\",\"orgId\":\"264\",\"viewLink\":\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/264/443?dlType=viewWorkPermitV2\",\"workPermitLink\":\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/264/443?dlType=viewWorkPermitV2\",\"emailFooter\":\"OQSHA Team\"}},\"ActorContext\":{\"Requestor\":[267],\"Work_Permit_Authorization_Department_Head\":[678],\"Work_Permit_Authorization_Area_Owner\":[678],\"Ext_AuthorizedBy_Initiator_Department_Head\":[267],\"Ext_AuthorizedBy_AreaOwner\":[267]},\"Metadata\":null}"}

{"Timestamp":"2026-07-15T11:16:21.2697937+00:00","Level":"Information","Data":{"EventId":2165930579},"Message":"Started processing notification for message ID 1804a653faac3001"}

{"Timestamp":"2026-07-15T11:16:21.2698353+00:00","Level":"Information","Data":{"EventId":1473407320},"Message":"Looking up the notification handler for message ID 1804a653faac3001"}

{"Timestamp":"2026-07-15T11:16:21.2698438+00:00","Level":"Information","Data":{"EventId":795390494},"Message":"Event handling in process for message ID 1804a653faac3001"}

{"Timestamp":"2026-07-15T11:16:21.2731562+00:00","Level":"Information","Data":{"EventId":2067889385},"Message":"Dispatching the notifications for message ID 1804a653faac3001"}

{"Timestamp":"2026-07-15T11:16:21.2737763+00:00","Level":"Information","Data":{"EventId":81244173},"Message":"Successfully processed notification for message ID 1804a653faac3001"}

{"Timestamp":"2026-07-15T11:18:00.6987695+00:00","Level":"Information","Data":{"EventId":476966310},"Message":"Notification event with message ID 1804a6b0baec3000 received: {\"TemplateId\":18,\"EntityType\":\"work_permit_v2\",\"EventType\":null,\"NotifyRoleId\":null,\"NotifyUserId\":null,\"NotifyDynamicActor\":\"Ext_AuthorizedBy_AreaOwner\",\"EntityContext\":{\"Parameters\":{\"workPermitId\":\"443\",\"workPermitV2Id\":\"443\",\"orgId\":\"264\",\"viewLink\":\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/264/443?dlType=viewWorkPermitV2\",\"workPermitLink\":\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/264/443?dlType=viewWorkPermitV2\",\"emailFooter\":\"OQSHA Team\"}},\"ActorContext\":{\"Requestor\":[267],\"Work_Permit_Authorization_Department_Head\":[678],\"Work_Permit_Authorization_Area_Owner\":[678],\"Ext_AuthorizedBy_Initiator_Department_Head\":[267],\"Ext_AuthorizedBy_AreaOwner\":[267]},\"Metadata\":null}"}

{"Timestamp":"2026-07-15T11:18:00.7009435+00:00","Level":"Information","Data":{"EventId":3167030599},"Message":"Started processing notification for message ID 1804a6b0baec3000"}

{"Timestamp":"2026-07-15T11:18:00.7009743+00:00","Level":"Information","Data":{"EventId":243826108},"Message":"Looking up the notification handler for message ID 1804a6b0baec3000"}

{"Timestamp":"2026-07-15T11:18:00.7009817+00:00","Level":"Information","Data":{"EventId":729291999},"Message":"Event handling in process for message ID 1804a6b0baec3000"}

{"Timestamp":"2026-07-15T11:18:00.7062165+00:00","Level":"Information","Data":{"EventId":3840726328},"Message":"Dispatching the notifications for message ID 1804a6b0baec3000"}

{"Timestamp":"2026-07-15T11:18:00.7068286+00:00","Level":"Information","Data":{"EventId":3577940477},"Message":"Successfully processed notification for message ID 1804a6b0baec3000"}

{"Timestamp":"2026-07-15T11:18:00.7631280+00:00","Level":"Information","Data":{"EventId":3096050130},"Message":"Notification event with message ID 1804a6b0baec3001 received: {\"TemplateId\":19,\"EntityType\":\"work_permit_v2\",\"EventType\":null,\"NotifyRoleId\":null,\"NotifyUserId\":null,\"NotifyDynamicActor\":\"Ext_AuthorizedBy_AreaOwner\",\"EntityContext\":{\"Parameters\":{\"workPermitId\":\"443\",\"workPermitV2Id\":\"443\",\"orgId\":\"264\",\"viewLink\":\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/264/443?dlType=viewWorkPermitV2\",\"workPermitLink\":\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/264/443?dlType=viewWorkPermitV2\",\"emailFooter\":\"OQSHA Team\"}},\"ActorContext\":{\"Requestor\":[267],\"Work_Permit_Authorization_Department_Head\":[678],\"Work_Permit_Authorization_Area_Owner\":[678],\"Ext_AuthorizedBy_Initiator_Department_Head\":[267],\"Ext_AuthorizedBy_AreaOwner\":[267]},\"Metadata\":null}"}

{"Timestamp":"2026-07-15T11:18:00.7659813+00:00","Level":"Information","Data":{"EventId":2457680056},"Message":"Started processing notification for message ID 1804a6b0baec3001"}

{"Timestamp":"2026-07-15T11:18:00.7660347+00:00","Level":"Information","Data":{"EventId":516365881},"Message":"Looking up the notification handler for message ID 1804a6b0baec3001"}

{"Timestamp":"2026-07-15T11:18:00.7660510+00:00","Level":"Information","Data":{"EventId":957921312},"Message":"Event handling in process for message ID 1804a6b0baec3001"}

{"Timestamp":"2026-07-15T11:18:00.7733816+00:00","Level":"Information","Data":{"EventId":2469900751},"Message":"Dispatching the notifications for message ID 1804a6b0baec3001"}

{"Timestamp":"2026-07-15T11:18:00.7745145+00:00","Level":"Information","Data":{"EventId":3872238866},"Message":"Successfully processed notification for message ID 1804a6b0baec3001"}

{"Timestamp":"2026-07-15T11:18:45.4210890+00:00","Level":"Information","Data":{"EventId":3206859888},"Message":"Notification event with message ID 1804a6da606c3000 received: {\"TemplateId\":22,\"EntityType\":\"work_permit_v2\",\"EventType\":null,\"NotifyRoleId\":null,\"NotifyUserId\":null,\"NotifyDynamicActor\":\"Requestor\",\"EntityContext\":{\"Parameters\":{\"workPermitId\":\"443\",\"workPermitV2Id\":\"443\",\"orgId\":\"264\",\"viewLink\":\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/264/443?dlType=viewWorkPermitV2\",\"workPermitLink\":\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/264/443?dlType=viewWorkPermitV2\",\"emailFooter\":\"OQSHA Team\"}},\"ActorContext\":{\"Requestor\":[267],\"Work_Permit_Authorization_Department_Head\":[678],\"Work_Permit_Authorization_Area_Owner\":[678],\"Ext_AuthorizedBy_Initiator_Department_Head\":[267],\"Ext_AuthorizedBy_AreaOwner\":[267]},\"Metadata\":null}"}

{"Timestamp":"2026-07-15T11:18:45.4229172+00:00","Level":"Information","Data":{"EventId":1645404192},"Message":"Started processing notification for message ID 1804a6da606c3000"}

{"Timestamp":"2026-07-15T11:18:45.4229511+00:00","Level":"Information","Data":{"EventId":2535374644},"Message":"Looking up the notification handler for message ID 1804a6da606c3000"}

{"Timestamp":"2026-07-15T11:18:45.4229605+00:00","Level":"Information","Data":{"EventId":3503314024},"Message":"Event handling in process for message ID 1804a6da606c3000"}

{"Timestamp":"2026-07-15T11:18:45.4260749+00:00","Level":"Information","Data":{"EventId":3695966546},"Message":"Dispatching the notifications for message ID 1804a6da606c3000"}

{"Timestamp":"2026-07-15T11:18:45.4270624+00:00","Level":"Information","Data":{"EventId":3462091108},"Message":"Successfully processed notification for message ID 1804a6da606c3000"}

{"Timestamp":"2026-07-15T11:18:45.5257893+00:00","Level":"Information","Data":{"EventId":1224116932},"Message":"Notification event with message ID 1804a6da61ac3000 received: {\"TemplateId\":23,\"EntityType\":\"work_permit_v2\",\"EventType\":null,\"NotifyRoleId\":null,\"NotifyUserId\":null,\"NotifyDynamicActor\":\"Requestor\",\"EntityContext\":{\"Parameters\":{\"workPermitId\":\"443\",\"workPermitV2Id\":\"443\",\"orgId\":\"264\",\"viewLink\":\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/264/443?dlType=viewWorkPermitV2\",\"workPermitLink\":\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/264/443?dlType=viewWorkPermitV2\",\"emailFooter\":\"OQSHA Team\"}},\"ActorContext\":{\"Requestor\":[267],\"Work_Permit_Authorization_Department_Head\":[678],\"Work_Permit_Authorization_Area_Owner\":[678],\"Ext_AuthorizedBy_Initiator_Department_Head\":[267],\"Ext_AuthorizedBy_AreaOwner\":[267]},\"Metadata\":null}"}

{"Timestamp":"2026-07-15T11:18:45.5305408+00:00","Level":"Information","Data":{"EventId":1737316214},"Message":"Started processing notification for message ID 1804a6da61ac3000"}

{"Timestamp":"2026-07-15T11:18:45.5306418+00:00","Level":"Information","Data":{"EventId":3026018899},"Message":"Looking up the notification handler for message ID 1804a6da61ac3000"}

{"Timestamp":"2026-07-15T11:18:45.5306813+00:00","Level":"Information","Data":{"EventId":3843596030},"Message":"Event handling in process for message ID 1804a6da61ac3000"}

{"Timestamp":"2026-07-15T11:18:45.5394321+00:00","Level":"Information","Data":{"EventId":3606012342},"Message":"Dispatching the notifications for message ID 1804a6da61ac3000"}

{"Timestamp":"2026-07-15T11:18:45.5407386+00:00","Level":"Information","Data":{"EventId":809681964},"Message":"Successfully processed notification for message ID 1804a6da61ac3000"}

{"Timestamp":"2026-07-15T11:23:20.5210400+00:00","Level":"Information","Data":{"EventId":1873913358},"Message":"Notification event with message ID 1804a7da966c3000 received: {\"TemplateId\":17,\"EntityType\":\"work_permit_v2\",\"EventType\":null,\"NotifyRoleId\":null,\"NotifyUserId\":null,\"NotifyDynamicActor\":\"AreaOwnerHeight\",\"EntityContext\":{\"Parameters\":{\"workPermitId\":\"449\",\"workPermitV2Id\":\"449\",\"orgId\":\"259\",\"viewLink\":\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/259/449?dlType=viewWorkPermitV2\",\"workPermitLink\":\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/259/449?dlType=viewWorkPermitV2\",\"emailFooter\":\"OQSHA Team\"}},\"ActorContext\":null,\"Metadata\":null}"}

{"Timestamp":"2026-07-15T11:23:20.5230524+00:00","Level":"Information","Data":{"EventId":1825184236},"Message":"Started processing notification for message ID 1804a7da966c3000"}

{"Timestamp":"2026-07-15T11:23:20.5230959+00:00","Level":"Information","Data":{"EventId":890638173},"Message":"Looking up the notification handler for message ID 1804a7da966c3000"}

{"Timestamp":"2026-07-15T11:23:20.5231122+00:00","Level":"Information","Data":{"EventId":2122199249},"Message":"Event handling in process for message ID 1804a7da966c3000"}

{"Timestamp":"2026-07-15T11:23:20.5282637+00:00","Level":"Information","Data":{"EventId":376783612},"Message":"Sending message ID 1804a7da966c3000 to DLQ"}

{"Timestamp":"2026-07-15T11:23:20.5284658+00:00","Level":"Information","Data":{"EventId":943274505},"Message":"Dead letter envelope for DLQ message: {\"SourceTopic\":\"notification.orchestrator\",\"SourceChannel\":\"notification-orchestrator\",\"FailedAtUtc\":\"2026-07-15T11:23:20.5283015Z\",\"Attempts\":1,\"ErrorType\":\"OQSHA.Notification.Orchestrator.Exceptions.PermanentOrchestratorException\",\"ErrorMessage\":\"No recipients received for message ID 1804a7da966c3000\",\"StackTrace\":\"   at OQSHA.Notification.Orchestrator.Services.UsersService.ResolveRecipientsAsync(String messageId, Int32 orgId, NotificationEventDto request) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\Services\\\\UsersService.cs:line 84\\r\\n   at OQSHA.Notification.Orchestrator.Services.UsersService.GetRecipientsWithDetailsAsync(String messageId, Int32 orgId, NotificationEventDto request, NotificationTemplatesDbo notificationTemplate) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\Services\\\\UsersService.cs:line 134\\r\\n   at OQSHA.Notification.Orchestrator.NotificationHandlers.WorkPermitV2NotificationHandler.HandleAsync(String messageId, NotificationEventDto request) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\NotificationHandlers\\\\WorkPermitV2NotificationHandler.cs:line 62\\r\\n   at OQSHA.Notification.Orchestrator.NotificationHandlers.WorkPermitV2NotificationHandler.ProcessEventAsync(String messageId, NotificationEventDto request) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\NotificationHandlers\\\\WorkPermitV2NotificationHandler.cs:line 46\\r\\n   at OQSHA.Notification.Orchestrator.Routing.EventRouter.ExecuteAsync(String messageId, NotificationEventDto request) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\Routing\\\\EventRouter.cs:line 38\\r\\n   at OQSHA.Notification.Orchestrator.Worker.OrchestratorMessageHandler.HandleMessage(IMessage message) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\Worker\\\\OrchestratorMessageHandler.cs:line 44\",\"OriginalBody\":\"{\\\"TemplateId\\\":17,\\\"EntityType\\\":\\\"work_permit_v2\\\",\\\"EventType\\\":null,\\\"NotifyRoleId\\\":null,\\\"NotifyUserId\\\":null,\\\"NotifyDynamicActor\\\":\\\"AreaOwnerHeight\\\",\\\"EntityContext\\\":{\\\"Parameters\\\":{\\\"workPermitId\\\":\\\"449\\\",\\\"workPermitV2Id\\\":\\\"449\\\",\\\"orgId\\\":\\\"259\\\",\\\"viewLink\\\":\\\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/259/449?dlType=viewWorkPermitV2\\\",\\\"workPermitLink\\\":\\\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/259/449?dlType=viewWorkPermitV2\\\",\\\"emailFooter\\\":\\\"OQSHA Team\\\"}},\\\"ActorContext\\\":null,\\\"Metadata\\\":null}\"}"}

{"Timestamp":"2026-07-15T11:23:20.5289138+00:00","Level":"Information","Data":{"EventId":4056705846},"Message":"Sent message ID 1804a7da966c3000 to DLQ"}

{"Timestamp":"2026-07-15T11:23:20.7570778+00:00","Level":"Information","Data":{"EventId":2861168486},"Message":"Notification event with message ID 1804a7da96ac3000 received: {\"TemplateId\":17,\"EntityType\":\"work_permit_v2\",\"EventType\":null,\"NotifyRoleId\":null,\"NotifyUserId\":null,\"NotifyDynamicActor\":\"PermitAcceptanceHeight\",\"EntityContext\":{\"Parameters\":{\"workPermitId\":\"449\",\"workPermitV2Id\":\"449\",\"orgId\":\"259\",\"viewLink\":\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/259/449?dlType=viewWorkPermitV2\",\"workPermitLink\":\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/259/449?dlType=viewWorkPermitV2\",\"emailFooter\":\"OQSHA Team\"}},\"ActorContext\":null,\"Metadata\":null}"}

{"Timestamp":"2026-07-15T11:23:20.7590825+00:00","Level":"Information","Data":{"EventId":2334658302},"Message":"Started processing notification for message ID 1804a7da96ac3000"}

{"Timestamp":"2026-07-15T11:23:20.7591173+00:00","Level":"Information","Data":{"EventId":2479428773},"Message":"Looking up the notification handler for message ID 1804a7da96ac3000"}

{"Timestamp":"2026-07-15T11:23:20.7591315+00:00","Level":"Information","Data":{"EventId":2188745051},"Message":"Event handling in process for message ID 1804a7da96ac3000"}

{"Timestamp":"2026-07-15T11:23:20.7635975+00:00","Level":"Information","Data":{"EventId":2395997630},"Message":"Sending message ID 1804a7da96ac3000 to DLQ"}

{"Timestamp":"2026-07-15T11:23:20.7638196+00:00","Level":"Information","Data":{"EventId":3877954150},"Message":"Dead letter envelope for DLQ message: {\"SourceTopic\":\"notification.orchestrator\",\"SourceChannel\":\"notification-orchestrator\",\"FailedAtUtc\":\"2026-07-15T11:23:20.7636457Z\",\"Attempts\":1,\"ErrorType\":\"OQSHA.Notification.Orchestrator.Exceptions.PermanentOrchestratorException\",\"ErrorMessage\":\"No recipients received for message ID 1804a7da96ac3000\",\"StackTrace\":\"   at OQSHA.Notification.Orchestrator.Services.UsersService.ResolveRecipientsAsync(String messageId, Int32 orgId, NotificationEventDto request) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\Services\\\\UsersService.cs:line 84\\r\\n   at OQSHA.Notification.Orchestrator.Services.UsersService.GetRecipientsWithDetailsAsync(String messageId, Int32 orgId, NotificationEventDto request, NotificationTemplatesDbo notificationTemplate) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\Services\\\\UsersService.cs:line 134\\r\\n   at OQSHA.Notification.Orchestrator.NotificationHandlers.WorkPermitV2NotificationHandler.HandleAsync(String messageId, NotificationEventDto request) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\NotificationHandlers\\\\WorkPermitV2NotificationHandler.cs:line 62\\r\\n   at OQSHA.Notification.Orchestrator.NotificationHandlers.WorkPermitV2NotificationHandler.ProcessEventAsync(String messageId, NotificationEventDto request) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\NotificationHandlers\\\\WorkPermitV2NotificationHandler.cs:line 46\\r\\n   at OQSHA.Notification.Orchestrator.Routing.EventRouter.ExecuteAsync(String messageId, NotificationEventDto request) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\Routing\\\\EventRouter.cs:line 38\\r\\n   at OQSHA.Notification.Orchestrator.Worker.OrchestratorMessageHandler.HandleMessage(IMessage message) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\Worker\\\\OrchestratorMessageHandler.cs:line 44\",\"OriginalBody\":\"{\\\"TemplateId\\\":17,\\\"EntityType\\\":\\\"work_permit_v2\\\",\\\"EventType\\\":null,\\\"NotifyRoleId\\\":null,\\\"NotifyUserId\\\":null,\\\"NotifyDynamicActor\\\":\\\"PermitAcceptanceHeight\\\",\\\"EntityContext\\\":{\\\"Parameters\\\":{\\\"workPermitId\\\":\\\"449\\\",\\\"workPermitV2Id\\\":\\\"449\\\",\\\"orgId\\\":\\\"259\\\",\\\"viewLink\\\":\\\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/259/449?dlType=viewWorkPermitV2\\\",\\\"workPermitLink\\\":\\\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/259/449?dlType=viewWorkPermitV2\\\",\\\"emailFooter\\\":\\\"OQSHA Team\\\"}},\\\"ActorContext\\\":null,\\\"Metadata\\\":null}\"}"}

{"Timestamp":"2026-07-15T11:23:20.7641786+00:00","Level":"Information","Data":{"EventId":1543780027},"Message":"Sent message ID 1804a7da96ac3000 to DLQ"}

{"Timestamp":"2026-07-15T11:23:20.7643458+00:00","Level":"Information","Data":{"EventId":3184590914},"Message":"Notification event with message ID 1804a7da96ac3001 received: {\"TemplateId\":17,\"EntityType\":\"work_permit_v2\",\"EventType\":null,\"NotifyRoleId\":null,\"NotifyUserId\":null,\"NotifyDynamicActor\":\"PermitAuthorizerHeight\",\"EntityContext\":{\"Parameters\":{\"workPermitId\":\"449\",\"workPermitV2Id\":\"449\",\"orgId\":\"259\",\"viewLink\":\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/259/449?dlType=viewWorkPermitV2\",\"workPermitLink\":\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/259/449?dlType=viewWorkPermitV2\",\"emailFooter\":\"OQSHA Team\"}},\"ActorContext\":null,\"Metadata\":null}"}

{"Timestamp":"2026-07-15T11:23:20.7659146+00:00","Level":"Information","Data":{"EventId":3052364940},"Message":"Started processing notification for message ID 1804a7da96ac3001"}

{"Timestamp":"2026-07-15T11:23:20.7659349+00:00","Level":"Information","Data":{"EventId":2975027129},"Message":"Looking up the notification handler for message ID 1804a7da96ac3001"}

{"Timestamp":"2026-07-15T11:23:20.7659450+00:00","Level":"Information","Data":{"EventId":1332032311},"Message":"Event handling in process for message ID 1804a7da96ac3001"}

{"Timestamp":"2026-07-15T11:23:20.7687219+00:00","Level":"Information","Data":{"EventId":1469973934},"Message":"Sending message ID 1804a7da96ac3001 to DLQ"}

{"Timestamp":"2026-07-15T11:23:20.7689542+00:00","Level":"Information","Data":{"EventId":1732372623},"Message":"Dead letter envelope for DLQ message: {\"SourceTopic\":\"notification.orchestrator\",\"SourceChannel\":\"notification-orchestrator\",\"FailedAtUtc\":\"2026-07-15T11:23:20.7687783Z\",\"Attempts\":1,\"ErrorType\":\"OQSHA.Notification.Orchestrator.Exceptions.PermanentOrchestratorException\",\"ErrorMessage\":\"No recipients received for message ID 1804a7da96ac3001\",\"StackTrace\":\"   at OQSHA.Notification.Orchestrator.Services.UsersService.ResolveRecipientsAsync(String messageId, Int32 orgId, NotificationEventDto request) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\Services\\\\UsersService.cs:line 84\\r\\n   at OQSHA.Notification.Orchestrator.Services.UsersService.GetRecipientsWithDetailsAsync(String messageId, Int32 orgId, NotificationEventDto request, NotificationTemplatesDbo notificationTemplate) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\Services\\\\UsersService.cs:line 134\\r\\n   at OQSHA.Notification.Orchestrator.NotificationHandlers.WorkPermitV2NotificationHandler.HandleAsync(String messageId, NotificationEventDto request) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\NotificationHandlers\\\\WorkPermitV2NotificationHandler.cs:line 62\\r\\n   at OQSHA.Notification.Orchestrator.NotificationHandlers.WorkPermitV2NotificationHandler.ProcessEventAsync(String messageId, NotificationEventDto request) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\NotificationHandlers\\\\WorkPermitV2NotificationHandler.cs:line 46\\r\\n   at OQSHA.Notification.Orchestrator.Routing.EventRouter.ExecuteAsync(String messageId, NotificationEventDto request) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\Routing\\\\EventRouter.cs:line 38\\r\\n   at OQSHA.Notification.Orchestrator.Worker.OrchestratorMessageHandler.HandleMessage(IMessage message) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\Worker\\\\OrchestratorMessageHandler.cs:line 44\",\"OriginalBody\":\"{\\\"TemplateId\\\":17,\\\"EntityType\\\":\\\"work_permit_v2\\\",\\\"EventType\\\":null,\\\"NotifyRoleId\\\":null,\\\"NotifyUserId\\\":null,\\\"NotifyDynamicActor\\\":\\\"PermitAuthorizerHeight\\\",\\\"EntityContext\\\":{\\\"Parameters\\\":{\\\"workPermitId\\\":\\\"449\\\",\\\"workPermitV2Id\\\":\\\"449\\\",\\\"orgId\\\":\\\"259\\\",\\\"viewLink\\\":\\\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/259/449?dlType=viewWorkPermitV2\\\",\\\"workPermitLink\\\":\\\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/259/449?dlType=viewWorkPermitV2\\\",\\\"emailFooter\\\":\\\"OQSHA Team\\\"}},\\\"ActorContext\\\":null,\\\"Metadata\\\":null}\"}"}

{"Timestamp":"2026-07-15T11:23:20.7693353+00:00","Level":"Information","Data":{"EventId":3735357024},"Message":"Sent message ID 1804a7da96ac3001 to DLQ"}

{"Timestamp":"2026-07-15T11:23:30.6903223+00:00","Level":"Information","Data":{"EventId":1358285459},"Message":"Notification event with message ID 1804a7e40eec3000 received: {\"TemplateId\":19,\"EntityType\":\"work_permit_v2\",\"EventType\":null,\"NotifyRoleId\":null,\"NotifyUserId\":null,\"NotifyDynamicActor\":\"PermitAcceptanceHeight\",\"EntityContext\":{\"Parameters\":{\"workPermitId\":\"449\",\"workPermitV2Id\":\"449\",\"orgId\":\"259\",\"viewLink\":\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/259/449?dlType=viewWorkPermitV2\",\"workPermitLink\":\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/259/449?dlType=viewWorkPermitV2\",\"emailFooter\":\"OQSHA Team\"}},\"ActorContext\":{\"Requestor\":[678],\"AreaOwnerHeight\":[678],\"PermitAcceptanceHeight\":[678],\"PermitAuthorizerHeight\":[678]},\"Metadata\":null}"}

{"Timestamp":"2026-07-15T11:23:30.6922695+00:00","Level":"Information","Data":{"EventId":4189829182},"Message":"Started processing notification for message ID 1804a7e40eec3000"}

{"Timestamp":"2026-07-15T11:23:30.6922925+00:00","Level":"Information","Data":{"EventId":1944936672},"Message":"Looking up the notification handler for message ID 1804a7e40eec3000"}

{"Timestamp":"2026-07-15T11:23:30.6923007+00:00","Level":"Information","Data":{"EventId":749167874},"Message":"Event handling in process for message ID 1804a7e40eec3000"}

{"Timestamp":"2026-07-15T11:23:30.6973115+00:00","Level":"Information","Data":{"EventId":2395219410},"Message":"Dispatching the notifications for message ID 1804a7e40eec3000"}

{"Timestamp":"2026-07-15T11:23:30.6978416+00:00","Level":"Information","Data":{"EventId":3637867440},"Message":"Successfully processed notification for message ID 1804a7e40eec3000"}

{"Timestamp":"2026-07-15T11:23:37.0662331+00:00","Level":"Information","Data":{"EventId":1069041138},"Message":"Notification event with message ID 1804a7e9ff2c3000 received: {\"TemplateId\":19,\"EntityType\":\"work_permit_v2\",\"EventType\":null,\"NotifyRoleId\":null,\"NotifyUserId\":null,\"NotifyDynamicActor\":\"PermitAuthorizerHeight\",\"EntityContext\":{\"Parameters\":{\"workPermitId\":\"449\",\"workPermitV2Id\":\"449\",\"orgId\":\"259\",\"viewLink\":\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/259/449?dlType=viewWorkPermitV2\",\"workPermitLink\":\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/259/449?dlType=viewWorkPermitV2\",\"emailFooter\":\"OQSHA Team\"}},\"ActorContext\":{\"Requestor\":[678],\"AreaOwnerHeight\":[678],\"PermitAcceptanceHeight\":[678],\"PermitAuthorizerHeight\":[678]},\"Metadata\":null}"}

{"Timestamp":"2026-07-15T11:23:37.0678906+00:00","Level":"Information","Data":{"EventId":1908926562},"Message":"Started processing notification for message ID 1804a7e9ff2c3000"}

{"Timestamp":"2026-07-15T11:23:37.0679188+00:00","Level":"Information","Data":{"EventId":1773511380},"Message":"Looking up the notification handler for message ID 1804a7e9ff2c3000"}

{"Timestamp":"2026-07-15T11:23:37.0679278+00:00","Level":"Information","Data":{"EventId":2742821634},"Message":"Event handling in process for message ID 1804a7e9ff2c3000"}

{"Timestamp":"2026-07-15T11:23:37.0706025+00:00","Level":"Information","Data":{"EventId":1255999321},"Message":"Dispatching the notifications for message ID 1804a7e9ff2c3000"}

{"Timestamp":"2026-07-15T11:23:37.0709947+00:00","Level":"Information","Data":{"EventId":516249327},"Message":"Successfully processed notification for message ID 1804a7e9ff2c3000"}

{"Timestamp":"2026-07-15T11:24:53.7356625+00:00","Level":"Information","Data":{"EventId":3193627372},"Message":"Notification event with message ID 1804a83166ac3000 received: {\"TemplateId\":23,\"EntityType\":\"work_permit_v2\",\"EventType\":null,\"NotifyRoleId\":null,\"NotifyUserId\":null,\"NotifyDynamicActor\":\"Requestor\",\"EntityContext\":{\"Parameters\":{\"workPermitId\":\"449\",\"workPermitV2Id\":\"449\",\"orgId\":\"259\",\"viewLink\":\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/259/449?dlType=viewWorkPermitV2\",\"workPermitLink\":\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/259/449?dlType=viewWorkPermitV2\",\"emailFooter\":\"OQSHA Team\"}},\"ActorContext\":{\"Requestor\":[678],\"AreaOwnerHeight\":[678],\"PermitAcceptanceHeight\":[678],\"PermitAuthorizerHeight\":[678]},\"Metadata\":null}"}

{"Timestamp":"2026-07-15T11:24:53.7377730+00:00","Level":"Information","Data":{"EventId":2732236354},"Message":"Started processing notification for message ID 1804a83166ac3000"}

{"Timestamp":"2026-07-15T11:24:53.7378217+00:00","Level":"Information","Data":{"EventId":3965484899},"Message":"Looking up the notification handler for message ID 1804a83166ac3000"}

{"Timestamp":"2026-07-15T11:24:53.7378307+00:00","Level":"Information","Data":{"EventId":2277228985},"Message":"Event handling in process for message ID 1804a83166ac3000"}

{"Timestamp":"2026-07-15T11:24:53.7424198+00:00","Level":"Information","Data":{"EventId":3213197957},"Message":"Dispatching the notifications for message ID 1804a83166ac3000"}

{"Timestamp":"2026-07-15T11:24:53.7428293+00:00","Level":"Information","Data":{"EventId":3798331776},"Message":"Successfully processed notification for message ID 1804a83166ac3000"}

{"Timestamp":"2026-07-15T11:28:32.3563304+00:00","Level":"Information","Data":{"EventId":1815271310},"Message":"Notification event with message ID 1804a8fd01ac3000 received: {\"TemplateId\":17,\"EntityType\":\"work_permit_v2\",\"EventType\":null,\"NotifyRoleId\":null,\"NotifyUserId\":null,\"NotifyDynamicActor\":\"AreaOwnerHeight\",\"EntityContext\":{\"Parameters\":{\"workPermitId\":\"451\",\"workPermitV2Id\":\"451\",\"orgId\":\"259\",\"viewLink\":\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/259/451?dlType=viewWorkPermitV2\",\"workPermitLink\":\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/259/451?dlType=viewWorkPermitV2\",\"emailFooter\":\"OQSHA Team\"}},\"ActorContext\":null,\"Metadata\":null}"}

{"Timestamp":"2026-07-15T11:28:32.3588478+00:00","Level":"Information","Data":{"EventId":2372202713},"Message":"Started processing notification for message ID 1804a8fd01ac3000"}

{"Timestamp":"2026-07-15T11:28:32.3588941+00:00","Level":"Information","Data":{"EventId":1435021027},"Message":"Looking up the notification handler for message ID 1804a8fd01ac3000"}

{"Timestamp":"2026-07-15T11:28:32.3589076+00:00","Level":"Information","Data":{"EventId":3179389352},"Message":"Event handling in process for message ID 1804a8fd01ac3000"}

{"Timestamp":"2026-07-15T11:28:32.3650664+00:00","Level":"Information","Data":{"EventId":871468612},"Message":"Sending message ID 1804a8fd01ac3000 to DLQ"}

{"Timestamp":"2026-07-15T11:28:32.3652540+00:00","Level":"Information","Data":{"EventId":3745114805},"Message":"Dead letter envelope for DLQ message: {\"SourceTopic\":\"notification.orchestrator\",\"SourceChannel\":\"notification-orchestrator\",\"FailedAtUtc\":\"2026-07-15T11:28:32.3651051Z\",\"Attempts\":1,\"ErrorType\":\"OQSHA.Notification.Orchestrator.Exceptions.PermanentOrchestratorException\",\"ErrorMessage\":\"No recipients received for message ID 1804a8fd01ac3000\",\"StackTrace\":\"   at OQSHA.Notification.Orchestrator.Services.UsersService.ResolveRecipientsAsync(String messageId, Int32 orgId, NotificationEventDto request) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\Services\\\\UsersService.cs:line 84\\r\\n   at OQSHA.Notification.Orchestrator.Services.UsersService.GetRecipientsWithDetailsAsync(String messageId, Int32 orgId, NotificationEventDto request, NotificationTemplatesDbo notificationTemplate) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\Services\\\\UsersService.cs:line 134\\r\\n   at OQSHA.Notification.Orchestrator.NotificationHandlers.WorkPermitV2NotificationHandler.HandleAsync(String messageId, NotificationEventDto request) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\NotificationHandlers\\\\WorkPermitV2NotificationHandler.cs:line 62\\r\\n   at OQSHA.Notification.Orchestrator.NotificationHandlers.WorkPermitV2NotificationHandler.ProcessEventAsync(String messageId, NotificationEventDto request) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\NotificationHandlers\\\\WorkPermitV2NotificationHandler.cs:line 46\\r\\n   at OQSHA.Notification.Orchestrator.Routing.EventRouter.ExecuteAsync(String messageId, NotificationEventDto request) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\Routing\\\\EventRouter.cs:line 38\\r\\n   at OQSHA.Notification.Orchestrator.Worker.OrchestratorMessageHandler.HandleMessage(IMessage message) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\Worker\\\\OrchestratorMessageHandler.cs:line 44\",\"OriginalBody\":\"{\\\"TemplateId\\\":17,\\\"EntityType\\\":\\\"work_permit_v2\\\",\\\"EventType\\\":null,\\\"NotifyRoleId\\\":null,\\\"NotifyUserId\\\":null,\\\"NotifyDynamicActor\\\":\\\"AreaOwnerHeight\\\",\\\"EntityContext\\\":{\\\"Parameters\\\":{\\\"workPermitId\\\":\\\"451\\\",\\\"workPermitV2Id\\\":\\\"451\\\",\\\"orgId\\\":\\\"259\\\",\\\"viewLink\\\":\\\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/259/451?dlType=viewWorkPermitV2\\\",\\\"workPermitLink\\\":\\\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/259/451?dlType=viewWorkPermitV2\\\",\\\"emailFooter\\\":\\\"OQSHA Team\\\"}},\\\"ActorContext\\\":null,\\\"Metadata\\\":null}\"}"}

{"Timestamp":"2026-07-15T11:28:32.3657201+00:00","Level":"Information","Data":{"EventId":3993788214},"Message":"Sent message ID 1804a8fd01ac3000 to DLQ"}

{"Timestamp":"2026-07-15T11:28:32.5066052+00:00","Level":"Information","Data":{"EventId":1312154824},"Message":"Notification event with message ID 1804a8fd01ec3000 received: {\"TemplateId\":17,\"EntityType\":\"work_permit_v2\",\"EventType\":null,\"NotifyRoleId\":null,\"NotifyUserId\":null,\"NotifyDynamicActor\":\"PermitAcceptanceHeight\",\"EntityContext\":{\"Parameters\":{\"workPermitId\":\"451\",\"workPermitV2Id\":\"451\",\"orgId\":\"259\",\"viewLink\":\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/259/451?dlType=viewWorkPermitV2\",\"workPermitLink\":\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/259/451?dlType=viewWorkPermitV2\",\"emailFooter\":\"OQSHA Team\"}},\"ActorContext\":null,\"Metadata\":null}"}

{"Timestamp":"2026-07-15T11:28:32.5106971+00:00","Level":"Information","Data":{"EventId":1445146140},"Message":"Started processing notification for message ID 1804a8fd01ec3000"}

{"Timestamp":"2026-07-15T11:28:32.5108482+00:00","Level":"Information","Data":{"EventId":1410063229},"Message":"Looking up the notification handler for message ID 1804a8fd01ec3000"}

{"Timestamp":"2026-07-15T11:28:32.5109292+00:00","Level":"Information","Data":{"EventId":1924693197},"Message":"Event handling in process for message ID 1804a8fd01ec3000"}

{"Timestamp":"2026-07-15T11:28:32.5216567+00:00","Level":"Information","Data":{"EventId":3651999484},"Message":"Sending message ID 1804a8fd01ec3000 to DLQ"}

{"Timestamp":"2026-07-15T11:28:32.5224678+00:00","Level":"Information","Data":{"EventId":1922335002},"Message":"Dead letter envelope for DLQ message: {\"SourceTopic\":\"notification.orchestrator\",\"SourceChannel\":\"notification-orchestrator\",\"FailedAtUtc\":\"2026-07-15T11:28:32.5218192Z\",\"Attempts\":1,\"ErrorType\":\"OQSHA.Notification.Orchestrator.Exceptions.PermanentOrchestratorException\",\"ErrorMessage\":\"No recipients received for message ID 1804a8fd01ec3000\",\"StackTrace\":\"   at OQSHA.Notification.Orchestrator.Services.UsersService.ResolveRecipientsAsync(String messageId, Int32 orgId, NotificationEventDto request) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\Services\\\\UsersService.cs:line 84\\r\\n   at OQSHA.Notification.Orchestrator.Services.UsersService.GetRecipientsWithDetailsAsync(String messageId, Int32 orgId, NotificationEventDto request, NotificationTemplatesDbo notificationTemplate) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\Services\\\\UsersService.cs:line 134\\r\\n   at OQSHA.Notification.Orchestrator.NotificationHandlers.WorkPermitV2NotificationHandler.HandleAsync(String messageId, NotificationEventDto request) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\NotificationHandlers\\\\WorkPermitV2NotificationHandler.cs:line 62\\r\\n   at OQSHA.Notification.Orchestrator.NotificationHandlers.WorkPermitV2NotificationHandler.ProcessEventAsync(String messageId, NotificationEventDto request) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\NotificationHandlers\\\\WorkPermitV2NotificationHandler.cs:line 46\\r\\n   at OQSHA.Notification.Orchestrator.Routing.EventRouter.ExecuteAsync(String messageId, NotificationEventDto request) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\Routing\\\\EventRouter.cs:line 38\\r\\n   at OQSHA.Notification.Orchestrator.Worker.OrchestratorMessageHandler.HandleMessage(IMessage message) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\Worker\\\\OrchestratorMessageHandler.cs:line 44\",\"OriginalBody\":\"{\\\"TemplateId\\\":17,\\\"EntityType\\\":\\\"work_permit_v2\\\",\\\"EventType\\\":null,\\\"NotifyRoleId\\\":null,\\\"NotifyUserId\\\":null,\\\"NotifyDynamicActor\\\":\\\"PermitAcceptanceHeight\\\",\\\"EntityContext\\\":{\\\"Parameters\\\":{\\\"workPermitId\\\":\\\"451\\\",\\\"workPermitV2Id\\\":\\\"451\\\",\\\"orgId\\\":\\\"259\\\",\\\"viewLink\\\":\\\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/259/451?dlType=viewWorkPermitV2\\\",\\\"workPermitLink\\\":\\\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/259/451?dlType=viewWorkPermitV2\\\",\\\"emailFooter\\\":\\\"OQSHA Team\\\"}},\\\"ActorContext\\\":null,\\\"Metadata\\\":null}\"}"}

{"Timestamp":"2026-07-15T11:28:32.5241232+00:00","Level":"Information","Data":{"EventId":1784222765},"Message":"Sent message ID 1804a8fd01ec3000 to DLQ"}

{"Timestamp":"2026-07-15T11:28:32.5247871+00:00","Level":"Information","Data":{"EventId":276840638},"Message":"Notification event with message ID 1804a8fd01ec3001 received: {\"TemplateId\":17,\"EntityType\":\"work_permit_v2\",\"EventType\":null,\"NotifyRoleId\":null,\"NotifyUserId\":null,\"NotifyDynamicActor\":\"PermitAuthorizerHeight\",\"EntityContext\":{\"Parameters\":{\"workPermitId\":\"451\",\"workPermitV2Id\":\"451\",\"orgId\":\"259\",\"viewLink\":\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/259/451?dlType=viewWorkPermitV2\",\"workPermitLink\":\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/259/451?dlType=viewWorkPermitV2\",\"emailFooter\":\"OQSHA Team\"}},\"ActorContext\":null,\"Metadata\":null}"}

{"Timestamp":"2026-07-15T11:28:32.5286292+00:00","Level":"Information","Data":{"EventId":1208881650},"Message":"Started processing notification for message ID 1804a8fd01ec3001"}

{"Timestamp":"2026-07-15T11:28:32.5287061+00:00","Level":"Information","Data":{"EventId":1654028434},"Message":"Looking up the notification handler for message ID 1804a8fd01ec3001"}

{"Timestamp":"2026-07-15T11:28:32.5287355+00:00","Level":"Information","Data":{"EventId":4236677227},"Message":"Event handling in process for message ID 1804a8fd01ec3001"}

{"Timestamp":"2026-07-15T11:28:32.5347095+00:00","Level":"Information","Data":{"EventId":2120837712},"Message":"Sending message ID 1804a8fd01ec3001 to DLQ"}

{"Timestamp":"2026-07-15T11:28:32.5350182+00:00","Level":"Information","Data":{"EventId":2848209472},"Message":"Dead letter envelope for DLQ message: {\"SourceTopic\":\"notification.orchestrator\",\"SourceChannel\":\"notification-orchestrator\",\"FailedAtUtc\":\"2026-07-15T11:28:32.5347645Z\",\"Attempts\":1,\"ErrorType\":\"OQSHA.Notification.Orchestrator.Exceptions.PermanentOrchestratorException\",\"ErrorMessage\":\"No recipients received for message ID 1804a8fd01ec3001\",\"StackTrace\":\"   at OQSHA.Notification.Orchestrator.Services.UsersService.ResolveRecipientsAsync(String messageId, Int32 orgId, NotificationEventDto request) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\Services\\\\UsersService.cs:line 84\\r\\n   at OQSHA.Notification.Orchestrator.Services.UsersService.GetRecipientsWithDetailsAsync(String messageId, Int32 orgId, NotificationEventDto request, NotificationTemplatesDbo notificationTemplate) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\Services\\\\UsersService.cs:line 134\\r\\n   at OQSHA.Notification.Orchestrator.NotificationHandlers.WorkPermitV2NotificationHandler.HandleAsync(String messageId, NotificationEventDto request) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\NotificationHandlers\\\\WorkPermitV2NotificationHandler.cs:line 62\\r\\n   at OQSHA.Notification.Orchestrator.NotificationHandlers.WorkPermitV2NotificationHandler.ProcessEventAsync(String messageId, NotificationEventDto request) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\NotificationHandlers\\\\WorkPermitV2NotificationHandler.cs:line 46\\r\\n   at OQSHA.Notification.Orchestrator.Routing.EventRouter.ExecuteAsync(String messageId, NotificationEventDto request) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\Routing\\\\EventRouter.cs:line 38\\r\\n   at OQSHA.Notification.Orchestrator.Worker.OrchestratorMessageHandler.HandleMessage(IMessage message) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\Worker\\\\OrchestratorMessageHandler.cs:line 44\",\"OriginalBody\":\"{\\\"TemplateId\\\":17,\\\"EntityType\\\":\\\"work_permit_v2\\\",\\\"EventType\\\":null,\\\"NotifyRoleId\\\":null,\\\"NotifyUserId\\\":null,\\\"NotifyDynamicActor\\\":\\\"PermitAuthorizerHeight\\\",\\\"EntityContext\\\":{\\\"Parameters\\\":{\\\"workPermitId\\\":\\\"451\\\",\\\"workPermitV2Id\\\":\\\"451\\\",\\\"orgId\\\":\\\"259\\\",\\\"viewLink\\\":\\\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/259/451?dlType=viewWorkPermitV2\\\",\\\"workPermitLink\\\":\\\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/259/451?dlType=viewWorkPermitV2\\\",\\\"emailFooter\\\":\\\"OQSHA Team\\\"}},\\\"ActorContext\\\":null,\\\"Metadata\\\":null}\"}"}

{"Timestamp":"2026-07-15T11:28:32.5360102+00:00","Level":"Information","Data":{"EventId":3808936533},"Message":"Sent message ID 1804a8fd01ec3001 to DLQ"}

{"Timestamp":"2026-07-15T11:28:42.0785906+00:00","Level":"Information","Data":{"EventId":1413628348},"Message":"Notification event with message ID 1804a9060fec3000 received: {\"TemplateId\":19,\"EntityType\":\"work_permit_v2\",\"EventType\":null,\"NotifyRoleId\":null,\"NotifyUserId\":null,\"NotifyDynamicActor\":\"PermitAcceptanceHeight\",\"EntityContext\":{\"Parameters\":{\"workPermitId\":\"451\",\"workPermitV2Id\":\"451\",\"orgId\":\"259\",\"viewLink\":\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/259/451?dlType=viewWorkPermitV2\",\"workPermitLink\":\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/259/451?dlType=viewWorkPermitV2\",\"emailFooter\":\"OQSHA Team\"}},\"ActorContext\":{\"Requestor\":[678],\"AreaOwnerHeight\":[678],\"PermitAcceptanceHeight\":[678],\"PermitAuthorizerHeight\":[678]},\"Metadata\":null}"}

{"Timestamp":"2026-07-15T11:28:42.0798396+00:00","Level":"Information","Data":{"EventId":506913559},"Message":"Started processing notification for message ID 1804a9060fec3000"}

{"Timestamp":"2026-07-15T11:28:42.0798834+00:00","Level":"Information","Data":{"EventId":1880609821},"Message":"Looking up the notification handler for message ID 1804a9060fec3000"}

{"Timestamp":"2026-07-15T11:28:42.0798914+00:00","Level":"Information","Data":{"EventId":4190986666},"Message":"Event handling in process for message ID 1804a9060fec3000"}

{"Timestamp":"2026-07-15T11:28:42.0825349+00:00","Level":"Information","Data":{"EventId":3509750347},"Message":"Dispatching the notifications for message ID 1804a9060fec3000"}

{"Timestamp":"2026-07-15T11:28:42.0828636+00:00","Level":"Information","Data":{"EventId":3711094376},"Message":"Successfully processed notification for message ID 1804a9060fec3000"}

{"Timestamp":"2026-07-15T11:28:53.8014769+00:00","Level":"Information","Data":{"EventId":4260597918},"Message":"Notification event with message ID 1804a910fa6c3000 received: {\"TemplateId\":19,\"EntityType\":\"work_permit_v2\",\"EventType\":null,\"NotifyRoleId\":null,\"NotifyUserId\":null,\"NotifyDynamicActor\":\"PermitAuthorizerHeight\",\"EntityContext\":{\"Parameters\":{\"workPermitId\":\"451\",\"workPermitV2Id\":\"451\",\"orgId\":\"259\",\"viewLink\":\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/259/451?dlType=viewWorkPermitV2\",\"workPermitLink\":\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/259/451?dlType=viewWorkPermitV2\",\"emailFooter\":\"OQSHA Team\"}},\"ActorContext\":{\"Requestor\":[678],\"AreaOwnerHeight\":[678],\"PermitAcceptanceHeight\":[678],\"PermitAuthorizerHeight\":[678]},\"Metadata\":null}"}

{"Timestamp":"2026-07-15T11:28:53.8029488+00:00","Level":"Information","Data":{"EventId":3684190220},"Message":"Started processing notification for message ID 1804a910fa6c3000"}

{"Timestamp":"2026-07-15T11:28:53.8029786+00:00","Level":"Information","Data":{"EventId":64131985},"Message":"Looking up the notification handler for message ID 1804a910fa6c3000"}

{"Timestamp":"2026-07-15T11:28:53.8029875+00:00","Level":"Information","Data":{"EventId":4011940867},"Message":"Event handling in process for message ID 1804a910fa6c3000"}

{"Timestamp":"2026-07-15T11:28:53.8057328+00:00","Level":"Information","Data":{"EventId":958234681},"Message":"Dispatching the notifications for message ID 1804a910fa6c3000"}

{"Timestamp":"2026-07-15T11:28:53.8060533+00:00","Level":"Information","Data":{"EventId":859700558},"Message":"Successfully processed notification for message ID 1804a910fa6c3000"}

{"Timestamp":"2026-07-15T11:29:18.6058298+00:00","Level":"Information","Data":{"EventId":3380580209},"Message":"Notification event with message ID 1804a928146c3000 received: {\"TemplateId\":23,\"EntityType\":\"work_permit_v2\",\"EventType\":null,\"NotifyRoleId\":null,\"NotifyUserId\":null,\"NotifyDynamicActor\":\"Requestor\",\"EntityContext\":{\"Parameters\":{\"workPermitId\":\"451\",\"workPermitV2Id\":\"451\",\"orgId\":\"259\",\"viewLink\":\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/259/451?dlType=viewWorkPermitV2\",\"workPermitLink\":\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/259/451?dlType=viewWorkPermitV2\",\"emailFooter\":\"OQSHA Team\"}},\"ActorContext\":{\"Requestor\":[678],\"AreaOwnerHeight\":[678],\"PermitAcceptanceHeight\":[678],\"PermitAuthorizerHeight\":[678]},\"Metadata\":null}"}

{"Timestamp":"2026-07-15T11:29:18.6071704+00:00","Level":"Information","Data":{"EventId":198143175},"Message":"Started processing notification for message ID 1804a928146c3000"}

{"Timestamp":"2026-07-15T11:29:18.6071983+00:00","Level":"Information","Data":{"EventId":2886229414},"Message":"Looking up the notification handler for message ID 1804a928146c3000"}

{"Timestamp":"2026-07-15T11:29:18.6072067+00:00","Level":"Information","Data":{"EventId":347326492},"Message":"Event handling in process for message ID 1804a928146c3000"}

{"Timestamp":"2026-07-15T11:29:18.6099534+00:00","Level":"Information","Data":{"EventId":3525305718},"Message":"Dispatching the notifications for message ID 1804a928146c3000"}

{"Timestamp":"2026-07-15T11:29:18.6102320+00:00","Level":"Information","Data":{"EventId":1653434679},"Message":"Successfully processed notification for message ID 1804a928146c3000"}

{"Timestamp":"2026-07-15T11:32:26.8887949+00:00","Level":"Information","Data":{"EventId":2108515798},"Message":"Notification event with message ID 1804a9d76e6c3000 received: {\"TemplateId\":17,\"EntityType\":\"work_permit_v2\",\"EventType\":null,\"NotifyRoleId\":null,\"NotifyUserId\":null,\"NotifyDynamicActor\":\"AreaOwnerHeight\",\"EntityContext\":{\"Parameters\":{\"workPermitId\":\"452\",\"workPermitV2Id\":\"452\",\"orgId\":\"259\",\"viewLink\":\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/259/452?dlType=viewWorkPermitV2\",\"workPermitLink\":\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/259/452?dlType=viewWorkPermitV2\",\"emailFooter\":\"OQSHA Team\"}},\"ActorContext\":null,\"Metadata\":null}"}

{"Timestamp":"2026-07-15T11:32:26.8912543+00:00","Level":"Information","Data":{"EventId":3467688845},"Message":"Started processing notification for message ID 1804a9d76e6c3000"}

{"Timestamp":"2026-07-15T11:32:26.8912870+00:00","Level":"Information","Data":{"EventId":672831469},"Message":"Looking up the notification handler for message ID 1804a9d76e6c3000"}

{"Timestamp":"2026-07-15T11:32:26.8912980+00:00","Level":"Information","Data":{"EventId":3980009097},"Message":"Event handling in process for message ID 1804a9d76e6c3000"}

{"Timestamp":"2026-07-15T11:32:26.8964187+00:00","Level":"Information","Data":{"EventId":2155039433},"Message":"Sending message ID 1804a9d76e6c3000 to DLQ"}

{"Timestamp":"2026-07-15T11:32:26.8966375+00:00","Level":"Information","Data":{"EventId":3409844830},"Message":"Dead letter envelope for DLQ message: {\"SourceTopic\":\"notification.orchestrator\",\"SourceChannel\":\"notification-orchestrator\",\"FailedAtUtc\":\"2026-07-15T11:32:26.8964625Z\",\"Attempts\":1,\"ErrorType\":\"OQSHA.Notification.Orchestrator.Exceptions.PermanentOrchestratorException\",\"ErrorMessage\":\"No recipients received for message ID 1804a9d76e6c3000\",\"StackTrace\":\"   at OQSHA.Notification.Orchestrator.Services.UsersService.ResolveRecipientsAsync(String messageId, Int32 orgId, NotificationEventDto request) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\Services\\\\UsersService.cs:line 84\\r\\n   at OQSHA.Notification.Orchestrator.Services.UsersService.GetRecipientsWithDetailsAsync(String messageId, Int32 orgId, NotificationEventDto request, NotificationTemplatesDbo notificationTemplate) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\Services\\\\UsersService.cs:line 134\\r\\n   at OQSHA.Notification.Orchestrator.NotificationHandlers.WorkPermitV2NotificationHandler.HandleAsync(String messageId, NotificationEventDto request) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\NotificationHandlers\\\\WorkPermitV2NotificationHandler.cs:line 62\\r\\n   at OQSHA.Notification.Orchestrator.NotificationHandlers.WorkPermitV2NotificationHandler.ProcessEventAsync(String messageId, NotificationEventDto request) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\NotificationHandlers\\\\WorkPermitV2NotificationHandler.cs:line 46\\r\\n   at OQSHA.Notification.Orchestrator.Routing.EventRouter.ExecuteAsync(String messageId, NotificationEventDto request) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\Routing\\\\EventRouter.cs:line 38\\r\\n   at OQSHA.Notification.Orchestrator.Worker.OrchestratorMessageHandler.HandleMessage(IMessage message) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\Worker\\\\OrchestratorMessageHandler.cs:line 44\",\"OriginalBody\":\"{\\\"TemplateId\\\":17,\\\"EntityType\\\":\\\"work_permit_v2\\\",\\\"EventType\\\":null,\\\"NotifyRoleId\\\":null,\\\"NotifyUserId\\\":null,\\\"NotifyDynamicActor\\\":\\\"AreaOwnerHeight\\\",\\\"EntityContext\\\":{\\\"Parameters\\\":{\\\"workPermitId\\\":\\\"452\\\",\\\"workPermitV2Id\\\":\\\"452\\\",\\\"orgId\\\":\\\"259\\\",\\\"viewLink\\\":\\\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/259/452?dlType=viewWorkPermitV2\\\",\\\"workPermitLink\\\":\\\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/259/452?dlType=viewWorkPermitV2\\\",\\\"emailFooter\\\":\\\"OQSHA Team\\\"}},\\\"ActorContext\\\":null,\\\"Metadata\\\":null}\"}"}

{"Timestamp":"2026-07-15T11:32:26.8974199+00:00","Level":"Information","Data":{"EventId":2842618861},"Message":"Sent message ID 1804a9d76e6c3000 to DLQ"}

{"Timestamp":"2026-07-15T11:32:26.9980757+00:00","Level":"Information","Data":{"EventId":2431260755},"Message":"Notification event with message ID 1804a9d76eec3000 received: {\"TemplateId\":17,\"EntityType\":\"work_permit_v2\",\"EventType\":null,\"NotifyRoleId\":null,\"NotifyUserId\":null,\"NotifyDynamicActor\":\"PermitAcceptanceHeight\",\"EntityContext\":{\"Parameters\":{\"workPermitId\":\"452\",\"workPermitV2Id\":\"452\",\"orgId\":\"259\",\"viewLink\":\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/259/452?dlType=viewWorkPermitV2\",\"workPermitLink\":\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/259/452?dlType=viewWorkPermitV2\",\"emailFooter\":\"OQSHA Team\"}},\"ActorContext\":null,\"Metadata\":null}"}

{"Timestamp":"2026-07-15T11:32:27.0010223+00:00","Level":"Information","Data":{"EventId":2475520444},"Message":"Started processing notification for message ID 1804a9d76eec3000"}

{"Timestamp":"2026-07-15T11:32:27.0010809+00:00","Level":"Information","Data":{"EventId":2889277641},"Message":"Looking up the notification handler for message ID 1804a9d76eec3000"}

{"Timestamp":"2026-07-15T11:32:27.0011017+00:00","Level":"Information","Data":{"EventId":3693622934},"Message":"Event handling in process for message ID 1804a9d76eec3000"}

{"Timestamp":"2026-07-15T11:32:27.0062933+00:00","Level":"Information","Data":{"EventId":622659616},"Message":"Sending message ID 1804a9d76eec3000 to DLQ"}

{"Timestamp":"2026-07-15T11:32:27.0066058+00:00","Level":"Information","Data":{"EventId":3900898503},"Message":"Dead letter envelope for DLQ message: {\"SourceTopic\":\"notification.orchestrator\",\"SourceChannel\":\"notification-orchestrator\",\"FailedAtUtc\":\"2026-07-15T11:32:27.0063589Z\",\"Attempts\":1,\"ErrorType\":\"OQSHA.Notification.Orchestrator.Exceptions.PermanentOrchestratorException\",\"ErrorMessage\":\"No recipients received for message ID 1804a9d76eec3000\",\"StackTrace\":\"   at OQSHA.Notification.Orchestrator.Services.UsersService.ResolveRecipientsAsync(String messageId, Int32 orgId, NotificationEventDto request) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\Services\\\\UsersService.cs:line 84\\r\\n   at OQSHA.Notification.Orchestrator.Services.UsersService.GetRecipientsWithDetailsAsync(String messageId, Int32 orgId, NotificationEventDto request, NotificationTemplatesDbo notificationTemplate) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\Services\\\\UsersService.cs:line 134\\r\\n   at OQSHA.Notification.Orchestrator.NotificationHandlers.WorkPermitV2NotificationHandler.HandleAsync(String messageId, NotificationEventDto request) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\NotificationHandlers\\\\WorkPermitV2NotificationHandler.cs:line 62\\r\\n   at OQSHA.Notification.Orchestrator.NotificationHandlers.WorkPermitV2NotificationHandler.ProcessEventAsync(String messageId, NotificationEventDto request) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\NotificationHandlers\\\\WorkPermitV2NotificationHandler.cs:line 46\\r\\n   at OQSHA.Notification.Orchestrator.Routing.EventRouter.ExecuteAsync(String messageId, NotificationEventDto request) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\Routing\\\\EventRouter.cs:line 38\\r\\n   at OQSHA.Notification.Orchestrator.Worker.OrchestratorMessageHandler.HandleMessage(IMessage message) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\Worker\\\\OrchestratorMessageHandler.cs:line 44\",\"OriginalBody\":\"{\\\"TemplateId\\\":17,\\\"EntityType\\\":\\\"work_permit_v2\\\",\\\"EventType\\\":null,\\\"NotifyRoleId\\\":null,\\\"NotifyUserId\\\":null,\\\"NotifyDynamicActor\\\":\\\"PermitAcceptanceHeight\\\",\\\"EntityContext\\\":{\\\"Parameters\\\":{\\\"workPermitId\\\":\\\"452\\\",\\\"workPermitV2Id\\\":\\\"452\\\",\\\"orgId\\\":\\\"259\\\",\\\"viewLink\\\":\\\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/259/452?dlType=viewWorkPermitV2\\\",\\\"workPermitLink\\\":\\\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/259/452?dlType=viewWorkPermitV2\\\",\\\"emailFooter\\\":\\\"OQSHA Team\\\"}},\\\"ActorContext\\\":null,\\\"Metadata\\\":null}\"}"}

{"Timestamp":"2026-07-15T11:32:27.0074910+00:00","Level":"Information","Data":{"EventId":2503488065},"Message":"Sent message ID 1804a9d76eec3000 to DLQ"}

{"Timestamp":"2026-07-15T11:32:27.0080070+00:00","Level":"Information","Data":{"EventId":2174311646},"Message":"Notification event with message ID 1804a9d76f2c3000 received: {\"TemplateId\":17,\"EntityType\":\"work_permit_v2\",\"EventType\":null,\"NotifyRoleId\":null,\"NotifyUserId\":null,\"NotifyDynamicActor\":\"PermitAuthorizerHeight\",\"EntityContext\":{\"Parameters\":{\"workPermitId\":\"452\",\"workPermitV2Id\":\"452\",\"orgId\":\"259\",\"viewLink\":\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/259/452?dlType=viewWorkPermitV2\",\"workPermitLink\":\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/259/452?dlType=viewWorkPermitV2\",\"emailFooter\":\"OQSHA Team\"}},\"ActorContext\":null,\"Metadata\":null}"}

{"Timestamp":"2026-07-15T11:32:27.0105249+00:00","Level":"Information","Data":{"EventId":2861132372},"Message":"Started processing notification for message ID 1804a9d76f2c3000"}

{"Timestamp":"2026-07-15T11:32:27.0105652+00:00","Level":"Information","Data":{"EventId":2977251129},"Message":"Looking up the notification handler for message ID 1804a9d76f2c3000"}

{"Timestamp":"2026-07-15T11:32:27.0105817+00:00","Level":"Information","Data":{"EventId":3557587821},"Message":"Event handling in process for message ID 1804a9d76f2c3000"}

{"Timestamp":"2026-07-15T11:32:27.0158625+00:00","Level":"Information","Data":{"EventId":335981295},"Message":"Sending message ID 1804a9d76f2c3000 to DLQ"}

{"Timestamp":"2026-07-15T11:32:27.0161532+00:00","Level":"Information","Data":{"EventId":863283704},"Message":"Dead letter envelope for DLQ message: {\"SourceTopic\":\"notification.orchestrator\",\"SourceChannel\":\"notification-orchestrator\",\"FailedAtUtc\":\"2026-07-15T11:32:27.0159242Z\",\"Attempts\":1,\"ErrorType\":\"OQSHA.Notification.Orchestrator.Exceptions.PermanentOrchestratorException\",\"ErrorMessage\":\"No recipients received for message ID 1804a9d76f2c3000\",\"StackTrace\":\"   at OQSHA.Notification.Orchestrator.Services.UsersService.ResolveRecipientsAsync(String messageId, Int32 orgId, NotificationEventDto request) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\Services\\\\UsersService.cs:line 84\\r\\n   at OQSHA.Notification.Orchestrator.Services.UsersService.GetRecipientsWithDetailsAsync(String messageId, Int32 orgId, NotificationEventDto request, NotificationTemplatesDbo notificationTemplate) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\Services\\\\UsersService.cs:line 134\\r\\n   at OQSHA.Notification.Orchestrator.NotificationHandlers.WorkPermitV2NotificationHandler.HandleAsync(String messageId, NotificationEventDto request) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\NotificationHandlers\\\\WorkPermitV2NotificationHandler.cs:line 62\\r\\n   at OQSHA.Notification.Orchestrator.NotificationHandlers.WorkPermitV2NotificationHandler.ProcessEventAsync(String messageId, NotificationEventDto request) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\NotificationHandlers\\\\WorkPermitV2NotificationHandler.cs:line 46\\r\\n   at OQSHA.Notification.Orchestrator.Routing.EventRouter.ExecuteAsync(String messageId, NotificationEventDto request) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\Routing\\\\EventRouter.cs:line 38\\r\\n   at OQSHA.Notification.Orchestrator.Worker.OrchestratorMessageHandler.HandleMessage(IMessage message) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\Worker\\\\OrchestratorMessageHandler.cs:line 44\",\"OriginalBody\":\"{\\\"TemplateId\\\":17,\\\"EntityType\\\":\\\"work_permit_v2\\\",\\\"EventType\\\":null,\\\"NotifyRoleId\\\":null,\\\"NotifyUserId\\\":null,\\\"NotifyDynamicActor\\\":\\\"PermitAuthorizerHeight\\\",\\\"EntityContext\\\":{\\\"Parameters\\\":{\\\"workPermitId\\\":\\\"452\\\",\\\"workPermitV2Id\\\":\\\"452\\\",\\\"orgId\\\":\\\"259\\\",\\\"viewLink\\\":\\\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/259/452?dlType=viewWorkPermitV2\\\",\\\"workPermitLink\\\":\\\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/259/452?dlType=viewWorkPermitV2\\\",\\\"emailFooter\\\":\\\"OQSHA Team\\\"}},\\\"ActorContext\\\":null,\\\"Metadata\\\":null}\"}"}

{"Timestamp":"2026-07-15T11:32:27.0169477+00:00","Level":"Information","Data":{"EventId":2199636132},"Message":"Sent message ID 1804a9d76f2c3000 to DLQ"}

{"Timestamp":"2026-07-15T11:32:32.7126029+00:00","Level":"Information","Data":{"EventId":2783135895},"Message":"Notification event with message ID 1804a9dcdb2c3000 received: {\"TemplateId\":19,\"EntityType\":\"work_permit_v2\",\"EventType\":null,\"NotifyRoleId\":null,\"NotifyUserId\":null,\"NotifyDynamicActor\":\"PermitAcceptanceHeight\",\"EntityContext\":{\"Parameters\":{\"workPermitId\":\"452\",\"workPermitV2Id\":\"452\",\"orgId\":\"259\",\"viewLink\":\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/259/452?dlType=viewWorkPermitV2\",\"workPermitLink\":\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/259/452?dlType=viewWorkPermitV2\",\"emailFooter\":\"OQSHA Team\"}},\"ActorContext\":{\"Requestor\":[678],\"AreaOwnerHeight\":[678],\"PermitAcceptanceHeight\":[678],\"PermitAuthorizerHeight\":[678]},\"Metadata\":null}"}

{"Timestamp":"2026-07-15T11:32:32.7152700+00:00","Level":"Information","Data":{"EventId":1767839579},"Message":"Started processing notification for message ID 1804a9dcdb2c3000"}

{"Timestamp":"2026-07-15T11:32:32.7152962+00:00","Level":"Information","Data":{"EventId":2539213564},"Message":"Looking up the notification handler for message ID 1804a9dcdb2c3000"}

{"Timestamp":"2026-07-15T11:32:32.7153044+00:00","Level":"Information","Data":{"EventId":3355259166},"Message":"Event handling in process for message ID 1804a9dcdb2c3000"}

{"Timestamp":"2026-07-15T11:32:32.7203826+00:00","Level":"Information","Data":{"EventId":1465456432},"Message":"Dispatching the notifications for message ID 1804a9dcdb2c3000"}

{"Timestamp":"2026-07-15T11:32:32.7210506+00:00","Level":"Information","Data":{"EventId":2849791103},"Message":"Successfully processed notification for message ID 1804a9dcdb2c3000"}

{"Timestamp":"2026-07-15T11:32:38.2371393+00:00","Level":"Information","Data":{"EventId":121015053},"Message":"Notification event with message ID 1804a9e2006c3000 received: {\"TemplateId\":19,\"EntityType\":\"work_permit_v2\",\"EventType\":null,\"NotifyRoleId\":null,\"NotifyUserId\":null,\"NotifyDynamicActor\":\"PermitAuthorizerHeight\",\"EntityContext\":{\"Parameters\":{\"workPermitId\":\"452\",\"workPermitV2Id\":\"452\",\"orgId\":\"259\",\"viewLink\":\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/259/452?dlType=viewWorkPermitV2\",\"workPermitLink\":\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/259/452?dlType=viewWorkPermitV2\",\"emailFooter\":\"OQSHA Team\"}},\"ActorContext\":{\"Requestor\":[678],\"AreaOwnerHeight\":[678],\"PermitAcceptanceHeight\":[678],\"PermitAuthorizerHeight\":[678]},\"Metadata\":null}"}

{"Timestamp":"2026-07-15T11:32:38.2403135+00:00","Level":"Information","Data":{"EventId":3709679718},"Message":"Started processing notification for message ID 1804a9e2006c3000"}

{"Timestamp":"2026-07-15T11:32:38.2403556+00:00","Level":"Information","Data":{"EventId":1105230211},"Message":"Looking up the notification handler for message ID 1804a9e2006c3000"}

{"Timestamp":"2026-07-15T11:32:38.2403745+00:00","Level":"Information","Data":{"EventId":1711317637},"Message":"Event handling in process for message ID 1804a9e2006c3000"}

{"Timestamp":"2026-07-15T11:32:38.2439924+00:00","Level":"Information","Data":{"EventId":855759626},"Message":"Dispatching the notifications for message ID 1804a9e2006c3000"}

{"Timestamp":"2026-07-15T11:32:38.2443685+00:00","Level":"Information","Data":{"EventId":2836635415},"Message":"Successfully processed notification for message ID 1804a9e2006c3000"}

{"Timestamp":"2026-07-15T11:32:43.3308377+00:00","Level":"Information","Data":{"EventId":98405178},"Message":"Notification event with message ID 1804a9e6beac3000 received: {\"TemplateId\":23,\"EntityType\":\"work_permit_v2\",\"EventType\":null,\"NotifyRoleId\":null,\"NotifyUserId\":null,\"NotifyDynamicActor\":\"Requestor\",\"EntityContext\":{\"Parameters\":{\"workPermitId\":\"452\",\"workPermitV2Id\":\"452\",\"orgId\":\"259\",\"viewLink\":\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/259/452?dlType=viewWorkPermitV2\",\"workPermitLink\":\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/259/452?dlType=viewWorkPermitV2\",\"emailFooter\":\"OQSHA Team\"}},\"ActorContext\":{\"Requestor\":[678],\"AreaOwnerHeight\":[678],\"PermitAcceptanceHeight\":[678],\"PermitAuthorizerHeight\":[678]},\"Metadata\":null}"}

{"Timestamp":"2026-07-15T11:32:43.3332678+00:00","Level":"Information","Data":{"EventId":2014782806},"Message":"Started processing notification for message ID 1804a9e6beac3000"}

{"Timestamp":"2026-07-15T11:32:43.3333041+00:00","Level":"Information","Data":{"EventId":2951837214},"Message":"Looking up the notification handler for message ID 1804a9e6beac3000"}

{"Timestamp":"2026-07-15T11:32:43.3333139+00:00","Level":"Information","Data":{"EventId":1092741760},"Message":"Event handling in process for message ID 1804a9e6beac3000"}

{"Timestamp":"2026-07-15T11:32:43.3382137+00:00","Level":"Information","Data":{"EventId":1343042908},"Message":"Dispatching the notifications for message ID 1804a9e6beac3000"}

{"Timestamp":"2026-07-15T11:32:43.3385082+00:00","Level":"Information","Data":{"EventId":2354903032},"Message":"Successfully processed notification for message ID 1804a9e6beac3000"}

{"Timestamp":"2026-07-15T11:34:18.1938812+00:00","Level":"Information","Data":{"EventId":3845473518},"Message":"Notification event with message ID 1804aa3f17ec3000 received: {\"TemplateId\":18,\"EntityType\":\"work_permit_v2\",\"EventType\":null,\"NotifyRoleId\":null,\"NotifyUserId\":null,\"NotifyDynamicActor\":\"Work_Permit_Authorization_Department_Head\",\"EntityContext\":{\"Parameters\":{\"workPermitId\":\"453\",\"workPermitV2Id\":\"453\",\"orgId\":\"264\",\"viewLink\":\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/264/453?dlType=viewWorkPermitV2\",\"workPermitLink\":\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/264/453?dlType=viewWorkPermitV2\",\"emailFooter\":\"OQSHA Team\"}},\"ActorContext\":null,\"Metadata\":null}"}

{"Timestamp":"2026-07-15T11:34:18.1958231+00:00","Level":"Information","Data":{"EventId":1593632725},"Message":"Started processing notification for message ID 1804aa3f17ec3000"}

{"Timestamp":"2026-07-15T11:34:18.1958471+00:00","Level":"Information","Data":{"EventId":2078117862},"Message":"Looking up the notification handler for message ID 1804aa3f17ec3000"}

{"Timestamp":"2026-07-15T11:34:18.1958548+00:00","Level":"Information","Data":{"EventId":3355918186},"Message":"Event handling in process for message ID 1804aa3f17ec3000"}

{"Timestamp":"2026-07-15T11:34:18.1981446+00:00","Level":"Information","Data":{"EventId":2281000530},"Message":"Sending message ID 1804aa3f17ec3000 to DLQ"}

{"Timestamp":"2026-07-15T11:34:18.1983345+00:00","Level":"Information","Data":{"EventId":632328109},"Message":"Dead letter envelope for DLQ message: {\"SourceTopic\":\"notification.orchestrator\",\"SourceChannel\":\"notification-orchestrator\",\"FailedAtUtc\":\"2026-07-15T11:34:18.1981643Z\",\"Attempts\":1,\"ErrorType\":\"OQSHA.Notification.Orchestrator.Exceptions.PermanentOrchestratorException\",\"ErrorMessage\":\"No recipients received for message ID 1804aa3f17ec3000\",\"StackTrace\":\"   at OQSHA.Notification.Orchestrator.Services.UsersService.ResolveRecipientsAsync(String messageId, Int32 orgId, NotificationEventDto request) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\Services\\\\UsersService.cs:line 84\\r\\n   at OQSHA.Notification.Orchestrator.Services.UsersService.GetRecipientsWithDetailsAsync(String messageId, Int32 orgId, NotificationEventDto request, NotificationTemplatesDbo notificationTemplate) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\Services\\\\UsersService.cs:line 134\\r\\n   at OQSHA.Notification.Orchestrator.NotificationHandlers.WorkPermitV2NotificationHandler.HandleAsync(String messageId, NotificationEventDto request) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\NotificationHandlers\\\\WorkPermitV2NotificationHandler.cs:line 62\\r\\n   at OQSHA.Notification.Orchestrator.NotificationHandlers.WorkPermitV2NotificationHandler.ProcessEventAsync(String messageId, NotificationEventDto request) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\NotificationHandlers\\\\WorkPermitV2NotificationHandler.cs:line 46\\r\\n   at OQSHA.Notification.Orchestrator.Routing.EventRouter.ExecuteAsync(String messageId, NotificationEventDto request) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\Routing\\\\EventRouter.cs:line 38\\r\\n   at OQSHA.Notification.Orchestrator.Worker.OrchestratorMessageHandler.HandleMessage(IMessage message) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\Worker\\\\OrchestratorMessageHandler.cs:line 44\",\"OriginalBody\":\"{\\\"TemplateId\\\":18,\\\"EntityType\\\":\\\"work_permit_v2\\\",\\\"EventType\\\":null,\\\"NotifyRoleId\\\":null,\\\"NotifyUserId\\\":null,\\\"NotifyDynamicActor\\\":\\\"Work_Permit_Authorization_Department_Head\\\",\\\"EntityContext\\\":{\\\"Parameters\\\":{\\\"workPermitId\\\":\\\"453\\\",\\\"workPermitV2Id\\\":\\\"453\\\",\\\"orgId\\\":\\\"264\\\",\\\"viewLink\\\":\\\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/264/453?dlType=viewWorkPermitV2\\\",\\\"workPermitLink\\\":\\\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/264/453?dlType=viewWorkPermitV2\\\",\\\"emailFooter\\\":\\\"OQSHA Team\\\"}},\\\"ActorContext\\\":null,\\\"Metadata\\\":null}\"}"}

{"Timestamp":"2026-07-15T11:34:18.1988549+00:00","Level":"Information","Data":{"EventId":322737738},"Message":"Sent message ID 1804aa3f17ec3000 to DLQ"}

{"Timestamp":"2026-07-15T11:34:18.2562491+00:00","Level":"Information","Data":{"EventId":3325526960},"Message":"Notification event with message ID 1804aa3f17ec3001 received: {\"TemplateId\":19,\"EntityType\":\"work_permit_v2\",\"EventType\":null,\"NotifyRoleId\":null,\"NotifyUserId\":null,\"NotifyDynamicActor\":\"Work_Permit_Authorization_Department_Head\",\"EntityContext\":{\"Parameters\":{\"workPermitId\":\"453\",\"workPermitV2Id\":\"453\",\"orgId\":\"264\",\"viewLink\":\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/264/453?dlType=viewWorkPermitV2\",\"workPermitLink\":\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/264/453?dlType=viewWorkPermitV2\",\"emailFooter\":\"OQSHA Team\"}},\"ActorContext\":null,\"Metadata\":null}"}

{"Timestamp":"2026-07-15T11:34:18.2581413+00:00","Level":"Information","Data":{"EventId":3961160206},"Message":"Started processing notification for message ID 1804aa3f17ec3001"}

{"Timestamp":"2026-07-15T11:34:18.2581712+00:00","Level":"Information","Data":{"EventId":2350821480},"Message":"Looking up the notification handler for message ID 1804aa3f17ec3001"}

{"Timestamp":"2026-07-15T11:34:18.2581841+00:00","Level":"Information","Data":{"EventId":3065814229},"Message":"Event handling in process for message ID 1804aa3f17ec3001"}

{"Timestamp":"2026-07-15T11:34:18.2615559+00:00","Level":"Information","Data":{"EventId":3655065854},"Message":"Sending message ID 1804aa3f17ec3001 to DLQ"}

{"Timestamp":"2026-07-15T11:34:18.2617977+00:00","Level":"Information","Data":{"EventId":4054904231},"Message":"Dead letter envelope for DLQ message: {\"SourceTopic\":\"notification.orchestrator\",\"SourceChannel\":\"notification-orchestrator\",\"FailedAtUtc\":\"2026-07-15T11:34:18.2615933Z\",\"Attempts\":1,\"ErrorType\":\"OQSHA.Notification.Orchestrator.Exceptions.PermanentOrchestratorException\",\"ErrorMessage\":\"No recipients received for message ID 1804aa3f17ec3001\",\"StackTrace\":\"   at OQSHA.Notification.Orchestrator.Services.UsersService.ResolveRecipientsAsync(String messageId, Int32 orgId, NotificationEventDto request) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\Services\\\\UsersService.cs:line 84\\r\\n   at OQSHA.Notification.Orchestrator.Services.UsersService.GetRecipientsWithDetailsAsync(String messageId, Int32 orgId, NotificationEventDto request, NotificationTemplatesDbo notificationTemplate) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\Services\\\\UsersService.cs:line 134\\r\\n   at OQSHA.Notification.Orchestrator.NotificationHandlers.WorkPermitV2NotificationHandler.HandleAsync(String messageId, NotificationEventDto request) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\NotificationHandlers\\\\WorkPermitV2NotificationHandler.cs:line 62\\r\\n   at OQSHA.Notification.Orchestrator.NotificationHandlers.WorkPermitV2NotificationHandler.ProcessEventAsync(String messageId, NotificationEventDto request) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\NotificationHandlers\\\\WorkPermitV2NotificationHandler.cs:line 46\\r\\n   at OQSHA.Notification.Orchestrator.Routing.EventRouter.ExecuteAsync(String messageId, NotificationEventDto request) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\Routing\\\\EventRouter.cs:line 38\\r\\n   at OQSHA.Notification.Orchestrator.Worker.OrchestratorMessageHandler.HandleMessage(IMessage message) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\Worker\\\\OrchestratorMessageHandler.cs:line 44\",\"OriginalBody\":\"{\\\"TemplateId\\\":19,\\\"EntityType\\\":\\\"work_permit_v2\\\",\\\"EventType\\\":null,\\\"NotifyRoleId\\\":null,\\\"NotifyUserId\\\":null,\\\"NotifyDynamicActor\\\":\\\"Work_Permit_Authorization_Department_Head\\\",\\\"EntityContext\\\":{\\\"Parameters\\\":{\\\"workPermitId\\\":\\\"453\\\",\\\"workPermitV2Id\\\":\\\"453\\\",\\\"orgId\\\":\\\"264\\\",\\\"viewLink\\\":\\\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/264/453?dlType=viewWorkPermitV2\\\",\\\"workPermitLink\\\":\\\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/264/453?dlType=viewWorkPermitV2\\\",\\\"emailFooter\\\":\\\"OQSHA Team\\\"}},\\\"ActorContext\\\":null,\\\"Metadata\\\":null}\"}"}

{"Timestamp":"2026-07-15T11:34:18.2625105+00:00","Level":"Information","Data":{"EventId":3691264876},"Message":"Sent message ID 1804aa3f17ec3001 to DLQ"}

{"Timestamp":"2026-07-15T11:34:42.8423239+00:00","Level":"Information","Data":{"EventId":2835694767},"Message":"Notification event with message ID 1804aa560c6c3000 received: {\"TemplateId\":18,\"EntityType\":\"work_permit_v2\",\"EventType\":null,\"NotifyRoleId\":null,\"NotifyUserId\":null,\"NotifyDynamicActor\":\"Work_Permit_Authorization_Area_Owner\",\"EntityContext\":{\"Parameters\":{\"workPermitId\":\"453\",\"workPermitV2Id\":\"453\",\"orgId\":\"264\",\"viewLink\":\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/264/453?dlType=viewWorkPermitV2\",\"workPermitLink\":\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/264/453?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-07-15T11:34:42.8441629+00:00","Level":"Information","Data":{"EventId":484989041},"Message":"Started processing notification for message ID 1804aa560c6c3000"}

{"Timestamp":"2026-07-15T11:34:42.8441960+00:00","Level":"Information","Data":{"EventId":3959749812},"Message":"Looking up the notification handler for message ID 1804aa560c6c3000"}

{"Timestamp":"2026-07-15T11:34:42.8442048+00:00","Level":"Information","Data":{"EventId":1374054581},"Message":"Event handling in process for message ID 1804aa560c6c3000"}

{"Timestamp":"2026-07-15T11:34:42.8469806+00:00","Level":"Information","Data":{"EventId":2723266514},"Message":"Dispatching the notifications for message ID 1804aa560c6c3000"}

{"Timestamp":"2026-07-15T11:34:42.8472926+00:00","Level":"Information","Data":{"EventId":3788481092},"Message":"Successfully processed notification for message ID 1804aa560c6c3000"}

{"Timestamp":"2026-07-15T11:34:43.0082064+00:00","Level":"Information","Data":{"EventId":3780219339},"Message":"Notification event with message ID 1804aa560c6c3001 received: {\"TemplateId\":19,\"EntityType\":\"work_permit_v2\",\"EventType\":null,\"NotifyRoleId\":null,\"NotifyUserId\":null,\"NotifyDynamicActor\":\"Work_Permit_Authorization_Area_Owner\",\"EntityContext\":{\"Parameters\":{\"workPermitId\":\"453\",\"workPermitV2Id\":\"453\",\"orgId\":\"264\",\"viewLink\":\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/264/453?dlType=viewWorkPermitV2\",\"workPermitLink\":\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/264/453?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-07-15T11:34:43.0107362+00:00","Level":"Information","Data":{"EventId":2025132049},"Message":"Started processing notification for message ID 1804aa560c6c3001"}

{"Timestamp":"2026-07-15T11:34:43.0107858+00:00","Level":"Information","Data":{"EventId":1892877906},"Message":"Looking up the notification handler for message ID 1804aa560c6c3001"}

{"Timestamp":"2026-07-15T11:34:43.0107972+00:00","Level":"Information","Data":{"EventId":2367217481},"Message":"Event handling in process for message ID 1804aa560c6c3001"}

{"Timestamp":"2026-07-15T11:34:43.0172529+00:00","Level":"Information","Data":{"EventId":3968619590},"Message":"Dispatching the notifications for message ID 1804aa560c6c3001"}

{"Timestamp":"2026-07-15T11:34:43.0180393+00:00","Level":"Information","Data":{"EventId":725660957},"Message":"Successfully processed notification for message ID 1804aa560c6c3001"}

{"Timestamp":"2026-07-15T11:39:03.2277996+00:00","Level":"Information","Data":{"EventId":1696537705},"Message":"Notification event with message ID 1804ab488d2c3000 received: {\"TemplateId\":17,\"EntityType\":\"work_permit_v2\",\"EventType\":null,\"NotifyRoleId\":null,\"NotifyUserId\":null,\"NotifyDynamicActor\":\"AreaOwnerHeight\",\"EntityContext\":{\"Parameters\":{\"workPermitId\":\"454\",\"workPermitV2Id\":\"454\",\"orgId\":\"259\",\"viewLink\":\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/259/454?dlType=viewWorkPermitV2\",\"workPermitLink\":\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/259/454?dlType=viewWorkPermitV2\",\"emailFooter\":\"OQSHA Team\"}},\"ActorContext\":null,\"Metadata\":null}"}

{"Timestamp":"2026-07-15T11:39:03.2304318+00:00","Level":"Information","Data":{"EventId":2924555516},"Message":"Started processing notification for message ID 1804ab488d2c3000"}

{"Timestamp":"2026-07-15T11:39:03.2304724+00:00","Level":"Information","Data":{"EventId":4129044446},"Message":"Looking up the notification handler for message ID 1804ab488d2c3000"}

{"Timestamp":"2026-07-15T11:39:03.2304826+00:00","Level":"Information","Data":{"EventId":1448563537},"Message":"Event handling in process for message ID 1804ab488d2c3000"}

{"Timestamp":"2026-07-15T11:39:03.2369665+00:00","Level":"Information","Data":{"EventId":3810595786},"Message":"Sending message ID 1804ab488d2c3000 to DLQ"}

{"Timestamp":"2026-07-15T11:39:03.2371534+00:00","Level":"Information","Data":{"EventId":1743220551},"Message":"Dead letter envelope for DLQ message: {\"SourceTopic\":\"notification.orchestrator\",\"SourceChannel\":\"notification-orchestrator\",\"FailedAtUtc\":\"2026-07-15T11:39:03.2370134Z\",\"Attempts\":1,\"ErrorType\":\"OQSHA.Notification.Orchestrator.Exceptions.PermanentOrchestratorException\",\"ErrorMessage\":\"No recipients received for message ID 1804ab488d2c3000\",\"StackTrace\":\"   at OQSHA.Notification.Orchestrator.Services.UsersService.ResolveRecipientsAsync(String messageId, Int32 orgId, NotificationEventDto request) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\Services\\\\UsersService.cs:line 84\\r\\n   at OQSHA.Notification.Orchestrator.Services.UsersService.GetRecipientsWithDetailsAsync(String messageId, Int32 orgId, NotificationEventDto request, NotificationTemplatesDbo notificationTemplate) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\Services\\\\UsersService.cs:line 134\\r\\n   at OQSHA.Notification.Orchestrator.NotificationHandlers.WorkPermitV2NotificationHandler.HandleAsync(String messageId, NotificationEventDto request) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\NotificationHandlers\\\\WorkPermitV2NotificationHandler.cs:line 62\\r\\n   at OQSHA.Notification.Orchestrator.NotificationHandlers.WorkPermitV2NotificationHandler.ProcessEventAsync(String messageId, NotificationEventDto request) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\NotificationHandlers\\\\WorkPermitV2NotificationHandler.cs:line 46\\r\\n   at OQSHA.Notification.Orchestrator.Routing.EventRouter.ExecuteAsync(String messageId, NotificationEventDto request) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\Routing\\\\EventRouter.cs:line 38\\r\\n   at OQSHA.Notification.Orchestrator.Worker.OrchestratorMessageHandler.HandleMessage(IMessage message) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\Worker\\\\OrchestratorMessageHandler.cs:line 44\",\"OriginalBody\":\"{\\\"TemplateId\\\":17,\\\"EntityType\\\":\\\"work_permit_v2\\\",\\\"EventType\\\":null,\\\"NotifyRoleId\\\":null,\\\"NotifyUserId\\\":null,\\\"NotifyDynamicActor\\\":\\\"AreaOwnerHeight\\\",\\\"EntityContext\\\":{\\\"Parameters\\\":{\\\"workPermitId\\\":\\\"454\\\",\\\"workPermitV2Id\\\":\\\"454\\\",\\\"orgId\\\":\\\"259\\\",\\\"viewLink\\\":\\\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/259/454?dlType=viewWorkPermitV2\\\",\\\"workPermitLink\\\":\\\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/259/454?dlType=viewWorkPermitV2\\\",\\\"emailFooter\\\":\\\"OQSHA Team\\\"}},\\\"ActorContext\\\":null,\\\"Metadata\\\":null}\"}"}

{"Timestamp":"2026-07-15T11:39:03.2377418+00:00","Level":"Information","Data":{"EventId":2466017057},"Message":"Sent message ID 1804ab488d2c3000 to DLQ"}

{"Timestamp":"2026-07-15T11:39:03.2511840+00:00","Level":"Information","Data":{"EventId":604716982},"Message":"Notification event with message ID 1804ab488d6c3000 received: {\"TemplateId\":17,\"EntityType\":\"work_permit_v2\",\"EventType\":null,\"NotifyRoleId\":null,\"NotifyUserId\":null,\"NotifyDynamicActor\":\"PermitAcceptanceHeight\",\"EntityContext\":{\"Parameters\":{\"workPermitId\":\"454\",\"workPermitV2Id\":\"454\",\"orgId\":\"259\",\"viewLink\":\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/259/454?dlType=viewWorkPermitV2\",\"workPermitLink\":\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/259/454?dlType=viewWorkPermitV2\",\"emailFooter\":\"OQSHA Team\"}},\"ActorContext\":null,\"Metadata\":null}"}

{"Timestamp":"2026-07-15T11:39:03.2539391+00:00","Level":"Information","Data":{"EventId":1085374409},"Message":"Started processing notification for message ID 1804ab488d6c3000"}

{"Timestamp":"2026-07-15T11:39:03.2540216+00:00","Level":"Information","Data":{"EventId":4128361786},"Message":"Looking up the notification handler for message ID 1804ab488d6c3000"}

{"Timestamp":"2026-07-15T11:39:03.2540442+00:00","Level":"Information","Data":{"EventId":2733910068},"Message":"Event handling in process for message ID 1804ab488d6c3000"}

{"Timestamp":"2026-07-15T11:39:03.2597908+00:00","Level":"Information","Data":{"EventId":2675729785},"Message":"Sending message ID 1804ab488d6c3000 to DLQ"}

{"Timestamp":"2026-07-15T11:39:03.2600643+00:00","Level":"Information","Data":{"EventId":3158379917},"Message":"Dead letter envelope for DLQ message: {\"SourceTopic\":\"notification.orchestrator\",\"SourceChannel\":\"notification-orchestrator\",\"FailedAtUtc\":\"2026-07-15T11:39:03.25983Z\",\"Attempts\":1,\"ErrorType\":\"OQSHA.Notification.Orchestrator.Exceptions.PermanentOrchestratorException\",\"ErrorMessage\":\"No recipients received for message ID 1804ab488d6c3000\",\"StackTrace\":\"   at OQSHA.Notification.Orchestrator.Services.UsersService.ResolveRecipientsAsync(String messageId, Int32 orgId, NotificationEventDto request) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\Services\\\\UsersService.cs:line 84\\r\\n   at OQSHA.Notification.Orchestrator.Services.UsersService.GetRecipientsWithDetailsAsync(String messageId, Int32 orgId, NotificationEventDto request, NotificationTemplatesDbo notificationTemplate) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\Services\\\\UsersService.cs:line 134\\r\\n   at OQSHA.Notification.Orchestrator.NotificationHandlers.WorkPermitV2NotificationHandler.HandleAsync(String messageId, NotificationEventDto request) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\NotificationHandlers\\\\WorkPermitV2NotificationHandler.cs:line 62\\r\\n   at OQSHA.Notification.Orchestrator.NotificationHandlers.WorkPermitV2NotificationHandler.ProcessEventAsync(String messageId, NotificationEventDto request) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\NotificationHandlers\\\\WorkPermitV2NotificationHandler.cs:line 46\\r\\n   at OQSHA.Notification.Orchestrator.Routing.EventRouter.ExecuteAsync(String messageId, NotificationEventDto request) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\Routing\\\\EventRouter.cs:line 38\\r\\n   at OQSHA.Notification.Orchestrator.Worker.OrchestratorMessageHandler.HandleMessage(IMessage message) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\Worker\\\\OrchestratorMessageHandler.cs:line 44\",\"OriginalBody\":\"{\\\"TemplateId\\\":17,\\\"EntityType\\\":\\\"work_permit_v2\\\",\\\"EventType\\\":null,\\\"NotifyRoleId\\\":null,\\\"NotifyUserId\\\":null,\\\"NotifyDynamicActor\\\":\\\"PermitAcceptanceHeight\\\",\\\"EntityContext\\\":{\\\"Parameters\\\":{\\\"workPermitId\\\":\\\"454\\\",\\\"workPermitV2Id\\\":\\\"454\\\",\\\"orgId\\\":\\\"259\\\",\\\"viewLink\\\":\\\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/259/454?dlType=viewWorkPermitV2\\\",\\\"workPermitLink\\\":\\\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/259/454?dlType=viewWorkPermitV2\\\",\\\"emailFooter\\\":\\\"OQSHA Team\\\"}},\\\"ActorContext\\\":null,\\\"Metadata\\\":null}\"}"}

{"Timestamp":"2026-07-15T11:39:03.2608672+00:00","Level":"Information","Data":{"EventId":3339615718},"Message":"Sent message ID 1804ab488d6c3000 to DLQ"}

{"Timestamp":"2026-07-15T11:39:03.2612231+00:00","Level":"Information","Data":{"EventId":3800886158},"Message":"Notification event with message ID 1804ab488d6c3001 received: {\"TemplateId\":17,\"EntityType\":\"work_permit_v2\",\"EventType\":null,\"NotifyRoleId\":null,\"NotifyUserId\":null,\"NotifyDynamicActor\":\"PermitAuthorizerHeight\",\"EntityContext\":{\"Parameters\":{\"workPermitId\":\"454\",\"workPermitV2Id\":\"454\",\"orgId\":\"259\",\"viewLink\":\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/259/454?dlType=viewWorkPermitV2\",\"workPermitLink\":\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/259/454?dlType=viewWorkPermitV2\",\"emailFooter\":\"OQSHA Team\"}},\"ActorContext\":null,\"Metadata\":null}"}

{"Timestamp":"2026-07-15T11:39:03.2643680+00:00","Level":"Information","Data":{"EventId":779017028},"Message":"Started processing notification for message ID 1804ab488d6c3001"}

{"Timestamp":"2026-07-15T11:39:03.2644568+00:00","Level":"Information","Data":{"EventId":2841195454},"Message":"Looking up the notification handler for message ID 1804ab488d6c3001"}

{"Timestamp":"2026-07-15T11:39:03.2644886+00:00","Level":"Information","Data":{"EventId":1263401185},"Message":"Event handling in process for message ID 1804ab488d6c3001"}

{"Timestamp":"2026-07-15T11:39:03.2713052+00:00","Level":"Information","Data":{"EventId":2583609326},"Message":"Sending message ID 1804ab488d6c3001 to DLQ"}

{"Timestamp":"2026-07-15T11:39:03.2715518+00:00","Level":"Information","Data":{"EventId":3238196078},"Message":"Dead letter envelope for DLQ message: {\"SourceTopic\":\"notification.orchestrator\",\"SourceChannel\":\"notification-orchestrator\",\"FailedAtUtc\":\"2026-07-15T11:39:03.2713609Z\",\"Attempts\":1,\"ErrorType\":\"OQSHA.Notification.Orchestrator.Exceptions.PermanentOrchestratorException\",\"ErrorMessage\":\"No recipients received for message ID 1804ab488d6c3001\",\"StackTrace\":\"   at OQSHA.Notification.Orchestrator.Services.UsersService.ResolveRecipientsAsync(String messageId, Int32 orgId, NotificationEventDto request) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\Services\\\\UsersService.cs:line 84\\r\\n   at OQSHA.Notification.Orchestrator.Services.UsersService.GetRecipientsWithDetailsAsync(String messageId, Int32 orgId, NotificationEventDto request, NotificationTemplatesDbo notificationTemplate) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\Services\\\\UsersService.cs:line 134\\r\\n   at OQSHA.Notification.Orchestrator.NotificationHandlers.WorkPermitV2NotificationHandler.HandleAsync(String messageId, NotificationEventDto request) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\NotificationHandlers\\\\WorkPermitV2NotificationHandler.cs:line 62\\r\\n   at OQSHA.Notification.Orchestrator.NotificationHandlers.WorkPermitV2NotificationHandler.ProcessEventAsync(String messageId, NotificationEventDto request) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\NotificationHandlers\\\\WorkPermitV2NotificationHandler.cs:line 46\\r\\n   at OQSHA.Notification.Orchestrator.Routing.EventRouter.ExecuteAsync(String messageId, NotificationEventDto request) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\Routing\\\\EventRouter.cs:line 38\\r\\n   at OQSHA.Notification.Orchestrator.Worker.OrchestratorMessageHandler.HandleMessage(IMessage message) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\Worker\\\\OrchestratorMessageHandler.cs:line 44\",\"OriginalBody\":\"{\\\"TemplateId\\\":17,\\\"EntityType\\\":\\\"work_permit_v2\\\",\\\"EventType\\\":null,\\\"NotifyRoleId\\\":null,\\\"NotifyUserId\\\":null,\\\"NotifyDynamicActor\\\":\\\"PermitAuthorizerHeight\\\",\\\"EntityContext\\\":{\\\"Parameters\\\":{\\\"workPermitId\\\":\\\"454\\\",\\\"workPermitV2Id\\\":\\\"454\\\",\\\"orgId\\\":\\\"259\\\",\\\"viewLink\\\":\\\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/259/454?dlType=viewWorkPermitV2\\\",\\\"workPermitLink\\\":\\\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/259/454?dlType=viewWorkPermitV2\\\",\\\"emailFooter\\\":\\\"OQSHA Team\\\"}},\\\"ActorContext\\\":null,\\\"Metadata\\\":null}\"}"}

{"Timestamp":"2026-07-15T11:39:03.2723396+00:00","Level":"Information","Data":{"EventId":977943391},"Message":"Sent message ID 1804ab488d6c3001 to DLQ"}

{"Timestamp":"2026-07-15T11:39:16.7412821+00:00","Level":"Information","Data":{"EventId":1791515873},"Message":"Notification event with message ID 1804ab55232c3000 received: {\"TemplateId\":19,\"EntityType\":\"work_permit_v2\",\"EventType\":null,\"NotifyRoleId\":null,\"NotifyUserId\":null,\"NotifyDynamicActor\":\"PermitAcceptanceHeight\",\"EntityContext\":{\"Parameters\":{\"workPermitId\":\"454\",\"workPermitV2Id\":\"454\",\"orgId\":\"259\",\"viewLink\":\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/259/454?dlType=viewWorkPermitV2\",\"workPermitLink\":\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/259/454?dlType=viewWorkPermitV2\",\"emailFooter\":\"OQSHA Team\"}},\"ActorContext\":{\"Requestor\":[678],\"AreaOwnerHeight\":[678],\"PermitAcceptanceHeight\":[678],\"PermitAuthorizerHeight\":[678]},\"Metadata\":null}"}

{"Timestamp":"2026-07-15T11:39:16.7426264+00:00","Level":"Information","Data":{"EventId":2781741030},"Message":"Started processing notification for message ID 1804ab55232c3000"}

{"Timestamp":"2026-07-15T11:39:16.7426586+00:00","Level":"Information","Data":{"EventId":4284765415},"Message":"Looking up the notification handler for message ID 1804ab55232c3000"}

{"Timestamp":"2026-07-15T11:39:16.7426669+00:00","Level":"Information","Data":{"EventId":1423267130},"Message":"Event handling in process for message ID 1804ab55232c3000"}

{"Timestamp":"2026-07-15T11:39:16.7456205+00:00","Level":"Information","Data":{"EventId":3664889879},"Message":"Dispatching the notifications for message ID 1804ab55232c3000"}

{"Timestamp":"2026-07-15T11:39:16.7461893+00:00","Level":"Information","Data":{"EventId":193149702},"Message":"Successfully processed notification for message ID 1804ab55232c3000"}

{"Timestamp":"2026-07-15T11:39:22.1415197+00:00","Level":"Information","Data":{"EventId":1511929908},"Message":"Notification event with message ID 1804ab5a2aac3000 received: {\"TemplateId\":19,\"EntityType\":\"work_permit_v2\",\"EventType\":null,\"NotifyRoleId\":null,\"NotifyUserId\":null,\"NotifyDynamicActor\":\"PermitAuthorizerHeight\",\"EntityContext\":{\"Parameters\":{\"workPermitId\":\"454\",\"workPermitV2Id\":\"454\",\"orgId\":\"259\",\"viewLink\":\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/259/454?dlType=viewWorkPermitV2\",\"workPermitLink\":\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/259/454?dlType=viewWorkPermitV2\",\"emailFooter\":\"OQSHA Team\"}},\"ActorContext\":{\"Requestor\":[678],\"AreaOwnerHeight\":[678],\"PermitAcceptanceHeight\":[678],\"PermitAuthorizerHeight\":[678]},\"Metadata\":null}"}

{"Timestamp":"2026-07-15T11:39:22.1434851+00:00","Level":"Information","Data":{"EventId":1276187483},"Message":"Started processing notification for message ID 1804ab5a2aac3000"}

{"Timestamp":"2026-07-15T11:39:22.1435139+00:00","Level":"Information","Data":{"EventId":3029122911},"Message":"Looking up the notification handler for message ID 1804ab5a2aac3000"}

{"Timestamp":"2026-07-15T11:39:22.1435223+00:00","Level":"Information","Data":{"EventId":605318143},"Message":"Event handling in process for message ID 1804ab5a2aac3000"}

{"Timestamp":"2026-07-15T11:39:22.1466072+00:00","Level":"Information","Data":{"EventId":2932676705},"Message":"Dispatching the notifications for message ID 1804ab5a2aac3000"}

{"Timestamp":"2026-07-15T11:39:22.1469354+00:00","Level":"Information","Data":{"EventId":1717919360},"Message":"Successfully processed notification for message ID 1804ab5a2aac3000"}

{"Timestamp":"2026-07-15T11:39:27.0042576+00:00","Level":"Information","Data":{"EventId":1035341360},"Message":"Notification event with message ID 1804ab5eb1ac3000 received: {\"TemplateId\":23,\"EntityType\":\"work_permit_v2\",\"EventType\":null,\"NotifyRoleId\":null,\"NotifyUserId\":null,\"NotifyDynamicActor\":\"Requestor\",\"EntityContext\":{\"Parameters\":{\"workPermitId\":\"454\",\"workPermitV2Id\":\"454\",\"orgId\":\"259\",\"viewLink\":\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/259/454?dlType=viewWorkPermitV2\",\"workPermitLink\":\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/259/454?dlType=viewWorkPermitV2\",\"emailFooter\":\"OQSHA Team\"}},\"ActorContext\":{\"Requestor\":[678],\"AreaOwnerHeight\":[678],\"PermitAcceptanceHeight\":[678],\"PermitAuthorizerHeight\":[678]},\"Metadata\":null}"}

{"Timestamp":"2026-07-15T11:39:27.0062400+00:00","Level":"Information","Data":{"EventId":2383426725},"Message":"Started processing notification for message ID 1804ab5eb1ac3000"}

{"Timestamp":"2026-07-15T11:39:27.0062704+00:00","Level":"Information","Data":{"EventId":3443138060},"Message":"Looking up the notification handler for message ID 1804ab5eb1ac3000"}

{"Timestamp":"2026-07-15T11:39:27.0062786+00:00","Level":"Information","Data":{"EventId":1212431404},"Message":"Event handling in process for message ID 1804ab5eb1ac3000"}

{"Timestamp":"2026-07-15T11:39:27.0116430+00:00","Level":"Information","Data":{"EventId":2467589952},"Message":"Dispatching the notifications for message ID 1804ab5eb1ac3000"}

{"Timestamp":"2026-07-15T11:39:27.0119921+00:00","Level":"Information","Data":{"EventId":1737251402},"Message":"Successfully processed notification for message ID 1804ab5eb1ac3000"}

{"Timestamp":"2026-07-15T11:42:05.0121324+00:00","Level":"Information","Data":{"EventId":106515510},"Message":"Notification event with message ID 1804abf1da2c3000 received: {\"TemplateId\":17,\"EntityType\":\"work_permit_v2\",\"EventType\":null,\"NotifyRoleId\":null,\"NotifyUserId\":null,\"NotifyDynamicActor\":\"AreaOwnerHeight\",\"EntityContext\":{\"Parameters\":{\"workPermitId\":\"455\",\"workPermitV2Id\":\"455\",\"orgId\":\"259\",\"viewLink\":\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/259/455?dlType=viewWorkPermitV2\",\"workPermitLink\":\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/259/455?dlType=viewWorkPermitV2\",\"emailFooter\":\"OQSHA Team\"}},\"ActorContext\":null,\"Metadata\":null}"}

{"Timestamp":"2026-07-15T11:42:05.0136526+00:00","Level":"Information","Data":{"EventId":1518913131},"Message":"Started processing notification for message ID 1804abf1da2c3000"}

{"Timestamp":"2026-07-15T11:42:05.0136852+00:00","Level":"Information","Data":{"EventId":2558644046},"Message":"Looking up the notification handler for message ID 1804abf1da2c3000"}

{"Timestamp":"2026-07-15T11:42:05.0136944+00:00","Level":"Information","Data":{"EventId":1305942752},"Message":"Event handling in process for message ID 1804abf1da2c3000"}

{"Timestamp":"2026-07-15T11:42:05.0161815+00:00","Level":"Information","Data":{"EventId":3889819378},"Message":"Sending message ID 1804abf1da2c3000 to DLQ"}

{"Timestamp":"2026-07-15T11:42:05.0163534+00:00","Level":"Information","Data":{"EventId":2665913896},"Message":"Dead letter envelope for DLQ message: {\"SourceTopic\":\"notification.orchestrator\",\"SourceChannel\":\"notification-orchestrator\",\"FailedAtUtc\":\"2026-07-15T11:42:05.0162103Z\",\"Attempts\":1,\"ErrorType\":\"OQSHA.Notification.Orchestrator.Exceptions.PermanentOrchestratorException\",\"ErrorMessage\":\"No recipients received for message ID 1804abf1da2c3000\",\"StackTrace\":\"   at OQSHA.Notification.Orchestrator.Services.UsersService.ResolveRecipientsAsync(String messageId, Int32 orgId, NotificationEventDto request) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\Services\\\\UsersService.cs:line 84\\r\\n   at OQSHA.Notification.Orchestrator.Services.UsersService.GetRecipientsWithDetailsAsync(String messageId, Int32 orgId, NotificationEventDto request, NotificationTemplatesDbo notificationTemplate) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\Services\\\\UsersService.cs:line 134\\r\\n   at OQSHA.Notification.Orchestrator.NotificationHandlers.WorkPermitV2NotificationHandler.HandleAsync(String messageId, NotificationEventDto request) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\NotificationHandlers\\\\WorkPermitV2NotificationHandler.cs:line 62\\r\\n   at OQSHA.Notification.Orchestrator.NotificationHandlers.WorkPermitV2NotificationHandler.ProcessEventAsync(String messageId, NotificationEventDto request) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\NotificationHandlers\\\\WorkPermitV2NotificationHandler.cs:line 46\\r\\n   at OQSHA.Notification.Orchestrator.Routing.EventRouter.ExecuteAsync(String messageId, NotificationEventDto request) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\Routing\\\\EventRouter.cs:line 38\\r\\n   at OQSHA.Notification.Orchestrator.Worker.OrchestratorMessageHandler.HandleMessage(IMessage message) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\Worker\\\\OrchestratorMessageHandler.cs:line 44\",\"OriginalBody\":\"{\\\"TemplateId\\\":17,\\\"EntityType\\\":\\\"work_permit_v2\\\",\\\"EventType\\\":null,\\\"NotifyRoleId\\\":null,\\\"NotifyUserId\\\":null,\\\"NotifyDynamicActor\\\":\\\"AreaOwnerHeight\\\",\\\"EntityContext\\\":{\\\"Parameters\\\":{\\\"workPermitId\\\":\\\"455\\\",\\\"workPermitV2Id\\\":\\\"455\\\",\\\"orgId\\\":\\\"259\\\",\\\"viewLink\\\":\\\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/259/455?dlType=viewWorkPermitV2\\\",\\\"workPermitLink\\\":\\\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/259/455?dlType=viewWorkPermitV2\\\",\\\"emailFooter\\\":\\\"OQSHA Team\\\"}},\\\"ActorContext\\\":null,\\\"Metadata\\\":null}\"}"}

{"Timestamp":"2026-07-15T11:42:05.0167323+00:00","Level":"Information","Data":{"EventId":3022824574},"Message":"Sent message ID 1804abf1da2c3000 to DLQ"}

{"Timestamp":"2026-07-15T11:42:05.2482010+00:00","Level":"Information","Data":{"EventId":3792567354},"Message":"Notification event with message ID 1804abf1da2c3001 received: {\"TemplateId\":17,\"EntityType\":\"work_permit_v2\",\"EventType\":null,\"NotifyRoleId\":null,\"NotifyUserId\":null,\"NotifyDynamicActor\":\"PermitAcceptanceHeight\",\"EntityContext\":{\"Parameters\":{\"workPermitId\":\"455\",\"workPermitV2Id\":\"455\",\"orgId\":\"259\",\"viewLink\":\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/259/455?dlType=viewWorkPermitV2\",\"workPermitLink\":\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/259/455?dlType=viewWorkPermitV2\",\"emailFooter\":\"OQSHA Team\"}},\"ActorContext\":null,\"Metadata\":null}"}

{"Timestamp":"2026-07-15T11:42:05.2520544+00:00","Level":"Information","Data":{"EventId":815002246},"Message":"Started processing notification for message ID 1804abf1da2c3001"}

{"Timestamp":"2026-07-15T11:42:05.2521679+00:00","Level":"Information","Data":{"EventId":2335618232},"Message":"Looking up the notification handler for message ID 1804abf1da2c3001"}

{"Timestamp":"2026-07-15T11:42:05.2522241+00:00","Level":"Information","Data":{"EventId":1546991516},"Message":"Event handling in process for message ID 1804abf1da2c3001"}

{"Timestamp":"2026-07-15T11:42:05.2579736+00:00","Level":"Information","Data":{"EventId":1253580785},"Message":"Sending message ID 1804abf1da2c3001 to DLQ"}

{"Timestamp":"2026-07-15T11:42:05.2581615+00:00","Level":"Information","Data":{"EventId":2449071777},"Message":"Dead letter envelope for DLQ message: {\"SourceTopic\":\"notification.orchestrator\",\"SourceChannel\":\"notification-orchestrator\",\"FailedAtUtc\":\"2026-07-15T11:42:05.2580072Z\",\"Attempts\":1,\"ErrorType\":\"OQSHA.Notification.Orchestrator.Exceptions.PermanentOrchestratorException\",\"ErrorMessage\":\"No recipients received for message ID 1804abf1da2c3001\",\"StackTrace\":\"   at OQSHA.Notification.Orchestrator.Services.UsersService.ResolveRecipientsAsync(String messageId, Int32 orgId, NotificationEventDto request) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\Services\\\\UsersService.cs:line 84\\r\\n   at OQSHA.Notification.Orchestrator.Services.UsersService.GetRecipientsWithDetailsAsync(String messageId, Int32 orgId, NotificationEventDto request, NotificationTemplatesDbo notificationTemplate) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\Services\\\\UsersService.cs:line 134\\r\\n   at OQSHA.Notification.Orchestrator.NotificationHandlers.WorkPermitV2NotificationHandler.HandleAsync(String messageId, NotificationEventDto request) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\NotificationHandlers\\\\WorkPermitV2NotificationHandler.cs:line 62\\r\\n   at OQSHA.Notification.Orchestrator.NotificationHandlers.WorkPermitV2NotificationHandler.ProcessEventAsync(String messageId, NotificationEventDto request) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\NotificationHandlers\\\\WorkPermitV2NotificationHandler.cs:line 46\\r\\n   at OQSHA.Notification.Orchestrator.Routing.EventRouter.ExecuteAsync(String messageId, NotificationEventDto request) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\Routing\\\\EventRouter.cs:line 38\\r\\n   at OQSHA.Notification.Orchestrator.Worker.OrchestratorMessageHandler.HandleMessage(IMessage message) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\Worker\\\\OrchestratorMessageHandler.cs:line 44\",\"OriginalBody\":\"{\\\"TemplateId\\\":17,\\\"EntityType\\\":\\\"work_permit_v2\\\",\\\"EventType\\\":null,\\\"NotifyRoleId\\\":null,\\\"NotifyUserId\\\":null,\\\"NotifyDynamicActor\\\":\\\"PermitAcceptanceHeight\\\",\\\"EntityContext\\\":{\\\"Parameters\\\":{\\\"workPermitId\\\":\\\"455\\\",\\\"workPermitV2Id\\\":\\\"455\\\",\\\"orgId\\\":\\\"259\\\",\\\"viewLink\\\":\\\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/259/455?dlType=viewWorkPermitV2\\\",\\\"workPermitLink\\\":\\\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/259/455?dlType=viewWorkPermitV2\\\",\\\"emailFooter\\\":\\\"OQSHA Team\\\"}},\\\"ActorContext\\\":null,\\\"Metadata\\\":null}\"}"}

{"Timestamp":"2026-07-15T11:42:05.2596556+00:00","Level":"Information","Data":{"EventId":2655936075},"Message":"Sent message ID 1804abf1da2c3001 to DLQ"}

{"Timestamp":"2026-07-15T11:42:05.2603294+00:00","Level":"Information","Data":{"EventId":428697343},"Message":"Notification event with message ID 1804abf1da2c3002 received: {\"TemplateId\":17,\"EntityType\":\"work_permit_v2\",\"EventType\":null,\"NotifyRoleId\":null,\"NotifyUserId\":null,\"NotifyDynamicActor\":\"PermitAuthorizerHeight\",\"EntityContext\":{\"Parameters\":{\"workPermitId\":\"455\",\"workPermitV2Id\":\"455\",\"orgId\":\"259\",\"viewLink\":\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/259/455?dlType=viewWorkPermitV2\",\"workPermitLink\":\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/259/455?dlType=viewWorkPermitV2\",\"emailFooter\":\"OQSHA Team\"}},\"ActorContext\":null,\"Metadata\":null}"}

{"Timestamp":"2026-07-15T11:42:05.2640281+00:00","Level":"Information","Data":{"EventId":1172053266},"Message":"Started processing notification for message ID 1804abf1da2c3002"}

{"Timestamp":"2026-07-15T11:42:05.2641360+00:00","Level":"Information","Data":{"EventId":2030440535},"Message":"Looking up the notification handler for message ID 1804abf1da2c3002"}

{"Timestamp":"2026-07-15T11:42:05.2642069+00:00","Level":"Information","Data":{"EventId":4162449155},"Message":"Event handling in process for message ID 1804abf1da2c3002"}

{"Timestamp":"2026-07-15T11:42:05.2702694+00:00","Level":"Information","Data":{"EventId":1878221232},"Message":"Sending message ID 1804abf1da2c3002 to DLQ"}

{"Timestamp":"2026-07-15T11:42:05.2707404+00:00","Level":"Information","Data":{"EventId":2887622143},"Message":"Dead letter envelope for DLQ message: {\"SourceTopic\":\"notification.orchestrator\",\"SourceChannel\":\"notification-orchestrator\",\"FailedAtUtc\":\"2026-07-15T11:42:05.2703506Z\",\"Attempts\":1,\"ErrorType\":\"OQSHA.Notification.Orchestrator.Exceptions.PermanentOrchestratorException\",\"ErrorMessage\":\"No recipients received for message ID 1804abf1da2c3002\",\"StackTrace\":\"   at OQSHA.Notification.Orchestrator.Services.UsersService.ResolveRecipientsAsync(String messageId, Int32 orgId, NotificationEventDto request) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\Services\\\\UsersService.cs:line 84\\r\\n   at OQSHA.Notification.Orchestrator.Services.UsersService.GetRecipientsWithDetailsAsync(String messageId, Int32 orgId, NotificationEventDto request, NotificationTemplatesDbo notificationTemplate) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\Services\\\\UsersService.cs:line 134\\r\\n   at OQSHA.Notification.Orchestrator.NotificationHandlers.WorkPermitV2NotificationHandler.HandleAsync(String messageId, NotificationEventDto request) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\NotificationHandlers\\\\WorkPermitV2NotificationHandler.cs:line 62\\r\\n   at OQSHA.Notification.Orchestrator.NotificationHandlers.WorkPermitV2NotificationHandler.ProcessEventAsync(String messageId, NotificationEventDto request) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\NotificationHandlers\\\\WorkPermitV2NotificationHandler.cs:line 46\\r\\n   at OQSHA.Notification.Orchestrator.Routing.EventRouter.ExecuteAsync(String messageId, NotificationEventDto request) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\Routing\\\\EventRouter.cs:line 38\\r\\n   at OQSHA.Notification.Orchestrator.Worker.OrchestratorMessageHandler.HandleMessage(IMessage message) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\Worker\\\\OrchestratorMessageHandler.cs:line 44\",\"OriginalBody\":\"{\\\"TemplateId\\\":17,\\\"EntityType\\\":\\\"work_permit_v2\\\",\\\"EventType\\\":null,\\\"NotifyRoleId\\\":null,\\\"NotifyUserId\\\":null,\\\"NotifyDynamicActor\\\":\\\"PermitAuthorizerHeight\\\",\\\"EntityContext\\\":{\\\"Parameters\\\":{\\\"workPermitId\\\":\\\"455\\\",\\\"workPermitV2Id\\\":\\\"455\\\",\\\"orgId\\\":\\\"259\\\",\\\"viewLink\\\":\\\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/259/455?dlType=viewWorkPermitV2\\\",\\\"workPermitLink\\\":\\\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/259/455?dlType=viewWorkPermitV2\\\",\\\"emailFooter\\\":\\\"OQSHA Team\\\"}},\\\"ActorContext\\\":null,\\\"Metadata\\\":null}\"}"}

{"Timestamp":"2026-07-15T11:42:05.2720322+00:00","Level":"Information","Data":{"EventId":865401343},"Message":"Sent message ID 1804abf1da2c3002 to DLQ"}

{"Timestamp":"2026-07-15T11:42:11.0847287+00:00","Level":"Information","Data":{"EventId":573829476},"Message":"Notification event with message ID 1804abf781ac3000 received: {\"TemplateId\":19,\"EntityType\":\"work_permit_v2\",\"EventType\":null,\"NotifyRoleId\":null,\"NotifyUserId\":null,\"NotifyDynamicActor\":\"PermitAcceptanceHeight\",\"EntityContext\":{\"Parameters\":{\"workPermitId\":\"456\",\"workPermitV2Id\":\"456\",\"orgId\":\"259\",\"viewLink\":\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/259/456?dlType=viewWorkPermitV2\",\"workPermitLink\":\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/259/456?dlType=viewWorkPermitV2\",\"emailFooter\":\"OQSHA Team\"}},\"ActorContext\":{\"Requestor\":[678],\"AreaOwnerHeight\":[678],\"PermitAcceptanceHeight\":[678],\"PermitAuthorizerHeight\":[678]},\"Metadata\":null}"}

{"Timestamp":"2026-07-15T11:42:11.0875156+00:00","Level":"Information","Data":{"EventId":1052753862},"Message":"Started processing notification for message ID 1804abf781ac3000"}

{"Timestamp":"2026-07-15T11:42:11.0875400+00:00","Level":"Information","Data":{"EventId":2768199080},"Message":"Looking up the notification handler for message ID 1804abf781ac3000"}

{"Timestamp":"2026-07-15T11:42:11.0875485+00:00","Level":"Information","Data":{"EventId":1792026251},"Message":"Event handling in process for message ID 1804abf781ac3000"}

{"Timestamp":"2026-07-15T11:42:11.0940798+00:00","Level":"Information","Data":{"EventId":3843058701},"Message":"Dispatching the notifications for message ID 1804abf781ac3000"}

{"Timestamp":"2026-07-15T11:42:11.0951237+00:00","Level":"Information","Data":{"EventId":1138745473},"Message":"Successfully processed notification for message ID 1804abf781ac3000"}

{"Timestamp":"2026-07-15T11:42:15.7341192+00:00","Level":"Information","Data":{"EventId":2482255441},"Message":"Notification event with message ID 1804abfbd66c3000 received: {\"TemplateId\":19,\"EntityType\":\"work_permit_v2\",\"EventType\":null,\"NotifyRoleId\":null,\"NotifyUserId\":null,\"NotifyDynamicActor\":\"PermitAuthorizerHeight\",\"EntityContext\":{\"Parameters\":{\"workPermitId\":\"456\",\"workPermitV2Id\":\"456\",\"orgId\":\"259\",\"viewLink\":\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/259/456?dlType=viewWorkPermitV2\",\"workPermitLink\":\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/259/456?dlType=viewWorkPermitV2\",\"emailFooter\":\"OQSHA Team\"}},\"ActorContext\":{\"Requestor\":[678],\"AreaOwnerHeight\":[678],\"PermitAcceptanceHeight\":[678],\"PermitAuthorizerHeight\":[678]},\"Metadata\":null}"}

{"Timestamp":"2026-07-15T11:42:15.7359165+00:00","Level":"Information","Data":{"EventId":1733714199},"Message":"Started processing notification for message ID 1804abfbd66c3000"}

{"Timestamp":"2026-07-15T11:42:15.7359455+00:00","Level":"Information","Data":{"EventId":1241641954},"Message":"Looking up the notification handler for message ID 1804abfbd66c3000"}

{"Timestamp":"2026-07-15T11:42:15.7359542+00:00","Level":"Information","Data":{"EventId":3158625515},"Message":"Event handling in process for message ID 1804abfbd66c3000"}

{"Timestamp":"2026-07-15T11:42:15.7407436+00:00","Level":"Information","Data":{"EventId":2553436006},"Message":"Dispatching the notifications for message ID 1804abfbd66c3000"}

{"Timestamp":"2026-07-15T11:42:15.7411551+00:00","Level":"Information","Data":{"EventId":3834044401},"Message":"Successfully processed notification for message ID 1804abfbd66c3000"}

{"Timestamp":"2026-07-15T11:42:20.4996499+00:00","Level":"Information","Data":{"EventId":3395967808},"Message":"Notification event with message ID 1804ac00466c3000 received: {\"TemplateId\":23,\"EntityType\":\"work_permit_v2\",\"EventType\":null,\"NotifyRoleId\":null,\"NotifyUserId\":null,\"NotifyDynamicActor\":\"Requestor\",\"EntityContext\":{\"Parameters\":{\"workPermitId\":\"456\",\"workPermitV2Id\":\"456\",\"orgId\":\"259\",\"viewLink\":\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/259/456?dlType=viewWorkPermitV2\",\"workPermitLink\":\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/259/456?dlType=viewWorkPermitV2\",\"emailFooter\":\"OQSHA Team\"}},\"ActorContext\":{\"Requestor\":[678],\"AreaOwnerHeight\":[678],\"PermitAcceptanceHeight\":[678],\"PermitAuthorizerHeight\":[678]},\"Metadata\":null}"}

{"Timestamp":"2026-07-15T11:42:20.5017701+00:00","Level":"Information","Data":{"EventId":3410161834},"Message":"Started processing notification for message ID 1804ac00466c3000"}

{"Timestamp":"2026-07-15T11:42:20.5017971+00:00","Level":"Information","Data":{"EventId":622632633},"Message":"Looking up the notification handler for message ID 1804ac00466c3000"}

{"Timestamp":"2026-07-15T11:42:20.5018053+00:00","Level":"Information","Data":{"EventId":2257069813},"Message":"Event handling in process for message ID 1804ac00466c3000"}

{"Timestamp":"2026-07-15T11:42:20.5075810+00:00","Level":"Information","Data":{"EventId":1162299862},"Message":"Dispatching the notifications for message ID 1804ac00466c3000"}

{"Timestamp":"2026-07-15T11:42:20.5082152+00:00","Level":"Information","Data":{"EventId":598874449},"Message":"Successfully processed notification for message ID 1804ac00466c3000"}

{"Timestamp":"2026-07-15T11:44:34.0876372+00:00","Level":"Information","Data":{"EventId":4000364980},"Message":"Notification event with message ID 1804ac7cb06c3000 received: {\"TemplateId\":17,\"EntityType\":\"work_permit_v2\",\"EventType\":null,\"NotifyRoleId\":null,\"NotifyUserId\":null,\"NotifyDynamicActor\":\"AreaOwnerHeight\",\"EntityContext\":{\"Parameters\":{\"workPermitId\":\"457\",\"workPermitV2Id\":\"457\",\"orgId\":\"259\",\"viewLink\":\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/259/457?dlType=viewWorkPermitV2\",\"workPermitLink\":\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/259/457?dlType=viewWorkPermitV2\",\"emailFooter\":\"OQSHA Team\"}},\"ActorContext\":null,\"Metadata\":null}"}

{"Timestamp":"2026-07-15T11:44:34.0890406+00:00","Level":"Information","Data":{"EventId":4194527746},"Message":"Started processing notification for message ID 1804ac7cb06c3000"}

{"Timestamp":"2026-07-15T11:44:34.0890765+00:00","Level":"Information","Data":{"EventId":1678447902},"Message":"Looking up the notification handler for message ID 1804ac7cb06c3000"}

{"Timestamp":"2026-07-15T11:44:34.0890880+00:00","Level":"Information","Data":{"EventId":4179805231},"Message":"Event handling in process for message ID 1804ac7cb06c3000"}

{"Timestamp":"2026-07-15T11:44:34.0918095+00:00","Level":"Information","Data":{"EventId":1330575199},"Message":"Sending message ID 1804ac7cb06c3000 to DLQ"}

{"Timestamp":"2026-07-15T11:44:34.0919717+00:00","Level":"Information","Data":{"EventId":420309417},"Message":"Dead letter envelope for DLQ message: {\"SourceTopic\":\"notification.orchestrator\",\"SourceChannel\":\"notification-orchestrator\",\"FailedAtUtc\":\"2026-07-15T11:44:34.0918433Z\",\"Attempts\":1,\"ErrorType\":\"OQSHA.Notification.Orchestrator.Exceptions.PermanentOrchestratorException\",\"ErrorMessage\":\"No recipients received for message ID 1804ac7cb06c3000\",\"StackTrace\":\"   at OQSHA.Notification.Orchestrator.Services.UsersService.ResolveRecipientsAsync(String messageId, Int32 orgId, NotificationEventDto request) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\Services\\\\UsersService.cs:line 84\\r\\n   at OQSHA.Notification.Orchestrator.Services.UsersService.GetRecipientsWithDetailsAsync(String messageId, Int32 orgId, NotificationEventDto request, NotificationTemplatesDbo notificationTemplate) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\Services\\\\UsersService.cs:line 134\\r\\n   at OQSHA.Notification.Orchestrator.NotificationHandlers.WorkPermitV2NotificationHandler.HandleAsync(String messageId, NotificationEventDto request) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\NotificationHandlers\\\\WorkPermitV2NotificationHandler.cs:line 62\\r\\n   at OQSHA.Notification.Orchestrator.NotificationHandlers.WorkPermitV2NotificationHandler.ProcessEventAsync(String messageId, NotificationEventDto request) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\NotificationHandlers\\\\WorkPermitV2NotificationHandler.cs:line 46\\r\\n   at OQSHA.Notification.Orchestrator.Routing.EventRouter.ExecuteAsync(String messageId, NotificationEventDto request) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\Routing\\\\EventRouter.cs:line 38\\r\\n   at OQSHA.Notification.Orchestrator.Worker.OrchestratorMessageHandler.HandleMessage(IMessage message) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\Worker\\\\OrchestratorMessageHandler.cs:line 44\",\"OriginalBody\":\"{\\\"TemplateId\\\":17,\\\"EntityType\\\":\\\"work_permit_v2\\\",\\\"EventType\\\":null,\\\"NotifyRoleId\\\":null,\\\"NotifyUserId\\\":null,\\\"NotifyDynamicActor\\\":\\\"AreaOwnerHeight\\\",\\\"EntityContext\\\":{\\\"Parameters\\\":{\\\"workPermitId\\\":\\\"457\\\",\\\"workPermitV2Id\\\":\\\"457\\\",\\\"orgId\\\":\\\"259\\\",\\\"viewLink\\\":\\\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/259/457?dlType=viewWorkPermitV2\\\",\\\"workPermitLink\\\":\\\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/259/457?dlType=viewWorkPermitV2\\\",\\\"emailFooter\\\":\\\"OQSHA Team\\\"}},\\\"ActorContext\\\":null,\\\"Metadata\\\":null}\"}"}

{"Timestamp":"2026-07-15T11:44:34.0923146+00:00","Level":"Information","Data":{"EventId":3484964784},"Message":"Sent message ID 1804ac7cb06c3000 to DLQ"}

{"Timestamp":"2026-07-15T11:44:34.2354375+00:00","Level":"Information","Data":{"EventId":2267193439},"Message":"Notification event with message ID 1804ac7cb06c3001 received: {\"TemplateId\":17,\"EntityType\":\"work_permit_v2\",\"EventType\":null,\"NotifyRoleId\":null,\"NotifyUserId\":null,\"NotifyDynamicActor\":\"PermitAcceptanceHeight\",\"EntityContext\":{\"Parameters\":{\"workPermitId\":\"457\",\"workPermitV2Id\":\"457\",\"orgId\":\"259\",\"viewLink\":\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/259/457?dlType=viewWorkPermitV2\",\"workPermitLink\":\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/259/457?dlType=viewWorkPermitV2\",\"emailFooter\":\"OQSHA Team\"}},\"ActorContext\":null,\"Metadata\":null}"}

{"Timestamp":"2026-07-15T11:44:34.2384667+00:00","Level":"Information","Data":{"EventId":1126661193},"Message":"Started processing notification for message ID 1804ac7cb06c3001"}

{"Timestamp":"2026-07-15T11:44:34.2385702+00:00","Level":"Information","Data":{"EventId":2450977077},"Message":"Looking up the notification handler for message ID 1804ac7cb06c3001"}

{"Timestamp":"2026-07-15T11:44:34.2386073+00:00","Level":"Information","Data":{"EventId":122970258},"Message":"Event handling in process for message ID 1804ac7cb06c3001"}

{"Timestamp":"2026-07-15T11:44:34.2451659+00:00","Level":"Information","Data":{"EventId":3712941023},"Message":"Sending message ID 1804ac7cb06c3001 to DLQ"}

{"Timestamp":"2026-07-15T11:44:34.2459695+00:00","Level":"Information","Data":{"EventId":1273218676},"Message":"Dead letter envelope for DLQ message: {\"SourceTopic\":\"notification.orchestrator\",\"SourceChannel\":\"notification-orchestrator\",\"FailedAtUtc\":\"2026-07-15T11:44:34.2452861Z\",\"Attempts\":1,\"ErrorType\":\"OQSHA.Notification.Orchestrator.Exceptions.PermanentOrchestratorException\",\"ErrorMessage\":\"No recipients received for message ID 1804ac7cb06c3001\",\"StackTrace\":\"   at OQSHA.Notification.Orchestrator.Services.UsersService.ResolveRecipientsAsync(String messageId, Int32 orgId, NotificationEventDto request) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\Services\\\\UsersService.cs:line 84\\r\\n   at OQSHA.Notification.Orchestrator.Services.UsersService.GetRecipientsWithDetailsAsync(String messageId, Int32 orgId, NotificationEventDto request, NotificationTemplatesDbo notificationTemplate) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\Services\\\\UsersService.cs:line 134\\r\\n   at OQSHA.Notification.Orchestrator.NotificationHandlers.WorkPermitV2NotificationHandler.HandleAsync(String messageId, NotificationEventDto request) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\NotificationHandlers\\\\WorkPermitV2NotificationHandler.cs:line 62\\r\\n   at OQSHA.Notification.Orchestrator.NotificationHandlers.WorkPermitV2NotificationHandler.ProcessEventAsync(String messageId, NotificationEventDto request) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\NotificationHandlers\\\\WorkPermitV2NotificationHandler.cs:line 46\\r\\n   at OQSHA.Notification.Orchestrator.Routing.EventRouter.ExecuteAsync(String messageId, NotificationEventDto request) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\Routing\\\\EventRouter.cs:line 38\\r\\n   at OQSHA.Notification.Orchestrator.Worker.OrchestratorMessageHandler.HandleMessage(IMessage message) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\Worker\\\\OrchestratorMessageHandler.cs:line 44\",\"OriginalBody\":\"{\\\"TemplateId\\\":17,\\\"EntityType\\\":\\\"work_permit_v2\\\",\\\"EventType\\\":null,\\\"NotifyRoleId\\\":null,\\\"NotifyUserId\\\":null,\\\"NotifyDynamicActor\\\":\\\"PermitAcceptanceHeight\\\",\\\"EntityContext\\\":{\\\"Parameters\\\":{\\\"workPermitId\\\":\\\"457\\\",\\\"workPermitV2Id\\\":\\\"457\\\",\\\"orgId\\\":\\\"259\\\",\\\"viewLink\\\":\\\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/259/457?dlType=viewWorkPermitV2\\\",\\\"workPermitLink\\\":\\\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/259/457?dlType=viewWorkPermitV2\\\",\\\"emailFooter\\\":\\\"OQSHA Team\\\"}},\\\"ActorContext\\\":null,\\\"Metadata\\\":null}\"}"}

{"Timestamp":"2026-07-15T11:44:34.2471932+00:00","Level":"Information","Data":{"EventId":1824933684},"Message":"Sent message ID 1804ac7cb06c3001 to DLQ"}

{"Timestamp":"2026-07-15T11:44:34.2476284+00:00","Level":"Information","Data":{"EventId":3879572369},"Message":"Notification event with message ID 1804ac7cb06c3002 received: {\"TemplateId\":17,\"EntityType\":\"work_permit_v2\",\"EventType\":null,\"NotifyRoleId\":null,\"NotifyUserId\":null,\"NotifyDynamicActor\":\"PermitAuthorizerHeight\",\"EntityContext\":{\"Parameters\":{\"workPermitId\":\"457\",\"workPermitV2Id\":\"457\",\"orgId\":\"259\",\"viewLink\":\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/259/457?dlType=viewWorkPermitV2\",\"workPermitLink\":\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/259/457?dlType=viewWorkPermitV2\",\"emailFooter\":\"OQSHA Team\"}},\"ActorContext\":null,\"Metadata\":null}"}

{"Timestamp":"2026-07-15T11:44:34.2503371+00:00","Level":"Information","Data":{"EventId":3582763285},"Message":"Started processing notification for message ID 1804ac7cb06c3002"}

{"Timestamp":"2026-07-15T11:44:34.2504197+00:00","Level":"Information","Data":{"EventId":1212308873},"Message":"Looking up the notification handler for message ID 1804ac7cb06c3002"}

{"Timestamp":"2026-07-15T11:44:34.2504441+00:00","Level":"Information","Data":{"EventId":3711503444},"Message":"Event handling in process for message ID 1804ac7cb06c3002"}

{"Timestamp":"2026-07-15T11:44:34.2548258+00:00","Level":"Information","Data":{"EventId":1158729420},"Message":"Sending message ID 1804ac7cb06c3002 to DLQ"}

{"Timestamp":"2026-07-15T11:44:34.2553862+00:00","Level":"Information","Data":{"EventId":924317912},"Message":"Dead letter envelope for DLQ message: {\"SourceTopic\":\"notification.orchestrator\",\"SourceChannel\":\"notification-orchestrator\",\"FailedAtUtc\":\"2026-07-15T11:44:34.2549269Z\",\"Attempts\":1,\"ErrorType\":\"OQSHA.Notification.Orchestrator.Exceptions.PermanentOrchestratorException\",\"ErrorMessage\":\"No recipients received for message ID 1804ac7cb06c3002\",\"StackTrace\":\"   at OQSHA.Notification.Orchestrator.Services.UsersService.ResolveRecipientsAsync(String messageId, Int32 orgId, NotificationEventDto request) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\Services\\\\UsersService.cs:line 84\\r\\n   at OQSHA.Notification.Orchestrator.Services.UsersService.GetRecipientsWithDetailsAsync(String messageId, Int32 orgId, NotificationEventDto request, NotificationTemplatesDbo notificationTemplate) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\Services\\\\UsersService.cs:line 134\\r\\n   at OQSHA.Notification.Orchestrator.NotificationHandlers.WorkPermitV2NotificationHandler.HandleAsync(String messageId, NotificationEventDto request) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\NotificationHandlers\\\\WorkPermitV2NotificationHandler.cs:line 62\\r\\n   at OQSHA.Notification.Orchestrator.NotificationHandlers.WorkPermitV2NotificationHandler.ProcessEventAsync(String messageId, NotificationEventDto request) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\NotificationHandlers\\\\WorkPermitV2NotificationHandler.cs:line 46\\r\\n   at OQSHA.Notification.Orchestrator.Routing.EventRouter.ExecuteAsync(String messageId, NotificationEventDto request) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\Routing\\\\EventRouter.cs:line 38\\r\\n   at OQSHA.Notification.Orchestrator.Worker.OrchestratorMessageHandler.HandleMessage(IMessage message) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\Worker\\\\OrchestratorMessageHandler.cs:line 44\",\"OriginalBody\":\"{\\\"TemplateId\\\":17,\\\"EntityType\\\":\\\"work_permit_v2\\\",\\\"EventType\\\":null,\\\"NotifyRoleId\\\":null,\\\"NotifyUserId\\\":null,\\\"NotifyDynamicActor\\\":\\\"PermitAuthorizerHeight\\\",\\\"EntityContext\\\":{\\\"Parameters\\\":{\\\"workPermitId\\\":\\\"457\\\",\\\"workPermitV2Id\\\":\\\"457\\\",\\\"orgId\\\":\\\"259\\\",\\\"viewLink\\\":\\\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/259/457?dlType=viewWorkPermitV2\\\",\\\"workPermitLink\\\":\\\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/259/457?dlType=viewWorkPermitV2\\\",\\\"emailFooter\\\":\\\"OQSHA Team\\\"}},\\\"ActorContext\\\":null,\\\"Metadata\\\":null}\"}"}

{"Timestamp":"2026-07-15T11:44:34.2561015+00:00","Level":"Information","Data":{"EventId":3024365279},"Message":"Sent message ID 1804ac7cb06c3002 to DLQ"}

{"Timestamp":"2026-07-15T11:44:34.7181962+00:00","Level":"Information","Data":{"EventId":382458044},"Message":"Notification event with message ID 1804ac7d46ac3000 received: {\"TemplateId\":17,\"EntityType\":\"work_permit_v2\",\"EventType\":null,\"NotifyRoleId\":null,\"NotifyUserId\":null,\"NotifyDynamicActor\":\"AreaOwnerHeight\",\"EntityContext\":{\"Parameters\":{\"workPermitId\":\"458\",\"workPermitV2Id\":\"458\",\"orgId\":\"259\",\"viewLink\":\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/259/458?dlType=viewWorkPermitV2\",\"workPermitLink\":\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/259/458?dlType=viewWorkPermitV2\",\"emailFooter\":\"OQSHA Team\"}},\"ActorContext\":null,\"Metadata\":null}"}

{"Timestamp":"2026-07-15T11:44:34.7194813+00:00","Level":"Information","Data":{"EventId":3132923879},"Message":"Started processing notification for message ID 1804ac7d46ac3000"}

{"Timestamp":"2026-07-15T11:44:34.7195109+00:00","Level":"Information","Data":{"EventId":1320673048},"Message":"Looking up the notification handler for message ID 1804ac7d46ac3000"}

{"Timestamp":"2026-07-15T11:44:34.7195201+00:00","Level":"Information","Data":{"EventId":826673817},"Message":"Event handling in process for message ID 1804ac7d46ac3000"}

{"Timestamp":"2026-07-15T11:44:34.7219457+00:00","Level":"Information","Data":{"EventId":402198422},"Message":"Sending message ID 1804ac7d46ac3000 to DLQ"}

{"Timestamp":"2026-07-15T11:44:34.7221009+00:00","Level":"Information","Data":{"EventId":2317842661},"Message":"Dead letter envelope for DLQ message: {\"SourceTopic\":\"notification.orchestrator\",\"SourceChannel\":\"notification-orchestrator\",\"FailedAtUtc\":\"2026-07-15T11:44:34.7219725Z\",\"Attempts\":1,\"ErrorType\":\"OQSHA.Notification.Orchestrator.Exceptions.PermanentOrchestratorException\",\"ErrorMessage\":\"No recipients received for message ID 1804ac7d46ac3000\",\"StackTrace\":\"   at OQSHA.Notification.Orchestrator.Services.UsersService.ResolveRecipientsAsync(String messageId, Int32 orgId, NotificationEventDto request) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\Services\\\\UsersService.cs:line 84\\r\\n   at OQSHA.Notification.Orchestrator.Services.UsersService.GetRecipientsWithDetailsAsync(String messageId, Int32 orgId, NotificationEventDto request, NotificationTemplatesDbo notificationTemplate) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\Services\\\\UsersService.cs:line 134\\r\\n   at OQSHA.Notification.Orchestrator.NotificationHandlers.WorkPermitV2NotificationHandler.HandleAsync(String messageId, NotificationEventDto request) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\NotificationHandlers\\\\WorkPermitV2NotificationHandler.cs:line 62\\r\\n   at OQSHA.Notification.Orchestrator.NotificationHandlers.WorkPermitV2NotificationHandler.ProcessEventAsync(String messageId, NotificationEventDto request) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\NotificationHandlers\\\\WorkPermitV2NotificationHandler.cs:line 46\\r\\n   at OQSHA.Notification.Orchestrator.Routing.EventRouter.ExecuteAsync(String messageId, NotificationEventDto request) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\Routing\\\\EventRouter.cs:line 38\\r\\n   at OQSHA.Notification.Orchestrator.Worker.OrchestratorMessageHandler.HandleMessage(IMessage message) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\Worker\\\\OrchestratorMessageHandler.cs:line 44\",\"OriginalBody\":\"{\\\"TemplateId\\\":17,\\\"EntityType\\\":\\\"work_permit_v2\\\",\\\"EventType\\\":null,\\\"NotifyRoleId\\\":null,\\\"NotifyUserId\\\":null,\\\"NotifyDynamicActor\\\":\\\"AreaOwnerHeight\\\",\\\"EntityContext\\\":{\\\"Parameters\\\":{\\\"workPermitId\\\":\\\"458\\\",\\\"workPermitV2Id\\\":\\\"458\\\",\\\"orgId\\\":\\\"259\\\",\\\"viewLink\\\":\\\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/259/458?dlType=viewWorkPermitV2\\\",\\\"workPermitLink\\\":\\\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/259/458?dlType=viewWorkPermitV2\\\",\\\"emailFooter\\\":\\\"OQSHA Team\\\"}},\\\"ActorContext\\\":null,\\\"Metadata\\\":null}\"}"}

{"Timestamp":"2026-07-15T11:44:34.7223850+00:00","Level":"Information","Data":{"EventId":2874226025},"Message":"Sent message ID 1804ac7d46ac3000 to DLQ"}

{"Timestamp":"2026-07-15T11:44:34.7384768+00:00","Level":"Information","Data":{"EventId":334572998},"Message":"Notification event with message ID 1804ac7d46ec3000 received: {\"TemplateId\":17,\"EntityType\":\"work_permit_v2\",\"EventType\":null,\"NotifyRoleId\":null,\"NotifyUserId\":null,\"NotifyDynamicActor\":\"PermitAcceptanceHeight\",\"EntityContext\":{\"Parameters\":{\"workPermitId\":\"458\",\"workPermitV2Id\":\"458\",\"orgId\":\"259\",\"viewLink\":\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/259/458?dlType=viewWorkPermitV2\",\"workPermitLink\":\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/259/458?dlType=viewWorkPermitV2\",\"emailFooter\":\"OQSHA Team\"}},\"ActorContext\":null,\"Metadata\":null}"}

{"Timestamp":"2026-07-15T11:44:34.7398039+00:00","Level":"Information","Data":{"EventId":70387097},"Message":"Started processing notification for message ID 1804ac7d46ec3000"}

{"Timestamp":"2026-07-15T11:44:34.7398365+00:00","Level":"Information","Data":{"EventId":474304173},"Message":"Looking up the notification handler for message ID 1804ac7d46ec3000"}

{"Timestamp":"2026-07-15T11:44:34.7398467+00:00","Level":"Information","Data":{"EventId":1288242659},"Message":"Event handling in process for message ID 1804ac7d46ec3000"}

{"Timestamp":"2026-07-15T11:44:34.7424117+00:00","Level":"Information","Data":{"EventId":1212150646},"Message":"Sending message ID 1804ac7d46ec3000 to DLQ"}

{"Timestamp":"2026-07-15T11:44:34.7426086+00:00","Level":"Information","Data":{"EventId":408843338},"Message":"Dead letter envelope for DLQ message: {\"SourceTopic\":\"notification.orchestrator\",\"SourceChannel\":\"notification-orchestrator\",\"FailedAtUtc\":\"2026-07-15T11:44:34.7424501Z\",\"Attempts\":1,\"ErrorType\":\"OQSHA.Notification.Orchestrator.Exceptions.PermanentOrchestratorException\",\"ErrorMessage\":\"No recipients received for message ID 1804ac7d46ec3000\",\"StackTrace\":\"   at OQSHA.Notification.Orchestrator.Services.UsersService.ResolveRecipientsAsync(String messageId, Int32 orgId, NotificationEventDto request) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\Services\\\\UsersService.cs:line 84\\r\\n   at OQSHA.Notification.Orchestrator.Services.UsersService.GetRecipientsWithDetailsAsync(String messageId, Int32 orgId, NotificationEventDto request, NotificationTemplatesDbo notificationTemplate) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\Services\\\\UsersService.cs:line 134\\r\\n   at OQSHA.Notification.Orchestrator.NotificationHandlers.WorkPermitV2NotificationHandler.HandleAsync(String messageId, NotificationEventDto request) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\NotificationHandlers\\\\WorkPermitV2NotificationHandler.cs:line 62\\r\\n   at OQSHA.Notification.Orchestrator.NotificationHandlers.WorkPermitV2NotificationHandler.ProcessEventAsync(String messageId, NotificationEventDto request) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\NotificationHandlers\\\\WorkPermitV2NotificationHandler.cs:line 46\\r\\n   at OQSHA.Notification.Orchestrator.Routing.EventRouter.ExecuteAsync(String messageId, NotificationEventDto request) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\Routing\\\\EventRouter.cs:line 38\\r\\n   at OQSHA.Notification.Orchestrator.Worker.OrchestratorMessageHandler.HandleMessage(IMessage message) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\Worker\\\\OrchestratorMessageHandler.cs:line 44\",\"OriginalBody\":\"{\\\"TemplateId\\\":17,\\\"EntityType\\\":\\\"work_permit_v2\\\",\\\"EventType\\\":null,\\\"NotifyRoleId\\\":null,\\\"NotifyUserId\\\":null,\\\"NotifyDynamicActor\\\":\\\"PermitAcceptanceHeight\\\",\\\"EntityContext\\\":{\\\"Parameters\\\":{\\\"workPermitId\\\":\\\"458\\\",\\\"workPermitV2Id\\\":\\\"458\\\",\\\"orgId\\\":\\\"259\\\",\\\"viewLink\\\":\\\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/259/458?dlType=viewWorkPermitV2\\\",\\\"workPermitLink\\\":\\\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/259/458?dlType=viewWorkPermitV2\\\",\\\"emailFooter\\\":\\\"OQSHA Team\\\"}},\\\"ActorContext\\\":null,\\\"Metadata\\\":null}\"}"}

{"Timestamp":"2026-07-15T11:44:34.7428756+00:00","Level":"Information","Data":{"EventId":378473114},"Message":"Sent message ID 1804ac7d46ec3000 to DLQ"}

{"Timestamp":"2026-07-15T11:44:34.7429638+00:00","Level":"Information","Data":{"EventId":3958041625},"Message":"Notification event with message ID 1804ac7d46ec3001 received: {\"TemplateId\":17,\"EntityType\":\"work_permit_v2\",\"EventType\":null,\"NotifyRoleId\":null,\"NotifyUserId\":null,\"NotifyDynamicActor\":\"PermitAuthorizerHeight\",\"EntityContext\":{\"Parameters\":{\"workPermitId\":\"458\",\"workPermitV2Id\":\"458\",\"orgId\":\"259\",\"viewLink\":\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/259/458?dlType=viewWorkPermitV2\",\"workPermitLink\":\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/259/458?dlType=viewWorkPermitV2\",\"emailFooter\":\"OQSHA Team\"}},\"ActorContext\":null,\"Metadata\":null}"}

{"Timestamp":"2026-07-15T11:44:34.7442095+00:00","Level":"Information","Data":{"EventId":841212284},"Message":"Started processing notification for message ID 1804ac7d46ec3001"}

{"Timestamp":"2026-07-15T11:44:34.7442396+00:00","Level":"Information","Data":{"EventId":696183072},"Message":"Looking up the notification handler for message ID 1804ac7d46ec3001"}

{"Timestamp":"2026-07-15T11:44:34.7442496+00:00","Level":"Information","Data":{"EventId":1516085516},"Message":"Event handling in process for message ID 1804ac7d46ec3001"}

{"Timestamp":"2026-07-15T11:44:34.7468768+00:00","Level":"Information","Data":{"EventId":4272267639},"Message":"Sending message ID 1804ac7d46ec3001 to DLQ"}

{"Timestamp":"2026-07-15T11:44:34.7470687+00:00","Level":"Information","Data":{"EventId":1995963568},"Message":"Dead letter envelope for DLQ message: {\"SourceTopic\":\"notification.orchestrator\",\"SourceChannel\":\"notification-orchestrator\",\"FailedAtUtc\":\"2026-07-15T11:44:34.7469134Z\",\"Attempts\":1,\"ErrorType\":\"OQSHA.Notification.Orchestrator.Exceptions.PermanentOrchestratorException\",\"ErrorMessage\":\"No recipients received for message ID 1804ac7d46ec3001\",\"StackTrace\":\"   at OQSHA.Notification.Orchestrator.Services.UsersService.ResolveRecipientsAsync(String messageId, Int32 orgId, NotificationEventDto request) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\Services\\\\UsersService.cs:line 84\\r\\n   at OQSHA.Notification.Orchestrator.Services.UsersService.GetRecipientsWithDetailsAsync(String messageId, Int32 orgId, NotificationEventDto request, NotificationTemplatesDbo notificationTemplate) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\Services\\\\UsersService.cs:line 134\\r\\n   at OQSHA.Notification.Orchestrator.NotificationHandlers.WorkPermitV2NotificationHandler.HandleAsync(String messageId, NotificationEventDto request) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\NotificationHandlers\\\\WorkPermitV2NotificationHandler.cs:line 62\\r\\n   at OQSHA.Notification.Orchestrator.NotificationHandlers.WorkPermitV2NotificationHandler.ProcessEventAsync(String messageId, NotificationEventDto request) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\NotificationHandlers\\\\WorkPermitV2NotificationHandler.cs:line 46\\r\\n   at OQSHA.Notification.Orchestrator.Routing.EventRouter.ExecuteAsync(String messageId, NotificationEventDto request) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\Routing\\\\EventRouter.cs:line 38\\r\\n   at OQSHA.Notification.Orchestrator.Worker.OrchestratorMessageHandler.HandleMessage(IMessage message) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\Worker\\\\OrchestratorMessageHandler.cs:line 44\",\"OriginalBody\":\"{\\\"TemplateId\\\":17,\\\"EntityType\\\":\\\"work_permit_v2\\\",\\\"EventType\\\":null,\\\"NotifyRoleId\\\":null,\\\"NotifyUserId\\\":null,\\\"NotifyDynamicActor\\\":\\\"PermitAuthorizerHeight\\\",\\\"EntityContext\\\":{\\\"Parameters\\\":{\\\"workPermitId\\\":\\\"458\\\",\\\"workPermitV2Id\\\":\\\"458\\\",\\\"orgId\\\":\\\"259\\\",\\\"viewLink\\\":\\\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/259/458?dlType=viewWorkPermitV2\\\",\\\"workPermitLink\\\":\\\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/259/458?dlType=viewWorkPermitV2\\\",\\\"emailFooter\\\":\\\"OQSHA Team\\\"}},\\\"ActorContext\\\":null,\\\"Metadata\\\":null}\"}"}

{"Timestamp":"2026-07-15T11:44:34.7473976+00:00","Level":"Information","Data":{"EventId":2422172974},"Message":"Sent message ID 1804ac7d46ec3001 to DLQ"}

{"Timestamp":"2026-07-15T11:44:47.3128142+00:00","Level":"Information","Data":{"EventId":3247798230},"Message":"Notification event with message ID 1804ac8901ac3000 received: {\"TemplateId\":19,\"EntityType\":\"work_permit_v2\",\"EventType\":null,\"NotifyRoleId\":null,\"NotifyUserId\":null,\"NotifyDynamicActor\":\"PermitAcceptanceHeight\",\"EntityContext\":{\"Parameters\":{\"workPermitId\":\"457\",\"workPermitV2Id\":\"457\",\"orgId\":\"259\",\"viewLink\":\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/259/457?dlType=viewWorkPermitV2\",\"workPermitLink\":\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/259/457?dlType=viewWorkPermitV2\",\"emailFooter\":\"OQSHA Team\"}},\"ActorContext\":{\"Requestor\":[678],\"AreaOwnerHeight\":[678],\"PermitAcceptanceHeight\":[678],\"PermitAuthorizerHeight\":[678]},\"Metadata\":null}"}

{"Timestamp":"2026-07-15T11:44:47.3144800+00:00","Level":"Information","Data":{"EventId":3959964972},"Message":"Started processing notification for message ID 1804ac8901ac3000"}

{"Timestamp":"2026-07-15T11:44:47.3145322+00:00","Level":"Information","Data":{"EventId":4116962790},"Message":"Looking up the notification handler for message ID 1804ac8901ac3000"}

{"Timestamp":"2026-07-15T11:44:47.3145429+00:00","Level":"Information","Data":{"EventId":1067406133},"Message":"Event handling in process for message ID 1804ac8901ac3000"}

{"Timestamp":"2026-07-15T11:44:47.3202140+00:00","Level":"Information","Data":{"EventId":1193299476},"Message":"Dispatching the notifications for message ID 1804ac8901ac3000"}

{"Timestamp":"2026-07-15T11:44:47.3207539+00:00","Level":"Information","Data":{"EventId":4210322608},"Message":"Successfully processed notification for message ID 1804ac8901ac3000"}

{"Timestamp":"2026-07-15T11:44:53.2653181+00:00","Level":"Information","Data":{"EventId":3385931482},"Message":"Notification event with message ID 1804ac8e8cac3000 received: {\"TemplateId\":19,\"EntityType\":\"work_permit_v2\",\"EventType\":null,\"NotifyRoleId\":null,\"NotifyUserId\":null,\"NotifyDynamicActor\":\"PermitAuthorizerHeight\",\"EntityContext\":{\"Parameters\":{\"workPermitId\":\"457\",\"workPermitV2Id\":\"457\",\"orgId\":\"259\",\"viewLink\":\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/259/457?dlType=viewWorkPermitV2\",\"workPermitLink\":\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/259/457?dlType=viewWorkPermitV2\",\"emailFooter\":\"OQSHA Team\"}},\"ActorContext\":{\"Requestor\":[678],\"AreaOwnerHeight\":[678],\"PermitAcceptanceHeight\":[678],\"PermitAuthorizerHeight\":[678]},\"Metadata\":null}"}

{"Timestamp":"2026-07-15T11:44:53.2668210+00:00","Level":"Information","Data":{"EventId":3134902464},"Message":"Started processing notification for message ID 1804ac8e8cac3000"}

{"Timestamp":"2026-07-15T11:44:53.2668570+00:00","Level":"Information","Data":{"EventId":2120242263},"Message":"Looking up the notification handler for message ID 1804ac8e8cac3000"}

{"Timestamp":"2026-07-15T11:44:53.2668665+00:00","Level":"Information","Data":{"EventId":1468400823},"Message":"Event handling in process for message ID 1804ac8e8cac3000"}

{"Timestamp":"2026-07-15T11:44:53.2702004+00:00","Level":"Information","Data":{"EventId":909883691},"Message":"Dispatching the notifications for message ID 1804ac8e8cac3000"}

{"Timestamp":"2026-07-15T11:44:53.2706065+00:00","Level":"Information","Data":{"EventId":581073301},"Message":"Successfully processed notification for message ID 1804ac8e8cac3000"}

{"Timestamp":"2026-07-15T11:44:57.6927586+00:00","Level":"Information","Data":{"EventId":1895827292},"Message":"Notification event with message ID 1804ac92ac6c3000 received: {\"TemplateId\":23,\"EntityType\":\"work_permit_v2\",\"EventType\":null,\"NotifyRoleId\":null,\"NotifyUserId\":null,\"NotifyDynamicActor\":\"Requestor\",\"EntityContext\":{\"Parameters\":{\"workPermitId\":\"457\",\"workPermitV2Id\":\"457\",\"orgId\":\"259\",\"viewLink\":\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/259/457?dlType=viewWorkPermitV2\",\"workPermitLink\":\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/259/457?dlType=viewWorkPermitV2\",\"emailFooter\":\"OQSHA Team\"}},\"ActorContext\":{\"Requestor\":[678],\"AreaOwnerHeight\":[678],\"PermitAcceptanceHeight\":[678],\"PermitAuthorizerHeight\":[678]},\"Metadata\":null}"}

{"Timestamp":"2026-07-15T11:44:57.6941292+00:00","Level":"Information","Data":{"EventId":2709670724},"Message":"Started processing notification for message ID 1804ac92ac6c3000"}

{"Timestamp":"2026-07-15T11:44:57.6941595+00:00","Level":"Information","Data":{"EventId":3952236617},"Message":"Looking up the notification handler for message ID 1804ac92ac6c3000"}

{"Timestamp":"2026-07-15T11:44:57.6941688+00:00","Level":"Information","Data":{"EventId":3994681671},"Message":"Event handling in process for message ID 1804ac92ac6c3000"}

{"Timestamp":"2026-07-15T11:44:57.6974679+00:00","Level":"Information","Data":{"EventId":1348125217},"Message":"Dispatching the notifications for message ID 1804ac92ac6c3000"}

{"Timestamp":"2026-07-15T11:44:57.6977503+00:00","Level":"Information","Data":{"EventId":2241862701},"Message":"Successfully processed notification for message ID 1804ac92ac6c3000"}

{"Timestamp":"2026-07-15T12:03:29.5674739+00:00","Level":"Information","Data":{"EventId":3091016791},"Message":"Inside hosted service - for nsq"}

{"Timestamp":"2026-07-15T12:03:29.6518484+00:00","Level":"Information","Data":{"EventId":3138514657},"Message":"Started the consumer service and handler for NSQ"}

{"Timestamp":"2026-07-15T12:22:47.2208245+00:00","Level":"Information","Data":{"EventId":3091016791},"Message":"Inside hosted service - for nsq"}

{"Timestamp":"2026-07-15T12:22:47.3037597+00:00","Level":"Information","Data":{"EventId":3138514657},"Message":"Started the consumer service and handler for NSQ"}

{"Timestamp":"2026-07-15T12:33:32.2587266+00:00","Level":"Information","Data":{"EventId":3533082618},"Message":"Notification event with message ID 1804b72d126c3000 received: {\"TemplateId\":18,\"EntityType\":\"work_permit_v2\",\"EventType\":null,\"NotifyRoleId\":null,\"NotifyUserId\":null,\"NotifyDynamicActor\":\"Work_Permit_Authorization_Department_Head\",\"EntityContext\":{\"Parameters\":{\"workPermitId\":\"459\",\"workPermitV2Id\":\"459\",\"orgId\":\"264\",\"viewLink\":\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/264/459?dlType=viewWorkPermitV2\",\"workPermitLink\":\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/264/459?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-07-15T12:33:32.4219452+00:00","Level":"Information","Data":{"EventId":3384970478},"Message":"Started processing notification for message ID 1804b72d126c3000"}

{"Timestamp":"2026-07-15T12:33:32.4220282+00:00","Level":"Information","Data":{"EventId":1668543142},"Message":"Looking up the notification handler for message ID 1804b72d126c3000"}

{"Timestamp":"2026-07-15T12:33:32.4224916+00:00","Level":"Information","Data":{"EventId":2136425943},"Message":"Event handling in process for message ID 1804b72d126c3000"}

{"Timestamp":"2026-07-15T12:33:33.2995298+00:00","Level":"Information","Data":{"EventId":1391260427},"Message":"Dispatching the notifications for message ID 1804b72d126c3000"}

{"Timestamp":"2026-07-15T12:33:33.3181657+00:00","Level":"Information","Data":{"EventId":4284429036},"Message":"Successfully processed notification for message ID 1804b72d126c3000"}

{"Timestamp":"2026-07-15T12:33:33.3208060+00:00","Level":"Information","Data":{"EventId":1726447405},"Message":"Notification event with message ID 1804b72d12ac3000 received: {\"TemplateId\":19,\"EntityType\":\"work_permit_v2\",\"EventType\":null,\"NotifyRoleId\":null,\"NotifyUserId\":null,\"NotifyDynamicActor\":\"Work_Permit_Authorization_Department_Head\",\"EntityContext\":{\"Parameters\":{\"workPermitId\":\"459\",\"workPermitV2Id\":\"459\",\"orgId\":\"264\",\"viewLink\":\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/264/459?dlType=viewWorkPermitV2\",\"workPermitLink\":\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/264/459?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-07-15T12:33:33.3260474+00:00","Level":"Information","Data":{"EventId":1892455627},"Message":"Started processing notification for message ID 1804b72d12ac3000"}

{"Timestamp":"2026-07-15T12:33:33.3261318+00:00","Level":"Information","Data":{"EventId":3695504504},"Message":"Looking up the notification handler for message ID 1804b72d12ac3000"}

{"Timestamp":"2026-07-15T12:33:33.3262248+00:00","Level":"Information","Data":{"EventId":3390762155},"Message":"Event handling in process for message ID 1804b72d12ac3000"}

{"Timestamp":"2026-07-15T12:33:33.3420975+00:00","Level":"Information","Data":{"EventId":1249317468},"Message":"Dispatching the notifications for message ID 1804b72d12ac3000"}

{"Timestamp":"2026-07-15T12:33:33.3428943+00:00","Level":"Information","Data":{"EventId":21028311},"Message":"Successfully processed notification for message ID 1804b72d12ac3000"}

{"Timestamp":"2026-07-15T15:08:21.6273936+00:00","Level":"Information","Data":{"EventId":3091016791},"Message":"Inside hosted service - for nsq"}

{"Timestamp":"2026-07-15T15:08:21.7099583+00:00","Level":"Information","Data":{"EventId":3138514657},"Message":"Started the consumer service and handler for NSQ"}

{"Timestamp":"2026-07-15T15:50:18.7642105+00:00","Level":"Information","Data":{"EventId":2143949098},"Message":"Notification event with message ID 1804e220bcac3000 received: {\"TemplateId\":1,\"EntityType\":\"inspection_v2\",\"EventType\":\"inspection_v2.inspection_created\",\"NotifyRoleId\":null,\"NotifyUserId\":267,\"NotifyDynamicActor\":null,\"EntityContext\":{\"Parameters\":{\"inspectionId\":\"792\",\"orgId\":\"262\",\"inspectionLink\":\"https://qa-staging-2.oqsha.com/#/inspection-v2/view/262/792\",\"emailFooter\":\"OQSHA Team\",\"userName\":\"Hebert Eaton\"}},\"ActorContext\":null,\"Metadata\":null}"}

{"Timestamp":"2026-07-15T15:50:18.9124008+00:00","Level":"Information","Data":{"EventId":2420130231},"Message":"Started processing notification for message ID 1804e220bcac3000"}

{"Timestamp":"2026-07-15T15:50:18.9124865+00:00","Level":"Information","Data":{"EventId":4271794902},"Message":"Looking up the notification handler for message ID 1804e220bcac3000"}

{"Timestamp":"2026-07-15T15:50:18.9128778+00:00","Level":"Information","Data":{"EventId":1571272975},"Message":"Event handling in process for message ID 1804e220bcac3000"}

{"Timestamp":"2026-07-15T15:50:19.6588398+00:00","Level":"Information","Data":{"EventId":3501636588},"Message":"Sending message ID 1804e220bcac3000 to DLQ"}

{"Timestamp":"2026-07-15T15:50:19.6927198+00:00","Level":"Information","Data":{"EventId":1805408890},"Message":"Dead letter envelope for DLQ message: {\"SourceTopic\":\"notification.orchestrator\",\"SourceChannel\":\"notification-orchestrator\",\"FailedAtUtc\":\"2026-07-15T15:50:19.6589762Z\",\"Attempts\":1,\"ErrorType\":\"OQSHA.Notification.Orchestrator.Exceptions.PermanentOrchestratorException\",\"ErrorMessage\":\"Inspection V2 ID 792 not found for message ID 1804e220bcac3000\",\"StackTrace\":\"   at OQSHA.Notification.Orchestrator.NotificationHandlers.InspectionV2NotificationHandler.FetchInspectionAsync(String messageId, Int32 orgId, Int32 inspectionId) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\NotificationHandlers\\\\InspectionV2NotificationHandler.cs:line 268\\r\\n   at OQSHA.Notification.Orchestrator.NotificationHandlers.InspectionV2NotificationHandler.HandleTemplateBasedNotificationAsync(String messageId, NotificationEventDto request) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\NotificationHandlers\\\\InspectionV2NotificationHandler.cs:line 93\\r\\n   at OQSHA.Notification.Orchestrator.NotificationHandlers.InspectionV2NotificationHandler.ProcessEventAsync(String messageId, NotificationEventDto request) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\NotificationHandlers\\\\InspectionV2NotificationHandler.cs:line 56\\r\\n   at OQSHA.Notification.Orchestrator.Routing.EventRouter.ExecuteAsync(String messageId, NotificationEventDto request) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\Routing\\\\EventRouter.cs:line 38\\r\\n   at OQSHA.Notification.Orchestrator.Worker.OrchestratorMessageHandler.HandleMessage(IMessage message) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\Worker\\\\OrchestratorMessageHandler.cs:line 44\",\"OriginalBody\":\"{\\\"TemplateId\\\":1,\\\"EntityType\\\":\\\"inspection_v2\\\",\\\"EventType\\\":\\\"inspection_v2.inspection_created\\\",\\\"NotifyRoleId\\\":null,\\\"NotifyUserId\\\":267,\\\"NotifyDynamicActor\\\":null,\\\"EntityContext\\\":{\\\"Parameters\\\":{\\\"inspectionId\\\":\\\"792\\\",\\\"orgId\\\":\\\"262\\\",\\\"inspectionLink\\\":\\\"https://qa-staging-2.oqsha.com/#/inspection-v2/view/262/792\\\",\\\"emailFooter\\\":\\\"OQSHA Team\\\",\\\"userName\\\":\\\"Hebert Eaton\\\"}},\\\"ActorContext\\\":null,\\\"Metadata\\\":null}\"}"}

{"Timestamp":"2026-07-15T15:50:19.6974535+00:00","Level":"Information","Data":{"EventId":4002857601},"Message":"Sent message ID 1804e220bcac3000 to DLQ"}

{"Timestamp":"2026-07-15T16:12:25.3518175+00:00","Level":"Information","Data":{"EventId":2722666955},"Message":"Notification event with message ID 1804e6f4386c3000 received: {\"TemplateId\":18,\"EntityType\":\"work_permit_v2\",\"EventType\":null,\"NotifyRoleId\":null,\"NotifyUserId\":null,\"NotifyDynamicActor\":\"Work_Permit_Authorization_Department_Head\",\"EntityContext\":{\"Parameters\":{\"workPermitId\":\"461\",\"workPermitV2Id\":\"461\",\"orgId\":\"264\",\"viewLink\":\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/264/461?dlType=viewWorkPermitV2\",\"workPermitLink\":\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/264/461?dlType=viewWorkPermitV2\",\"emailFooter\":\"OQSHA Team\"}},\"ActorContext\":{\"Requestor\":[678],\"Work_Permit_Authorization_Department_Head\":[678],\"Isolation_Reviewed_User\":[678],\"Work_Permit_Authorization_Area_Owner\":[678]},\"Metadata\":null}"}

{"Timestamp":"2026-07-15T16:12:25.3606727+00:00","Level":"Information","Data":{"EventId":485426272},"Message":"Started processing notification for message ID 1804e6f4386c3000"}

{"Timestamp":"2026-07-15T16:12:25.3607571+00:00","Level":"Information","Data":{"EventId":3503589371},"Message":"Looking up the notification handler for message ID 1804e6f4386c3000"}

{"Timestamp":"2026-07-15T16:12:25.3609175+00:00","Level":"Information","Data":{"EventId":3967228408},"Message":"Event handling in process for message ID 1804e6f4386c3000"}

{"Timestamp":"2026-07-15T16:12:25.5091716+00:00","Level":"Information","Data":{"EventId":279425684},"Message":"Dispatching the notifications for message ID 1804e6f4386c3000"}

{"Timestamp":"2026-07-15T16:12:25.5170309+00:00","Level":"Information","Data":{"EventId":2154192889},"Message":"Successfully processed notification for message ID 1804e6f4386c3000"}

{"Timestamp":"2026-07-15T16:12:25.5175629+00:00","Level":"Information","Data":{"EventId":3351414400},"Message":"Notification event with message ID 1804e6f4386c3001 received: {\"TemplateId\":19,\"EntityType\":\"work_permit_v2\",\"EventType\":null,\"NotifyRoleId\":null,\"NotifyUserId\":null,\"NotifyDynamicActor\":\"Work_Permit_Authorization_Department_Head\",\"EntityContext\":{\"Parameters\":{\"workPermitId\":\"461\",\"workPermitV2Id\":\"461\",\"orgId\":\"264\",\"viewLink\":\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/264/461?dlType=viewWorkPermitV2\",\"workPermitLink\":\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/264/461?dlType=viewWorkPermitV2\",\"emailFooter\":\"OQSHA Team\"}},\"ActorContext\":{\"Requestor\":[678],\"Work_Permit_Authorization_Department_Head\":[678],\"Isolation_Reviewed_User\":[678],\"Work_Permit_Authorization_Area_Owner\":[678]},\"Metadata\":null}"}

{"Timestamp":"2026-07-15T16:12:25.5318613+00:00","Level":"Information","Data":{"EventId":724934893},"Message":"Started processing notification for message ID 1804e6f4386c3001"}

{"Timestamp":"2026-07-15T16:12:25.5319568+00:00","Level":"Information","Data":{"EventId":3741918308},"Message":"Looking up the notification handler for message ID 1804e6f4386c3001"}

{"Timestamp":"2026-07-15T16:12:25.5320230+00:00","Level":"Information","Data":{"EventId":3649631260},"Message":"Event handling in process for message ID 1804e6f4386c3001"}

{"Timestamp":"2026-07-15T16:12:25.5842195+00:00","Level":"Information","Data":{"EventId":633199808},"Message":"Dispatching the notifications for message ID 1804e6f4386c3001"}

{"Timestamp":"2026-07-15T16:12:25.5850454+00:00","Level":"Information","Data":{"EventId":2394160276},"Message":"Successfully processed notification for message ID 1804e6f4386c3001"}

{"Timestamp":"2026-07-15T16:13:13.1716880+00:00","Level":"Information","Data":{"EventId":1326862199},"Message":"Notification event with message ID 1804e720c16c3000 received: {\"TemplateId\":18,\"EntityType\":\"work_permit_v2\",\"EventType\":null,\"NotifyRoleId\":null,\"NotifyUserId\":null,\"NotifyDynamicActor\":\"Work_Permit_Authorization_Area_Owner\",\"EntityContext\":{\"Parameters\":{\"workPermitId\":\"461\",\"workPermitV2Id\":\"461\",\"orgId\":\"264\",\"viewLink\":\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/264/461?dlType=viewWorkPermitV2\",\"workPermitLink\":\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/264/461?dlType=viewWorkPermitV2\",\"emailFooter\":\"OQSHA Team\"}},\"ActorContext\":{\"Requestor\":[678],\"Work_Permit_Authorization_Department_Head\":[678],\"Isolation_Reviewed_User\":[678],\"Work_Permit_Authorization_Area_Owner\":[678]},\"Metadata\":null}"}

{"Timestamp":"2026-07-15T16:13:13.1745070+00:00","Level":"Information","Data":{"EventId":2322348937},"Message":"Started processing notification for message ID 1804e720c16c3000"}

{"Timestamp":"2026-07-15T16:13:13.1745743+00:00","Level":"Information","Data":{"EventId":265942152},"Message":"Looking up the notification handler for message ID 1804e720c16c3000"}

{"Timestamp":"2026-07-15T16:13:13.1746287+00:00","Level":"Information","Data":{"EventId":1815646067},"Message":"Event handling in process for message ID 1804e720c16c3000"}

{"Timestamp":"2026-07-15T16:13:13.1818625+00:00","Level":"Information","Data":{"EventId":75023053},"Message":"Dispatching the notifications for message ID 1804e720c16c3000"}

{"Timestamp":"2026-07-15T16:13:13.1822401+00:00","Level":"Information","Data":{"EventId":3888468112},"Message":"Successfully processed notification for message ID 1804e720c16c3000"}

{"Timestamp":"2026-07-15T16:13:13.3907741+00:00","Level":"Information","Data":{"EventId":3474664537},"Message":"Notification event with message ID 1804e720c16c3001 received: {\"TemplateId\":19,\"EntityType\":\"work_permit_v2\",\"EventType\":null,\"NotifyRoleId\":null,\"NotifyUserId\":null,\"NotifyDynamicActor\":\"Work_Permit_Authorization_Area_Owner\",\"EntityContext\":{\"Parameters\":{\"workPermitId\":\"461\",\"workPermitV2Id\":\"461\",\"orgId\":\"264\",\"viewLink\":\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/264/461?dlType=viewWorkPermitV2\",\"workPermitLink\":\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/264/461?dlType=viewWorkPermitV2\",\"emailFooter\":\"OQSHA Team\"}},\"ActorContext\":{\"Requestor\":[678],\"Work_Permit_Authorization_Department_Head\":[678],\"Isolation_Reviewed_User\":[678],\"Work_Permit_Authorization_Area_Owner\":[678]},\"Metadata\":null}"}

{"Timestamp":"2026-07-15T16:13:13.3934444+00:00","Level":"Information","Data":{"EventId":2394178585},"Message":"Started processing notification for message ID 1804e720c16c3001"}

{"Timestamp":"2026-07-15T16:13:13.3935026+00:00","Level":"Information","Data":{"EventId":687449803},"Message":"Looking up the notification handler for message ID 1804e720c16c3001"}

{"Timestamp":"2026-07-15T16:13:13.3935211+00:00","Level":"Information","Data":{"EventId":3463468001},"Message":"Event handling in process for message ID 1804e720c16c3001"}

{"Timestamp":"2026-07-15T16:13:13.3994689+00:00","Level":"Information","Data":{"EventId":328425730},"Message":"Dispatching the notifications for message ID 1804e720c16c3001"}

{"Timestamp":"2026-07-15T16:13:13.3999921+00:00","Level":"Information","Data":{"EventId":498056292},"Message":"Successfully processed notification for message ID 1804e720c16c3001"}

{"Timestamp":"2026-07-15T16:14:06.4231186+00:00","Level":"Information","Data":{"EventId":3391613626},"Message":"Notification event with message ID 1804e75259ac3000 received: {\"TemplateId\":22,\"EntityType\":\"work_permit_v2\",\"EventType\":null,\"NotifyRoleId\":null,\"NotifyUserId\":null,\"NotifyDynamicActor\":\"Requestor\",\"EntityContext\":{\"Parameters\":{\"workPermitId\":\"461\",\"workPermitV2Id\":\"461\",\"orgId\":\"264\",\"viewLink\":\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/264/461?dlType=viewWorkPermitV2\",\"workPermitLink\":\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/264/461?dlType=viewWorkPermitV2\",\"emailFooter\":\"OQSHA Team\"}},\"ActorContext\":{\"Requestor\":[678],\"Work_Permit_Authorization_Department_Head\":[678],\"Isolation_Reviewed_User\":[678],\"Work_Permit_Authorization_Area_Owner\":[678]},\"Metadata\":null}"}

{"Timestamp":"2026-07-15T16:14:06.4257970+00:00","Level":"Information","Data":{"EventId":3889174969},"Message":"Started processing notification for message ID 1804e75259ac3000"}

{"Timestamp":"2026-07-15T16:14:06.4258634+00:00","Level":"Information","Data":{"EventId":2789195092},"Message":"Looking up the notification handler for message ID 1804e75259ac3000"}

{"Timestamp":"2026-07-15T16:14:06.4258924+00:00","Level":"Information","Data":{"EventId":2254606113},"Message":"Event handling in process for message ID 1804e75259ac3000"}

{"Timestamp":"2026-07-15T16:14:06.4358068+00:00","Level":"Information","Data":{"EventId":1258837597},"Message":"Dispatching the notifications for message ID 1804e75259ac3000"}

{"Timestamp":"2026-07-15T16:14:06.4366205+00:00","Level":"Information","Data":{"EventId":3744708216},"Message":"Successfully processed notification for message ID 1804e75259ac3000"}

{"Timestamp":"2026-07-15T16:14:06.6385299+00:00","Level":"Information","Data":{"EventId":2216403068},"Message":"Notification event with message ID 1804e75259ac3001 received: {\"TemplateId\":23,\"EntityType\":\"work_permit_v2\",\"EventType\":null,\"NotifyRoleId\":null,\"NotifyUserId\":null,\"NotifyDynamicActor\":\"Requestor\",\"EntityContext\":{\"Parameters\":{\"workPermitId\":\"461\",\"workPermitV2Id\":\"461\",\"orgId\":\"264\",\"viewLink\":\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/264/461?dlType=viewWorkPermitV2\",\"workPermitLink\":\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/264/461?dlType=viewWorkPermitV2\",\"emailFooter\":\"OQSHA Team\"}},\"ActorContext\":{\"Requestor\":[678],\"Work_Permit_Authorization_Department_Head\":[678],\"Isolation_Reviewed_User\":[678],\"Work_Permit_Authorization_Area_Owner\":[678]},\"Metadata\":null}"}

{"Timestamp":"2026-07-15T16:14:06.6429586+00:00","Level":"Information","Data":{"EventId":4118230279},"Message":"Started processing notification for message ID 1804e75259ac3001"}

{"Timestamp":"2026-07-15T16:14:06.6431062+00:00","Level":"Information","Data":{"EventId":2364541625},"Message":"Looking up the notification handler for message ID 1804e75259ac3001"}

{"Timestamp":"2026-07-15T16:14:06.6431683+00:00","Level":"Information","Data":{"EventId":1208685131},"Message":"Event handling in process for message ID 1804e75259ac3001"}

{"Timestamp":"2026-07-15T16:14:06.6542553+00:00","Level":"Information","Data":{"EventId":3458096267},"Message":"Dispatching the notifications for message ID 1804e75259ac3001"}

{"Timestamp":"2026-07-15T16:14:06.6556821+00:00","Level":"Information","Data":{"EventId":3464172807},"Message":"Successfully processed notification for message ID 1804e75259ac3001"}

{"Timestamp":"2026-07-15T16:14:44.3336388+00:00","Level":"Information","Data":{"EventId":216499398},"Message":"Notification event with message ID 1804e775a82c3000 received: {\"TemplateId\":18,\"EntityType\":\"work_permit_v2\",\"EventType\":null,\"NotifyRoleId\":null,\"NotifyUserId\":null,\"NotifyDynamicActor\":\"Work_Permit_Authorization_Area_Owner\",\"EntityContext\":{\"Parameters\":{\"workPermitId\":\"459\",\"workPermitV2Id\":\"459\",\"orgId\":\"264\",\"viewLink\":\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/264/459?dlType=viewWorkPermitV2\",\"workPermitLink\":\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/264/459?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-07-15T16:14:44.3354211+00:00","Level":"Information","Data":{"EventId":364716799},"Message":"Started processing notification for message ID 1804e775a82c3000"}

{"Timestamp":"2026-07-15T16:14:44.3354870+00:00","Level":"Information","Data":{"EventId":3095657786},"Message":"Looking up the notification handler for message ID 1804e775a82c3000"}

{"Timestamp":"2026-07-15T16:14:44.3355042+00:00","Level":"Information","Data":{"EventId":152923343},"Message":"Event handling in process for message ID 1804e775a82c3000"}

{"Timestamp":"2026-07-15T16:14:44.3396997+00:00","Level":"Information","Data":{"EventId":3135860327},"Message":"Dispatching the notifications for message ID 1804e775a82c3000"}

{"Timestamp":"2026-07-15T16:14:44.3403833+00:00","Level":"Information","Data":{"EventId":931079900},"Message":"Successfully processed notification for message ID 1804e775a82c3000"}

{"Timestamp":"2026-07-15T16:14:44.3922499+00:00","Level":"Information","Data":{"EventId":3089937671},"Message":"Notification event with message ID 1804e775a86c3000 received: {\"TemplateId\":19,\"EntityType\":\"work_permit_v2\",\"EventType\":null,\"NotifyRoleId\":null,\"NotifyUserId\":null,\"NotifyDynamicActor\":\"Work_Permit_Authorization_Area_Owner\",\"EntityContext\":{\"Parameters\":{\"workPermitId\":\"459\",\"workPermitV2Id\":\"459\",\"orgId\":\"264\",\"viewLink\":\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/264/459?dlType=viewWorkPermitV2\",\"workPermitLink\":\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/264/459?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-07-15T16:14:44.3943374+00:00","Level":"Information","Data":{"EventId":805984743},"Message":"Started processing notification for message ID 1804e775a86c3000"}

{"Timestamp":"2026-07-15T16:14:44.3943804+00:00","Level":"Information","Data":{"EventId":3785869833},"Message":"Looking up the notification handler for message ID 1804e775a86c3000"}

{"Timestamp":"2026-07-15T16:14:44.3943950+00:00","Level":"Information","Data":{"EventId":1846195316},"Message":"Event handling in process for message ID 1804e775a86c3000"}

{"Timestamp":"2026-07-15T16:14:44.3988275+00:00","Level":"Information","Data":{"EventId":3699934028},"Message":"Dispatching the notifications for message ID 1804e775a86c3000"}

{"Timestamp":"2026-07-15T16:14:44.3996312+00:00","Level":"Information","Data":{"EventId":4064773773},"Message":"Successfully processed notification for message ID 1804e775a86c3000"}

{"Timestamp":"2026-07-15T16:15:07.2561323+00:00","Level":"Information","Data":{"EventId":1604318510},"Message":"Notification event with message ID 1804e78b00ec3000 received: {\"TemplateId\":18,\"EntityType\":\"work_permit_v2\",\"EventType\":null,\"NotifyRoleId\":null,\"NotifyUserId\":null,\"NotifyDynamicActor\":\"Work_Permit_Authorization_Plant_Head\",\"EntityContext\":{\"Parameters\":{\"workPermitId\":\"459\",\"workPermitV2Id\":\"459\",\"orgId\":\"264\",\"viewLink\":\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/264/459?dlType=viewWorkPermitV2\",\"workPermitLink\":\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/264/459?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-07-15T16:15:07.2577590+00:00","Level":"Information","Data":{"EventId":1174159587},"Message":"Started processing notification for message ID 1804e78b00ec3000"}

{"Timestamp":"2026-07-15T16:15:07.2578216+00:00","Level":"Information","Data":{"EventId":843541940},"Message":"Looking up the notification handler for message ID 1804e78b00ec3000"}

{"Timestamp":"2026-07-15T16:15:07.2578890+00:00","Level":"Information","Data":{"EventId":2620617649},"Message":"Event handling in process for message ID 1804e78b00ec3000"}

{"Timestamp":"2026-07-15T16:15:07.2619320+00:00","Level":"Information","Data":{"EventId":2506008574},"Message":"Dispatching the notifications for message ID 1804e78b00ec3000"}

{"Timestamp":"2026-07-15T16:15:07.2626299+00:00","Level":"Information","Data":{"EventId":3949916968},"Message":"Successfully processed notification for message ID 1804e78b00ec3000"}

{"Timestamp":"2026-07-15T16:15:07.3876743+00:00","Level":"Information","Data":{"EventId":3065382622},"Message":"Notification event with message ID 1804e78b016c3000 received: {\"TemplateId\":19,\"EntityType\":\"work_permit_v2\",\"EventType\":null,\"NotifyRoleId\":null,\"NotifyUserId\":null,\"NotifyDynamicActor\":\"Work_Permit_Authorization_Plant_Head\",\"EntityContext\":{\"Parameters\":{\"workPermitId\":\"459\",\"workPermitV2Id\":\"459\",\"orgId\":\"264\",\"viewLink\":\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/264/459?dlType=viewWorkPermitV2\",\"workPermitLink\":\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/264/459?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-07-15T16:15:07.3894412+00:00","Level":"Information","Data":{"EventId":944310700},"Message":"Started processing notification for message ID 1804e78b016c3000"}

{"Timestamp":"2026-07-15T16:15:07.3894719+00:00","Level":"Information","Data":{"EventId":3722069489},"Message":"Looking up the notification handler for message ID 1804e78b016c3000"}

{"Timestamp":"2026-07-15T16:15:07.3894868+00:00","Level":"Information","Data":{"EventId":2026644839},"Message":"Event handling in process for message ID 1804e78b016c3000"}

{"Timestamp":"2026-07-15T16:15:07.3935071+00:00","Level":"Information","Data":{"EventId":1760444627},"Message":"Dispatching the notifications for message ID 1804e78b016c3000"}

{"Timestamp":"2026-07-15T16:15:07.3941815+00:00","Level":"Information","Data":{"EventId":599486687},"Message":"Successfully processed notification for message ID 1804e78b016c3000"}

{"Timestamp":"2026-07-15T16:15:34.5979412+00:00","Level":"Information","Data":{"EventId":2039784570},"Message":"Notification event with message ID 1804e7a4782c3000 received: {\"TemplateId\":22,\"EntityType\":\"work_permit_v2\",\"EventType\":null,\"NotifyRoleId\":null,\"NotifyUserId\":null,\"NotifyDynamicActor\":\"Requestor\",\"EntityContext\":{\"Parameters\":{\"workPermitId\":\"459\",\"workPermitV2Id\":\"459\",\"orgId\":\"264\",\"viewLink\":\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/264/459?dlType=viewWorkPermitV2\",\"workPermitLink\":\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/264/459?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-07-15T16:15:34.6005338+00:00","Level":"Information","Data":{"EventId":2616936511},"Message":"Started processing notification for message ID 1804e7a4782c3000"}

{"Timestamp":"2026-07-15T16:15:34.6005670+00:00","Level":"Information","Data":{"EventId":982555861},"Message":"Looking up the notification handler for message ID 1804e7a4782c3000"}

{"Timestamp":"2026-07-15T16:15:34.6005773+00:00","Level":"Information","Data":{"EventId":827168096},"Message":"Event handling in process for message ID 1804e7a4782c3000"}

{"Timestamp":"2026-07-15T16:15:34.6054966+00:00","Level":"Information","Data":{"EventId":1934102947},"Message":"Dispatching the notifications for message ID 1804e7a4782c3000"}

{"Timestamp":"2026-07-15T16:15:34.6060078+00:00","Level":"Information","Data":{"EventId":3187396326},"Message":"Successfully processed notification for message ID 1804e7a4782c3000"}

{"Timestamp":"2026-07-15T16:15:34.6380805+00:00","Level":"Information","Data":{"EventId":3401326006},"Message":"Notification event with message ID 1804e7a4782c3001 received: {\"TemplateId\":23,\"EntityType\":\"work_permit_v2\",\"EventType\":null,\"NotifyRoleId\":null,\"NotifyUserId\":null,\"NotifyDynamicActor\":\"Requestor\",\"EntityContext\":{\"Parameters\":{\"workPermitId\":\"459\",\"workPermitV2Id\":\"459\",\"orgId\":\"264\",\"viewLink\":\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/264/459?dlType=viewWorkPermitV2\",\"workPermitLink\":\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/264/459?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-07-15T16:15:34.6411990+00:00","Level":"Information","Data":{"EventId":4136795504},"Message":"Started processing notification for message ID 1804e7a4782c3001"}

{"Timestamp":"2026-07-15T16:15:34.6412606+00:00","Level":"Information","Data":{"EventId":2795140327},"Message":"Looking up the notification handler for message ID 1804e7a4782c3001"}

{"Timestamp":"2026-07-15T16:15:34.6413183+00:00","Level":"Information","Data":{"EventId":1846939380},"Message":"Event handling in process for message ID 1804e7a4782c3001"}

{"Timestamp":"2026-07-15T16:15:34.6474530+00:00","Level":"Information","Data":{"EventId":3488205553},"Message":"Dispatching the notifications for message ID 1804e7a4782c3001"}

{"Timestamp":"2026-07-15T16:15:34.6481689+00:00","Level":"Information","Data":{"EventId":873806611},"Message":"Successfully processed notification for message ID 1804e7a4782c3001"}

{"Timestamp":"2026-07-15T17:25:26.7219045+00:00","Level":"Information","Data":{"EventId":1820189252},"Message":"Notification event with message ID 1804f6e4afec3000 received: {\"TemplateId\":1,\"EntityType\":\"fir\",\"EventType\":null,\"NotifyRoleId\":null,\"NotifyUserId\":null,\"NotifyDynamicActor\":null,\"EntityContext\":{\"Parameters\":{\"firId\":\"184\",\"orgId\":\"262\",\"viewLink\":\"https://qa-staging-2.oqsha.com/#/fir-v2/view/262/184\",\"emailFooter\":\"OQSHA Team\",\"description\":\"\"}},\"ActorContext\":null,\"Metadata\":null}"}

{"Timestamp":"2026-07-15T17:25:26.7252593+00:00","Level":"Information","Data":{"EventId":2621037870},"Message":"Started processing notification for message ID 1804f6e4afec3000"}

{"Timestamp":"2026-07-15T17:25:26.7253294+00:00","Level":"Information","Data":{"EventId":3969125587},"Message":"Looking up the notification handler for message ID 1804f6e4afec3000"}

{"Timestamp":"2026-07-15T17:25:26.7253505+00:00","Level":"Information","Data":{"EventId":3511746142},"Message":"Event handling in process for message ID 1804f6e4afec3000"}

{"Timestamp":"2026-07-15T17:25:26.7486135+00:00","Level":"Information","Data":{"EventId":1650515060},"Message":"Sending message ID 1804f6e4afec3000 to DLQ"}

{"Timestamp":"2026-07-15T17:25:26.7489275+00:00","Level":"Information","Data":{"EventId":859009800},"Message":"Dead letter envelope for DLQ message: {\"SourceTopic\":\"notification.orchestrator\",\"SourceChannel\":\"notification-orchestrator\",\"FailedAtUtc\":\"2026-07-15T17:25:26.7486753Z\",\"Attempts\":1,\"ErrorType\":\"OQSHA.Notification.Orchestrator.Exceptions.PermanentOrchestratorException\",\"ErrorMessage\":\"FIR ID 184 not found for message ID 1804f6e4afec3000\",\"StackTrace\":\"   at OQSHA.Notification.Orchestrator.NotificationHandlers.FirNotificationHandler.FetchFirAsync(String messageId, Int32 orgId, Int32 firId) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\NotificationHandlers\\\\FirNotificationHandler.cs:line 225\\r\\n   at OQSHA.Notification.Orchestrator.NotificationHandlers.FirNotificationHandler.HandleAsync(String messageId, NotificationEventDto request) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\NotificationHandlers\\\\FirNotificationHandler.cs:line 48\\r\\n   at OQSHA.Notification.Orchestrator.NotificationHandlers.FirNotificationHandler.ProcessEventAsync(String messageId, NotificationEventDto request) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\NotificationHandlers\\\\FirNotificationHandler.cs:line 38\\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\\\":\\\"fir\\\",\\\"EventType\\\":null,\\\"NotifyRoleId\\\":null,\\\"NotifyUserId\\\":null,\\\"NotifyDynamicActor\\\":null,\\\"EntityContext\\\":{\\\"Parameters\\\":{\\\"firId\\\":\\\"184\\\",\\\"orgId\\\":\\\"262\\\",\\\"viewLink\\\":\\\"https://qa-staging-2.oqsha.com/#/fir-v2/view/262/184\\\",\\\"emailFooter\\\":\\\"OQSHA Team\\\",\\\"description\\\":\\\"\\\"}},\\\"ActorContext\\\":null,\\\"Metadata\\\":null}\"}"}

{"Timestamp":"2026-07-15T17:25:26.7498112+00:00","Level":"Information","Data":{"EventId":1871417908},"Message":"Sent message ID 1804f6e4afec3000 to DLQ"}

{"Timestamp":"2026-07-15T17:27:57.0539882+00:00","Level":"Information","Data":{"EventId":3461879120},"Message":"Notification event with message ID 1804f770b22c3000 received: {\"TemplateId\":2,\"EntityType\":\"investigation\",\"EventType\":\"investigation.validated\",\"NotifyRoleId\":507,\"NotifyUserId\":null,\"NotifyDynamicActor\":null,\"EntityContext\":{\"Parameters\":{\"investigationId\":\"144\",\"orgId\":\"262\",\"viewLink\":\"http://localhost:4200/Organisations/262/investigation-v2/edit/144\",\"emailFooter\":\"OQSHA Team\",\"incidentDescription\":\"\",\"incidentDateTime\":\"\"}},\"ActorContext\":null,\"Metadata\":null}"}

{"Timestamp":"2026-07-15T17:27:57.0567074+00:00","Level":"Information","Data":{"EventId":779040037},"Message":"Started processing notification for message ID 1804f770b22c3000"}

{"Timestamp":"2026-07-15T17:27:57.0567445+00:00","Level":"Information","Data":{"EventId":1592490073},"Message":"Looking up the notification handler for message ID 1804f770b22c3000"}

{"Timestamp":"2026-07-15T17:27:57.0567560+00:00","Level":"Information","Data":{"EventId":2226354471},"Message":"Event handling in process for message ID 1804f770b22c3000"}

{"Timestamp":"2026-07-15T17:27:57.0727794+00:00","Level":"Information","Data":{"EventId":2809498887},"Message":"Sending message ID 1804f770b22c3000 to DLQ"}

{"Timestamp":"2026-07-15T17:27:57.0731953+00:00","Level":"Information","Data":{"EventId":3065521314},"Message":"Dead letter envelope for DLQ message: {\"SourceTopic\":\"notification.orchestrator\",\"SourceChannel\":\"notification-orchestrator\",\"FailedAtUtc\":\"2026-07-15T17:27:57.0728202Z\",\"Attempts\":1,\"ErrorType\":\"OQSHA.Notification.Orchestrator.Exceptions.PermanentOrchestratorException\",\"ErrorMessage\":\"Investigation ID 144 not found for message ID 1804f770b22c3000\",\"StackTrace\":\"   at OQSHA.Notification.Orchestrator.NotificationHandlers.InvestigationNotificationHandler.FetchInvestigationAsync(String messageId, Int32 orgId, Int32 investigationId) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\NotificationHandlers\\\\InvestigationNotificationHandler.cs:line 167\\r\\n   at OQSHA.Notification.Orchestrator.NotificationHandlers.InvestigationNotificationHandler.HandleAsync(String messageId, NotificationEventDto request) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\NotificationHandlers\\\\InvestigationNotificationHandler.cs:line 42\\r\\n   at OQSHA.Notification.Orchestrator.NotificationHandlers.InvestigationNotificationHandler.ProcessEventAsync(String messageId, NotificationEventDto request) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\NotificationHandlers\\\\InvestigationNotificationHandler.cs:line 34\\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\\\":2,\\\"EntityType\\\":\\\"investigation\\\",\\\"EventType\\\":\\\"investigation.validated\\\",\\\"NotifyRoleId\\\":507,\\\"NotifyUserId\\\":null,\\\"NotifyDynamicActor\\\":null,\\\"EntityContext\\\":{\\\"Parameters\\\":{\\\"investigationId\\\":\\\"144\\\",\\\"orgId\\\":\\\"262\\\",\\\"viewLink\\\":\\\"http://localhost:4200/Organisations/262/investigation-v2/edit/144\\\",\\\"emailFooter\\\":\\\"OQSHA Team\\\",\\\"incidentDescription\\\":\\\"\\\",\\\"incidentDateTime\\\":\\\"\\\"}},\\\"ActorContext\\\":null,\\\"Metadata\\\":null}\"}"}

{"Timestamp":"2026-07-15T17:27:57.0739237+00:00","Level":"Information","Data":{"EventId":4265682948},"Message":"Sent message ID 1804f770b22c3000 to DLQ"}

