{"Timestamp":"2026-08-20T03:50:56.4552013+00:00","Level":"Information","Data":{"EventId":3091016791},"Message":"Inside hosted service - for nsq"}

{"Timestamp":"2026-08-20T03:50:57.0698535+00:00","Level":"Information","Data":{"EventId":3138514657},"Message":"Started the consumer service and handler for NSQ"}

{"Timestamp":"2026-08-20T03:55:37.1180107+00:00","Level":"Information","Data":{"EventId":3091016791},"Message":"Inside hosted service - for nsq"}

{"Timestamp":"2026-08-20T03:55:37.3035277+00:00","Level":"Information","Data":{"EventId":3138514657},"Message":"Started the consumer service and handler for NSQ"}

{"Timestamp":"2026-08-20T04:39:40.2015068+00:00","Level":"Information","Data":{"EventId":3990934817},"Message":"Notification event with message ID 1830834f58ec3000 received: {\"TemplateId\":1,\"EntityType\":\"safety_alerts\",\"EventType\":null,\"NotifyRoleId\":489,\"NotifyUserId\":null,\"NotifyDynamicActor\":null,\"EntityContext\":{\"Parameters\":{\"alertId\":\"1195\",\"orgId\":\"262\",\"alertLink\":\"https://sandbox.oqsha.com/#/safety-alerts-v2/edit-safety-alert-v2/1195\",\"EmailFooter\":\"OQSHA Team\",\"UserName\":\"Hebert Eaton\",\"description\":\"\"}},\"ActorContext\":null,\"Metadata\":null}"}

{"Timestamp":"2026-08-20T04:39:40.3963106+00:00","Level":"Information","Data":{"EventId":3737304885},"Message":"Started processing notification for message ID 1830834f58ec3000"}

{"Timestamp":"2026-08-20T04:39:40.3963973+00:00","Level":"Information","Data":{"EventId":2323795193},"Message":"Looking up the notification handler for message ID 1830834f58ec3000"}

{"Timestamp":"2026-08-20T04:39:40.3968258+00:00","Level":"Information","Data":{"EventId":3765117287},"Message":"Event handling in process for message ID 1830834f58ec3000"}

{"Timestamp":"2026-08-20T04:39:41.1838232+00:00","Level":"Information","Data":{"EventId":2329442421},"Message":"Sending message ID 1830834f58ec3000 to DLQ"}

{"Timestamp":"2026-08-20T04:39:41.2253906+00:00","Level":"Information","Data":{"EventId":507366051},"Message":"Dead letter envelope for DLQ message: {\"SourceTopic\":\"stg.notification.orchestrator\",\"SourceChannel\":\"notification-orchestrator\",\"FailedAtUtc\":\"2026-08-20T04:39:41.1839701Z\",\"Attempts\":1,\"ErrorType\":\"OQSHA.Notification.Orchestrator.Exceptions.PermanentOrchestratorException\",\"ErrorMessage\":\"Safety alert ID 1195 not found for message ID 1830834f58ec3000\",\"StackTrace\":\"   at OQSHA.Notification.Orchestrator.NotificationHandlers.SafetyAlertsNotificationHandler.FetchAlertAsync(String messageId, Int32 orgId, Int32 alertId) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\NotificationHandlers\\\\SafetyAlertsNotificationHandler.cs:line 249\\r\\n   at OQSHA.Notification.Orchestrator.NotificationHandlers.SafetyAlertsNotificationHandler.HandleTemplateBasedAlertNotificationAsync(String messageId, NotificationEventDto request) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\NotificationHandlers\\\\SafetyAlertsNotificationHandler.cs:line 87\\r\\n   at OQSHA.Notification.Orchestrator.NotificationHandlers.SafetyAlertsNotificationHandler.ProcessEventAsync(String messageId, NotificationEventDto request) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\NotificationHandlers\\\\SafetyAlertsNotificationHandler.cs:line 45\\r\\n   at OQSHA.Notification.Orchestrator.Routing.EventRouter.ExecuteAsync(String messageId, NotificationEventDto request) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\Routing\\\\EventRouter.cs:line 38\\r\\n   at OQSHA.Notification.Orchestrator.Worker.OrchestratorMessageHandler.HandleMessage(IMessage message) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\Worker\\\\OrchestratorMessageHandler.cs:line 44\",\"OriginalBody\":\"{\\\"TemplateId\\\":1,\\\"EntityType\\\":\\\"safety_alerts\\\",\\\"EventType\\\":null,\\\"NotifyRoleId\\\":489,\\\"NotifyUserId\\\":null,\\\"NotifyDynamicActor\\\":null,\\\"EntityContext\\\":{\\\"Parameters\\\":{\\\"alertId\\\":\\\"1195\\\",\\\"orgId\\\":\\\"262\\\",\\\"alertLink\\\":\\\"https://sandbox.oqsha.com/#/safety-alerts-v2/edit-safety-alert-v2/1195\\\",\\\"EmailFooter\\\":\\\"OQSHA Team\\\",\\\"UserName\\\":\\\"Hebert Eaton\\\",\\\"description\\\":\\\"\\\"}},\\\"ActorContext\\\":null,\\\"Metadata\\\":null}\"}"}

{"Timestamp":"2026-08-20T04:39:41.2386381+00:00","Level":"Information","Data":{"EventId":2763921110},"Message":"Sent message ID 1830834f58ec3000 to DLQ"}

{"Timestamp":"2026-08-20T04:39:41.2393414+00:00","Level":"Information","Data":{"EventId":1520346118},"Message":"Notification event with message ID 1830834f5d2c3000 received: {\"TemplateId\":24,\"EntityType\":\"safety_alerts\",\"EventType\":null,\"NotifyRoleId\":489,\"NotifyUserId\":null,\"NotifyDynamicActor\":null,\"EntityContext\":{\"Parameters\":{\"alertId\":\"1195\",\"orgId\":\"262\",\"alertLink\":\"https://sandbox.oqsha.com/#/safety-alerts-v2/edit-safety-alert-v2/1195\",\"EmailFooter\":\"OQSHA Team\",\"UserName\":\"Hebert Eaton\",\"description\":\"\"}},\"ActorContext\":null,\"Metadata\":null}"}

{"Timestamp":"2026-08-20T04:39:41.2440101+00:00","Level":"Information","Data":{"EventId":9576748},"Message":"Started processing notification for message ID 1830834f5d2c3000"}

{"Timestamp":"2026-08-20T04:39:41.2441080+00:00","Level":"Information","Data":{"EventId":1641101762},"Message":"Looking up the notification handler for message ID 1830834f5d2c3000"}

{"Timestamp":"2026-08-20T04:39:41.2442320+00:00","Level":"Information","Data":{"EventId":2979254665},"Message":"Event handling in process for message ID 1830834f5d2c3000"}

{"Timestamp":"2026-08-20T04:39:41.2608522+00:00","Level":"Information","Data":{"EventId":3771863083},"Message":"Sending message ID 1830834f5d2c3000 to DLQ"}

{"Timestamp":"2026-08-20T04:39:41.2612673+00:00","Level":"Information","Data":{"EventId":1585929112},"Message":"Dead letter envelope for DLQ message: {\"SourceTopic\":\"stg.notification.orchestrator\",\"SourceChannel\":\"notification-orchestrator\",\"FailedAtUtc\":\"2026-08-20T04:39:41.2609276Z\",\"Attempts\":1,\"ErrorType\":\"OQSHA.Notification.Orchestrator.Exceptions.PermanentOrchestratorException\",\"ErrorMessage\":\"Safety alert ID 1195 not found for message ID 1830834f5d2c3000\",\"StackTrace\":\"   at OQSHA.Notification.Orchestrator.NotificationHandlers.SafetyAlertsNotificationHandler.FetchAlertAsync(String messageId, Int32 orgId, Int32 alertId) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\NotificationHandlers\\\\SafetyAlertsNotificationHandler.cs:line 249\\r\\n   at OQSHA.Notification.Orchestrator.NotificationHandlers.SafetyAlertsNotificationHandler.HandleTemplateBasedAlertNotificationAsync(String messageId, NotificationEventDto request) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\NotificationHandlers\\\\SafetyAlertsNotificationHandler.cs:line 87\\r\\n   at OQSHA.Notification.Orchestrator.NotificationHandlers.SafetyAlertsNotificationHandler.ProcessEventAsync(String messageId, NotificationEventDto request) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\NotificationHandlers\\\\SafetyAlertsNotificationHandler.cs:line 45\\r\\n   at OQSHA.Notification.Orchestrator.Routing.EventRouter.ExecuteAsync(String messageId, NotificationEventDto request) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\Routing\\\\EventRouter.cs:line 38\\r\\n   at OQSHA.Notification.Orchestrator.Worker.OrchestratorMessageHandler.HandleMessage(IMessage message) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\Worker\\\\OrchestratorMessageHandler.cs:line 44\",\"OriginalBody\":\"{\\\"TemplateId\\\":24,\\\"EntityType\\\":\\\"safety_alerts\\\",\\\"EventType\\\":null,\\\"NotifyRoleId\\\":489,\\\"NotifyUserId\\\":null,\\\"NotifyDynamicActor\\\":null,\\\"EntityContext\\\":{\\\"Parameters\\\":{\\\"alertId\\\":\\\"1195\\\",\\\"orgId\\\":\\\"262\\\",\\\"alertLink\\\":\\\"https://sandbox.oqsha.com/#/safety-alerts-v2/edit-safety-alert-v2/1195\\\",\\\"EmailFooter\\\":\\\"OQSHA Team\\\",\\\"UserName\\\":\\\"Hebert Eaton\\\",\\\"description\\\":\\\"\\\"}},\\\"ActorContext\\\":null,\\\"Metadata\\\":null}\"}"}

{"Timestamp":"2026-08-20T04:39:41.2622161+00:00","Level":"Information","Data":{"EventId":671640496},"Message":"Sent message ID 1830834f5d2c3000 to DLQ"}

{"Timestamp":"2026-08-20T04:39:41.2625046+00:00","Level":"Information","Data":{"EventId":1208809943},"Message":"Notification event with message ID 183083500fac3000 received: {\"TemplateId\":1,\"EntityType\":\"safety_alerts\",\"EventType\":null,\"NotifyRoleId\":489,\"NotifyUserId\":null,\"NotifyDynamicActor\":null,\"EntityContext\":{\"Parameters\":{\"alertId\":\"1196\",\"orgId\":\"262\",\"alertLink\":\"https://sandbox.oqsha.com/#/safety-alerts-v2/edit-safety-alert-v2/1196\",\"EmailFooter\":\"OQSHA Team\",\"UserName\":\"Hebert Eaton\",\"description\":\"\"}},\"ActorContext\":null,\"Metadata\":null}"}

{"Timestamp":"2026-08-20T04:39:41.2775419+00:00","Level":"Information","Data":{"EventId":1749156397},"Message":"Started processing notification for message ID 183083500fac3000"}

{"Timestamp":"2026-08-20T04:39:41.2776258+00:00","Level":"Information","Data":{"EventId":3276419336},"Message":"Looking up the notification handler for message ID 183083500fac3000"}

{"Timestamp":"2026-08-20T04:39:41.2776475+00:00","Level":"Information","Data":{"EventId":3289298852},"Message":"Event handling in process for message ID 183083500fac3000"}

{"Timestamp":"2026-08-20T04:39:41.3228823+00:00","Level":"Information","Data":{"EventId":3973516491},"Message":"Sending message ID 183083500fac3000 to DLQ"}

{"Timestamp":"2026-08-20T04:39:41.3232658+00:00","Level":"Information","Data":{"EventId":2501855874},"Message":"Dead letter envelope for DLQ message: {\"SourceTopic\":\"stg.notification.orchestrator\",\"SourceChannel\":\"notification-orchestrator\",\"FailedAtUtc\":\"2026-08-20T04:39:41.3229977Z\",\"Attempts\":1,\"ErrorType\":\"OQSHA.Notification.Orchestrator.Exceptions.PermanentOrchestratorException\",\"ErrorMessage\":\"Safety alert ID 1196 not found for message ID 183083500fac3000\",\"StackTrace\":\"   at OQSHA.Notification.Orchestrator.NotificationHandlers.SafetyAlertsNotificationHandler.FetchAlertAsync(String messageId, Int32 orgId, Int32 alertId) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\NotificationHandlers\\\\SafetyAlertsNotificationHandler.cs:line 249\\r\\n   at OQSHA.Notification.Orchestrator.NotificationHandlers.SafetyAlertsNotificationHandler.HandleTemplateBasedAlertNotificationAsync(String messageId, NotificationEventDto request) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\NotificationHandlers\\\\SafetyAlertsNotificationHandler.cs:line 87\\r\\n   at OQSHA.Notification.Orchestrator.NotificationHandlers.SafetyAlertsNotificationHandler.ProcessEventAsync(String messageId, NotificationEventDto request) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\NotificationHandlers\\\\SafetyAlertsNotificationHandler.cs:line 45\\r\\n   at OQSHA.Notification.Orchestrator.Routing.EventRouter.ExecuteAsync(String messageId, NotificationEventDto request) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\Routing\\\\EventRouter.cs:line 38\\r\\n   at OQSHA.Notification.Orchestrator.Worker.OrchestratorMessageHandler.HandleMessage(IMessage message) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\Worker\\\\OrchestratorMessageHandler.cs:line 44\",\"OriginalBody\":\"{\\\"TemplateId\\\":1,\\\"EntityType\\\":\\\"safety_alerts\\\",\\\"EventType\\\":null,\\\"NotifyRoleId\\\":489,\\\"NotifyUserId\\\":null,\\\"NotifyDynamicActor\\\":null,\\\"EntityContext\\\":{\\\"Parameters\\\":{\\\"alertId\\\":\\\"1196\\\",\\\"orgId\\\":\\\"262\\\",\\\"alertLink\\\":\\\"https://sandbox.oqsha.com/#/safety-alerts-v2/edit-safety-alert-v2/1196\\\",\\\"EmailFooter\\\":\\\"OQSHA Team\\\",\\\"UserName\\\":\\\"Hebert Eaton\\\",\\\"description\\\":\\\"\\\"}},\\\"ActorContext\\\":null,\\\"Metadata\\\":null}\"}"}

{"Timestamp":"2026-08-20T04:39:41.3241914+00:00","Level":"Information","Data":{"EventId":1140785133},"Message":"Sent message ID 183083500fac3000 to DLQ"}

{"Timestamp":"2026-08-20T04:39:41.3245626+00:00","Level":"Information","Data":{"EventId":3638313410},"Message":"Notification event with message ID 18308350102c3000 received: {\"TemplateId\":24,\"EntityType\":\"safety_alerts\",\"EventType\":null,\"NotifyRoleId\":489,\"NotifyUserId\":null,\"NotifyDynamicActor\":null,\"EntityContext\":{\"Parameters\":{\"alertId\":\"1196\",\"orgId\":\"262\",\"alertLink\":\"https://sandbox.oqsha.com/#/safety-alerts-v2/edit-safety-alert-v2/1196\",\"EmailFooter\":\"OQSHA Team\",\"UserName\":\"Hebert Eaton\",\"description\":\"\"}},\"ActorContext\":null,\"Metadata\":null}"}

{"Timestamp":"2026-08-20T04:39:41.3275212+00:00","Level":"Information","Data":{"EventId":1059194231},"Message":"Started processing notification for message ID 18308350102c3000"}

{"Timestamp":"2026-08-20T04:39:41.3275563+00:00","Level":"Information","Data":{"EventId":2732705818},"Message":"Looking up the notification handler for message ID 18308350102c3000"}

{"Timestamp":"2026-08-20T04:39:41.3275766+00:00","Level":"Information","Data":{"EventId":3874592847},"Message":"Event handling in process for message ID 18308350102c3000"}

{"Timestamp":"2026-08-20T04:39:41.3337847+00:00","Level":"Information","Data":{"EventId":649186792},"Message":"Sending message ID 18308350102c3000 to DLQ"}

{"Timestamp":"2026-08-20T04:39:41.3340179+00:00","Level":"Information","Data":{"EventId":203892774},"Message":"Dead letter envelope for DLQ message: {\"SourceTopic\":\"stg.notification.orchestrator\",\"SourceChannel\":\"notification-orchestrator\",\"FailedAtUtc\":\"2026-08-20T04:39:41.3338296Z\",\"Attempts\":1,\"ErrorType\":\"OQSHA.Notification.Orchestrator.Exceptions.PermanentOrchestratorException\",\"ErrorMessage\":\"Safety alert ID 1196 not found for message ID 18308350102c3000\",\"StackTrace\":\"   at OQSHA.Notification.Orchestrator.NotificationHandlers.SafetyAlertsNotificationHandler.FetchAlertAsync(String messageId, Int32 orgId, Int32 alertId) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\NotificationHandlers\\\\SafetyAlertsNotificationHandler.cs:line 249\\r\\n   at OQSHA.Notification.Orchestrator.NotificationHandlers.SafetyAlertsNotificationHandler.HandleTemplateBasedAlertNotificationAsync(String messageId, NotificationEventDto request) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\NotificationHandlers\\\\SafetyAlertsNotificationHandler.cs:line 87\\r\\n   at OQSHA.Notification.Orchestrator.NotificationHandlers.SafetyAlertsNotificationHandler.ProcessEventAsync(String messageId, NotificationEventDto request) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\NotificationHandlers\\\\SafetyAlertsNotificationHandler.cs:line 45\\r\\n   at OQSHA.Notification.Orchestrator.Routing.EventRouter.ExecuteAsync(String messageId, NotificationEventDto request) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\Routing\\\\EventRouter.cs:line 38\\r\\n   at OQSHA.Notification.Orchestrator.Worker.OrchestratorMessageHandler.HandleMessage(IMessage message) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\Worker\\\\OrchestratorMessageHandler.cs:line 44\",\"OriginalBody\":\"{\\\"TemplateId\\\":24,\\\"EntityType\\\":\\\"safety_alerts\\\",\\\"EventType\\\":null,\\\"NotifyRoleId\\\":489,\\\"NotifyUserId\\\":null,\\\"NotifyDynamicActor\\\":null,\\\"EntityContext\\\":{\\\"Parameters\\\":{\\\"alertId\\\":\\\"1196\\\",\\\"orgId\\\":\\\"262\\\",\\\"alertLink\\\":\\\"https://sandbox.oqsha.com/#/safety-alerts-v2/edit-safety-alert-v2/1196\\\",\\\"EmailFooter\\\":\\\"OQSHA Team\\\",\\\"UserName\\\":\\\"Hebert Eaton\\\",\\\"description\\\":\\\"\\\"}},\\\"ActorContext\\\":null,\\\"Metadata\\\":null}\"}"}

{"Timestamp":"2026-08-20T04:39:41.3349088+00:00","Level":"Information","Data":{"EventId":1278356933},"Message":"Sent message ID 18308350102c3000 to DLQ"}

{"Timestamp":"2026-08-20T05:22:03.8971900+00:00","Level":"Information","Data":{"EventId":2794849531},"Message":"Notification event with message ID 18308c9064ec3000 received: {\"TemplateId\":1,\"EntityType\":\"safety_alerts\",\"EventType\":null,\"NotifyRoleId\":489,\"NotifyUserId\":null,\"NotifyDynamicActor\":null,\"EntityContext\":{\"Parameters\":{\"alertId\":\"1197\",\"orgId\":\"262\",\"alertLink\":\"https://sandbox.oqsha.com/#/safety-alerts-v2/edit-safety-alert-v2/1197\",\"EmailFooter\":\"OQSHA Team\",\"UserName\":\"Hebert Eaton\",\"description\":\"\"}},\"ActorContext\":null,\"Metadata\":null}"}

{"Timestamp":"2026-08-20T05:22:03.8998397+00:00","Level":"Information","Data":{"EventId":1449516831},"Message":"Started processing notification for message ID 18308c9064ec3000"}

{"Timestamp":"2026-08-20T05:22:03.8999349+00:00","Level":"Information","Data":{"EventId":2086593425},"Message":"Looking up the notification handler for message ID 18308c9064ec3000"}

{"Timestamp":"2026-08-20T05:22:03.8999625+00:00","Level":"Information","Data":{"EventId":52894895},"Message":"Event handling in process for message ID 18308c9064ec3000"}

{"Timestamp":"2026-08-20T05:22:03.9069024+00:00","Level":"Information","Data":{"EventId":3609748670},"Message":"Sending message ID 18308c9064ec3000 to DLQ"}

{"Timestamp":"2026-08-20T05:22:03.9073031+00:00","Level":"Information","Data":{"EventId":2739291416},"Message":"Dead letter envelope for DLQ message: {\"SourceTopic\":\"stg.notification.orchestrator\",\"SourceChannel\":\"notification-orchestrator\",\"FailedAtUtc\":\"2026-08-20T05:22:03.9069928Z\",\"Attempts\":1,\"ErrorType\":\"OQSHA.Notification.Orchestrator.Exceptions.PermanentOrchestratorException\",\"ErrorMessage\":\"Safety alert ID 1197 not found for message ID 18308c9064ec3000\",\"StackTrace\":\"   at OQSHA.Notification.Orchestrator.NotificationHandlers.SafetyAlertsNotificationHandler.FetchAlertAsync(String messageId, Int32 orgId, Int32 alertId) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\NotificationHandlers\\\\SafetyAlertsNotificationHandler.cs:line 249\\r\\n   at OQSHA.Notification.Orchestrator.NotificationHandlers.SafetyAlertsNotificationHandler.HandleTemplateBasedAlertNotificationAsync(String messageId, NotificationEventDto request) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\NotificationHandlers\\\\SafetyAlertsNotificationHandler.cs:line 87\\r\\n   at OQSHA.Notification.Orchestrator.NotificationHandlers.SafetyAlertsNotificationHandler.ProcessEventAsync(String messageId, NotificationEventDto request) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\NotificationHandlers\\\\SafetyAlertsNotificationHandler.cs:line 45\\r\\n   at OQSHA.Notification.Orchestrator.Routing.EventRouter.ExecuteAsync(String messageId, NotificationEventDto request) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\Routing\\\\EventRouter.cs:line 38\\r\\n   at OQSHA.Notification.Orchestrator.Worker.OrchestratorMessageHandler.HandleMessage(IMessage message) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\Worker\\\\OrchestratorMessageHandler.cs:line 44\",\"OriginalBody\":\"{\\\"TemplateId\\\":1,\\\"EntityType\\\":\\\"safety_alerts\\\",\\\"EventType\\\":null,\\\"NotifyRoleId\\\":489,\\\"NotifyUserId\\\":null,\\\"NotifyDynamicActor\\\":null,\\\"EntityContext\\\":{\\\"Parameters\\\":{\\\"alertId\\\":\\\"1197\\\",\\\"orgId\\\":\\\"262\\\",\\\"alertLink\\\":\\\"https://sandbox.oqsha.com/#/safety-alerts-v2/edit-safety-alert-v2/1197\\\",\\\"EmailFooter\\\":\\\"OQSHA Team\\\",\\\"UserName\\\":\\\"Hebert Eaton\\\",\\\"description\\\":\\\"\\\"}},\\\"ActorContext\\\":null,\\\"Metadata\\\":null}\"}"}

{"Timestamp":"2026-08-20T05:22:03.9117349+00:00","Level":"Information","Data":{"EventId":151854694},"Message":"Sent message ID 18308c9064ec3000 to DLQ"}

{"Timestamp":"2026-08-20T05:22:03.9542132+00:00","Level":"Information","Data":{"EventId":3443689233},"Message":"Notification event with message ID 18308c90656c3000 received: {\"TemplateId\":24,\"EntityType\":\"safety_alerts\",\"EventType\":null,\"NotifyRoleId\":489,\"NotifyUserId\":null,\"NotifyDynamicActor\":null,\"EntityContext\":{\"Parameters\":{\"alertId\":\"1197\",\"orgId\":\"262\",\"alertLink\":\"https://sandbox.oqsha.com/#/safety-alerts-v2/edit-safety-alert-v2/1197\",\"EmailFooter\":\"OQSHA Team\",\"UserName\":\"Hebert Eaton\",\"description\":\"\"}},\"ActorContext\":null,\"Metadata\":null}"}

{"Timestamp":"2026-08-20T05:22:03.9562325+00:00","Level":"Information","Data":{"EventId":3725852354},"Message":"Started processing notification for message ID 18308c90656c3000"}

{"Timestamp":"2026-08-20T05:22:03.9562973+00:00","Level":"Information","Data":{"EventId":3966335928},"Message":"Looking up the notification handler for message ID 18308c90656c3000"}

{"Timestamp":"2026-08-20T05:22:03.9563174+00:00","Level":"Information","Data":{"EventId":1423164649},"Message":"Event handling in process for message ID 18308c90656c3000"}

{"Timestamp":"2026-08-20T05:22:03.9603640+00:00","Level":"Information","Data":{"EventId":3193827724},"Message":"Sending message ID 18308c90656c3000 to DLQ"}

{"Timestamp":"2026-08-20T05:22:03.9606655+00:00","Level":"Information","Data":{"EventId":4048252981},"Message":"Dead letter envelope for DLQ message: {\"SourceTopic\":\"stg.notification.orchestrator\",\"SourceChannel\":\"notification-orchestrator\",\"FailedAtUtc\":\"2026-08-20T05:22:03.9604299Z\",\"Attempts\":1,\"ErrorType\":\"OQSHA.Notification.Orchestrator.Exceptions.PermanentOrchestratorException\",\"ErrorMessage\":\"Safety alert ID 1197 not found for message ID 18308c90656c3000\",\"StackTrace\":\"   at OQSHA.Notification.Orchestrator.NotificationHandlers.SafetyAlertsNotificationHandler.FetchAlertAsync(String messageId, Int32 orgId, Int32 alertId) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\NotificationHandlers\\\\SafetyAlertsNotificationHandler.cs:line 249\\r\\n   at OQSHA.Notification.Orchestrator.NotificationHandlers.SafetyAlertsNotificationHandler.HandleTemplateBasedAlertNotificationAsync(String messageId, NotificationEventDto request) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\NotificationHandlers\\\\SafetyAlertsNotificationHandler.cs:line 87\\r\\n   at OQSHA.Notification.Orchestrator.NotificationHandlers.SafetyAlertsNotificationHandler.ProcessEventAsync(String messageId, NotificationEventDto request) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\NotificationHandlers\\\\SafetyAlertsNotificationHandler.cs:line 45\\r\\n   at OQSHA.Notification.Orchestrator.Routing.EventRouter.ExecuteAsync(String messageId, NotificationEventDto request) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\Routing\\\\EventRouter.cs:line 38\\r\\n   at OQSHA.Notification.Orchestrator.Worker.OrchestratorMessageHandler.HandleMessage(IMessage message) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\Worker\\\\OrchestratorMessageHandler.cs:line 44\",\"OriginalBody\":\"{\\\"TemplateId\\\":24,\\\"EntityType\\\":\\\"safety_alerts\\\",\\\"EventType\\\":null,\\\"NotifyRoleId\\\":489,\\\"NotifyUserId\\\":null,\\\"NotifyDynamicActor\\\":null,\\\"EntityContext\\\":{\\\"Parameters\\\":{\\\"alertId\\\":\\\"1197\\\",\\\"orgId\\\":\\\"262\\\",\\\"alertLink\\\":\\\"https://sandbox.oqsha.com/#/safety-alerts-v2/edit-safety-alert-v2/1197\\\",\\\"EmailFooter\\\":\\\"OQSHA Team\\\",\\\"UserName\\\":\\\"Hebert Eaton\\\",\\\"description\\\":\\\"\\\"}},\\\"ActorContext\\\":null,\\\"Metadata\\\":null}\"}"}

{"Timestamp":"2026-08-20T05:22:03.9610452+00:00","Level":"Information","Data":{"EventId":4022772357},"Message":"Sent message ID 18308c90656c3000 to DLQ"}

{"Timestamp":"2026-08-20T05:35:34.5130462+00:00","Level":"Information","Data":{"EventId":1688171461},"Message":"Notification event with message ID 18308f8356ec3000 received: {\"TemplateId\":18,\"EntityType\":\"work_permit_v2\",\"EventType\":null,\"NotifyRoleId\":null,\"NotifyUserId\":null,\"NotifyDynamicActor\":\"Work_Permit_Authorization_Department_Head\",\"EntityContext\":{\"Parameters\":{\"workPermitId\":\"543\",\"workPermitV2Id\":\"543\",\"orgId\":\"264\",\"viewLink\":\"http://localhost:4200/#/work-permit-v2/view-work-permit/264/543?dlType=viewWorkPermitV2\",\"workPermitLink\":\"http://localhost:4200/#/work-permit-v2/view-work-permit/264/543?dlType=viewWorkPermitV2\",\"emailFooter\":\"OQSHA Team\"}},\"ActorContext\":{\"Requestor\":[678],\"Work_Permit_Authorization_Department_Head\":[678],\"Work_Permit_Authorization_Area_Owner\":[4628],\"Work_Permit_Authorization_Plant_Head\":[678]},\"Metadata\":null}"}

{"Timestamp":"2026-08-20T05:35:34.5190320+00:00","Level":"Information","Data":{"EventId":3781701503},"Message":"Started processing notification for message ID 18308f8356ec3000"}

{"Timestamp":"2026-08-20T05:35:34.5190789+00:00","Level":"Information","Data":{"EventId":3482734552},"Message":"Looking up the notification handler for message ID 18308f8356ec3000"}

{"Timestamp":"2026-08-20T05:35:34.5192002+00:00","Level":"Information","Data":{"EventId":3927300431},"Message":"Event handling in process for message ID 18308f8356ec3000"}

{"Timestamp":"2026-08-20T05:35:34.6522128+00:00","Level":"Information","Data":{"EventId":3898996159},"Message":"Dispatching the notifications for message ID 18308f8356ec3000"}

{"Timestamp":"2026-08-20T05:35:34.6690110+00:00","Level":"Information","Data":{"EventId":1326182496},"Message":"Successfully processed notification for message ID 18308f8356ec3000"}

{"Timestamp":"2026-08-20T05:35:34.6790637+00:00","Level":"Information","Data":{"EventId":2550971043},"Message":"Notification event with message ID 18308f83572c3000 received: {\"TemplateId\":19,\"EntityType\":\"work_permit_v2\",\"EventType\":null,\"NotifyRoleId\":null,\"NotifyUserId\":null,\"NotifyDynamicActor\":\"Work_Permit_Authorization_Department_Head\",\"EntityContext\":{\"Parameters\":{\"workPermitId\":\"543\",\"workPermitV2Id\":\"543\",\"orgId\":\"264\",\"viewLink\":\"http://localhost:4200/#/work-permit-v2/view-work-permit/264/543?dlType=viewWorkPermitV2\",\"workPermitLink\":\"http://localhost:4200/#/work-permit-v2/view-work-permit/264/543?dlType=viewWorkPermitV2\",\"emailFooter\":\"OQSHA Team\"}},\"ActorContext\":{\"Requestor\":[678],\"Work_Permit_Authorization_Department_Head\":[678],\"Work_Permit_Authorization_Area_Owner\":[4628],\"Work_Permit_Authorization_Plant_Head\":[678]},\"Metadata\":null}"}

{"Timestamp":"2026-08-20T05:35:34.6816594+00:00","Level":"Information","Data":{"EventId":3365144461},"Message":"Started processing notification for message ID 18308f83572c3000"}

{"Timestamp":"2026-08-20T05:35:34.6817016+00:00","Level":"Information","Data":{"EventId":641558864},"Message":"Looking up the notification handler for message ID 18308f83572c3000"}

{"Timestamp":"2026-08-20T05:35:34.6817581+00:00","Level":"Information","Data":{"EventId":4213910821},"Message":"Event handling in process for message ID 18308f83572c3000"}

{"Timestamp":"2026-08-20T05:35:34.6914245+00:00","Level":"Information","Data":{"EventId":1266783037},"Message":"Dispatching the notifications for message ID 18308f83572c3000"}

{"Timestamp":"2026-08-20T05:35:34.6920752+00:00","Level":"Information","Data":{"EventId":87318229},"Message":"Successfully processed notification for message ID 18308f83572c3000"}

{"Timestamp":"2026-08-20T05:35:56.9254482+00:00","Level":"Information","Data":{"EventId":2565486891},"Message":"Notification event with message ID 18308f98366c3000 received: {\"TemplateId\":18,\"EntityType\":\"work_permit_v2\",\"EventType\":null,\"NotifyRoleId\":null,\"NotifyUserId\":null,\"NotifyDynamicActor\":\"Work_Permit_Authorization_Area_Owner\",\"EntityContext\":{\"Parameters\":{\"workPermitId\":\"543\",\"workPermitV2Id\":\"543\",\"orgId\":\"264\",\"viewLink\":\"http://localhost:4200/#/work-permit-v2/view-work-permit/264/543?dlType=viewWorkPermitV2\",\"workPermitLink\":\"http://localhost:4200/#/work-permit-v2/view-work-permit/264/543?dlType=viewWorkPermitV2\",\"emailFooter\":\"OQSHA Team\"}},\"ActorContext\":{\"Requestor\":[678],\"Work_Permit_Authorization_Department_Head\":[678],\"Work_Permit_Authorization_Area_Owner\":[4628],\"Work_Permit_Authorization_Plant_Head\":[678]},\"Metadata\":null}"}

{"Timestamp":"2026-08-20T05:35:56.9277210+00:00","Level":"Information","Data":{"EventId":1086756980},"Message":"Started processing notification for message ID 18308f98366c3000"}

{"Timestamp":"2026-08-20T05:35:56.9277706+00:00","Level":"Information","Data":{"EventId":3548929394},"Message":"Looking up the notification handler for message ID 18308f98366c3000"}

{"Timestamp":"2026-08-20T05:35:56.9278567+00:00","Level":"Information","Data":{"EventId":2376457286},"Message":"Event handling in process for message ID 18308f98366c3000"}

{"Timestamp":"2026-08-20T05:35:56.9352313+00:00","Level":"Information","Data":{"EventId":2829803159},"Message":"Dispatching the notifications for message ID 18308f98366c3000"}

{"Timestamp":"2026-08-20T05:35:56.9359070+00:00","Level":"Information","Data":{"EventId":1199296584},"Message":"Successfully processed notification for message ID 18308f98366c3000"}

{"Timestamp":"2026-08-20T05:35:56.9362196+00:00","Level":"Information","Data":{"EventId":801751226},"Message":"Notification event with message ID 18308f98372c3000 received: {\"TemplateId\":19,\"EntityType\":\"work_permit_v2\",\"EventType\":null,\"NotifyRoleId\":null,\"NotifyUserId\":null,\"NotifyDynamicActor\":\"Work_Permit_Authorization_Area_Owner\",\"EntityContext\":{\"Parameters\":{\"workPermitId\":\"543\",\"workPermitV2Id\":\"543\",\"orgId\":\"264\",\"viewLink\":\"http://localhost:4200/#/work-permit-v2/view-work-permit/264/543?dlType=viewWorkPermitV2\",\"workPermitLink\":\"http://localhost:4200/#/work-permit-v2/view-work-permit/264/543?dlType=viewWorkPermitV2\",\"emailFooter\":\"OQSHA Team\"}},\"ActorContext\":{\"Requestor\":[678],\"Work_Permit_Authorization_Department_Head\":[678],\"Work_Permit_Authorization_Area_Owner\":[4628],\"Work_Permit_Authorization_Plant_Head\":[678]},\"Metadata\":null}"}

{"Timestamp":"2026-08-20T05:35:56.9385080+00:00","Level":"Information","Data":{"EventId":1548353017},"Message":"Started processing notification for message ID 18308f98372c3000"}

{"Timestamp":"2026-08-20T05:35:56.9385293+00:00","Level":"Information","Data":{"EventId":3666052171},"Message":"Looking up the notification handler for message ID 18308f98372c3000"}

{"Timestamp":"2026-08-20T05:35:56.9385404+00:00","Level":"Information","Data":{"EventId":3308454123},"Message":"Event handling in process for message ID 18308f98372c3000"}

{"Timestamp":"2026-08-20T05:35:56.9441225+00:00","Level":"Information","Data":{"EventId":782873347},"Message":"Dispatching the notifications for message ID 18308f98372c3000"}

{"Timestamp":"2026-08-20T05:35:56.9447483+00:00","Level":"Information","Data":{"EventId":3149697634},"Message":"Successfully processed notification for message ID 18308f98372c3000"}

{"Timestamp":"2026-08-20T06:27:14.9611403+00:00","Level":"Information","Data":{"EventId":2843884030},"Message":"Notification event with message ID 18309acadb6c3000 received: {\"TemplateId\":18,\"EntityType\":\"work_permit_v2\",\"EventType\":null,\"NotifyRoleId\":null,\"NotifyUserId\":null,\"NotifyDynamicActor\":\"Work_Permit_Authorization_Department_Head\",\"EntityContext\":{\"Parameters\":{\"workPermitId\":\"571\",\"workPermitV2Id\":\"571\",\"orgId\":\"264\",\"viewLink\":\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/264/571?dlType=viewWorkPermitV2\",\"workPermitLink\":\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/264/571?dlType=viewWorkPermitV2\",\"emailFooter\":\"OQSHA Team\"}},\"ActorContext\":{\"Requestor\":[678],\"Work_Permit_Authorization_Department_Head\":[678],\"Work_Permit_Authorization_Area_Owner\":[678],\"Work_Permit_Authorization_Plant_Head\":[678]},\"Metadata\":null}"}

{"Timestamp":"2026-08-20T06:27:14.9637918+00:00","Level":"Information","Data":{"EventId":2711778154},"Message":"Started processing notification for message ID 18309acadb6c3000"}

{"Timestamp":"2026-08-20T06:27:14.9638372+00:00","Level":"Information","Data":{"EventId":3826777966},"Message":"Looking up the notification handler for message ID 18309acadb6c3000"}

{"Timestamp":"2026-08-20T06:27:14.9638567+00:00","Level":"Information","Data":{"EventId":276079642},"Message":"Event handling in process for message ID 18309acadb6c3000"}

{"Timestamp":"2026-08-20T06:27:14.9682168+00:00","Level":"Information","Data":{"EventId":958652310},"Message":"Sending message ID 18309acadb6c3000 to DLQ"}

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

{"Timestamp":"2026-08-20T06:27:14.9695213+00:00","Level":"Information","Data":{"EventId":65050018},"Message":"Sent message ID 18309acadb6c3000 to DLQ"}

{"Timestamp":"2026-08-20T06:27:15.1478460+00:00","Level":"Information","Data":{"EventId":2449266711},"Message":"Notification event with message ID 18309acadbac3000 received: {\"TemplateId\":19,\"EntityType\":\"work_permit_v2\",\"EventType\":null,\"NotifyRoleId\":null,\"NotifyUserId\":null,\"NotifyDynamicActor\":\"Work_Permit_Authorization_Department_Head\",\"EntityContext\":{\"Parameters\":{\"workPermitId\":\"571\",\"workPermitV2Id\":\"571\",\"orgId\":\"264\",\"viewLink\":\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/264/571?dlType=viewWorkPermitV2\",\"workPermitLink\":\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/264/571?dlType=viewWorkPermitV2\",\"emailFooter\":\"OQSHA Team\"}},\"ActorContext\":{\"Requestor\":[678],\"Work_Permit_Authorization_Department_Head\":[678],\"Work_Permit_Authorization_Area_Owner\":[678],\"Work_Permit_Authorization_Plant_Head\":[678]},\"Metadata\":null}"}

{"Timestamp":"2026-08-20T06:27:15.1525471+00:00","Level":"Information","Data":{"EventId":4241130706},"Message":"Started processing notification for message ID 18309acadbac3000"}

{"Timestamp":"2026-08-20T06:27:15.1527241+00:00","Level":"Information","Data":{"EventId":2502064768},"Message":"Looking up the notification handler for message ID 18309acadbac3000"}

{"Timestamp":"2026-08-20T06:27:15.1527897+00:00","Level":"Information","Data":{"EventId":3398661505},"Message":"Event handling in process for message ID 18309acadbac3000"}

{"Timestamp":"2026-08-20T06:27:15.1579342+00:00","Level":"Information","Data":{"EventId":3138684358},"Message":"Sending message ID 18309acadbac3000 to DLQ"}

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

{"Timestamp":"2026-08-20T06:27:15.1600551+00:00","Level":"Information","Data":{"EventId":2197964371},"Message":"Sent message ID 18309acadbac3000 to DLQ"}

{"Timestamp":"2026-08-20T06:27:27.9540097+00:00","Level":"Information","Data":{"EventId":1322443934},"Message":"Notification event with message ID 18309ad6f4ac3000 received: {\"TemplateId\":18,\"EntityType\":\"work_permit_v2\",\"EventType\":null,\"NotifyRoleId\":null,\"NotifyUserId\":null,\"NotifyDynamicActor\":\"Work_Permit_Authorization_Area_Owner\",\"EntityContext\":{\"Parameters\":{\"workPermitId\":\"571\",\"workPermitV2Id\":\"571\",\"orgId\":\"264\",\"viewLink\":\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/264/571?dlType=viewWorkPermitV2\",\"workPermitLink\":\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/264/571?dlType=viewWorkPermitV2\",\"emailFooter\":\"OQSHA Team\"}},\"ActorContext\":{\"Requestor\":[678],\"Work_Permit_Authorization_Department_Head\":[678],\"Work_Permit_Authorization_Area_Owner\":[678],\"Work_Permit_Authorization_Plant_Head\":[678]},\"Metadata\":null}"}

{"Timestamp":"2026-08-20T06:27:27.9566918+00:00","Level":"Information","Data":{"EventId":2054210272},"Message":"Started processing notification for message ID 18309ad6f4ac3000"}

{"Timestamp":"2026-08-20T06:27:27.9567173+00:00","Level":"Information","Data":{"EventId":1777569803},"Message":"Looking up the notification handler for message ID 18309ad6f4ac3000"}

{"Timestamp":"2026-08-20T06:27:27.9567286+00:00","Level":"Information","Data":{"EventId":2963766819},"Message":"Event handling in process for message ID 18309ad6f4ac3000"}

{"Timestamp":"2026-08-20T06:27:27.9597775+00:00","Level":"Information","Data":{"EventId":3978094143},"Message":"Sending message ID 18309ad6f4ac3000 to DLQ"}

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

{"Timestamp":"2026-08-20T06:27:27.9606927+00:00","Level":"Information","Data":{"EventId":3519671362},"Message":"Sent message ID 18309ad6f4ac3000 to DLQ"}

{"Timestamp":"2026-08-20T06:27:28.1323303+00:00","Level":"Information","Data":{"EventId":2680518415},"Message":"Notification event with message ID 18309ad6f4ac3001 received: {\"TemplateId\":19,\"EntityType\":\"work_permit_v2\",\"EventType\":null,\"NotifyRoleId\":null,\"NotifyUserId\":null,\"NotifyDynamicActor\":\"Work_Permit_Authorization_Area_Owner\",\"EntityContext\":{\"Parameters\":{\"workPermitId\":\"571\",\"workPermitV2Id\":\"571\",\"orgId\":\"264\",\"viewLink\":\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/264/571?dlType=viewWorkPermitV2\",\"workPermitLink\":\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/264/571?dlType=viewWorkPermitV2\",\"emailFooter\":\"OQSHA Team\"}},\"ActorContext\":{\"Requestor\":[678],\"Work_Permit_Authorization_Department_Head\":[678],\"Work_Permit_Authorization_Area_Owner\":[678],\"Work_Permit_Authorization_Plant_Head\":[678]},\"Metadata\":null}"}

{"Timestamp":"2026-08-20T06:27:28.1369047+00:00","Level":"Information","Data":{"EventId":2320523931},"Message":"Started processing notification for message ID 18309ad6f4ac3001"}

{"Timestamp":"2026-08-20T06:27:28.1370057+00:00","Level":"Information","Data":{"EventId":2612360078},"Message":"Looking up the notification handler for message ID 18309ad6f4ac3001"}

{"Timestamp":"2026-08-20T06:27:28.1370473+00:00","Level":"Information","Data":{"EventId":1540084845},"Message":"Event handling in process for message ID 18309ad6f4ac3001"}

{"Timestamp":"2026-08-20T06:27:28.1426342+00:00","Level":"Information","Data":{"EventId":3988265373},"Message":"Sending message ID 18309ad6f4ac3001 to DLQ"}

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

{"Timestamp":"2026-08-20T06:27:28.1451820+00:00","Level":"Information","Data":{"EventId":3684538551},"Message":"Sent message ID 18309ad6f4ac3001 to DLQ"}

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

{"Timestamp":"2026-08-20T06:33:48.2930400+00:00","Level":"Information","Data":{"EventId":1839746717},"Message":"Started processing notification for message ID 18309c3929ac3000"}

{"Timestamp":"2026-08-20T06:33:48.2930678+00:00","Level":"Information","Data":{"EventId":2823964833},"Message":"Looking up the notification handler for message ID 18309c3929ac3000"}

{"Timestamp":"2026-08-20T06:33:48.2931570+00:00","Level":"Information","Data":{"EventId":1573513197},"Message":"Event handling in process for message ID 18309c3929ac3000"}

{"Timestamp":"2026-08-20T06:33:48.2963785+00:00","Level":"Information","Data":{"EventId":671462548},"Message":"Sending message ID 18309c3929ac3000 to DLQ"}

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

{"Timestamp":"2026-08-20T06:33:48.2969639+00:00","Level":"Information","Data":{"EventId":334760706},"Message":"Sent message ID 18309c3929ac3000 to DLQ"}

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

{"Timestamp":"2026-08-20T06:33:48.3925908+00:00","Level":"Information","Data":{"EventId":82557575},"Message":"Started processing notification for message ID 18309c392d2c3000"}

{"Timestamp":"2026-08-20T06:33:48.3926928+00:00","Level":"Information","Data":{"EventId":3699022955},"Message":"Looking up the notification handler for message ID 18309c392d2c3000"}

{"Timestamp":"2026-08-20T06:33:48.3927441+00:00","Level":"Information","Data":{"EventId":3382316722},"Message":"Event handling in process for message ID 18309c392d2c3000"}

{"Timestamp":"2026-08-20T06:33:48.3984155+00:00","Level":"Information","Data":{"EventId":669371},"Message":"Sending message ID 18309c392d2c3000 to DLQ"}

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

{"Timestamp":"2026-08-20T06:33:48.4004522+00:00","Level":"Information","Data":{"EventId":346467026},"Message":"Sent message ID 18309c392d2c3000 to DLQ"}

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

{"Timestamp":"2026-08-20T06:34:05.3936314+00:00","Level":"Information","Data":{"EventId":2271282743},"Message":"Started processing notification for message ID 18309c49196c3000"}

{"Timestamp":"2026-08-20T06:34:05.3936594+00:00","Level":"Information","Data":{"EventId":1354813620},"Message":"Looking up the notification handler for message ID 18309c49196c3000"}

{"Timestamp":"2026-08-20T06:34:05.3936731+00:00","Level":"Information","Data":{"EventId":2611633788},"Message":"Event handling in process for message ID 18309c49196c3000"}

{"Timestamp":"2026-08-20T06:34:05.3954782+00:00","Level":"Information","Data":{"EventId":4220072472},"Message":"Sending message ID 18309c49196c3000 to DLQ"}

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

{"Timestamp":"2026-08-20T06:34:05.3960974+00:00","Level":"Information","Data":{"EventId":2159758165},"Message":"Sent message ID 18309c49196c3000 to DLQ"}

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

{"Timestamp":"2026-08-20T06:34:05.6321018+00:00","Level":"Information","Data":{"EventId":2175047771},"Message":"Started processing notification for message ID 18309c4919ec3000"}

{"Timestamp":"2026-08-20T06:34:05.6321530+00:00","Level":"Information","Data":{"EventId":4045408652},"Message":"Looking up the notification handler for message ID 18309c4919ec3000"}

{"Timestamp":"2026-08-20T06:34:05.6321735+00:00","Level":"Information","Data":{"EventId":1579557216},"Message":"Event handling in process for message ID 18309c4919ec3000"}

{"Timestamp":"2026-08-20T06:34:05.6345586+00:00","Level":"Information","Data":{"EventId":2365149993},"Message":"Sending message ID 18309c4919ec3000 to DLQ"}

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

{"Timestamp":"2026-08-20T06:34:05.6351931+00:00","Level":"Information","Data":{"EventId":3358668111},"Message":"Sent message ID 18309c4919ec3000 to DLQ"}

{"Timestamp":"2026-08-20T07:29:59.8017733+00:00","Level":"Information","Data":{"EventId":2289801516},"Message":"Notification event with message ID 1830a87d232c3000 received: {\"TemplateId\":1,\"EntityType\":\"safety_alerts\",\"EventType\":null,\"NotifyRoleId\":489,\"NotifyUserId\":null,\"NotifyDynamicActor\":null,\"EntityContext\":{\"Parameters\":{\"alertId\":\"1198\",\"orgId\":\"262\",\"alertLink\":\"https://sandbox.oqsha.com/#/safety-alerts-v2/edit-safety-alert-v2/1198\",\"EmailFooter\":\"OQSHA Team\",\"UserName\":\"Hebert Eaton\",\"description\":\"\"}},\"ActorContext\":null,\"Metadata\":null}"}

{"Timestamp":"2026-08-20T07:29:59.8039395+00:00","Level":"Information","Data":{"EventId":2699614674},"Message":"Started processing notification for message ID 1830a87d232c3000"}

{"Timestamp":"2026-08-20T07:29:59.8039772+00:00","Level":"Information","Data":{"EventId":2722350099},"Message":"Looking up the notification handler for message ID 1830a87d232c3000"}

{"Timestamp":"2026-08-20T07:29:59.8039935+00:00","Level":"Information","Data":{"EventId":4015922549},"Message":"Event handling in process for message ID 1830a87d232c3000"}

{"Timestamp":"2026-08-20T07:29:59.8091892+00:00","Level":"Information","Data":{"EventId":2656597720},"Message":"Sending message ID 1830a87d232c3000 to DLQ"}

{"Timestamp":"2026-08-20T07:29:59.8094242+00:00","Level":"Information","Data":{"EventId":2280923261},"Message":"Dead letter envelope for DLQ message: {\"SourceTopic\":\"stg.notification.orchestrator\",\"SourceChannel\":\"notification-orchestrator\",\"FailedAtUtc\":\"2026-08-20T07:29:59.809233Z\",\"Attempts\":1,\"ErrorType\":\"OQSHA.Notification.Orchestrator.Exceptions.PermanentOrchestratorException\",\"ErrorMessage\":\"Safety alert ID 1198 not found for message ID 1830a87d232c3000\",\"StackTrace\":\"   at OQSHA.Notification.Orchestrator.NotificationHandlers.SafetyAlertsNotificationHandler.FetchAlertAsync(String messageId, Int32 orgId, Int32 alertId) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\NotificationHandlers\\\\SafetyAlertsNotificationHandler.cs:line 249\\r\\n   at OQSHA.Notification.Orchestrator.NotificationHandlers.SafetyAlertsNotificationHandler.HandleTemplateBasedAlertNotificationAsync(String messageId, NotificationEventDto request) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\NotificationHandlers\\\\SafetyAlertsNotificationHandler.cs:line 87\\r\\n   at OQSHA.Notification.Orchestrator.NotificationHandlers.SafetyAlertsNotificationHandler.ProcessEventAsync(String messageId, NotificationEventDto request) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\NotificationHandlers\\\\SafetyAlertsNotificationHandler.cs:line 45\\r\\n   at OQSHA.Notification.Orchestrator.Routing.EventRouter.ExecuteAsync(String messageId, NotificationEventDto request) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\Routing\\\\EventRouter.cs:line 38\\r\\n   at OQSHA.Notification.Orchestrator.Worker.OrchestratorMessageHandler.HandleMessage(IMessage message) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\Worker\\\\OrchestratorMessageHandler.cs:line 44\",\"OriginalBody\":\"{\\\"TemplateId\\\":1,\\\"EntityType\\\":\\\"safety_alerts\\\",\\\"EventType\\\":null,\\\"NotifyRoleId\\\":489,\\\"NotifyUserId\\\":null,\\\"NotifyDynamicActor\\\":null,\\\"EntityContext\\\":{\\\"Parameters\\\":{\\\"alertId\\\":\\\"1198\\\",\\\"orgId\\\":\\\"262\\\",\\\"alertLink\\\":\\\"https://sandbox.oqsha.com/#/safety-alerts-v2/edit-safety-alert-v2/1198\\\",\\\"EmailFooter\\\":\\\"OQSHA Team\\\",\\\"UserName\\\":\\\"Hebert Eaton\\\",\\\"description\\\":\\\"\\\"}},\\\"ActorContext\\\":null,\\\"Metadata\\\":null}\"}"}

{"Timestamp":"2026-08-20T07:29:59.8097997+00:00","Level":"Information","Data":{"EventId":4188214477},"Message":"Sent message ID 1830a87d232c3000 to DLQ"}

{"Timestamp":"2026-08-20T07:29:59.8215871+00:00","Level":"Information","Data":{"EventId":1298295641},"Message":"Notification event with message ID 1830a87d236c3000 received: {\"TemplateId\":24,\"EntityType\":\"safety_alerts\",\"EventType\":null,\"NotifyRoleId\":489,\"NotifyUserId\":null,\"NotifyDynamicActor\":null,\"EntityContext\":{\"Parameters\":{\"alertId\":\"1198\",\"orgId\":\"262\",\"alertLink\":\"https://sandbox.oqsha.com/#/safety-alerts-v2/edit-safety-alert-v2/1198\",\"EmailFooter\":\"OQSHA Team\",\"UserName\":\"Hebert Eaton\",\"description\":\"\"}},\"ActorContext\":null,\"Metadata\":null}"}

{"Timestamp":"2026-08-20T07:29:59.8231878+00:00","Level":"Information","Data":{"EventId":61806973},"Message":"Started processing notification for message ID 1830a87d236c3000"}

{"Timestamp":"2026-08-20T07:29:59.8232177+00:00","Level":"Information","Data":{"EventId":724420555},"Message":"Looking up the notification handler for message ID 1830a87d236c3000"}

{"Timestamp":"2026-08-20T07:29:59.8232282+00:00","Level":"Information","Data":{"EventId":1656900165},"Message":"Event handling in process for message ID 1830a87d236c3000"}

{"Timestamp":"2026-08-20T07:29:59.8266075+00:00","Level":"Information","Data":{"EventId":3922980332},"Message":"Sending message ID 1830a87d236c3000 to DLQ"}

{"Timestamp":"2026-08-20T07:29:59.8267846+00:00","Level":"Information","Data":{"EventId":3329071915},"Message":"Dead letter envelope for DLQ message: {\"SourceTopic\":\"stg.notification.orchestrator\",\"SourceChannel\":\"notification-orchestrator\",\"FailedAtUtc\":\"2026-08-20T07:29:59.8266336Z\",\"Attempts\":1,\"ErrorType\":\"OQSHA.Notification.Orchestrator.Exceptions.PermanentOrchestratorException\",\"ErrorMessage\":\"Safety alert ID 1198 not found for message ID 1830a87d236c3000\",\"StackTrace\":\"   at OQSHA.Notification.Orchestrator.NotificationHandlers.SafetyAlertsNotificationHandler.FetchAlertAsync(String messageId, Int32 orgId, Int32 alertId) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\NotificationHandlers\\\\SafetyAlertsNotificationHandler.cs:line 249\\r\\n   at OQSHA.Notification.Orchestrator.NotificationHandlers.SafetyAlertsNotificationHandler.HandleTemplateBasedAlertNotificationAsync(String messageId, NotificationEventDto request) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\NotificationHandlers\\\\SafetyAlertsNotificationHandler.cs:line 87\\r\\n   at OQSHA.Notification.Orchestrator.NotificationHandlers.SafetyAlertsNotificationHandler.ProcessEventAsync(String messageId, NotificationEventDto request) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\NotificationHandlers\\\\SafetyAlertsNotificationHandler.cs:line 45\\r\\n   at OQSHA.Notification.Orchestrator.Routing.EventRouter.ExecuteAsync(String messageId, NotificationEventDto request) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\Routing\\\\EventRouter.cs:line 38\\r\\n   at OQSHA.Notification.Orchestrator.Worker.OrchestratorMessageHandler.HandleMessage(IMessage message) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\Worker\\\\OrchestratorMessageHandler.cs:line 44\",\"OriginalBody\":\"{\\\"TemplateId\\\":24,\\\"EntityType\\\":\\\"safety_alerts\\\",\\\"EventType\\\":null,\\\"NotifyRoleId\\\":489,\\\"NotifyUserId\\\":null,\\\"NotifyDynamicActor\\\":null,\\\"EntityContext\\\":{\\\"Parameters\\\":{\\\"alertId\\\":\\\"1198\\\",\\\"orgId\\\":\\\"262\\\",\\\"alertLink\\\":\\\"https://sandbox.oqsha.com/#/safety-alerts-v2/edit-safety-alert-v2/1198\\\",\\\"EmailFooter\\\":\\\"OQSHA Team\\\",\\\"UserName\\\":\\\"Hebert Eaton\\\",\\\"description\\\":\\\"\\\"}},\\\"ActorContext\\\":null,\\\"Metadata\\\":null}\"}"}

{"Timestamp":"2026-08-20T07:29:59.8271989+00:00","Level":"Information","Data":{"EventId":1300398346},"Message":"Sent message ID 1830a87d236c3000 to DLQ"}

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

{"Timestamp":"2026-08-20T07:37:50.4263695+00:00","Level":"Information","Data":{"EventId":2946001507},"Message":"Started processing notification for message ID 1830aa33706c3000"}

{"Timestamp":"2026-08-20T07:37:50.4264043+00:00","Level":"Information","Data":{"EventId":2136932843},"Message":"Looking up the notification handler for message ID 1830aa33706c3000"}

{"Timestamp":"2026-08-20T07:37:50.4264139+00:00","Level":"Information","Data":{"EventId":3283947459},"Message":"Event handling in process for message ID 1830aa33706c3000"}

{"Timestamp":"2026-08-20T07:37:50.4394722+00:00","Level":"Information","Data":{"EventId":3914039259},"Message":"Sending message ID 1830aa33706c3000 to DLQ"}

{"Timestamp":"2026-08-20T07:37:50.4396903+00:00","Level":"Information","Data":{"EventId":478405381},"Message":"Dead letter envelope for DLQ message: {\"SourceTopic\":\"stg.notification.orchestrator\",\"SourceChannel\":\"notification-orchestrator\",\"FailedAtUtc\":\"2026-08-20T07:37:50.4395119Z\",\"Attempts\":1,\"ErrorType\":\"OQSHA.Notification.Orchestrator.Exceptions.PermanentOrchestratorException\",\"ErrorMessage\":\"No recipient addresses found for message ID 1830aa33706c3000\",\"StackTrace\":\"   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 89\\r\\n   at OQSHA.Notification.Orchestrator.NotificationHandlers.InspectionV2NotificationHandler.ProcessEventAsync(String messageId, NotificationEventDto request) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\NotificationHandlers\\\\InspectionV2NotificationHandler.cs:line 56\\r\\n   at OQSHA.Notification.Orchestrator.Routing.EventRouter.ExecuteAsync(String messageId, NotificationEventDto request) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\Routing\\\\EventRouter.cs:line 38\\r\\n   at OQSHA.Notification.Orchestrator.Worker.OrchestratorMessageHandler.HandleMessage(IMessage message) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\Worker\\\\OrchestratorMessageHandler.cs:line 44\",\"OriginalBody\":\"{\\\"TemplateId\\\":26,\\\"EntityType\\\":\\\"inspection_v2\\\",\\\"EventType\\\":null,\\\"NotifyRoleId\\\":null,\\\"NotifyUserId\\\":267,\\\"NotifyDynamicActor\\\":null,\\\"EntityContext\\\":{\\\"Parameters\\\":{\\\"inspectionId\\\":\\\"2613\\\",\\\"orgId\\\":\\\"262\\\",\\\"inspectionLink\\\":\\\"https://sandbox.oqsha.com/#/inspection-v2/edit-inspection-v2/2613\\\",\\\"emailFooter\\\":\\\"OQSHA Team\\\",\\\"userName\\\":\\\"Hebert Eaton\\\"}},\\\"ActorContext\\\":{},\\\"Metadata\\\":null}\"}"}

{"Timestamp":"2026-08-20T07:37:50.4403950+00:00","Level":"Information","Data":{"EventId":2826149339},"Message":"Sent message ID 1830aa33706c3000 to DLQ"}

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

{"Timestamp":"2026-08-20T07:37:50.5702731+00:00","Level":"Information","Data":{"EventId":1651474770},"Message":"Started processing notification for message ID 1830aa33712c3000"}

{"Timestamp":"2026-08-20T07:37:50.5703042+00:00","Level":"Information","Data":{"EventId":390488403},"Message":"Looking up the notification handler for message ID 1830aa33712c3000"}

{"Timestamp":"2026-08-20T07:37:50.5703170+00:00","Level":"Information","Data":{"EventId":637050312},"Message":"Event handling in process for message ID 1830aa33712c3000"}

{"Timestamp":"2026-08-20T07:37:50.5745630+00:00","Level":"Information","Data":{"EventId":1221345453},"Message":"Sending message ID 1830aa33712c3000 to DLQ"}

{"Timestamp":"2026-08-20T07:37:50.5747267+00:00","Level":"Information","Data":{"EventId":658548735},"Message":"Dead letter envelope for DLQ message: {\"SourceTopic\":\"stg.notification.orchestrator\",\"SourceChannel\":\"notification-orchestrator\",\"FailedAtUtc\":\"2026-08-20T07:37:50.5745952Z\",\"Attempts\":1,\"ErrorType\":\"OQSHA.Notification.Orchestrator.Exceptions.PermanentOrchestratorException\",\"ErrorMessage\":\"No recipient addresses found for message ID 1830aa33712c3000\",\"StackTrace\":\"   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 89\\r\\n   at OQSHA.Notification.Orchestrator.NotificationHandlers.InspectionV2NotificationHandler.ProcessEventAsync(String messageId, NotificationEventDto request) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\NotificationHandlers\\\\InspectionV2NotificationHandler.cs:line 56\\r\\n   at OQSHA.Notification.Orchestrator.Routing.EventRouter.ExecuteAsync(String messageId, NotificationEventDto request) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\Routing\\\\EventRouter.cs:line 38\\r\\n   at OQSHA.Notification.Orchestrator.Worker.OrchestratorMessageHandler.HandleMessage(IMessage message) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\Worker\\\\OrchestratorMessageHandler.cs:line 44\",\"OriginalBody\":\"{\\\"TemplateId\\\":29,\\\"EntityType\\\":\\\"inspection_v2\\\",\\\"EventType\\\":null,\\\"NotifyRoleId\\\":null,\\\"NotifyUserId\\\":267,\\\"NotifyDynamicActor\\\":null,\\\"EntityContext\\\":{\\\"Parameters\\\":{\\\"inspectionId\\\":\\\"2613\\\",\\\"orgId\\\":\\\"262\\\",\\\"inspectionLink\\\":\\\"https://sandbox.oqsha.com/#/inspection-v2/edit-inspection-v2/2613\\\",\\\"emailFooter\\\":\\\"OQSHA Team\\\",\\\"userName\\\":\\\"Hebert Eaton\\\"}},\\\"ActorContext\\\":{},\\\"Metadata\\\":null}\"}"}

{"Timestamp":"2026-08-20T07:37:50.5758369+00:00","Level":"Information","Data":{"EventId":891886068},"Message":"Sent message ID 1830aa33712c3000 to DLQ"}

{"Timestamp":"2026-08-20T09:25:36.9851456+00:00","Level":"Information","Data":{"EventId":364431560},"Message":"Notification event with message ID 1830c1b9e4ac3000 received: {\"TemplateId\":18,\"EntityType\":\"work_permit_v2\",\"EventType\":null,\"NotifyRoleId\":null,\"NotifyUserId\":null,\"NotifyDynamicActor\":\"Work_Permit_Authorization_Department_Head\",\"EntityContext\":{\"Parameters\":{\"workPermitId\":\"573\",\"workPermitV2Id\":\"573\",\"orgId\":\"264\",\"viewLink\":\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/264/573?dlType=viewWorkPermitV2\",\"workPermitLink\":\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/264/573?dlType=viewWorkPermitV2\",\"emailFooter\":\"OQSHA Team\"}},\"ActorContext\":{\"Requestor\":[678],\"Work_Permit_Authorization_Department_Head\":[14788],\"Work_Permit_Authorization_Area_Owner\":[14788],\"Work_Permit_Authorization_Plant_Head\":[14788]},\"Metadata\":null}"}

{"Timestamp":"2026-08-20T09:25:36.9865700+00:00","Level":"Information","Data":{"EventId":3702277670},"Message":"Started processing notification for message ID 1830c1b9e4ac3000"}

{"Timestamp":"2026-08-20T09:25:36.9865993+00:00","Level":"Information","Data":{"EventId":2372134254},"Message":"Looking up the notification handler for message ID 1830c1b9e4ac3000"}

{"Timestamp":"2026-08-20T09:25:36.9866131+00:00","Level":"Information","Data":{"EventId":2193804624},"Message":"Event handling in process for message ID 1830c1b9e4ac3000"}

{"Timestamp":"2026-08-20T09:25:36.9896616+00:00","Level":"Information","Data":{"EventId":185535930},"Message":"Sending message ID 1830c1b9e4ac3000 to DLQ"}

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

{"Timestamp":"2026-08-20T09:25:36.9903944+00:00","Level":"Information","Data":{"EventId":4226187409},"Message":"Sent message ID 1830c1b9e4ac3000 to DLQ"}

{"Timestamp":"2026-08-20T09:25:37.2208496+00:00","Level":"Information","Data":{"EventId":3414411373},"Message":"Notification event with message ID 1830c1b9e52c3000 received: {\"TemplateId\":19,\"EntityType\":\"work_permit_v2\",\"EventType\":null,\"NotifyRoleId\":null,\"NotifyUserId\":null,\"NotifyDynamicActor\":\"Work_Permit_Authorization_Department_Head\",\"EntityContext\":{\"Parameters\":{\"workPermitId\":\"573\",\"workPermitV2Id\":\"573\",\"orgId\":\"264\",\"viewLink\":\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/264/573?dlType=viewWorkPermitV2\",\"workPermitLink\":\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/264/573?dlType=viewWorkPermitV2\",\"emailFooter\":\"OQSHA Team\"}},\"ActorContext\":{\"Requestor\":[678],\"Work_Permit_Authorization_Department_Head\":[14788],\"Work_Permit_Authorization_Area_Owner\":[14788],\"Work_Permit_Authorization_Plant_Head\":[14788]},\"Metadata\":null}"}

{"Timestamp":"2026-08-20T09:25:37.2256421+00:00","Level":"Information","Data":{"EventId":2797084860},"Message":"Started processing notification for message ID 1830c1b9e52c3000"}

{"Timestamp":"2026-08-20T09:25:37.2257661+00:00","Level":"Information","Data":{"EventId":345782057},"Message":"Looking up the notification handler for message ID 1830c1b9e52c3000"}

{"Timestamp":"2026-08-20T09:25:37.2258038+00:00","Level":"Information","Data":{"EventId":2028039314},"Message":"Event handling in process for message ID 1830c1b9e52c3000"}

{"Timestamp":"2026-08-20T09:25:37.2315632+00:00","Level":"Information","Data":{"EventId":1341623447},"Message":"Sending message ID 1830c1b9e52c3000 to DLQ"}

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

{"Timestamp":"2026-08-20T09:25:37.2340553+00:00","Level":"Information","Data":{"EventId":2707631568},"Message":"Sent message ID 1830c1b9e52c3000 to DLQ"}

{"Timestamp":"2026-08-20T09:34:40.4663275+00:00","Level":"Information","Data":{"EventId":1617683698},"Message":"Notification event with message ID 1830c3b40cac3000 received: {\"TemplateId\":1,\"EntityType\":\"safety_alerts\",\"EventType\":null,\"NotifyRoleId\":489,\"NotifyUserId\":null,\"NotifyDynamicActor\":null,\"EntityContext\":{\"Parameters\":{\"alertId\":\"1199\",\"orgId\":\"262\",\"alertLink\":\"https://sandbox.oqsha.com/#/safety-alerts-v2/edit-safety-alert-v2/1199\",\"EmailFooter\":\"OQSHA Team\",\"UserName\":\"Hebert Eaton\",\"description\":\"Test\"}},\"ActorContext\":null,\"Metadata\":null}"}

{"Timestamp":"2026-08-20T09:34:40.4687054+00:00","Level":"Information","Data":{"EventId":2174778457},"Message":"Started processing notification for message ID 1830c3b40cac3000"}

{"Timestamp":"2026-08-20T09:34:40.4687544+00:00","Level":"Information","Data":{"EventId":2342380639},"Message":"Looking up the notification handler for message ID 1830c3b40cac3000"}

{"Timestamp":"2026-08-20T09:34:40.4687708+00:00","Level":"Information","Data":{"EventId":807441366},"Message":"Event handling in process for message ID 1830c3b40cac3000"}

{"Timestamp":"2026-08-20T09:34:40.4763971+00:00","Level":"Information","Data":{"EventId":617575972},"Message":"Sending message ID 1830c3b40cac3000 to DLQ"}

{"Timestamp":"2026-08-20T09:34:40.4766144+00:00","Level":"Information","Data":{"EventId":303703350},"Message":"Dead letter envelope for DLQ message: {\"SourceTopic\":\"stg.notification.orchestrator\",\"SourceChannel\":\"notification-orchestrator\",\"FailedAtUtc\":\"2026-08-20T09:34:40.4764488Z\",\"Attempts\":1,\"ErrorType\":\"OQSHA.Notification.Orchestrator.Exceptions.PermanentOrchestratorException\",\"ErrorMessage\":\"Safety alert ID 1199 not found for message ID 1830c3b40cac3000\",\"StackTrace\":\"   at OQSHA.Notification.Orchestrator.NotificationHandlers.SafetyAlertsNotificationHandler.FetchAlertAsync(String messageId, Int32 orgId, Int32 alertId) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\NotificationHandlers\\\\SafetyAlertsNotificationHandler.cs:line 249\\r\\n   at OQSHA.Notification.Orchestrator.NotificationHandlers.SafetyAlertsNotificationHandler.HandleTemplateBasedAlertNotificationAsync(String messageId, NotificationEventDto request) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\NotificationHandlers\\\\SafetyAlertsNotificationHandler.cs:line 87\\r\\n   at OQSHA.Notification.Orchestrator.NotificationHandlers.SafetyAlertsNotificationHandler.ProcessEventAsync(String messageId, NotificationEventDto request) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\NotificationHandlers\\\\SafetyAlertsNotificationHandler.cs:line 45\\r\\n   at OQSHA.Notification.Orchestrator.Routing.EventRouter.ExecuteAsync(String messageId, NotificationEventDto request) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\Routing\\\\EventRouter.cs:line 38\\r\\n   at OQSHA.Notification.Orchestrator.Worker.OrchestratorMessageHandler.HandleMessage(IMessage message) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\Worker\\\\OrchestratorMessageHandler.cs:line 44\",\"OriginalBody\":\"{\\\"TemplateId\\\":1,\\\"EntityType\\\":\\\"safety_alerts\\\",\\\"EventType\\\":null,\\\"NotifyRoleId\\\":489,\\\"NotifyUserId\\\":null,\\\"NotifyDynamicActor\\\":null,\\\"EntityContext\\\":{\\\"Parameters\\\":{\\\"alertId\\\":\\\"1199\\\",\\\"orgId\\\":\\\"262\\\",\\\"alertLink\\\":\\\"https://sandbox.oqsha.com/#/safety-alerts-v2/edit-safety-alert-v2/1199\\\",\\\"EmailFooter\\\":\\\"OQSHA Team\\\",\\\"UserName\\\":\\\"Hebert Eaton\\\",\\\"description\\\":\\\"Test\\\"}},\\\"ActorContext\\\":null,\\\"Metadata\\\":null}\"}"}

{"Timestamp":"2026-08-20T09:34:40.4773353+00:00","Level":"Information","Data":{"EventId":4292585191},"Message":"Sent message ID 1830c3b40cac3000 to DLQ"}

{"Timestamp":"2026-08-20T09:34:40.7078714+00:00","Level":"Information","Data":{"EventId":2143969884},"Message":"Notification event with message ID 1830c3b40d2c3000 received: {\"TemplateId\":24,\"EntityType\":\"safety_alerts\",\"EventType\":null,\"NotifyRoleId\":489,\"NotifyUserId\":null,\"NotifyDynamicActor\":null,\"EntityContext\":{\"Parameters\":{\"alertId\":\"1199\",\"orgId\":\"262\",\"alertLink\":\"https://sandbox.oqsha.com/#/safety-alerts-v2/edit-safety-alert-v2/1199\",\"EmailFooter\":\"OQSHA Team\",\"UserName\":\"Hebert Eaton\",\"description\":\"Test\"}},\"ActorContext\":null,\"Metadata\":null}"}

{"Timestamp":"2026-08-20T09:34:40.7102069+00:00","Level":"Information","Data":{"EventId":1217774385},"Message":"Started processing notification for message ID 1830c3b40d2c3000"}

{"Timestamp":"2026-08-20T09:34:40.7102366+00:00","Level":"Information","Data":{"EventId":1533664624},"Message":"Looking up the notification handler for message ID 1830c3b40d2c3000"}

{"Timestamp":"2026-08-20T09:34:40.7102444+00:00","Level":"Information","Data":{"EventId":1462885667},"Message":"Event handling in process for message ID 1830c3b40d2c3000"}

{"Timestamp":"2026-08-20T09:34:40.7147932+00:00","Level":"Information","Data":{"EventId":937313302},"Message":"Sending message ID 1830c3b40d2c3000 to DLQ"}

{"Timestamp":"2026-08-20T09:34:40.7149689+00:00","Level":"Information","Data":{"EventId":1178776230},"Message":"Dead letter envelope for DLQ message: {\"SourceTopic\":\"stg.notification.orchestrator\",\"SourceChannel\":\"notification-orchestrator\",\"FailedAtUtc\":\"2026-08-20T09:34:40.7148348Z\",\"Attempts\":1,\"ErrorType\":\"OQSHA.Notification.Orchestrator.Exceptions.PermanentOrchestratorException\",\"ErrorMessage\":\"Safety alert ID 1199 not found for message ID 1830c3b40d2c3000\",\"StackTrace\":\"   at OQSHA.Notification.Orchestrator.NotificationHandlers.SafetyAlertsNotificationHandler.FetchAlertAsync(String messageId, Int32 orgId, Int32 alertId) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\NotificationHandlers\\\\SafetyAlertsNotificationHandler.cs:line 249\\r\\n   at OQSHA.Notification.Orchestrator.NotificationHandlers.SafetyAlertsNotificationHandler.HandleTemplateBasedAlertNotificationAsync(String messageId, NotificationEventDto request) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\NotificationHandlers\\\\SafetyAlertsNotificationHandler.cs:line 87\\r\\n   at OQSHA.Notification.Orchestrator.NotificationHandlers.SafetyAlertsNotificationHandler.ProcessEventAsync(String messageId, NotificationEventDto request) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\NotificationHandlers\\\\SafetyAlertsNotificationHandler.cs:line 45\\r\\n   at OQSHA.Notification.Orchestrator.Routing.EventRouter.ExecuteAsync(String messageId, NotificationEventDto request) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\Routing\\\\EventRouter.cs:line 38\\r\\n   at OQSHA.Notification.Orchestrator.Worker.OrchestratorMessageHandler.HandleMessage(IMessage message) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\Worker\\\\OrchestratorMessageHandler.cs:line 44\",\"OriginalBody\":\"{\\\"TemplateId\\\":24,\\\"EntityType\\\":\\\"safety_alerts\\\",\\\"EventType\\\":null,\\\"NotifyRoleId\\\":489,\\\"NotifyUserId\\\":null,\\\"NotifyDynamicActor\\\":null,\\\"EntityContext\\\":{\\\"Parameters\\\":{\\\"alertId\\\":\\\"1199\\\",\\\"orgId\\\":\\\"262\\\",\\\"alertLink\\\":\\\"https://sandbox.oqsha.com/#/safety-alerts-v2/edit-safety-alert-v2/1199\\\",\\\"EmailFooter\\\":\\\"OQSHA Team\\\",\\\"UserName\\\":\\\"Hebert Eaton\\\",\\\"description\\\":\\\"Test\\\"}},\\\"ActorContext\\\":null,\\\"Metadata\\\":null}\"}"}

{"Timestamp":"2026-08-20T09:34:40.7155769+00:00","Level":"Information","Data":{"EventId":1719336288},"Message":"Sent message ID 1830c3b40d2c3000 to DLQ"}

{"Timestamp":"2026-08-20T09:35:49.7182828+00:00","Level":"Information","Data":{"EventId":2689345807},"Message":"Notification event with message ID 1830c3f48bac3000 received: {\"TemplateId\":1,\"EntityType\":\"safety_alerts\",\"EventType\":null,\"NotifyRoleId\":489,\"NotifyUserId\":null,\"NotifyDynamicActor\":null,\"EntityContext\":{\"Parameters\":{\"alertId\":\"1200\",\"orgId\":\"262\",\"alertLink\":\"https://sandbox.oqsha.com/#/safety-alerts-v2/edit-safety-alert-v2/1200\",\"EmailFooter\":\"OQSHA Team\",\"UserName\":\"Hebert Eaton\",\"description\":\"\"}},\"ActorContext\":null,\"Metadata\":null}"}

{"Timestamp":"2026-08-20T09:35:49.7199658+00:00","Level":"Information","Data":{"EventId":565208122},"Message":"Started processing notification for message ID 1830c3f48bac3000"}

{"Timestamp":"2026-08-20T09:35:49.7200002+00:00","Level":"Information","Data":{"EventId":1554199515},"Message":"Looking up the notification handler for message ID 1830c3f48bac3000"}

{"Timestamp":"2026-08-20T09:35:49.7200110+00:00","Level":"Information","Data":{"EventId":3658540641},"Message":"Event handling in process for message ID 1830c3f48bac3000"}

{"Timestamp":"2026-08-20T09:35:49.7232485+00:00","Level":"Information","Data":{"EventId":3569779606},"Message":"Sending message ID 1830c3f48bac3000 to DLQ"}

{"Timestamp":"2026-08-20T09:35:49.7234243+00:00","Level":"Information","Data":{"EventId":460964112},"Message":"Dead letter envelope for DLQ message: {\"SourceTopic\":\"stg.notification.orchestrator\",\"SourceChannel\":\"notification-orchestrator\",\"FailedAtUtc\":\"2026-08-20T09:35:49.7232875Z\",\"Attempts\":1,\"ErrorType\":\"OQSHA.Notification.Orchestrator.Exceptions.PermanentOrchestratorException\",\"ErrorMessage\":\"Safety alert ID 1200 not found for message ID 1830c3f48bac3000\",\"StackTrace\":\"   at OQSHA.Notification.Orchestrator.NotificationHandlers.SafetyAlertsNotificationHandler.FetchAlertAsync(String messageId, Int32 orgId, Int32 alertId) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\NotificationHandlers\\\\SafetyAlertsNotificationHandler.cs:line 249\\r\\n   at OQSHA.Notification.Orchestrator.NotificationHandlers.SafetyAlertsNotificationHandler.HandleTemplateBasedAlertNotificationAsync(String messageId, NotificationEventDto request) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\NotificationHandlers\\\\SafetyAlertsNotificationHandler.cs:line 87\\r\\n   at OQSHA.Notification.Orchestrator.NotificationHandlers.SafetyAlertsNotificationHandler.ProcessEventAsync(String messageId, NotificationEventDto request) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\NotificationHandlers\\\\SafetyAlertsNotificationHandler.cs:line 45\\r\\n   at OQSHA.Notification.Orchestrator.Routing.EventRouter.ExecuteAsync(String messageId, NotificationEventDto request) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\Routing\\\\EventRouter.cs:line 38\\r\\n   at OQSHA.Notification.Orchestrator.Worker.OrchestratorMessageHandler.HandleMessage(IMessage message) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\Worker\\\\OrchestratorMessageHandler.cs:line 44\",\"OriginalBody\":\"{\\\"TemplateId\\\":1,\\\"EntityType\\\":\\\"safety_alerts\\\",\\\"EventType\\\":null,\\\"NotifyRoleId\\\":489,\\\"NotifyUserId\\\":null,\\\"NotifyDynamicActor\\\":null,\\\"EntityContext\\\":{\\\"Parameters\\\":{\\\"alertId\\\":\\\"1200\\\",\\\"orgId\\\":\\\"262\\\",\\\"alertLink\\\":\\\"https://sandbox.oqsha.com/#/safety-alerts-v2/edit-safety-alert-v2/1200\\\",\\\"EmailFooter\\\":\\\"OQSHA Team\\\",\\\"UserName\\\":\\\"Hebert Eaton\\\",\\\"description\\\":\\\"\\\"}},\\\"ActorContext\\\":null,\\\"Metadata\\\":null}\"}"}

{"Timestamp":"2026-08-20T09:35:49.7237039+00:00","Level":"Information","Data":{"EventId":2436097848},"Message":"Sent message ID 1830c3f48bac3000 to DLQ"}

{"Timestamp":"2026-08-20T09:35:49.9580329+00:00","Level":"Information","Data":{"EventId":3256345185},"Message":"Notification event with message ID 1830c3f48bec3000 received: {\"TemplateId\":24,\"EntityType\":\"safety_alerts\",\"EventType\":null,\"NotifyRoleId\":489,\"NotifyUserId\":null,\"NotifyDynamicActor\":null,\"EntityContext\":{\"Parameters\":{\"alertId\":\"1200\",\"orgId\":\"262\",\"alertLink\":\"https://sandbox.oqsha.com/#/safety-alerts-v2/edit-safety-alert-v2/1200\",\"EmailFooter\":\"OQSHA Team\",\"UserName\":\"Hebert Eaton\",\"description\":\"\"}},\"ActorContext\":null,\"Metadata\":null}"}

{"Timestamp":"2026-08-20T09:35:49.9604869+00:00","Level":"Information","Data":{"EventId":3548525864},"Message":"Started processing notification for message ID 1830c3f48bec3000"}

{"Timestamp":"2026-08-20T09:35:49.9605181+00:00","Level":"Information","Data":{"EventId":3393839422},"Message":"Looking up the notification handler for message ID 1830c3f48bec3000"}

{"Timestamp":"2026-08-20T09:35:49.9605274+00:00","Level":"Information","Data":{"EventId":3939470908},"Message":"Event handling in process for message ID 1830c3f48bec3000"}

{"Timestamp":"2026-08-20T09:35:49.9649846+00:00","Level":"Information","Data":{"EventId":3633049476},"Message":"Sending message ID 1830c3f48bec3000 to DLQ"}

{"Timestamp":"2026-08-20T09:35:49.9651747+00:00","Level":"Information","Data":{"EventId":2040856687},"Message":"Dead letter envelope for DLQ message: {\"SourceTopic\":\"stg.notification.orchestrator\",\"SourceChannel\":\"notification-orchestrator\",\"FailedAtUtc\":\"2026-08-20T09:35:49.9650198Z\",\"Attempts\":1,\"ErrorType\":\"OQSHA.Notification.Orchestrator.Exceptions.PermanentOrchestratorException\",\"ErrorMessage\":\"Safety alert ID 1200 not found for message ID 1830c3f48bec3000\",\"StackTrace\":\"   at OQSHA.Notification.Orchestrator.NotificationHandlers.SafetyAlertsNotificationHandler.FetchAlertAsync(String messageId, Int32 orgId, Int32 alertId) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\NotificationHandlers\\\\SafetyAlertsNotificationHandler.cs:line 249\\r\\n   at OQSHA.Notification.Orchestrator.NotificationHandlers.SafetyAlertsNotificationHandler.HandleTemplateBasedAlertNotificationAsync(String messageId, NotificationEventDto request) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\NotificationHandlers\\\\SafetyAlertsNotificationHandler.cs:line 87\\r\\n   at OQSHA.Notification.Orchestrator.NotificationHandlers.SafetyAlertsNotificationHandler.ProcessEventAsync(String messageId, NotificationEventDto request) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\NotificationHandlers\\\\SafetyAlertsNotificationHandler.cs:line 45\\r\\n   at OQSHA.Notification.Orchestrator.Routing.EventRouter.ExecuteAsync(String messageId, NotificationEventDto request) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\Routing\\\\EventRouter.cs:line 38\\r\\n   at OQSHA.Notification.Orchestrator.Worker.OrchestratorMessageHandler.HandleMessage(IMessage message) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\Worker\\\\OrchestratorMessageHandler.cs:line 44\",\"OriginalBody\":\"{\\\"TemplateId\\\":24,\\\"EntityType\\\":\\\"safety_alerts\\\",\\\"EventType\\\":null,\\\"NotifyRoleId\\\":489,\\\"NotifyUserId\\\":null,\\\"NotifyDynamicActor\\\":null,\\\"EntityContext\\\":{\\\"Parameters\\\":{\\\"alertId\\\":\\\"1200\\\",\\\"orgId\\\":\\\"262\\\",\\\"alertLink\\\":\\\"https://sandbox.oqsha.com/#/safety-alerts-v2/edit-safety-alert-v2/1200\\\",\\\"EmailFooter\\\":\\\"OQSHA Team\\\",\\\"UserName\\\":\\\"Hebert Eaton\\\",\\\"description\\\":\\\"\\\"}},\\\"ActorContext\\\":null,\\\"Metadata\\\":null}\"}"}

{"Timestamp":"2026-08-20T09:35:49.9655269+00:00","Level":"Information","Data":{"EventId":1180278912},"Message":"Sent message ID 1830c3f48bec3000 to DLQ"}

{"Timestamp":"2026-08-20T09:36:37.6863110+00:00","Level":"Information","Data":{"EventId":2139058606},"Message":"Notification event with message ID 1830c421382c3000 received: {\"TemplateId\":1,\"EntityType\":\"safety_alerts\",\"EventType\":null,\"NotifyRoleId\":489,\"NotifyUserId\":null,\"NotifyDynamicActor\":null,\"EntityContext\":{\"Parameters\":{\"alertId\":\"1201\",\"orgId\":\"262\",\"alertLink\":\"https://sandbox.oqsha.com/#/safety-alerts-v2/edit-safety-alert-v2/1201\",\"EmailFooter\":\"OQSHA Team\",\"UserName\":\"Hebert Eaton\",\"description\":\"\"}},\"ActorContext\":null,\"Metadata\":null}"}

{"Timestamp":"2026-08-20T09:36:37.6876486+00:00","Level":"Information","Data":{"EventId":1405718587},"Message":"Started processing notification for message ID 1830c421382c3000"}

{"Timestamp":"2026-08-20T09:36:37.6876905+00:00","Level":"Information","Data":{"EventId":3633565539},"Message":"Looking up the notification handler for message ID 1830c421382c3000"}

{"Timestamp":"2026-08-20T09:36:37.6877038+00:00","Level":"Information","Data":{"EventId":2793694174},"Message":"Event handling in process for message ID 1830c421382c3000"}

{"Timestamp":"2026-08-20T09:36:37.6915347+00:00","Level":"Information","Data":{"EventId":486749464},"Message":"Sending message ID 1830c421382c3000 to DLQ"}

{"Timestamp":"2026-08-20T09:36:37.6917250+00:00","Level":"Information","Data":{"EventId":2672841497},"Message":"Dead letter envelope for DLQ message: {\"SourceTopic\":\"stg.notification.orchestrator\",\"SourceChannel\":\"notification-orchestrator\",\"FailedAtUtc\":\"2026-08-20T09:36:37.6915875Z\",\"Attempts\":1,\"ErrorType\":\"OQSHA.Notification.Orchestrator.Exceptions.PermanentOrchestratorException\",\"ErrorMessage\":\"Safety alert ID 1201 not found for message ID 1830c421382c3000\",\"StackTrace\":\"   at OQSHA.Notification.Orchestrator.NotificationHandlers.SafetyAlertsNotificationHandler.FetchAlertAsync(String messageId, Int32 orgId, Int32 alertId) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\NotificationHandlers\\\\SafetyAlertsNotificationHandler.cs:line 249\\r\\n   at OQSHA.Notification.Orchestrator.NotificationHandlers.SafetyAlertsNotificationHandler.HandleTemplateBasedAlertNotificationAsync(String messageId, NotificationEventDto request) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\NotificationHandlers\\\\SafetyAlertsNotificationHandler.cs:line 87\\r\\n   at OQSHA.Notification.Orchestrator.NotificationHandlers.SafetyAlertsNotificationHandler.ProcessEventAsync(String messageId, NotificationEventDto request) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\NotificationHandlers\\\\SafetyAlertsNotificationHandler.cs:line 45\\r\\n   at OQSHA.Notification.Orchestrator.Routing.EventRouter.ExecuteAsync(String messageId, NotificationEventDto request) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\Routing\\\\EventRouter.cs:line 38\\r\\n   at OQSHA.Notification.Orchestrator.Worker.OrchestratorMessageHandler.HandleMessage(IMessage message) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\Worker\\\\OrchestratorMessageHandler.cs:line 44\",\"OriginalBody\":\"{\\\"TemplateId\\\":1,\\\"EntityType\\\":\\\"safety_alerts\\\",\\\"EventType\\\":null,\\\"NotifyRoleId\\\":489,\\\"NotifyUserId\\\":null,\\\"NotifyDynamicActor\\\":null,\\\"EntityContext\\\":{\\\"Parameters\\\":{\\\"alertId\\\":\\\"1201\\\",\\\"orgId\\\":\\\"262\\\",\\\"alertLink\\\":\\\"https://sandbox.oqsha.com/#/safety-alerts-v2/edit-safety-alert-v2/1201\\\",\\\"EmailFooter\\\":\\\"OQSHA Team\\\",\\\"UserName\\\":\\\"Hebert Eaton\\\",\\\"description\\\":\\\"\\\"}},\\\"ActorContext\\\":null,\\\"Metadata\\\":null}\"}"}

{"Timestamp":"2026-08-20T09:36:37.6920216+00:00","Level":"Information","Data":{"EventId":584354492},"Message":"Sent message ID 1830c421382c3000 to DLQ"}

{"Timestamp":"2026-08-20T09:36:37.7082733+00:00","Level":"Information","Data":{"EventId":3085438219},"Message":"Notification event with message ID 1830c421386c3000 received: {\"TemplateId\":24,\"EntityType\":\"safety_alerts\",\"EventType\":null,\"NotifyRoleId\":489,\"NotifyUserId\":null,\"NotifyDynamicActor\":null,\"EntityContext\":{\"Parameters\":{\"alertId\":\"1201\",\"orgId\":\"262\",\"alertLink\":\"https://sandbox.oqsha.com/#/safety-alerts-v2/edit-safety-alert-v2/1201\",\"EmailFooter\":\"OQSHA Team\",\"UserName\":\"Hebert Eaton\",\"description\":\"\"}},\"ActorContext\":null,\"Metadata\":null}"}

{"Timestamp":"2026-08-20T09:36:37.7102914+00:00","Level":"Information","Data":{"EventId":3063657686},"Message":"Started processing notification for message ID 1830c421386c3000"}

{"Timestamp":"2026-08-20T09:36:37.7103181+00:00","Level":"Information","Data":{"EventId":2985122204},"Message":"Looking up the notification handler for message ID 1830c421386c3000"}

{"Timestamp":"2026-08-20T09:36:37.7103255+00:00","Level":"Information","Data":{"EventId":4159946902},"Message":"Event handling in process for message ID 1830c421386c3000"}

{"Timestamp":"2026-08-20T09:36:37.7156767+00:00","Level":"Information","Data":{"EventId":2870528538},"Message":"Sending message ID 1830c421386c3000 to DLQ"}

{"Timestamp":"2026-08-20T09:36:37.7158466+00:00","Level":"Information","Data":{"EventId":181985293},"Message":"Dead letter envelope for DLQ message: {\"SourceTopic\":\"stg.notification.orchestrator\",\"SourceChannel\":\"notification-orchestrator\",\"FailedAtUtc\":\"2026-08-20T09:36:37.7157129Z\",\"Attempts\":1,\"ErrorType\":\"OQSHA.Notification.Orchestrator.Exceptions.PermanentOrchestratorException\",\"ErrorMessage\":\"Safety alert ID 1201 not found for message ID 1830c421386c3000\",\"StackTrace\":\"   at OQSHA.Notification.Orchestrator.NotificationHandlers.SafetyAlertsNotificationHandler.FetchAlertAsync(String messageId, Int32 orgId, Int32 alertId) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\NotificationHandlers\\\\SafetyAlertsNotificationHandler.cs:line 249\\r\\n   at OQSHA.Notification.Orchestrator.NotificationHandlers.SafetyAlertsNotificationHandler.HandleTemplateBasedAlertNotificationAsync(String messageId, NotificationEventDto request) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\NotificationHandlers\\\\SafetyAlertsNotificationHandler.cs:line 87\\r\\n   at OQSHA.Notification.Orchestrator.NotificationHandlers.SafetyAlertsNotificationHandler.ProcessEventAsync(String messageId, NotificationEventDto request) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\NotificationHandlers\\\\SafetyAlertsNotificationHandler.cs:line 45\\r\\n   at OQSHA.Notification.Orchestrator.Routing.EventRouter.ExecuteAsync(String messageId, NotificationEventDto request) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\Routing\\\\EventRouter.cs:line 38\\r\\n   at OQSHA.Notification.Orchestrator.Worker.OrchestratorMessageHandler.HandleMessage(IMessage message) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\Worker\\\\OrchestratorMessageHandler.cs:line 44\",\"OriginalBody\":\"{\\\"TemplateId\\\":24,\\\"EntityType\\\":\\\"safety_alerts\\\",\\\"EventType\\\":null,\\\"NotifyRoleId\\\":489,\\\"NotifyUserId\\\":null,\\\"NotifyDynamicActor\\\":null,\\\"EntityContext\\\":{\\\"Parameters\\\":{\\\"alertId\\\":\\\"1201\\\",\\\"orgId\\\":\\\"262\\\",\\\"alertLink\\\":\\\"https://sandbox.oqsha.com/#/safety-alerts-v2/edit-safety-alert-v2/1201\\\",\\\"EmailFooter\\\":\\\"OQSHA Team\\\",\\\"UserName\\\":\\\"Hebert Eaton\\\",\\\"description\\\":\\\"\\\"}},\\\"ActorContext\\\":null,\\\"Metadata\\\":null}\"}"}

{"Timestamp":"2026-08-20T09:36:37.7163133+00:00","Level":"Information","Data":{"EventId":2759747313},"Message":"Sent message ID 1830c421386c3000 to DLQ"}

{"Timestamp":"2026-08-20T09:37:38.5253424+00:00","Level":"Information","Data":{"EventId":1612657408},"Message":"Notification event with message ID 1830c459e16c3000 received: {\"TemplateId\":1,\"EntityType\":\"safety_alerts\",\"EventType\":null,\"NotifyRoleId\":489,\"NotifyUserId\":null,\"NotifyDynamicActor\":null,\"EntityContext\":{\"Parameters\":{\"alertId\":\"1202\",\"orgId\":\"262\",\"alertLink\":\"https://sandbox.oqsha.com/#/safety-alerts-v2/edit-safety-alert-v2/1202\",\"EmailFooter\":\"OQSHA Team\",\"UserName\":\"Hebert Eaton\",\"description\":\"\"}},\"ActorContext\":null,\"Metadata\":null}"}

{"Timestamp":"2026-08-20T09:37:38.5278447+00:00","Level":"Information","Data":{"EventId":3634883156},"Message":"Started processing notification for message ID 1830c459e16c3000"}

{"Timestamp":"2026-08-20T09:37:38.5278823+00:00","Level":"Information","Data":{"EventId":2710228190},"Message":"Looking up the notification handler for message ID 1830c459e16c3000"}

{"Timestamp":"2026-08-20T09:37:38.5278920+00:00","Level":"Information","Data":{"EventId":476221615},"Message":"Event handling in process for message ID 1830c459e16c3000"}

{"Timestamp":"2026-08-20T09:37:38.5327634+00:00","Level":"Information","Data":{"EventId":3434059702},"Message":"Sending message ID 1830c459e16c3000 to DLQ"}

{"Timestamp":"2026-08-20T09:37:38.5329499+00:00","Level":"Information","Data":{"EventId":3616721438},"Message":"Dead letter envelope for DLQ message: {\"SourceTopic\":\"stg.notification.orchestrator\",\"SourceChannel\":\"notification-orchestrator\",\"FailedAtUtc\":\"2026-08-20T09:37:38.5328017Z\",\"Attempts\":1,\"ErrorType\":\"OQSHA.Notification.Orchestrator.Exceptions.PermanentOrchestratorException\",\"ErrorMessage\":\"Safety alert ID 1202 not found for message ID 1830c459e16c3000\",\"StackTrace\":\"   at OQSHA.Notification.Orchestrator.NotificationHandlers.SafetyAlertsNotificationHandler.FetchAlertAsync(String messageId, Int32 orgId, Int32 alertId) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\NotificationHandlers\\\\SafetyAlertsNotificationHandler.cs:line 249\\r\\n   at OQSHA.Notification.Orchestrator.NotificationHandlers.SafetyAlertsNotificationHandler.HandleTemplateBasedAlertNotificationAsync(String messageId, NotificationEventDto request) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\NotificationHandlers\\\\SafetyAlertsNotificationHandler.cs:line 87\\r\\n   at OQSHA.Notification.Orchestrator.NotificationHandlers.SafetyAlertsNotificationHandler.ProcessEventAsync(String messageId, NotificationEventDto request) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\NotificationHandlers\\\\SafetyAlertsNotificationHandler.cs:line 45\\r\\n   at OQSHA.Notification.Orchestrator.Routing.EventRouter.ExecuteAsync(String messageId, NotificationEventDto request) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\Routing\\\\EventRouter.cs:line 38\\r\\n   at OQSHA.Notification.Orchestrator.Worker.OrchestratorMessageHandler.HandleMessage(IMessage message) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\Worker\\\\OrchestratorMessageHandler.cs:line 44\",\"OriginalBody\":\"{\\\"TemplateId\\\":1,\\\"EntityType\\\":\\\"safety_alerts\\\",\\\"EventType\\\":null,\\\"NotifyRoleId\\\":489,\\\"NotifyUserId\\\":null,\\\"NotifyDynamicActor\\\":null,\\\"EntityContext\\\":{\\\"Parameters\\\":{\\\"alertId\\\":\\\"1202\\\",\\\"orgId\\\":\\\"262\\\",\\\"alertLink\\\":\\\"https://sandbox.oqsha.com/#/safety-alerts-v2/edit-safety-alert-v2/1202\\\",\\\"EmailFooter\\\":\\\"OQSHA Team\\\",\\\"UserName\\\":\\\"Hebert Eaton\\\",\\\"description\\\":\\\"\\\"}},\\\"ActorContext\\\":null,\\\"Metadata\\\":null}\"}"}

{"Timestamp":"2026-08-20T09:37:38.5332277+00:00","Level":"Information","Data":{"EventId":2471869626},"Message":"Sent message ID 1830c459e16c3000 to DLQ"}

{"Timestamp":"2026-08-20T09:37:38.7098289+00:00","Level":"Information","Data":{"EventId":1207879453},"Message":"Notification event with message ID 1830c459e1ec3000 received: {\"TemplateId\":24,\"EntityType\":\"safety_alerts\",\"EventType\":null,\"NotifyRoleId\":489,\"NotifyUserId\":null,\"NotifyDynamicActor\":null,\"EntityContext\":{\"Parameters\":{\"alertId\":\"1202\",\"orgId\":\"262\",\"alertLink\":\"https://sandbox.oqsha.com/#/safety-alerts-v2/edit-safety-alert-v2/1202\",\"EmailFooter\":\"OQSHA Team\",\"UserName\":\"Hebert Eaton\",\"description\":\"\"}},\"ActorContext\":null,\"Metadata\":null}"}

{"Timestamp":"2026-08-20T09:37:38.7124476+00:00","Level":"Information","Data":{"EventId":1188349240},"Message":"Started processing notification for message ID 1830c459e1ec3000"}

{"Timestamp":"2026-08-20T09:37:38.7124706+00:00","Level":"Information","Data":{"EventId":1232771008},"Message":"Looking up the notification handler for message ID 1830c459e1ec3000"}

{"Timestamp":"2026-08-20T09:37:38.7124787+00:00","Level":"Information","Data":{"EventId":2539636280},"Message":"Event handling in process for message ID 1830c459e1ec3000"}

{"Timestamp":"2026-08-20T09:37:38.7177123+00:00","Level":"Information","Data":{"EventId":2404010952},"Message":"Sending message ID 1830c459e1ec3000 to DLQ"}

{"Timestamp":"2026-08-20T09:37:38.7178799+00:00","Level":"Information","Data":{"EventId":801706355},"Message":"Dead letter envelope for DLQ message: {\"SourceTopic\":\"stg.notification.orchestrator\",\"SourceChannel\":\"notification-orchestrator\",\"FailedAtUtc\":\"2026-08-20T09:37:38.7177432Z\",\"Attempts\":1,\"ErrorType\":\"OQSHA.Notification.Orchestrator.Exceptions.PermanentOrchestratorException\",\"ErrorMessage\":\"Safety alert ID 1202 not found for message ID 1830c459e1ec3000\",\"StackTrace\":\"   at OQSHA.Notification.Orchestrator.NotificationHandlers.SafetyAlertsNotificationHandler.FetchAlertAsync(String messageId, Int32 orgId, Int32 alertId) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\NotificationHandlers\\\\SafetyAlertsNotificationHandler.cs:line 249\\r\\n   at OQSHA.Notification.Orchestrator.NotificationHandlers.SafetyAlertsNotificationHandler.HandleTemplateBasedAlertNotificationAsync(String messageId, NotificationEventDto request) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\NotificationHandlers\\\\SafetyAlertsNotificationHandler.cs:line 87\\r\\n   at OQSHA.Notification.Orchestrator.NotificationHandlers.SafetyAlertsNotificationHandler.ProcessEventAsync(String messageId, NotificationEventDto request) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\NotificationHandlers\\\\SafetyAlertsNotificationHandler.cs:line 45\\r\\n   at OQSHA.Notification.Orchestrator.Routing.EventRouter.ExecuteAsync(String messageId, NotificationEventDto request) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\Routing\\\\EventRouter.cs:line 38\\r\\n   at OQSHA.Notification.Orchestrator.Worker.OrchestratorMessageHandler.HandleMessage(IMessage message) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\Worker\\\\OrchestratorMessageHandler.cs:line 44\",\"OriginalBody\":\"{\\\"TemplateId\\\":24,\\\"EntityType\\\":\\\"safety_alerts\\\",\\\"EventType\\\":null,\\\"NotifyRoleId\\\":489,\\\"NotifyUserId\\\":null,\\\"NotifyDynamicActor\\\":null,\\\"EntityContext\\\":{\\\"Parameters\\\":{\\\"alertId\\\":\\\"1202\\\",\\\"orgId\\\":\\\"262\\\",\\\"alertLink\\\":\\\"https://sandbox.oqsha.com/#/safety-alerts-v2/edit-safety-alert-v2/1202\\\",\\\"EmailFooter\\\":\\\"OQSHA Team\\\",\\\"UserName\\\":\\\"Hebert Eaton\\\",\\\"description\\\":\\\"\\\"}},\\\"ActorContext\\\":null,\\\"Metadata\\\":null}\"}"}

{"Timestamp":"2026-08-20T09:37:38.7186099+00:00","Level":"Information","Data":{"EventId":1639594449},"Message":"Sent message ID 1830c459e1ec3000 to DLQ"}

{"Timestamp":"2026-08-20T09:38:08.8038909+00:00","Level":"Information","Data":{"EventId":3481217190},"Message":"Notification event with message ID 1830c476142c3000 received: {\"TemplateId\":1,\"EntityType\":\"safety_alerts\",\"EventType\":null,\"NotifyRoleId\":489,\"NotifyUserId\":null,\"NotifyDynamicActor\":null,\"EntityContext\":{\"Parameters\":{\"alertId\":\"1203\",\"orgId\":\"262\",\"alertLink\":\"https://sandbox.oqsha.com/#/safety-alerts-v2/edit-safety-alert-v2/1203\",\"EmailFooter\":\"OQSHA Team\",\"UserName\":\"Hebert Eaton\",\"description\":\"test\"}},\"ActorContext\":null,\"Metadata\":null}"}

{"Timestamp":"2026-08-20T09:38:08.8054221+00:00","Level":"Information","Data":{"EventId":3481247434},"Message":"Started processing notification for message ID 1830c476142c3000"}

{"Timestamp":"2026-08-20T09:38:08.8054901+00:00","Level":"Information","Data":{"EventId":2346172332},"Message":"Looking up the notification handler for message ID 1830c476142c3000"}

{"Timestamp":"2026-08-20T09:38:08.8055302+00:00","Level":"Information","Data":{"EventId":3978493910},"Message":"Event handling in process for message ID 1830c476142c3000"}

{"Timestamp":"2026-08-20T09:38:08.8092720+00:00","Level":"Information","Data":{"EventId":3500977876},"Message":"Sending message ID 1830c476142c3000 to DLQ"}

{"Timestamp":"2026-08-20T09:38:08.8094623+00:00","Level":"Information","Data":{"EventId":2695431959},"Message":"Dead letter envelope for DLQ message: {\"SourceTopic\":\"stg.notification.orchestrator\",\"SourceChannel\":\"notification-orchestrator\",\"FailedAtUtc\":\"2026-08-20T09:38:08.8093091Z\",\"Attempts\":1,\"ErrorType\":\"OQSHA.Notification.Orchestrator.Exceptions.PermanentOrchestratorException\",\"ErrorMessage\":\"Safety alert ID 1203 not found for message ID 1830c476142c3000\",\"StackTrace\":\"   at OQSHA.Notification.Orchestrator.NotificationHandlers.SafetyAlertsNotificationHandler.FetchAlertAsync(String messageId, Int32 orgId, Int32 alertId) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\NotificationHandlers\\\\SafetyAlertsNotificationHandler.cs:line 249\\r\\n   at OQSHA.Notification.Orchestrator.NotificationHandlers.SafetyAlertsNotificationHandler.HandleTemplateBasedAlertNotificationAsync(String messageId, NotificationEventDto request) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\NotificationHandlers\\\\SafetyAlertsNotificationHandler.cs:line 87\\r\\n   at OQSHA.Notification.Orchestrator.NotificationHandlers.SafetyAlertsNotificationHandler.ProcessEventAsync(String messageId, NotificationEventDto request) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\NotificationHandlers\\\\SafetyAlertsNotificationHandler.cs:line 45\\r\\n   at OQSHA.Notification.Orchestrator.Routing.EventRouter.ExecuteAsync(String messageId, NotificationEventDto request) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\Routing\\\\EventRouter.cs:line 38\\r\\n   at OQSHA.Notification.Orchestrator.Worker.OrchestratorMessageHandler.HandleMessage(IMessage message) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\Worker\\\\OrchestratorMessageHandler.cs:line 44\",\"OriginalBody\":\"{\\\"TemplateId\\\":1,\\\"EntityType\\\":\\\"safety_alerts\\\",\\\"EventType\\\":null,\\\"NotifyRoleId\\\":489,\\\"NotifyUserId\\\":null,\\\"NotifyDynamicActor\\\":null,\\\"EntityContext\\\":{\\\"Parameters\\\":{\\\"alertId\\\":\\\"1203\\\",\\\"orgId\\\":\\\"262\\\",\\\"alertLink\\\":\\\"https://sandbox.oqsha.com/#/safety-alerts-v2/edit-safety-alert-v2/1203\\\",\\\"EmailFooter\\\":\\\"OQSHA Team\\\",\\\"UserName\\\":\\\"Hebert Eaton\\\",\\\"description\\\":\\\"test\\\"}},\\\"ActorContext\\\":null,\\\"Metadata\\\":null}\"}"}

{"Timestamp":"2026-08-20T09:38:08.8097787+00:00","Level":"Information","Data":{"EventId":339320084},"Message":"Sent message ID 1830c476142c3000 to DLQ"}

{"Timestamp":"2026-08-20T09:38:08.9631372+00:00","Level":"Information","Data":{"EventId":753106778},"Message":"Notification event with message ID 1830c476146c3000 received: {\"TemplateId\":24,\"EntityType\":\"safety_alerts\",\"EventType\":null,\"NotifyRoleId\":489,\"NotifyUserId\":null,\"NotifyDynamicActor\":null,\"EntityContext\":{\"Parameters\":{\"alertId\":\"1203\",\"orgId\":\"262\",\"alertLink\":\"https://sandbox.oqsha.com/#/safety-alerts-v2/edit-safety-alert-v2/1203\",\"EmailFooter\":\"OQSHA Team\",\"UserName\":\"Hebert Eaton\",\"description\":\"test\"}},\"ActorContext\":null,\"Metadata\":null}"}

{"Timestamp":"2026-08-20T09:38:08.9654562+00:00","Level":"Information","Data":{"EventId":445744584},"Message":"Started processing notification for message ID 1830c476146c3000"}

{"Timestamp":"2026-08-20T09:38:08.9655105+00:00","Level":"Information","Data":{"EventId":2969208014},"Message":"Looking up the notification handler for message ID 1830c476146c3000"}

{"Timestamp":"2026-08-20T09:38:08.9655210+00:00","Level":"Information","Data":{"EventId":2041689759},"Message":"Event handling in process for message ID 1830c476146c3000"}

{"Timestamp":"2026-08-20T09:38:08.9702765+00:00","Level":"Information","Data":{"EventId":1675263866},"Message":"Sending message ID 1830c476146c3000 to DLQ"}

{"Timestamp":"2026-08-20T09:38:08.9704627+00:00","Level":"Information","Data":{"EventId":4052112626},"Message":"Dead letter envelope for DLQ message: {\"SourceTopic\":\"stg.notification.orchestrator\",\"SourceChannel\":\"notification-orchestrator\",\"FailedAtUtc\":\"2026-08-20T09:38:08.9703107Z\",\"Attempts\":1,\"ErrorType\":\"OQSHA.Notification.Orchestrator.Exceptions.PermanentOrchestratorException\",\"ErrorMessage\":\"Safety alert ID 1203 not found for message ID 1830c476146c3000\",\"StackTrace\":\"   at OQSHA.Notification.Orchestrator.NotificationHandlers.SafetyAlertsNotificationHandler.FetchAlertAsync(String messageId, Int32 orgId, Int32 alertId) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\NotificationHandlers\\\\SafetyAlertsNotificationHandler.cs:line 249\\r\\n   at OQSHA.Notification.Orchestrator.NotificationHandlers.SafetyAlertsNotificationHandler.HandleTemplateBasedAlertNotificationAsync(String messageId, NotificationEventDto request) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\NotificationHandlers\\\\SafetyAlertsNotificationHandler.cs:line 87\\r\\n   at OQSHA.Notification.Orchestrator.NotificationHandlers.SafetyAlertsNotificationHandler.ProcessEventAsync(String messageId, NotificationEventDto request) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\NotificationHandlers\\\\SafetyAlertsNotificationHandler.cs:line 45\\r\\n   at OQSHA.Notification.Orchestrator.Routing.EventRouter.ExecuteAsync(String messageId, NotificationEventDto request) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\Routing\\\\EventRouter.cs:line 38\\r\\n   at OQSHA.Notification.Orchestrator.Worker.OrchestratorMessageHandler.HandleMessage(IMessage message) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\Worker\\\\OrchestratorMessageHandler.cs:line 44\",\"OriginalBody\":\"{\\\"TemplateId\\\":24,\\\"EntityType\\\":\\\"safety_alerts\\\",\\\"EventType\\\":null,\\\"NotifyRoleId\\\":489,\\\"NotifyUserId\\\":null,\\\"NotifyDynamicActor\\\":null,\\\"EntityContext\\\":{\\\"Parameters\\\":{\\\"alertId\\\":\\\"1203\\\",\\\"orgId\\\":\\\"262\\\",\\\"alertLink\\\":\\\"https://sandbox.oqsha.com/#/safety-alerts-v2/edit-safety-alert-v2/1203\\\",\\\"EmailFooter\\\":\\\"OQSHA Team\\\",\\\"UserName\\\":\\\"Hebert Eaton\\\",\\\"description\\\":\\\"test\\\"}},\\\"ActorContext\\\":null,\\\"Metadata\\\":null}\"}"}

{"Timestamp":"2026-08-20T09:38:08.9710498+00:00","Level":"Information","Data":{"EventId":1312888114},"Message":"Sent message ID 1830c476146c3000 to DLQ"}

{"Timestamp":"2026-08-20T09:43:53.6780606+00:00","Level":"Information","Data":{"EventId":1162048362},"Message":"Notification event with message ID 1830c5b744ac3000 received: {\"TemplateId\":1,\"EntityType\":\"safety_alerts\",\"EventType\":null,\"NotifyRoleId\":489,\"NotifyUserId\":null,\"NotifyDynamicActor\":null,\"EntityContext\":{\"Parameters\":{\"alertId\":\"1204\",\"orgId\":\"262\",\"alertLink\":\"https://sandbox.oqsha.com/#/safety-alerts-v2/edit-safety-alert-v2/1204\",\"EmailFooter\":\"OQSHA Team\",\"UserName\":\"Hebert Eaton\",\"description\":\"\"}},\"ActorContext\":null,\"Metadata\":null}"}

{"Timestamp":"2026-08-20T09:43:53.6804306+00:00","Level":"Information","Data":{"EventId":1730285646},"Message":"Started processing notification for message ID 1830c5b744ac3000"}

{"Timestamp":"2026-08-20T09:43:53.6804761+00:00","Level":"Information","Data":{"EventId":2075601223},"Message":"Looking up the notification handler for message ID 1830c5b744ac3000"}

{"Timestamp":"2026-08-20T09:43:53.6804972+00:00","Level":"Information","Data":{"EventId":2225197320},"Message":"Event handling in process for message ID 1830c5b744ac3000"}

{"Timestamp":"2026-08-20T09:43:53.6877189+00:00","Level":"Information","Data":{"EventId":3259208997},"Message":"Sending message ID 1830c5b744ac3000 to DLQ"}

{"Timestamp":"2026-08-20T09:43:53.6879211+00:00","Level":"Information","Data":{"EventId":3020262745},"Message":"Dead letter envelope for DLQ message: {\"SourceTopic\":\"stg.notification.orchestrator\",\"SourceChannel\":\"notification-orchestrator\",\"FailedAtUtc\":\"2026-08-20T09:43:53.6877624Z\",\"Attempts\":1,\"ErrorType\":\"OQSHA.Notification.Orchestrator.Exceptions.PermanentOrchestratorException\",\"ErrorMessage\":\"Safety alert ID 1204 not found for message ID 1830c5b744ac3000\",\"StackTrace\":\"   at OQSHA.Notification.Orchestrator.NotificationHandlers.SafetyAlertsNotificationHandler.FetchAlertAsync(String messageId, Int32 orgId, Int32 alertId) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\NotificationHandlers\\\\SafetyAlertsNotificationHandler.cs:line 249\\r\\n   at OQSHA.Notification.Orchestrator.NotificationHandlers.SafetyAlertsNotificationHandler.HandleTemplateBasedAlertNotificationAsync(String messageId, NotificationEventDto request) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\NotificationHandlers\\\\SafetyAlertsNotificationHandler.cs:line 87\\r\\n   at OQSHA.Notification.Orchestrator.NotificationHandlers.SafetyAlertsNotificationHandler.ProcessEventAsync(String messageId, NotificationEventDto request) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\NotificationHandlers\\\\SafetyAlertsNotificationHandler.cs:line 45\\r\\n   at OQSHA.Notification.Orchestrator.Routing.EventRouter.ExecuteAsync(String messageId, NotificationEventDto request) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\Routing\\\\EventRouter.cs:line 38\\r\\n   at OQSHA.Notification.Orchestrator.Worker.OrchestratorMessageHandler.HandleMessage(IMessage message) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\Worker\\\\OrchestratorMessageHandler.cs:line 44\",\"OriginalBody\":\"{\\\"TemplateId\\\":1,\\\"EntityType\\\":\\\"safety_alerts\\\",\\\"EventType\\\":null,\\\"NotifyRoleId\\\":489,\\\"NotifyUserId\\\":null,\\\"NotifyDynamicActor\\\":null,\\\"EntityContext\\\":{\\\"Parameters\\\":{\\\"alertId\\\":\\\"1204\\\",\\\"orgId\\\":\\\"262\\\",\\\"alertLink\\\":\\\"https://sandbox.oqsha.com/#/safety-alerts-v2/edit-safety-alert-v2/1204\\\",\\\"EmailFooter\\\":\\\"OQSHA Team\\\",\\\"UserName\\\":\\\"Hebert Eaton\\\",\\\"description\\\":\\\"\\\"}},\\\"ActorContext\\\":null,\\\"Metadata\\\":null}\"}"}

{"Timestamp":"2026-08-20T09:43:53.6886951+00:00","Level":"Information","Data":{"EventId":1853213373},"Message":"Sent message ID 1830c5b744ac3000 to DLQ"}

{"Timestamp":"2026-08-20T09:43:53.7103639+00:00","Level":"Information","Data":{"EventId":392656381},"Message":"Notification event with message ID 1830c5b744ec3000 received: {\"TemplateId\":24,\"EntityType\":\"safety_alerts\",\"EventType\":null,\"NotifyRoleId\":489,\"NotifyUserId\":null,\"NotifyDynamicActor\":null,\"EntityContext\":{\"Parameters\":{\"alertId\":\"1204\",\"orgId\":\"262\",\"alertLink\":\"https://sandbox.oqsha.com/#/safety-alerts-v2/edit-safety-alert-v2/1204\",\"EmailFooter\":\"OQSHA Team\",\"UserName\":\"Hebert Eaton\",\"description\":\"\"}},\"ActorContext\":null,\"Metadata\":null}"}

{"Timestamp":"2026-08-20T09:43:53.7136010+00:00","Level":"Information","Data":{"EventId":1709540252},"Message":"Started processing notification for message ID 1830c5b744ec3000"}

{"Timestamp":"2026-08-20T09:43:53.7136485+00:00","Level":"Information","Data":{"EventId":2931435839},"Message":"Looking up the notification handler for message ID 1830c5b744ec3000"}

{"Timestamp":"2026-08-20T09:43:53.7136648+00:00","Level":"Information","Data":{"EventId":2995008308},"Message":"Event handling in process for message ID 1830c5b744ec3000"}

{"Timestamp":"2026-08-20T09:43:53.7194769+00:00","Level":"Information","Data":{"EventId":3359577934},"Message":"Sending message ID 1830c5b744ec3000 to DLQ"}

{"Timestamp":"2026-08-20T09:43:53.7196965+00:00","Level":"Information","Data":{"EventId":3451878751},"Message":"Dead letter envelope for DLQ message: {\"SourceTopic\":\"stg.notification.orchestrator\",\"SourceChannel\":\"notification-orchestrator\",\"FailedAtUtc\":\"2026-08-20T09:43:53.7195283Z\",\"Attempts\":1,\"ErrorType\":\"OQSHA.Notification.Orchestrator.Exceptions.PermanentOrchestratorException\",\"ErrorMessage\":\"Safety alert ID 1204 not found for message ID 1830c5b744ec3000\",\"StackTrace\":\"   at OQSHA.Notification.Orchestrator.NotificationHandlers.SafetyAlertsNotificationHandler.FetchAlertAsync(String messageId, Int32 orgId, Int32 alertId) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\NotificationHandlers\\\\SafetyAlertsNotificationHandler.cs:line 249\\r\\n   at OQSHA.Notification.Orchestrator.NotificationHandlers.SafetyAlertsNotificationHandler.HandleTemplateBasedAlertNotificationAsync(String messageId, NotificationEventDto request) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\NotificationHandlers\\\\SafetyAlertsNotificationHandler.cs:line 87\\r\\n   at OQSHA.Notification.Orchestrator.NotificationHandlers.SafetyAlertsNotificationHandler.ProcessEventAsync(String messageId, NotificationEventDto request) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\NotificationHandlers\\\\SafetyAlertsNotificationHandler.cs:line 45\\r\\n   at OQSHA.Notification.Orchestrator.Routing.EventRouter.ExecuteAsync(String messageId, NotificationEventDto request) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\Routing\\\\EventRouter.cs:line 38\\r\\n   at OQSHA.Notification.Orchestrator.Worker.OrchestratorMessageHandler.HandleMessage(IMessage message) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\Worker\\\\OrchestratorMessageHandler.cs:line 44\",\"OriginalBody\":\"{\\\"TemplateId\\\":24,\\\"EntityType\\\":\\\"safety_alerts\\\",\\\"EventType\\\":null,\\\"NotifyRoleId\\\":489,\\\"NotifyUserId\\\":null,\\\"NotifyDynamicActor\\\":null,\\\"EntityContext\\\":{\\\"Parameters\\\":{\\\"alertId\\\":\\\"1204\\\",\\\"orgId\\\":\\\"262\\\",\\\"alertLink\\\":\\\"https://sandbox.oqsha.com/#/safety-alerts-v2/edit-safety-alert-v2/1204\\\",\\\"EmailFooter\\\":\\\"OQSHA Team\\\",\\\"UserName\\\":\\\"Hebert Eaton\\\",\\\"description\\\":\\\"\\\"}},\\\"ActorContext\\\":null,\\\"Metadata\\\":null}\"}"}

{"Timestamp":"2026-08-20T09:43:53.7204653+00:00","Level":"Information","Data":{"EventId":3236739229},"Message":"Sent message ID 1830c5b744ec3000 to DLQ"}

{"Timestamp":"2026-08-20T09:45:03.1814155+00:00","Level":"Information","Data":{"EventId":2300934616},"Message":"Notification event with message ID 1830c5f7ff6c3000 received: {\"TemplateId\":6,\"EntityType\":\"safety_alerts\",\"EventType\":null,\"NotifyRoleId\":null,\"NotifyUserId\":null,\"NotifyDynamicActor\":\"AssignedUser\",\"EntityContext\":{\"Parameters\":{\"alertId\":\"1204\",\"orgId\":\"262\",\"alertLink\":\"https://sandbox.oqsha.com/#/safety-alerts-v2/edit-safety-alert-v2/1204\",\"EmailFooter\":\"OQSHA Team\",\"UserName\":\" \",\"Changes\":\"test\",\"description\":\"\"}},\"ActorContext\":{\"AssignedUser\":[267]},\"Metadata\":null}"}

{"Timestamp":"2026-08-20T09:45:03.1837241+00:00","Level":"Information","Data":{"EventId":3947395705},"Message":"Started processing notification for message ID 1830c5f7ff6c3000"}

{"Timestamp":"2026-08-20T09:45:03.1837624+00:00","Level":"Information","Data":{"EventId":4090553413},"Message":"Looking up the notification handler for message ID 1830c5f7ff6c3000"}

{"Timestamp":"2026-08-20T09:45:03.1837714+00:00","Level":"Information","Data":{"EventId":2578025660},"Message":"Event handling in process for message ID 1830c5f7ff6c3000"}

{"Timestamp":"2026-08-20T09:45:03.1879193+00:00","Level":"Information","Data":{"EventId":1469564006},"Message":"Sending message ID 1830c5f7ff6c3000 to DLQ"}

{"Timestamp":"2026-08-20T09:45:03.1881349+00:00","Level":"Information","Data":{"EventId":4034500417},"Message":"Dead letter envelope for DLQ message: {\"SourceTopic\":\"stg.notification.orchestrator\",\"SourceChannel\":\"notification-orchestrator\",\"FailedAtUtc\":\"2026-08-20T09:45:03.1879653Z\",\"Attempts\":1,\"ErrorType\":\"OQSHA.Notification.Orchestrator.Exceptions.PermanentOrchestratorException\",\"ErrorMessage\":\"Safety alert ID 1204 not found for message ID 1830c5f7ff6c3000\",\"StackTrace\":\"   at OQSHA.Notification.Orchestrator.NotificationHandlers.SafetyAlertsNotificationHandler.FetchAlertAsync(String messageId, Int32 orgId, Int32 alertId) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\NotificationHandlers\\\\SafetyAlertsNotificationHandler.cs:line 249\\r\\n   at OQSHA.Notification.Orchestrator.NotificationHandlers.SafetyAlertsNotificationHandler.HandleTemplateBasedAlertNotificationAsync(String messageId, NotificationEventDto request) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\NotificationHandlers\\\\SafetyAlertsNotificationHandler.cs:line 87\\r\\n   at OQSHA.Notification.Orchestrator.NotificationHandlers.SafetyAlertsNotificationHandler.ProcessEventAsync(String messageId, NotificationEventDto request) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\NotificationHandlers\\\\SafetyAlertsNotificationHandler.cs:line 45\\r\\n   at OQSHA.Notification.Orchestrator.Routing.EventRouter.ExecuteAsync(String messageId, NotificationEventDto request) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\Routing\\\\EventRouter.cs:line 38\\r\\n   at OQSHA.Notification.Orchestrator.Worker.OrchestratorMessageHandler.HandleMessage(IMessage message) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\Worker\\\\OrchestratorMessageHandler.cs:line 44\",\"OriginalBody\":\"{\\\"TemplateId\\\":6,\\\"EntityType\\\":\\\"safety_alerts\\\",\\\"EventType\\\":null,\\\"NotifyRoleId\\\":null,\\\"NotifyUserId\\\":null,\\\"NotifyDynamicActor\\\":\\\"AssignedUser\\\",\\\"EntityContext\\\":{\\\"Parameters\\\":{\\\"alertId\\\":\\\"1204\\\",\\\"orgId\\\":\\\"262\\\",\\\"alertLink\\\":\\\"https://sandbox.oqsha.com/#/safety-alerts-v2/edit-safety-alert-v2/1204\\\",\\\"EmailFooter\\\":\\\"OQSHA Team\\\",\\\"UserName\\\":\\\" \\\",\\\"Changes\\\":\\\"test\\\",\\\"description\\\":\\\"\\\"}},\\\"ActorContext\\\":{\\\"AssignedUser\\\":[267]},\\\"Metadata\\\":null}\"}"}

{"Timestamp":"2026-08-20T09:45:03.1884954+00:00","Level":"Information","Data":{"EventId":2807532040},"Message":"Sent message ID 1830c5f7ff6c3000 to DLQ"}

{"Timestamp":"2026-08-20T09:45:03.2027981+00:00","Level":"Information","Data":{"EventId":2925260053},"Message":"Notification event with message ID 1830c5f8006c3000 received: {\"TemplateId\":8,\"EntityType\":\"safety_alerts\",\"EventType\":null,\"NotifyRoleId\":null,\"NotifyUserId\":null,\"NotifyDynamicActor\":\"AssignedUser\",\"EntityContext\":{\"Parameters\":{\"alertId\":\"1204\",\"orgId\":\"262\",\"alertLink\":\"https://sandbox.oqsha.com/#/safety-alerts-v2/edit-safety-alert-v2/1204\",\"EmailFooter\":\"OQSHA Team\",\"UserName\":\" \",\"Changes\":\"test\",\"description\":\"\"}},\"ActorContext\":{\"AssignedUser\":[267]},\"Metadata\":null}"}

{"Timestamp":"2026-08-20T09:45:03.2049529+00:00","Level":"Information","Data":{"EventId":449232544},"Message":"Started processing notification for message ID 1830c5f8006c3000"}

{"Timestamp":"2026-08-20T09:45:03.2050015+00:00","Level":"Information","Data":{"EventId":3697282355},"Message":"Looking up the notification handler for message ID 1830c5f8006c3000"}

{"Timestamp":"2026-08-20T09:45:03.2050141+00:00","Level":"Information","Data":{"EventId":3601160183},"Message":"Event handling in process for message ID 1830c5f8006c3000"}

{"Timestamp":"2026-08-20T09:45:03.2085391+00:00","Level":"Information","Data":{"EventId":3117808795},"Message":"Sending message ID 1830c5f8006c3000 to DLQ"}

{"Timestamp":"2026-08-20T09:45:03.2087280+00:00","Level":"Information","Data":{"EventId":3749448485},"Message":"Dead letter envelope for DLQ message: {\"SourceTopic\":\"stg.notification.orchestrator\",\"SourceChannel\":\"notification-orchestrator\",\"FailedAtUtc\":\"2026-08-20T09:45:03.2085832Z\",\"Attempts\":1,\"ErrorType\":\"OQSHA.Notification.Orchestrator.Exceptions.PermanentOrchestratorException\",\"ErrorMessage\":\"Safety alert ID 1204 not found for message ID 1830c5f8006c3000\",\"StackTrace\":\"   at OQSHA.Notification.Orchestrator.NotificationHandlers.SafetyAlertsNotificationHandler.FetchAlertAsync(String messageId, Int32 orgId, Int32 alertId) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\NotificationHandlers\\\\SafetyAlertsNotificationHandler.cs:line 249\\r\\n   at OQSHA.Notification.Orchestrator.NotificationHandlers.SafetyAlertsNotificationHandler.HandleTemplateBasedAlertNotificationAsync(String messageId, NotificationEventDto request) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\NotificationHandlers\\\\SafetyAlertsNotificationHandler.cs:line 87\\r\\n   at OQSHA.Notification.Orchestrator.NotificationHandlers.SafetyAlertsNotificationHandler.ProcessEventAsync(String messageId, NotificationEventDto request) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\NotificationHandlers\\\\SafetyAlertsNotificationHandler.cs:line 45\\r\\n   at OQSHA.Notification.Orchestrator.Routing.EventRouter.ExecuteAsync(String messageId, NotificationEventDto request) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\Routing\\\\EventRouter.cs:line 38\\r\\n   at OQSHA.Notification.Orchestrator.Worker.OrchestratorMessageHandler.HandleMessage(IMessage message) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\Worker\\\\OrchestratorMessageHandler.cs:line 44\",\"OriginalBody\":\"{\\\"TemplateId\\\":8,\\\"EntityType\\\":\\\"safety_alerts\\\",\\\"EventType\\\":null,\\\"NotifyRoleId\\\":null,\\\"NotifyUserId\\\":null,\\\"NotifyDynamicActor\\\":\\\"AssignedUser\\\",\\\"EntityContext\\\":{\\\"Parameters\\\":{\\\"alertId\\\":\\\"1204\\\",\\\"orgId\\\":\\\"262\\\",\\\"alertLink\\\":\\\"https://sandbox.oqsha.com/#/safety-alerts-v2/edit-safety-alert-v2/1204\\\",\\\"EmailFooter\\\":\\\"OQSHA Team\\\",\\\"UserName\\\":\\\" \\\",\\\"Changes\\\":\\\"test\\\",\\\"description\\\":\\\"\\\"}},\\\"ActorContext\\\":{\\\"AssignedUser\\\":[267]},\\\"Metadata\\\":null}\"}"}

{"Timestamp":"2026-08-20T09:45:03.2094777+00:00","Level":"Information","Data":{"EventId":595325872},"Message":"Sent message ID 1830c5f8006c3000 to DLQ"}

{"Timestamp":"2026-08-20T09:45:25.3830413+00:00","Level":"Information","Data":{"EventId":3140447486},"Message":"Notification event with message ID 1830c60cacac3000 received: {\"TemplateId\":6,\"EntityType\":\"safety_alerts\",\"EventType\":null,\"NotifyRoleId\":489,\"NotifyUserId\":null,\"NotifyDynamicActor\":null,\"EntityContext\":{\"Parameters\":{\"alertId\":\"1204\",\"orgId\":\"262\",\"alertLink\":\"https://sandbox.oqsha.com/#/safety-alerts-v2/edit-safety-alert-v2/1204\",\"EmailFooter\":\"OQSHA Team\",\"UserName\":\" \",\"Changes\":\"test\",\"description\":\"\"}},\"ActorContext\":{\"AssignedUser\":[267]},\"Metadata\":null}"}

{"Timestamp":"2026-08-20T09:45:25.3852959+00:00","Level":"Information","Data":{"EventId":1092476498},"Message":"Started processing notification for message ID 1830c60cacac3000"}

{"Timestamp":"2026-08-20T09:45:25.3853297+00:00","Level":"Information","Data":{"EventId":2076555213},"Message":"Looking up the notification handler for message ID 1830c60cacac3000"}

{"Timestamp":"2026-08-20T09:45:25.3853393+00:00","Level":"Information","Data":{"EventId":3549192200},"Message":"Event handling in process for message ID 1830c60cacac3000"}

{"Timestamp":"2026-08-20T09:45:25.3900191+00:00","Level":"Information","Data":{"EventId":3179444038},"Message":"Sending message ID 1830c60cacac3000 to DLQ"}

{"Timestamp":"2026-08-20T09:45:25.3901912+00:00","Level":"Information","Data":{"EventId":866103402},"Message":"Dead letter envelope for DLQ message: {\"SourceTopic\":\"stg.notification.orchestrator\",\"SourceChannel\":\"notification-orchestrator\",\"FailedAtUtc\":\"2026-08-20T09:45:25.3900643Z\",\"Attempts\":1,\"ErrorType\":\"OQSHA.Notification.Orchestrator.Exceptions.PermanentOrchestratorException\",\"ErrorMessage\":\"Safety alert ID 1204 not found for message ID 1830c60cacac3000\",\"StackTrace\":\"   at OQSHA.Notification.Orchestrator.NotificationHandlers.SafetyAlertsNotificationHandler.FetchAlertAsync(String messageId, Int32 orgId, Int32 alertId) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\NotificationHandlers\\\\SafetyAlertsNotificationHandler.cs:line 249\\r\\n   at OQSHA.Notification.Orchestrator.NotificationHandlers.SafetyAlertsNotificationHandler.HandleTemplateBasedAlertNotificationAsync(String messageId, NotificationEventDto request) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\NotificationHandlers\\\\SafetyAlertsNotificationHandler.cs:line 87\\r\\n   at OQSHA.Notification.Orchestrator.NotificationHandlers.SafetyAlertsNotificationHandler.ProcessEventAsync(String messageId, NotificationEventDto request) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\NotificationHandlers\\\\SafetyAlertsNotificationHandler.cs:line 45\\r\\n   at OQSHA.Notification.Orchestrator.Routing.EventRouter.ExecuteAsync(String messageId, NotificationEventDto request) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\Routing\\\\EventRouter.cs:line 38\\r\\n   at OQSHA.Notification.Orchestrator.Worker.OrchestratorMessageHandler.HandleMessage(IMessage message) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\Worker\\\\OrchestratorMessageHandler.cs:line 44\",\"OriginalBody\":\"{\\\"TemplateId\\\":6,\\\"EntityType\\\":\\\"safety_alerts\\\",\\\"EventType\\\":null,\\\"NotifyRoleId\\\":489,\\\"NotifyUserId\\\":null,\\\"NotifyDynamicActor\\\":null,\\\"EntityContext\\\":{\\\"Parameters\\\":{\\\"alertId\\\":\\\"1204\\\",\\\"orgId\\\":\\\"262\\\",\\\"alertLink\\\":\\\"https://sandbox.oqsha.com/#/safety-alerts-v2/edit-safety-alert-v2/1204\\\",\\\"EmailFooter\\\":\\\"OQSHA Team\\\",\\\"UserName\\\":\\\" \\\",\\\"Changes\\\":\\\"test\\\",\\\"description\\\":\\\"\\\"}},\\\"ActorContext\\\":{\\\"AssignedUser\\\":[267]},\\\"Metadata\\\":null}\"}"}

{"Timestamp":"2026-08-20T09:45:25.3908606+00:00","Level":"Information","Data":{"EventId":2353280537},"Message":"Sent message ID 1830c60cacac3000 to DLQ"}

{"Timestamp":"2026-08-20T09:45:25.4584543+00:00","Level":"Information","Data":{"EventId":3701183953},"Message":"Notification event with message ID 1830c60cad2c3000 received: {\"TemplateId\":8,\"EntityType\":\"safety_alerts\",\"EventType\":null,\"NotifyRoleId\":489,\"NotifyUserId\":null,\"NotifyDynamicActor\":null,\"EntityContext\":{\"Parameters\":{\"alertId\":\"1204\",\"orgId\":\"262\",\"alertLink\":\"https://sandbox.oqsha.com/#/safety-alerts-v2/edit-safety-alert-v2/1204\",\"EmailFooter\":\"OQSHA Team\",\"UserName\":\" \",\"Changes\":\"test\",\"description\":\"\"}},\"ActorContext\":{\"AssignedUser\":[267]},\"Metadata\":null}"}

{"Timestamp":"2026-08-20T09:45:25.4620317+00:00","Level":"Information","Data":{"EventId":3950591289},"Message":"Started processing notification for message ID 1830c60cad2c3000"}

{"Timestamp":"2026-08-20T09:45:25.4621479+00:00","Level":"Information","Data":{"EventId":2772285790},"Message":"Looking up the notification handler for message ID 1830c60cad2c3000"}

{"Timestamp":"2026-08-20T09:45:25.4621818+00:00","Level":"Information","Data":{"EventId":3585741972},"Message":"Event handling in process for message ID 1830c60cad2c3000"}

{"Timestamp":"2026-08-20T09:45:25.4703777+00:00","Level":"Information","Data":{"EventId":2381591948},"Message":"Sending message ID 1830c60cad2c3000 to DLQ"}

{"Timestamp":"2026-08-20T09:45:25.4705538+00:00","Level":"Information","Data":{"EventId":1189277937},"Message":"Dead letter envelope for DLQ message: {\"SourceTopic\":\"stg.notification.orchestrator\",\"SourceChannel\":\"notification-orchestrator\",\"FailedAtUtc\":\"2026-08-20T09:45:25.4704201Z\",\"Attempts\":1,\"ErrorType\":\"OQSHA.Notification.Orchestrator.Exceptions.PermanentOrchestratorException\",\"ErrorMessage\":\"Safety alert ID 1204 not found for message ID 1830c60cad2c3000\",\"StackTrace\":\"   at OQSHA.Notification.Orchestrator.NotificationHandlers.SafetyAlertsNotificationHandler.FetchAlertAsync(String messageId, Int32 orgId, Int32 alertId) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\NotificationHandlers\\\\SafetyAlertsNotificationHandler.cs:line 249\\r\\n   at OQSHA.Notification.Orchestrator.NotificationHandlers.SafetyAlertsNotificationHandler.HandleTemplateBasedAlertNotificationAsync(String messageId, NotificationEventDto request) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\NotificationHandlers\\\\SafetyAlertsNotificationHandler.cs:line 87\\r\\n   at OQSHA.Notification.Orchestrator.NotificationHandlers.SafetyAlertsNotificationHandler.ProcessEventAsync(String messageId, NotificationEventDto request) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\NotificationHandlers\\\\SafetyAlertsNotificationHandler.cs:line 45\\r\\n   at OQSHA.Notification.Orchestrator.Routing.EventRouter.ExecuteAsync(String messageId, NotificationEventDto request) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\Routing\\\\EventRouter.cs:line 38\\r\\n   at OQSHA.Notification.Orchestrator.Worker.OrchestratorMessageHandler.HandleMessage(IMessage message) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\Worker\\\\OrchestratorMessageHandler.cs:line 44\",\"OriginalBody\":\"{\\\"TemplateId\\\":8,\\\"EntityType\\\":\\\"safety_alerts\\\",\\\"EventType\\\":null,\\\"NotifyRoleId\\\":489,\\\"NotifyUserId\\\":null,\\\"NotifyDynamicActor\\\":null,\\\"EntityContext\\\":{\\\"Parameters\\\":{\\\"alertId\\\":\\\"1204\\\",\\\"orgId\\\":\\\"262\\\",\\\"alertLink\\\":\\\"https://sandbox.oqsha.com/#/safety-alerts-v2/edit-safety-alert-v2/1204\\\",\\\"EmailFooter\\\":\\\"OQSHA Team\\\",\\\"UserName\\\":\\\" \\\",\\\"Changes\\\":\\\"test\\\",\\\"description\\\":\\\"\\\"}},\\\"ActorContext\\\":{\\\"AssignedUser\\\":[267]},\\\"Metadata\\\":null}\"}"}

{"Timestamp":"2026-08-20T09:45:25.4718114+00:00","Level":"Information","Data":{"EventId":3942128604},"Message":"Sent message ID 1830c60cad2c3000 to DLQ"}

{"Timestamp":"2026-08-20T09:46:51.9900288+00:00","Level":"Information","Data":{"EventId":846537677},"Message":"Notification event with message ID 1830c65d556c3000 received: {\"TemplateId\":6,\"EntityType\":\"safety_alerts\",\"EventType\":null,\"NotifyRoleId\":null,\"NotifyUserId\":null,\"NotifyDynamicActor\":\"AssignedUser\",\"EntityContext\":{\"Parameters\":{\"alertId\":\"1204\",\"orgId\":\"262\",\"alertLink\":\"https://sandbox.oqsha.com/#/safety-alerts-v2/edit-safety-alert-v2/1204\",\"EmailFooter\":\"OQSHA Team\",\"UserName\":\" \",\"Changes\":\"Closed\",\"description\":\"\"}},\"ActorContext\":{\"AssignedUser\":[267]},\"Metadata\":null}"}

{"Timestamp":"2026-08-20T09:46:51.9923221+00:00","Level":"Information","Data":{"EventId":1984643632},"Message":"Started processing notification for message ID 1830c65d556c3000"}

{"Timestamp":"2026-08-20T09:46:51.9923605+00:00","Level":"Information","Data":{"EventId":2091811418},"Message":"Looking up the notification handler for message ID 1830c65d556c3000"}

{"Timestamp":"2026-08-20T09:46:51.9923940+00:00","Level":"Information","Data":{"EventId":1683227228},"Message":"Event handling in process for message ID 1830c65d556c3000"}

{"Timestamp":"2026-08-20T09:46:51.9977575+00:00","Level":"Information","Data":{"EventId":2144766890},"Message":"Sending message ID 1830c65d556c3000 to DLQ"}

{"Timestamp":"2026-08-20T09:46:51.9979349+00:00","Level":"Information","Data":{"EventId":1731198707},"Message":"Dead letter envelope for DLQ message: {\"SourceTopic\":\"stg.notification.orchestrator\",\"SourceChannel\":\"notification-orchestrator\",\"FailedAtUtc\":\"2026-08-20T09:46:51.9978004Z\",\"Attempts\":1,\"ErrorType\":\"OQSHA.Notification.Orchestrator.Exceptions.PermanentOrchestratorException\",\"ErrorMessage\":\"Safety alert ID 1204 not found for message ID 1830c65d556c3000\",\"StackTrace\":\"   at OQSHA.Notification.Orchestrator.NotificationHandlers.SafetyAlertsNotificationHandler.FetchAlertAsync(String messageId, Int32 orgId, Int32 alertId) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\NotificationHandlers\\\\SafetyAlertsNotificationHandler.cs:line 249\\r\\n   at OQSHA.Notification.Orchestrator.NotificationHandlers.SafetyAlertsNotificationHandler.HandleTemplateBasedAlertNotificationAsync(String messageId, NotificationEventDto request) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\NotificationHandlers\\\\SafetyAlertsNotificationHandler.cs:line 87\\r\\n   at OQSHA.Notification.Orchestrator.NotificationHandlers.SafetyAlertsNotificationHandler.ProcessEventAsync(String messageId, NotificationEventDto request) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\NotificationHandlers\\\\SafetyAlertsNotificationHandler.cs:line 45\\r\\n   at OQSHA.Notification.Orchestrator.Routing.EventRouter.ExecuteAsync(String messageId, NotificationEventDto request) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\Routing\\\\EventRouter.cs:line 38\\r\\n   at OQSHA.Notification.Orchestrator.Worker.OrchestratorMessageHandler.HandleMessage(IMessage message) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\Worker\\\\OrchestratorMessageHandler.cs:line 44\",\"OriginalBody\":\"{\\\"TemplateId\\\":6,\\\"EntityType\\\":\\\"safety_alerts\\\",\\\"EventType\\\":null,\\\"NotifyRoleId\\\":null,\\\"NotifyUserId\\\":null,\\\"NotifyDynamicActor\\\":\\\"AssignedUser\\\",\\\"EntityContext\\\":{\\\"Parameters\\\":{\\\"alertId\\\":\\\"1204\\\",\\\"orgId\\\":\\\"262\\\",\\\"alertLink\\\":\\\"https://sandbox.oqsha.com/#/safety-alerts-v2/edit-safety-alert-v2/1204\\\",\\\"EmailFooter\\\":\\\"OQSHA Team\\\",\\\"UserName\\\":\\\" \\\",\\\"Changes\\\":\\\"Closed\\\",\\\"description\\\":\\\"\\\"}},\\\"ActorContext\\\":{\\\"AssignedUser\\\":[267]},\\\"Metadata\\\":null}\"}"}

{"Timestamp":"2026-08-20T09:46:51.9984511+00:00","Level":"Information","Data":{"EventId":2213810490},"Message":"Sent message ID 1830c65d556c3000 to DLQ"}

{"Timestamp":"2026-08-20T09:46:52.2125461+00:00","Level":"Information","Data":{"EventId":2065912439},"Message":"Notification event with message ID 1830c65d562c3000 received: {\"TemplateId\":8,\"EntityType\":\"safety_alerts\",\"EventType\":null,\"NotifyRoleId\":null,\"NotifyUserId\":null,\"NotifyDynamicActor\":\"AssignedUser\",\"EntityContext\":{\"Parameters\":{\"alertId\":\"1204\",\"orgId\":\"262\",\"alertLink\":\"https://sandbox.oqsha.com/#/safety-alerts-v2/edit-safety-alert-v2/1204\",\"EmailFooter\":\"OQSHA Team\",\"UserName\":\" \",\"Changes\":\"Closed\",\"description\":\"\"}},\"ActorContext\":{\"AssignedUser\":[267]},\"Metadata\":null}"}

{"Timestamp":"2026-08-20T09:46:52.2172641+00:00","Level":"Information","Data":{"EventId":974916923},"Message":"Started processing notification for message ID 1830c65d562c3000"}

{"Timestamp":"2026-08-20T09:46:52.2173839+00:00","Level":"Information","Data":{"EventId":1943349560},"Message":"Looking up the notification handler for message ID 1830c65d562c3000"}

{"Timestamp":"2026-08-20T09:46:52.2174230+00:00","Level":"Information","Data":{"EventId":2695148583},"Message":"Event handling in process for message ID 1830c65d562c3000"}

{"Timestamp":"2026-08-20T09:46:52.2264638+00:00","Level":"Information","Data":{"EventId":3888527413},"Message":"Sending message ID 1830c65d562c3000 to DLQ"}

{"Timestamp":"2026-08-20T09:46:52.2270061+00:00","Level":"Information","Data":{"EventId":1181018938},"Message":"Dead letter envelope for DLQ message: {\"SourceTopic\":\"stg.notification.orchestrator\",\"SourceChannel\":\"notification-orchestrator\",\"FailedAtUtc\":\"2026-08-20T09:46:52.2265734Z\",\"Attempts\":1,\"ErrorType\":\"OQSHA.Notification.Orchestrator.Exceptions.PermanentOrchestratorException\",\"ErrorMessage\":\"Safety alert ID 1204 not found for message ID 1830c65d562c3000\",\"StackTrace\":\"   at OQSHA.Notification.Orchestrator.NotificationHandlers.SafetyAlertsNotificationHandler.FetchAlertAsync(String messageId, Int32 orgId, Int32 alertId) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\NotificationHandlers\\\\SafetyAlertsNotificationHandler.cs:line 249\\r\\n   at OQSHA.Notification.Orchestrator.NotificationHandlers.SafetyAlertsNotificationHandler.HandleTemplateBasedAlertNotificationAsync(String messageId, NotificationEventDto request) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\NotificationHandlers\\\\SafetyAlertsNotificationHandler.cs:line 87\\r\\n   at OQSHA.Notification.Orchestrator.NotificationHandlers.SafetyAlertsNotificationHandler.ProcessEventAsync(String messageId, NotificationEventDto request) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\NotificationHandlers\\\\SafetyAlertsNotificationHandler.cs:line 45\\r\\n   at OQSHA.Notification.Orchestrator.Routing.EventRouter.ExecuteAsync(String messageId, NotificationEventDto request) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\Routing\\\\EventRouter.cs:line 38\\r\\n   at OQSHA.Notification.Orchestrator.Worker.OrchestratorMessageHandler.HandleMessage(IMessage message) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\Worker\\\\OrchestratorMessageHandler.cs:line 44\",\"OriginalBody\":\"{\\\"TemplateId\\\":8,\\\"EntityType\\\":\\\"safety_alerts\\\",\\\"EventType\\\":null,\\\"NotifyRoleId\\\":null,\\\"NotifyUserId\\\":null,\\\"NotifyDynamicActor\\\":\\\"AssignedUser\\\",\\\"EntityContext\\\":{\\\"Parameters\\\":{\\\"alertId\\\":\\\"1204\\\",\\\"orgId\\\":\\\"262\\\",\\\"alertLink\\\":\\\"https://sandbox.oqsha.com/#/safety-alerts-v2/edit-safety-alert-v2/1204\\\",\\\"EmailFooter\\\":\\\"OQSHA Team\\\",\\\"UserName\\\":\\\" \\\",\\\"Changes\\\":\\\"Closed\\\",\\\"description\\\":\\\"\\\"}},\\\"ActorContext\\\":{\\\"AssignedUser\\\":[267]},\\\"Metadata\\\":null}\"}"}

{"Timestamp":"2026-08-20T09:46:52.2278056+00:00","Level":"Information","Data":{"EventId":2676974405},"Message":"Sent message ID 1830c65d562c3000 to DLQ"}

{"Timestamp":"2026-08-20T10:03:13.2919461+00:00","Level":"Information","Data":{"EventId":1659092010},"Message":"Notification event with message ID 1830c9ef3e2c3000 received: {\"TemplateId\":1,\"EntityType\":\"safety_alerts\",\"EventType\":null,\"NotifyRoleId\":489,\"NotifyUserId\":null,\"NotifyDynamicActor\":null,\"EntityContext\":{\"Parameters\":{\"alertId\":\"1205\",\"orgId\":\"262\",\"alertLink\":\"https://sandbox.oqsha.com/#/safety-alerts-v2/edit-safety-alert-v2/1205\",\"EmailFooter\":\"OQSHA Team\",\"UserName\":\"Hebert Eaton\",\"description\":\"Test\"}},\"ActorContext\":null,\"Metadata\":null}"}

{"Timestamp":"2026-08-20T10:03:13.2941477+00:00","Level":"Information","Data":{"EventId":1896307043},"Message":"Started processing notification for message ID 1830c9ef3e2c3000"}

{"Timestamp":"2026-08-20T10:03:13.2941802+00:00","Level":"Information","Data":{"EventId":964995876},"Message":"Looking up the notification handler for message ID 1830c9ef3e2c3000"}

{"Timestamp":"2026-08-20T10:03:13.2941892+00:00","Level":"Information","Data":{"EventId":1975643971},"Message":"Event handling in process for message ID 1830c9ef3e2c3000"}

{"Timestamp":"2026-08-20T10:03:13.2989652+00:00","Level":"Information","Data":{"EventId":1852775834},"Message":"Sending message ID 1830c9ef3e2c3000 to DLQ"}

{"Timestamp":"2026-08-20T10:03:13.2991363+00:00","Level":"Information","Data":{"EventId":2843269576},"Message":"Dead letter envelope for DLQ message: {\"SourceTopic\":\"stg.notification.orchestrator\",\"SourceChannel\":\"notification-orchestrator\",\"FailedAtUtc\":\"2026-08-20T10:03:13.2990054Z\",\"Attempts\":1,\"ErrorType\":\"OQSHA.Notification.Orchestrator.Exceptions.PermanentOrchestratorException\",\"ErrorMessage\":\"Safety alert ID 1205 not found for message ID 1830c9ef3e2c3000\",\"StackTrace\":\"   at OQSHA.Notification.Orchestrator.NotificationHandlers.SafetyAlertsNotificationHandler.FetchAlertAsync(String messageId, Int32 orgId, Int32 alertId) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\NotificationHandlers\\\\SafetyAlertsNotificationHandler.cs:line 249\\r\\n   at OQSHA.Notification.Orchestrator.NotificationHandlers.SafetyAlertsNotificationHandler.HandleTemplateBasedAlertNotificationAsync(String messageId, NotificationEventDto request) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\NotificationHandlers\\\\SafetyAlertsNotificationHandler.cs:line 87\\r\\n   at OQSHA.Notification.Orchestrator.NotificationHandlers.SafetyAlertsNotificationHandler.ProcessEventAsync(String messageId, NotificationEventDto request) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\NotificationHandlers\\\\SafetyAlertsNotificationHandler.cs:line 45\\r\\n   at OQSHA.Notification.Orchestrator.Routing.EventRouter.ExecuteAsync(String messageId, NotificationEventDto request) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\Routing\\\\EventRouter.cs:line 38\\r\\n   at OQSHA.Notification.Orchestrator.Worker.OrchestratorMessageHandler.HandleMessage(IMessage message) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\Worker\\\\OrchestratorMessageHandler.cs:line 44\",\"OriginalBody\":\"{\\\"TemplateId\\\":1,\\\"EntityType\\\":\\\"safety_alerts\\\",\\\"EventType\\\":null,\\\"NotifyRoleId\\\":489,\\\"NotifyUserId\\\":null,\\\"NotifyDynamicActor\\\":null,\\\"EntityContext\\\":{\\\"Parameters\\\":{\\\"alertId\\\":\\\"1205\\\",\\\"orgId\\\":\\\"262\\\",\\\"alertLink\\\":\\\"https://sandbox.oqsha.com/#/safety-alerts-v2/edit-safety-alert-v2/1205\\\",\\\"EmailFooter\\\":\\\"OQSHA Team\\\",\\\"UserName\\\":\\\"Hebert Eaton\\\",\\\"description\\\":\\\"Test\\\"}},\\\"ActorContext\\\":null,\\\"Metadata\\\":null}\"}"}

{"Timestamp":"2026-08-20T10:03:13.2997653+00:00","Level":"Information","Data":{"EventId":1487216998},"Message":"Sent message ID 1830c9ef3e2c3000 to DLQ"}

{"Timestamp":"2026-08-20T10:03:13.4491993+00:00","Level":"Information","Data":{"EventId":2232918417},"Message":"Notification event with message ID 1830c9ef3e6c3000 received: {\"TemplateId\":24,\"EntityType\":\"safety_alerts\",\"EventType\":null,\"NotifyRoleId\":489,\"NotifyUserId\":null,\"NotifyDynamicActor\":null,\"EntityContext\":{\"Parameters\":{\"alertId\":\"1205\",\"orgId\":\"262\",\"alertLink\":\"https://sandbox.oqsha.com/#/safety-alerts-v2/edit-safety-alert-v2/1205\",\"EmailFooter\":\"OQSHA Team\",\"UserName\":\"Hebert Eaton\",\"description\":\"Test\"}},\"ActorContext\":null,\"Metadata\":null}"}

{"Timestamp":"2026-08-20T10:03:13.4512282+00:00","Level":"Information","Data":{"EventId":1094109339},"Message":"Started processing notification for message ID 1830c9ef3e6c3000"}

{"Timestamp":"2026-08-20T10:03:13.4512860+00:00","Level":"Information","Data":{"EventId":3836296853},"Message":"Looking up the notification handler for message ID 1830c9ef3e6c3000"}

{"Timestamp":"2026-08-20T10:03:13.4512959+00:00","Level":"Information","Data":{"EventId":108267990},"Message":"Event handling in process for message ID 1830c9ef3e6c3000"}

{"Timestamp":"2026-08-20T10:03:13.4557688+00:00","Level":"Information","Data":{"EventId":1574123134},"Message":"Sending message ID 1830c9ef3e6c3000 to DLQ"}

{"Timestamp":"2026-08-20T10:03:13.4559124+00:00","Level":"Information","Data":{"EventId":3076554041},"Message":"Dead letter envelope for DLQ message: {\"SourceTopic\":\"stg.notification.orchestrator\",\"SourceChannel\":\"notification-orchestrator\",\"FailedAtUtc\":\"2026-08-20T10:03:13.4558011Z\",\"Attempts\":1,\"ErrorType\":\"OQSHA.Notification.Orchestrator.Exceptions.PermanentOrchestratorException\",\"ErrorMessage\":\"Safety alert ID 1205 not found for message ID 1830c9ef3e6c3000\",\"StackTrace\":\"   at OQSHA.Notification.Orchestrator.NotificationHandlers.SafetyAlertsNotificationHandler.FetchAlertAsync(String messageId, Int32 orgId, Int32 alertId) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\NotificationHandlers\\\\SafetyAlertsNotificationHandler.cs:line 249\\r\\n   at OQSHA.Notification.Orchestrator.NotificationHandlers.SafetyAlertsNotificationHandler.HandleTemplateBasedAlertNotificationAsync(String messageId, NotificationEventDto request) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\NotificationHandlers\\\\SafetyAlertsNotificationHandler.cs:line 87\\r\\n   at OQSHA.Notification.Orchestrator.NotificationHandlers.SafetyAlertsNotificationHandler.ProcessEventAsync(String messageId, NotificationEventDto request) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\NotificationHandlers\\\\SafetyAlertsNotificationHandler.cs:line 45\\r\\n   at OQSHA.Notification.Orchestrator.Routing.EventRouter.ExecuteAsync(String messageId, NotificationEventDto request) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\Routing\\\\EventRouter.cs:line 38\\r\\n   at OQSHA.Notification.Orchestrator.Worker.OrchestratorMessageHandler.HandleMessage(IMessage message) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\Worker\\\\OrchestratorMessageHandler.cs:line 44\",\"OriginalBody\":\"{\\\"TemplateId\\\":24,\\\"EntityType\\\":\\\"safety_alerts\\\",\\\"EventType\\\":null,\\\"NotifyRoleId\\\":489,\\\"NotifyUserId\\\":null,\\\"NotifyDynamicActor\\\":null,\\\"EntityContext\\\":{\\\"Parameters\\\":{\\\"alertId\\\":\\\"1205\\\",\\\"orgId\\\":\\\"262\\\",\\\"alertLink\\\":\\\"https://sandbox.oqsha.com/#/safety-alerts-v2/edit-safety-alert-v2/1205\\\",\\\"EmailFooter\\\":\\\"OQSHA Team\\\",\\\"UserName\\\":\\\"Hebert Eaton\\\",\\\"description\\\":\\\"Test\\\"}},\\\"ActorContext\\\":null,\\\"Metadata\\\":null}\"}"}

{"Timestamp":"2026-08-20T10:03:13.4565326+00:00","Level":"Information","Data":{"EventId":2625856766},"Message":"Sent message ID 1830c9ef3e6c3000 to DLQ"}

{"Timestamp":"2026-08-20T10:04:11.8839385+00:00","Level":"Information","Data":{"EventId":3193788938},"Message":"Notification event with message ID 1830ca25cfac3000 received: {\"TemplateId\":6,\"EntityType\":\"safety_alerts\",\"EventType\":null,\"NotifyRoleId\":null,\"NotifyUserId\":null,\"NotifyDynamicActor\":\"AssignedUser\",\"EntityContext\":{\"Parameters\":{\"alertId\":\"1205\",\"orgId\":\"262\",\"alertLink\":\"https://sandbox.oqsha.com/#/safety-alerts-v2/edit-safety-alert-v2/1205\",\"EmailFooter\":\"OQSHA Team\",\"UserName\":\" \",\"Changes\":\"tesdt\",\"description\":\"Test\"}},\"ActorContext\":{\"AssignedUser\":[20971]},\"Metadata\":null}"}

{"Timestamp":"2026-08-20T10:04:11.8864174+00:00","Level":"Information","Data":{"EventId":2775795217},"Message":"Started processing notification for message ID 1830ca25cfac3000"}

{"Timestamp":"2026-08-20T10:04:11.8864515+00:00","Level":"Information","Data":{"EventId":3302866727},"Message":"Looking up the notification handler for message ID 1830ca25cfac3000"}

{"Timestamp":"2026-08-20T10:04:11.8864602+00:00","Level":"Information","Data":{"EventId":1547788118},"Message":"Event handling in process for message ID 1830ca25cfac3000"}

{"Timestamp":"2026-08-20T10:04:11.8913680+00:00","Level":"Information","Data":{"EventId":2476130519},"Message":"Sending message ID 1830ca25cfac3000 to DLQ"}

{"Timestamp":"2026-08-20T10:04:11.8915493+00:00","Level":"Information","Data":{"EventId":1162663138},"Message":"Dead letter envelope for DLQ message: {\"SourceTopic\":\"stg.notification.orchestrator\",\"SourceChannel\":\"notification-orchestrator\",\"FailedAtUtc\":\"2026-08-20T10:04:11.891406Z\",\"Attempts\":1,\"ErrorType\":\"OQSHA.Notification.Orchestrator.Exceptions.PermanentOrchestratorException\",\"ErrorMessage\":\"Safety alert ID 1205 not found for message ID 1830ca25cfac3000\",\"StackTrace\":\"   at OQSHA.Notification.Orchestrator.NotificationHandlers.SafetyAlertsNotificationHandler.FetchAlertAsync(String messageId, Int32 orgId, Int32 alertId) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\NotificationHandlers\\\\SafetyAlertsNotificationHandler.cs:line 249\\r\\n   at OQSHA.Notification.Orchestrator.NotificationHandlers.SafetyAlertsNotificationHandler.HandleTemplateBasedAlertNotificationAsync(String messageId, NotificationEventDto request) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\NotificationHandlers\\\\SafetyAlertsNotificationHandler.cs:line 87\\r\\n   at OQSHA.Notification.Orchestrator.NotificationHandlers.SafetyAlertsNotificationHandler.ProcessEventAsync(String messageId, NotificationEventDto request) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\NotificationHandlers\\\\SafetyAlertsNotificationHandler.cs:line 45\\r\\n   at OQSHA.Notification.Orchestrator.Routing.EventRouter.ExecuteAsync(String messageId, NotificationEventDto request) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\Routing\\\\EventRouter.cs:line 38\\r\\n   at OQSHA.Notification.Orchestrator.Worker.OrchestratorMessageHandler.HandleMessage(IMessage message) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\Worker\\\\OrchestratorMessageHandler.cs:line 44\",\"OriginalBody\":\"{\\\"TemplateId\\\":6,\\\"EntityType\\\":\\\"safety_alerts\\\",\\\"EventType\\\":null,\\\"NotifyRoleId\\\":null,\\\"NotifyUserId\\\":null,\\\"NotifyDynamicActor\\\":\\\"AssignedUser\\\",\\\"EntityContext\\\":{\\\"Parameters\\\":{\\\"alertId\\\":\\\"1205\\\",\\\"orgId\\\":\\\"262\\\",\\\"alertLink\\\":\\\"https://sandbox.oqsha.com/#/safety-alerts-v2/edit-safety-alert-v2/1205\\\",\\\"EmailFooter\\\":\\\"OQSHA Team\\\",\\\"UserName\\\":\\\" \\\",\\\"Changes\\\":\\\"tesdt\\\",\\\"description\\\":\\\"Test\\\"}},\\\"ActorContext\\\":{\\\"AssignedUser\\\":[20971]},\\\"Metadata\\\":null}\"}"}

{"Timestamp":"2026-08-20T10:04:11.8918610+00:00","Level":"Information","Data":{"EventId":916380316},"Message":"Sent message ID 1830ca25cfac3000 to DLQ"}

{"Timestamp":"2026-08-20T10:04:11.9466025+00:00","Level":"Information","Data":{"EventId":1455340856},"Message":"Notification event with message ID 1830ca25d06c3000 received: {\"TemplateId\":8,\"EntityType\":\"safety_alerts\",\"EventType\":null,\"NotifyRoleId\":null,\"NotifyUserId\":null,\"NotifyDynamicActor\":\"AssignedUser\",\"EntityContext\":{\"Parameters\":{\"alertId\":\"1205\",\"orgId\":\"262\",\"alertLink\":\"https://sandbox.oqsha.com/#/safety-alerts-v2/edit-safety-alert-v2/1205\",\"EmailFooter\":\"OQSHA Team\",\"UserName\":\" \",\"Changes\":\"tesdt\",\"description\":\"Test\"}},\"ActorContext\":{\"AssignedUser\":[20971]},\"Metadata\":null}"}

{"Timestamp":"2026-08-20T10:04:11.9488356+00:00","Level":"Information","Data":{"EventId":422087144},"Message":"Started processing notification for message ID 1830ca25d06c3000"}

{"Timestamp":"2026-08-20T10:04:11.9488651+00:00","Level":"Information","Data":{"EventId":1649982213},"Message":"Looking up the notification handler for message ID 1830ca25d06c3000"}

{"Timestamp":"2026-08-20T10:04:11.9488725+00:00","Level":"Information","Data":{"EventId":2521671657},"Message":"Event handling in process for message ID 1830ca25d06c3000"}

{"Timestamp":"2026-08-20T10:04:11.9534393+00:00","Level":"Information","Data":{"EventId":220403517},"Message":"Sending message ID 1830ca25d06c3000 to DLQ"}

{"Timestamp":"2026-08-20T10:04:11.9535922+00:00","Level":"Information","Data":{"EventId":3372466264},"Message":"Dead letter envelope for DLQ message: {\"SourceTopic\":\"stg.notification.orchestrator\",\"SourceChannel\":\"notification-orchestrator\",\"FailedAtUtc\":\"2026-08-20T10:04:11.9534733Z\",\"Attempts\":1,\"ErrorType\":\"OQSHA.Notification.Orchestrator.Exceptions.PermanentOrchestratorException\",\"ErrorMessage\":\"Safety alert ID 1205 not found for message ID 1830ca25d06c3000\",\"StackTrace\":\"   at OQSHA.Notification.Orchestrator.NotificationHandlers.SafetyAlertsNotificationHandler.FetchAlertAsync(String messageId, Int32 orgId, Int32 alertId) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\NotificationHandlers\\\\SafetyAlertsNotificationHandler.cs:line 249\\r\\n   at OQSHA.Notification.Orchestrator.NotificationHandlers.SafetyAlertsNotificationHandler.HandleTemplateBasedAlertNotificationAsync(String messageId, NotificationEventDto request) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\NotificationHandlers\\\\SafetyAlertsNotificationHandler.cs:line 87\\r\\n   at OQSHA.Notification.Orchestrator.NotificationHandlers.SafetyAlertsNotificationHandler.ProcessEventAsync(String messageId, NotificationEventDto request) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\NotificationHandlers\\\\SafetyAlertsNotificationHandler.cs:line 45\\r\\n   at OQSHA.Notification.Orchestrator.Routing.EventRouter.ExecuteAsync(String messageId, NotificationEventDto request) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\Routing\\\\EventRouter.cs:line 38\\r\\n   at OQSHA.Notification.Orchestrator.Worker.OrchestratorMessageHandler.HandleMessage(IMessage message) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\Worker\\\\OrchestratorMessageHandler.cs:line 44\",\"OriginalBody\":\"{\\\"TemplateId\\\":8,\\\"EntityType\\\":\\\"safety_alerts\\\",\\\"EventType\\\":null,\\\"NotifyRoleId\\\":null,\\\"NotifyUserId\\\":null,\\\"NotifyDynamicActor\\\":\\\"AssignedUser\\\",\\\"EntityContext\\\":{\\\"Parameters\\\":{\\\"alertId\\\":\\\"1205\\\",\\\"orgId\\\":\\\"262\\\",\\\"alertLink\\\":\\\"https://sandbox.oqsha.com/#/safety-alerts-v2/edit-safety-alert-v2/1205\\\",\\\"EmailFooter\\\":\\\"OQSHA Team\\\",\\\"UserName\\\":\\\" \\\",\\\"Changes\\\":\\\"tesdt\\\",\\\"description\\\":\\\"Test\\\"}},\\\"ActorContext\\\":{\\\"AssignedUser\\\":[20971]},\\\"Metadata\\\":null}\"}"}

{"Timestamp":"2026-08-20T10:04:11.9540640+00:00","Level":"Information","Data":{"EventId":350842604},"Message":"Sent message ID 1830ca25d06c3000 to DLQ"}

{"Timestamp":"2026-08-20T11:37:35.7963932+00:00","Level":"Information","Data":{"EventId":1257982329},"Message":"Notification event with message ID 1830de88dc2c3000 received: {\"TemplateId\":18,\"EntityType\":\"work_permit_v2\",\"EventType\":null,\"NotifyRoleId\":null,\"NotifyUserId\":null,\"NotifyDynamicActor\":\"Work_Permit_Authorization_Department_Head\",\"EntityContext\":{\"Parameters\":{\"workPermitId\":\"589\",\"workPermitV2Id\":\"589\",\"orgId\":\"264\",\"viewLink\":\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/264/589?dlType=viewWorkPermitV2\",\"workPermitLink\":\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/264/589?dlType=viewWorkPermitV2\",\"emailFooter\":\"OQSHA Team\"}},\"ActorContext\":{\"Requestor\":[678],\"Work_Permit_Authorization_Department_Head\":[678],\"Work_Permit_Authorization_Area_Owner\":[678],\"Work_Permit_Authorization_Plant_Head\":[678]},\"Metadata\":null}"}

{"Timestamp":"2026-08-20T11:37:35.7985434+00:00","Level":"Information","Data":{"EventId":3501344439},"Message":"Started processing notification for message ID 1830de88dc2c3000"}

{"Timestamp":"2026-08-20T11:37:35.7985685+00:00","Level":"Information","Data":{"EventId":4185050587},"Message":"Looking up the notification handler for message ID 1830de88dc2c3000"}

{"Timestamp":"2026-08-20T11:37:35.7985872+00:00","Level":"Information","Data":{"EventId":2867594473},"Message":"Event handling in process for message ID 1830de88dc2c3000"}

{"Timestamp":"2026-08-20T11:37:35.8020248+00:00","Level":"Information","Data":{"EventId":708058592},"Message":"Sending message ID 1830de88dc2c3000 to DLQ"}

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

{"Timestamp":"2026-08-20T11:37:35.8030856+00:00","Level":"Information","Data":{"EventId":1499932075},"Message":"Sent message ID 1830de88dc2c3000 to DLQ"}

{"Timestamp":"2026-08-20T11:37:35.8032452+00:00","Level":"Information","Data":{"EventId":412834440},"Message":"Notification event with message ID 1830de88dd2c3000 received: {\"TemplateId\":19,\"EntityType\":\"work_permit_v2\",\"EventType\":null,\"NotifyRoleId\":null,\"NotifyUserId\":null,\"NotifyDynamicActor\":\"Work_Permit_Authorization_Department_Head\",\"EntityContext\":{\"Parameters\":{\"workPermitId\":\"589\",\"workPermitV2Id\":\"589\",\"orgId\":\"264\",\"viewLink\":\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/264/589?dlType=viewWorkPermitV2\",\"workPermitLink\":\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/264/589?dlType=viewWorkPermitV2\",\"emailFooter\":\"OQSHA Team\"}},\"ActorContext\":{\"Requestor\":[678],\"Work_Permit_Authorization_Department_Head\":[678],\"Work_Permit_Authorization_Area_Owner\":[678],\"Work_Permit_Authorization_Plant_Head\":[678]},\"Metadata\":null}"}

{"Timestamp":"2026-08-20T11:37:35.8046414+00:00","Level":"Information","Data":{"EventId":1799598303},"Message":"Started processing notification for message ID 1830de88dd2c3000"}

{"Timestamp":"2026-08-20T11:37:35.8046878+00:00","Level":"Information","Data":{"EventId":1648374236},"Message":"Looking up the notification handler for message ID 1830de88dd2c3000"}

{"Timestamp":"2026-08-20T11:37:35.8047050+00:00","Level":"Information","Data":{"EventId":2118431591},"Message":"Event handling in process for message ID 1830de88dd2c3000"}

{"Timestamp":"2026-08-20T11:37:35.8061318+00:00","Level":"Information","Data":{"EventId":3902783802},"Message":"Sending message ID 1830de88dd2c3000 to DLQ"}

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

{"Timestamp":"2026-08-20T11:37:35.8067858+00:00","Level":"Information","Data":{"EventId":2126629546},"Message":"Sent message ID 1830de88dd2c3000 to DLQ"}

{"Timestamp":"2026-08-20T11:37:44.0675805+00:00","Level":"Information","Data":{"EventId":2338803327},"Message":"Notification event with message ID 1830de90902c3000 received: {\"TemplateId\":18,\"EntityType\":\"work_permit_v2\",\"EventType\":null,\"NotifyRoleId\":null,\"NotifyUserId\":null,\"NotifyDynamicActor\":\"Work_Permit_Authorization_Area_Owner\",\"EntityContext\":{\"Parameters\":{\"workPermitId\":\"589\",\"workPermitV2Id\":\"589\",\"orgId\":\"264\",\"viewLink\":\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/264/589?dlType=viewWorkPermitV2\",\"workPermitLink\":\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/264/589?dlType=viewWorkPermitV2\",\"emailFooter\":\"OQSHA Team\"}},\"ActorContext\":{\"Requestor\":[678],\"Work_Permit_Authorization_Department_Head\":[678],\"Work_Permit_Authorization_Area_Owner\":[678],\"Work_Permit_Authorization_Plant_Head\":[678]},\"Metadata\":null}"}

{"Timestamp":"2026-08-20T11:37:44.0690609+00:00","Level":"Information","Data":{"EventId":3687324621},"Message":"Started processing notification for message ID 1830de90902c3000"}

{"Timestamp":"2026-08-20T11:37:44.0690926+00:00","Level":"Information","Data":{"EventId":152047395},"Message":"Looking up the notification handler for message ID 1830de90902c3000"}

{"Timestamp":"2026-08-20T11:37:44.0691039+00:00","Level":"Information","Data":{"EventId":2172863288},"Message":"Event handling in process for message ID 1830de90902c3000"}

{"Timestamp":"2026-08-20T11:37:44.0706513+00:00","Level":"Information","Data":{"EventId":1724760900},"Message":"Sending message ID 1830de90902c3000 to DLQ"}

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

{"Timestamp":"2026-08-20T11:37:44.0711243+00:00","Level":"Information","Data":{"EventId":2807613381},"Message":"Sent message ID 1830de90902c3000 to DLQ"}

{"Timestamp":"2026-08-20T11:37:44.2985872+00:00","Level":"Information","Data":{"EventId":2541768103},"Message":"Notification event with message ID 1830de9090ac3000 received: {\"TemplateId\":19,\"EntityType\":\"work_permit_v2\",\"EventType\":null,\"NotifyRoleId\":null,\"NotifyUserId\":null,\"NotifyDynamicActor\":\"Work_Permit_Authorization_Area_Owner\",\"EntityContext\":{\"Parameters\":{\"workPermitId\":\"589\",\"workPermitV2Id\":\"589\",\"orgId\":\"264\",\"viewLink\":\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/264/589?dlType=viewWorkPermitV2\",\"workPermitLink\":\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/264/589?dlType=viewWorkPermitV2\",\"emailFooter\":\"OQSHA Team\"}},\"ActorContext\":{\"Requestor\":[678],\"Work_Permit_Authorization_Department_Head\":[678],\"Work_Permit_Authorization_Area_Owner\":[678],\"Work_Permit_Authorization_Plant_Head\":[678]},\"Metadata\":null}"}

{"Timestamp":"2026-08-20T11:37:44.3000972+00:00","Level":"Information","Data":{"EventId":642403707},"Message":"Started processing notification for message ID 1830de9090ac3000"}

{"Timestamp":"2026-08-20T11:37:44.3001444+00:00","Level":"Information","Data":{"EventId":343584568},"Message":"Looking up the notification handler for message ID 1830de9090ac3000"}

{"Timestamp":"2026-08-20T11:37:44.3001576+00:00","Level":"Information","Data":{"EventId":931583199},"Message":"Event handling in process for message ID 1830de9090ac3000"}

{"Timestamp":"2026-08-20T11:37:44.3017366+00:00","Level":"Information","Data":{"EventId":4115937775},"Message":"Sending message ID 1830de9090ac3000 to DLQ"}

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

{"Timestamp":"2026-08-20T11:37:44.3025281+00:00","Level":"Information","Data":{"EventId":733674819},"Message":"Sent message ID 1830de9090ac3000 to DLQ"}

{"Timestamp":"2026-08-20T11:54:04.8201776+00:00","Level":"Information","Data":{"EventId":3529684843},"Message":"Notification event with message ID 1830e221f62c3000 received: {\"TemplateId\":18,\"EntityType\":\"work_permit_v2\",\"EventType\":null,\"NotifyRoleId\":null,\"NotifyUserId\":null,\"NotifyDynamicActor\":\"Work_Permit_Authorization_Department_Head\",\"EntityContext\":{\"Parameters\":{\"workPermitId\":\"590\",\"workPermitV2Id\":\"590\",\"orgId\":\"264\",\"viewLink\":\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/264/590?dlType=viewWorkPermitV2\",\"workPermitLink\":\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/264/590?dlType=viewWorkPermitV2\",\"emailFooter\":\"OQSHA Team\"}},\"ActorContext\":{\"Requestor\":[678],\"Work_Permit_Authorization_Department_Head\":[678],\"Work_Permit_Authorization_Area_Owner\":[19277],\"Work_Permit_Authorization_Plant_Head\":[678]},\"Metadata\":null}"}

{"Timestamp":"2026-08-20T11:54:04.8224314+00:00","Level":"Information","Data":{"EventId":663038543},"Message":"Started processing notification for message ID 1830e221f62c3000"}

{"Timestamp":"2026-08-20T11:54:04.8224643+00:00","Level":"Information","Data":{"EventId":1880399427},"Message":"Looking up the notification handler for message ID 1830e221f62c3000"}

{"Timestamp":"2026-08-20T11:54:04.8224736+00:00","Level":"Information","Data":{"EventId":1200458907},"Message":"Event handling in process for message ID 1830e221f62c3000"}

{"Timestamp":"2026-08-20T11:54:04.8262124+00:00","Level":"Information","Data":{"EventId":1506297488},"Message":"Sending message ID 1830e221f62c3000 to DLQ"}

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

{"Timestamp":"2026-08-20T11:54:04.8268850+00:00","Level":"Information","Data":{"EventId":2346933973},"Message":"Sent message ID 1830e221f62c3000 to DLQ"}

{"Timestamp":"2026-08-20T11:54:05.0419487+00:00","Level":"Information","Data":{"EventId":3917250773},"Message":"Notification event with message ID 1830e221f66c3000 received: {\"TemplateId\":19,\"EntityType\":\"work_permit_v2\",\"EventType\":null,\"NotifyRoleId\":null,\"NotifyUserId\":null,\"NotifyDynamicActor\":\"Work_Permit_Authorization_Department_Head\",\"EntityContext\":{\"Parameters\":{\"workPermitId\":\"590\",\"workPermitV2Id\":\"590\",\"orgId\":\"264\",\"viewLink\":\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/264/590?dlType=viewWorkPermitV2\",\"workPermitLink\":\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/264/590?dlType=viewWorkPermitV2\",\"emailFooter\":\"OQSHA Team\"}},\"ActorContext\":{\"Requestor\":[678],\"Work_Permit_Authorization_Department_Head\":[678],\"Work_Permit_Authorization_Area_Owner\":[19277],\"Work_Permit_Authorization_Plant_Head\":[678]},\"Metadata\":null}"}

{"Timestamp":"2026-08-20T11:54:05.0459825+00:00","Level":"Information","Data":{"EventId":4199316695},"Message":"Started processing notification for message ID 1830e221f66c3000"}

{"Timestamp":"2026-08-20T11:54:05.0460871+00:00","Level":"Information","Data":{"EventId":348544840},"Message":"Looking up the notification handler for message ID 1830e221f66c3000"}

{"Timestamp":"2026-08-20T11:54:05.0461602+00:00","Level":"Information","Data":{"EventId":1618325595},"Message":"Event handling in process for message ID 1830e221f66c3000"}

{"Timestamp":"2026-08-20T11:54:05.0532487+00:00","Level":"Information","Data":{"EventId":2350450778},"Message":"Sending message ID 1830e221f66c3000 to DLQ"}

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

{"Timestamp":"2026-08-20T11:54:05.0554360+00:00","Level":"Information","Data":{"EventId":4049796529},"Message":"Sent message ID 1830e221f66c3000 to DLQ"}

{"Timestamp":"2026-08-20T11:54:28.1395669+00:00","Level":"Information","Data":{"EventId":1882514547},"Message":"Notification event with message ID 1830e237adec3000 received: {\"TemplateId\":18,\"EntityType\":\"work_permit_v2\",\"EventType\":null,\"NotifyRoleId\":null,\"NotifyUserId\":null,\"NotifyDynamicActor\":\"Work_Permit_Authorization_Area_Owner\",\"EntityContext\":{\"Parameters\":{\"workPermitId\":\"590\",\"workPermitV2Id\":\"590\",\"orgId\":\"264\",\"viewLink\":\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/264/590?dlType=viewWorkPermitV2\",\"workPermitLink\":\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/264/590?dlType=viewWorkPermitV2\",\"emailFooter\":\"OQSHA Team\"}},\"ActorContext\":{\"Requestor\":[678],\"Work_Permit_Authorization_Department_Head\":[678],\"Work_Permit_Authorization_Area_Owner\":[19277],\"Work_Permit_Authorization_Plant_Head\":[678]},\"Metadata\":null}"}

{"Timestamp":"2026-08-20T11:54:28.1411815+00:00","Level":"Information","Data":{"EventId":3062751926},"Message":"Started processing notification for message ID 1830e237adec3000"}

{"Timestamp":"2026-08-20T11:54:28.1412120+00:00","Level":"Information","Data":{"EventId":819983234},"Message":"Looking up the notification handler for message ID 1830e237adec3000"}

{"Timestamp":"2026-08-20T11:54:28.1412219+00:00","Level":"Information","Data":{"EventId":1300813905},"Message":"Event handling in process for message ID 1830e237adec3000"}

{"Timestamp":"2026-08-20T11:54:28.1427385+00:00","Level":"Information","Data":{"EventId":2019376628},"Message":"Sending message ID 1830e237adec3000 to DLQ"}

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

{"Timestamp":"2026-08-20T11:54:28.1433586+00:00","Level":"Information","Data":{"EventId":2355962448},"Message":"Sent message ID 1830e237adec3000 to DLQ"}

{"Timestamp":"2026-08-20T11:54:28.2826988+00:00","Level":"Information","Data":{"EventId":1932789584},"Message":"Notification event with message ID 1830e237ae2c3000 received: {\"TemplateId\":19,\"EntityType\":\"work_permit_v2\",\"EventType\":null,\"NotifyRoleId\":null,\"NotifyUserId\":null,\"NotifyDynamicActor\":\"Work_Permit_Authorization_Area_Owner\",\"EntityContext\":{\"Parameters\":{\"workPermitId\":\"590\",\"workPermitV2Id\":\"590\",\"orgId\":\"264\",\"viewLink\":\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/264/590?dlType=viewWorkPermitV2\",\"workPermitLink\":\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/264/590?dlType=viewWorkPermitV2\",\"emailFooter\":\"OQSHA Team\"}},\"ActorContext\":{\"Requestor\":[678],\"Work_Permit_Authorization_Department_Head\":[678],\"Work_Permit_Authorization_Area_Owner\":[19277],\"Work_Permit_Authorization_Plant_Head\":[678]},\"Metadata\":null}"}

{"Timestamp":"2026-08-20T11:54:28.2859330+00:00","Level":"Information","Data":{"EventId":492343852},"Message":"Started processing notification for message ID 1830e237ae2c3000"}

{"Timestamp":"2026-08-20T11:54:28.2860259+00:00","Level":"Information","Data":{"EventId":986726607},"Message":"Looking up the notification handler for message ID 1830e237ae2c3000"}

{"Timestamp":"2026-08-20T11:54:28.2860641+00:00","Level":"Information","Data":{"EventId":3664710916},"Message":"Event handling in process for message ID 1830e237ae2c3000"}

{"Timestamp":"2026-08-20T11:54:28.2888658+00:00","Level":"Information","Data":{"EventId":827809484},"Message":"Sending message ID 1830e237ae2c3000 to DLQ"}

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

{"Timestamp":"2026-08-20T11:54:28.2908410+00:00","Level":"Information","Data":{"EventId":2264980533},"Message":"Sent message ID 1830e237ae2c3000 to DLQ"}

{"Timestamp":"2026-08-20T13:23:09.2214085+00:00","Level":"Information","Data":{"EventId":3091016791},"Message":"Inside hosted service - for nsq"}

{"Timestamp":"2026-08-20T13:23:09.3026089+00:00","Level":"Information","Data":{"EventId":3138514657},"Message":"Started the consumer service and handler for NSQ"}

{"Timestamp":"2026-08-20T21:34:43.5127981+00:00","Level":"Information","Data":{"EventId":3091016791},"Message":"Inside hosted service - for nsq"}

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

{"Timestamp":"2026-08-20T21:43:11.0447559+00:00","Level":"Information","Data":{"EventId":3091016791},"Message":"Inside hosted service - for nsq"}

{"Timestamp":"2026-08-20T21:43:11.1245275+00:00","Level":"Information","Data":{"EventId":3138514657},"Message":"Started the consumer service and handler for NSQ"}

