{"Timestamp":"2026-06-30T05:22:04.7812134+00:00","Level":"Information","Data":{"EventId":3091016791},"Message":"Inside hosted service - for nsq"}

{"Timestamp":"2026-06-30T05:22:04.8710283+00:00","Level":"Information","Data":{"EventId":3138514657},"Message":"Started the consumer service and handler for NSQ"}

{"Timestamp":"2026-06-30T08:13:06.6005140+00:00","Level":"Information","Data":{"EventId":3091016791},"Message":"Inside hosted service - for nsq"}

{"Timestamp":"2026-06-30T08:13:06.6833633+00:00","Level":"Information","Data":{"EventId":3138514657},"Message":"Started the consumer service and handler for NSQ"}

{"Timestamp":"2026-06-30T13:44:58.5358012+00:00","Level":"Information","Data":{"EventId":3091016791},"Message":"Inside hosted service - for nsq"}

{"Timestamp":"2026-06-30T13:44:58.6179857+00:00","Level":"Information","Data":{"EventId":3138514657},"Message":"Started the consumer service and handler for NSQ"}

{"Timestamp":"2026-06-30T14:15:18.5701149+00:00","Level":"Information","Data":{"EventId":3091016791},"Message":"Inside hosted service - for nsq"}

{"Timestamp":"2026-06-30T14:15:18.6536735+00:00","Level":"Information","Data":{"EventId":3138514657},"Message":"Started the consumer service and handler for NSQ"}

{"Timestamp":"2026-06-30T14:40:57.1123698+00:00","Level":"Information","Data":{"EventId":3091016791},"Message":"Inside hosted service - for nsq"}

{"Timestamp":"2026-06-30T14:40:57.1934985+00:00","Level":"Information","Data":{"EventId":3138514657},"Message":"Started the consumer service and handler for NSQ"}

{"Timestamp":"2026-06-30T14:44:36.5182739+00:00","Level":"Information","Data":{"EventId":3091016791},"Message":"Inside hosted service - for nsq"}

{"Timestamp":"2026-06-30T14:44:36.6037697+00:00","Level":"Information","Data":{"EventId":3138514657},"Message":"Started the consumer service and handler for NSQ"}

{"Timestamp":"2026-06-30T16:43:11.9312860+00:00","Level":"Information","Data":{"EventId":3091016791},"Message":"Inside hosted service - for nsq"}

{"Timestamp":"2026-06-30T16:43:12.0127546+00:00","Level":"Information","Data":{"EventId":3138514657},"Message":"Started the consumer service and handler for NSQ"}

{"Timestamp":"2026-06-30T17:20:18.6837767+00:00","Level":"Information","Data":{"EventId":2095797087},"Message":"Notification event with message ID 17f28af3bf6c3000 received: {\"TemplateId\":null,\"EntityType\":\"safety_alerts\",\"EventType\":\"updated\",\"NotifyRoleId\":489,\"NotifyUserId\":null,\"NotifyDynamicActor\":null,\"EntityContext\":{\"Parameters\":{\"orgId\":\"262\",\"organisationId\":\"262\",\"sourceRecordId\":\"369\",\"sourceModuleId\":\"77\",\"sourceRecordUid\":\"SC/SAIL/RIG/NMX/26/00001\",\"timerRuleConfigId\":\"5\",\"timerRuleActionId\":\"22\",\"scheduledAtUtc\":\"2026-06-30T17:02:17.0000000\",\"alertId\":\"369\",\"alertLink\":\"https://qa-staging-2.oqsha.com/#/safety-alerts-v2/edit-safety-alert-v2/369\",\"EmailFooter\":\"OQSHA Team\",\"UserName\":\"Sal Eaton\"}},\"ActorContext\":null,\"Metadata\":{\"channels\":\"[\\\"Email\\\"]\",\"payloadTemplate\":\"{\\\"orgId\\\":\\\"{{organisationId}}\\\",\\\"alertId\\\":\\\"{sourceRecordId}\\\",\\\"alertLink\\\":\\\"{source.alertLink}\\\",\\\"EmailFooter\\\":\\\"{source.EmailFooter}\\\",\\\"UserName\\\":\\\"{source.UserName}\\\"}\",\"timerQueueId\":\"1\"}"}

{"Timestamp":"2026-06-30T17:20:18.8260468+00:00","Level":"Information","Data":{"EventId":3476237566},"Message":"Started processing notification for message ID 17f28af3bf6c3000"}

{"Timestamp":"2026-06-30T17:20:18.8261258+00:00","Level":"Information","Data":{"EventId":1496779764},"Message":"Looking up the notification handler for message ID 17f28af3bf6c3000"}

{"Timestamp":"2026-06-30T17:20:18.8264789+00:00","Level":"Information","Data":{"EventId":1570852257},"Message":"Event handling in process for message ID 17f28af3bf6c3000"}

{"Timestamp":"2026-06-30T17:20:19.5961696+00:00","Level":"Information","Data":{"EventId":1141981707},"Message":"Dispatching the notifications for message ID 17f28af3bf6c3000"}

{"Timestamp":"2026-06-30T17:20:19.6161952+00:00","Level":"Information","Data":{"EventId":1111808854},"Message":"Successfully processed notification for message ID 17f28af3bf6c3000"}

{"Timestamp":"2026-06-30T17:20:19.6934338+00:00","Level":"Information","Data":{"EventId":519360755},"Message":"Notification event with message ID 17f28af4b0ac3000 received: {\"TemplateId\":null,\"EntityType\":\"safety_alerts\",\"EventType\":\"reminder\",\"NotifyRoleId\":489,\"NotifyUserId\":null,\"NotifyDynamicActor\":null,\"EntityContext\":{\"Parameters\":{\"orgId\":\"262\",\"organisationId\":\"262\",\"sourceRecordId\":\"369\",\"sourceModuleId\":\"77\",\"sourceRecordUid\":\"SC/SAIL/RIG/NMX/26/00001\",\"timerRuleConfigId\":\"9\",\"timerRuleActionId\":\"27\",\"scheduledAtUtc\":\"2026-06-30T17:17:17.0000000\"}},\"ActorContext\":null,\"Metadata\":{\"channels\":\"[\\\"Email\\\"]\",\"payloadTemplate\":\"{}\",\"timerQueueId\":\"3\"}"}

{"Timestamp":"2026-06-30T17:20:19.7050212+00:00","Level":"Information","Data":{"EventId":4093487271},"Message":"Started processing notification for message ID 17f28af4b0ac3000"}

{"Timestamp":"2026-06-30T17:20:19.7052026+00:00","Level":"Information","Data":{"EventId":1948077889},"Message":"Looking up the notification handler for message ID 17f28af4b0ac3000"}

{"Timestamp":"2026-06-30T17:20:19.7053304+00:00","Level":"Information","Data":{"EventId":411051693},"Message":"Event handling in process for message ID 17f28af4b0ac3000"}

{"Timestamp":"2026-06-30T17:20:19.7173406+00:00","Level":"Information","Data":{"EventId":2998042378},"Message":"Sending message ID 17f28af4b0ac3000 to DLQ"}

{"Timestamp":"2026-06-30T17:20:19.7268994+00:00","Level":"Information","Data":{"EventId":1954999731},"Message":"Dead letter envelope for DLQ message: {\"SourceTopic\":\"stg.notification.orchestrator\",\"SourceChannel\":\"stg-notification-orchestrator\",\"FailedAtUtc\":\"2026-06-30T17:20:19.7174692Z\",\"Attempts\":1,\"ErrorType\":\"OQSHA.Notification.Orchestrator.Exceptions.PermanentOrchestratorException\",\"ErrorMessage\":\"Missing alertId in context for message ID 17f28af4b0ac3000\",\"StackTrace\":\"   at OQSHA.Notification.Orchestrator.NotificationHandlers.SafetyAlertsNotificationHandler.ParseContext(String messageId, NotificationEventDto request) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\NotificationHandlers\\\\SafetyAlertsNotificationHandler.cs:line 231\\r\\n   at OQSHA.Notification.Orchestrator.NotificationHandlers.SafetyAlertsNotificationHandler.HandleEventBasedAlertNotificationAsync(String messageId, NotificationEventDto request) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\NotificationHandlers\\\\SafetyAlertsNotificationHandler.cs:line 111\\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 50\\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\\\":null,\\\"EntityType\\\":\\\"safety_alerts\\\",\\\"EventType\\\":\\\"reminder\\\",\\\"NotifyRoleId\\\":489,\\\"NotifyUserId\\\":null,\\\"NotifyDynamicActor\\\":null,\\\"EntityContext\\\":{\\\"Parameters\\\":{\\\"orgId\\\":\\\"262\\\",\\\"organisationId\\\":\\\"262\\\",\\\"sourceRecordId\\\":\\\"369\\\",\\\"sourceModuleId\\\":\\\"77\\\",\\\"sourceRecordUid\\\":\\\"SC/SAIL/RIG/NMX/26/00001\\\",\\\"timerRuleConfigId\\\":\\\"9\\\",\\\"timerRuleActionId\\\":\\\"27\\\",\\\"scheduledAtUtc\\\":\\\"2026-06-30T17:17:17.0000000\\\"}},\\\"ActorContext\\\":null,\\\"Metadata\\\":{\\\"channels\\\":\\\"[\\\\\\\"Email\\\\\\\"]\\\",\\\"payloadTemplate\\\":\\\"{}\\\",\\\"timerQueueId\\\":\\\"3\\\"}\"}"}

{"Timestamp":"2026-06-30T17:20:19.7311062+00:00","Level":"Information","Data":{"EventId":1174244481},"Message":"Sent message ID 17f28af4b0ac3000 to DLQ"}

{"Timestamp":"2026-06-30T17:32:20.5522080+00:00","Level":"Information","Data":{"EventId":2868602320},"Message":"Notification event with message ID 17f28d940aac3000 received: {\"TemplateId\":null,\"EntityType\":\"safety_alerts\",\"EventType\":\"updated\",\"NotifyRoleId\":489,\"NotifyUserId\":null,\"NotifyDynamicActor\":null,\"EntityContext\":{\"Parameters\":{\"orgId\":\"262\",\"organisationId\":\"262\",\"sourceRecordId\":\"371\",\"sourceModuleId\":\"77\",\"sourceRecordUid\":\"SC/SAIL/RIG/NMX/26/00002\",\"timerRuleConfigId\":\"5\",\"timerRuleActionId\":\"22\",\"scheduledAtUtc\":\"2026-06-30T17:14:22.0000000\",\"alertId\":\"371\",\"alertLink\":\"https://qa-staging-2.oqsha.com/#/safety-alerts-v2/edit-safety-alert-v2/371\",\"EmailFooter\":\"OQSHA Team\",\"UserName\":\"Sal Eaton\"}},\"ActorContext\":null,\"Metadata\":{\"channels\":\"[\\\"Email\\\"]\",\"payloadTemplate\":\"{\\\"orgId\\\":\\\"{{organisationId}}\\\",\\\"alertId\\\":\\\"{sourceRecordId}\\\",\\\"alertLink\\\":\\\"{source.alertLink}\\\",\\\"EmailFooter\\\":\\\"{source.EmailFooter}\\\",\\\"UserName\\\":\\\"{source.UserName}\\\"}\",\"timerQueueId\":\"5\"}"}

{"Timestamp":"2026-06-30T17:32:20.5723628+00:00","Level":"Information","Data":{"EventId":1887969060},"Message":"Started processing notification for message ID 17f28d940aac3000"}

{"Timestamp":"2026-06-30T17:32:20.5724856+00:00","Level":"Information","Data":{"EventId":3621972985},"Message":"Looking up the notification handler for message ID 17f28d940aac3000"}

{"Timestamp":"2026-06-30T17:32:20.5725261+00:00","Level":"Information","Data":{"EventId":3803558662},"Message":"Event handling in process for message ID 17f28d940aac3000"}

{"Timestamp":"2026-06-30T17:32:20.6155185+00:00","Level":"Information","Data":{"EventId":2693671970},"Message":"Dispatching the notifications for message ID 17f28d940aac3000"}

{"Timestamp":"2026-06-30T17:32:20.6164020+00:00","Level":"Information","Data":{"EventId":4050465155},"Message":"Successfully processed notification for message ID 17f28d940aac3000"}

{"Timestamp":"2026-06-30T17:32:21.2415427+00:00","Level":"Information","Data":{"EventId":2185717427},"Message":"Notification event with message ID 17f28d94aeac3000 received: {\"TemplateId\":null,\"EntityType\":\"safety_alerts\",\"EventType\":\"reminder\",\"NotifyRoleId\":489,\"NotifyUserId\":null,\"NotifyDynamicActor\":null,\"EntityContext\":{\"Parameters\":{\"orgId\":\"262\",\"organisationId\":\"262\",\"sourceRecordId\":\"371\",\"sourceModuleId\":\"77\",\"sourceRecordUid\":\"SC/SAIL/RIG/NMX/26/00002\",\"timerRuleConfigId\":\"9\",\"timerRuleActionId\":\"27\",\"scheduledAtUtc\":\"2026-06-30T17:29:22.0000000\"}},\"ActorContext\":null,\"Metadata\":{\"channels\":\"[\\\"Email\\\"]\",\"payloadTemplate\":\"{}\",\"timerQueueId\":\"7\"}"}

{"Timestamp":"2026-06-30T17:32:21.2444446+00:00","Level":"Information","Data":{"EventId":1656424542},"Message":"Started processing notification for message ID 17f28d94aeac3000"}

{"Timestamp":"2026-06-30T17:32:21.2445388+00:00","Level":"Information","Data":{"EventId":1293800248},"Message":"Looking up the notification handler for message ID 17f28d94aeac3000"}

{"Timestamp":"2026-06-30T17:32:21.2445787+00:00","Level":"Information","Data":{"EventId":1440328848},"Message":"Event handling in process for message ID 17f28d94aeac3000"}

{"Timestamp":"2026-06-30T17:32:21.2476034+00:00","Level":"Information","Data":{"EventId":1002198631},"Message":"Sending message ID 17f28d94aeac3000 to DLQ"}

{"Timestamp":"2026-06-30T17:32:21.2479223+00:00","Level":"Information","Data":{"EventId":2835483188},"Message":"Dead letter envelope for DLQ message: {\"SourceTopic\":\"stg.notification.orchestrator\",\"SourceChannel\":\"stg-notification-orchestrator\",\"FailedAtUtc\":\"2026-06-30T17:32:21.2476514Z\",\"Attempts\":1,\"ErrorType\":\"OQSHA.Notification.Orchestrator.Exceptions.PermanentOrchestratorException\",\"ErrorMessage\":\"Missing alertId in context for message ID 17f28d94aeac3000\",\"StackTrace\":\"   at OQSHA.Notification.Orchestrator.NotificationHandlers.SafetyAlertsNotificationHandler.ParseContext(String messageId, NotificationEventDto request) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\NotificationHandlers\\\\SafetyAlertsNotificationHandler.cs:line 231\\r\\n   at OQSHA.Notification.Orchestrator.NotificationHandlers.SafetyAlertsNotificationHandler.HandleEventBasedAlertNotificationAsync(String messageId, NotificationEventDto request) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\NotificationHandlers\\\\SafetyAlertsNotificationHandler.cs:line 111\\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 50\\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\\\":null,\\\"EntityType\\\":\\\"safety_alerts\\\",\\\"EventType\\\":\\\"reminder\\\",\\\"NotifyRoleId\\\":489,\\\"NotifyUserId\\\":null,\\\"NotifyDynamicActor\\\":null,\\\"EntityContext\\\":{\\\"Parameters\\\":{\\\"orgId\\\":\\\"262\\\",\\\"organisationId\\\":\\\"262\\\",\\\"sourceRecordId\\\":\\\"371\\\",\\\"sourceModuleId\\\":\\\"77\\\",\\\"sourceRecordUid\\\":\\\"SC/SAIL/RIG/NMX/26/00002\\\",\\\"timerRuleConfigId\\\":\\\"9\\\",\\\"timerRuleActionId\\\":\\\"27\\\",\\\"scheduledAtUtc\\\":\\\"2026-06-30T17:29:22.0000000\\\"}},\\\"ActorContext\\\":null,\\\"Metadata\\\":{\\\"channels\\\":\\\"[\\\\\\\"Email\\\\\\\"]\\\",\\\"payloadTemplate\\\":\\\"{}\\\",\\\"timerQueueId\\\":\\\"7\\\"}\"}"}

{"Timestamp":"2026-06-30T17:32:21.2487706+00:00","Level":"Information","Data":{"EventId":301289932},"Message":"Sent message ID 17f28d94aeac3000 to DLQ"}

{"Timestamp":"2026-06-30T17:32:21.9168073+00:00","Level":"Information","Data":{"EventId":2531339121},"Message":"Notification event with message ID 17f28d95502c3000 received: {\"TemplateId\":null,\"EntityType\":\"safety_alerts\",\"EventType\":\"updated\",\"NotifyRoleId\":489,\"NotifyUserId\":null,\"NotifyDynamicActor\":null,\"EntityContext\":{\"Parameters\":{\"orgId\":\"262\",\"organisationId\":\"262\",\"sourceRecordId\":\"372\",\"sourceModuleId\":\"77\",\"sourceRecordUid\":\"SC/SAIL/RIG/NMX/26/00003\",\"timerRuleConfigId\":\"5\",\"timerRuleActionId\":\"22\",\"scheduledAtUtc\":\"2026-06-30T17:14:45.0000000\",\"alertId\":\"372\",\"alertLink\":\"https://qa-staging-2.oqsha.com/#/safety-alerts-v2/edit-safety-alert-v2/372\",\"EmailFooter\":\"OQSHA Team\",\"UserName\":\"Sal Eaton\"}},\"ActorContext\":null,\"Metadata\":{\"channels\":\"[\\\"Email\\\"]\",\"payloadTemplate\":\"{\\\"orgId\\\":\\\"{{organisationId}}\\\",\\\"alertId\\\":\\\"{sourceRecordId}\\\",\\\"alertLink\\\":\\\"{source.alertLink}\\\",\\\"EmailFooter\\\":\\\"{source.EmailFooter}\\\",\\\"UserName\\\":\\\"{source.UserName}\\\"}\",\"timerQueueId\":\"9\"}"}

{"Timestamp":"2026-06-30T17:32:21.9211556+00:00","Level":"Information","Data":{"EventId":2892985728},"Message":"Started processing notification for message ID 17f28d95502c3000"}

{"Timestamp":"2026-06-30T17:32:21.9213077+00:00","Level":"Information","Data":{"EventId":4072932137},"Message":"Looking up the notification handler for message ID 17f28d95502c3000"}

{"Timestamp":"2026-06-30T17:32:21.9213607+00:00","Level":"Information","Data":{"EventId":3969380336},"Message":"Event handling in process for message ID 17f28d95502c3000"}

{"Timestamp":"2026-06-30T17:32:21.9305340+00:00","Level":"Information","Data":{"EventId":2699635232},"Message":"Dispatching the notifications for message ID 17f28d95502c3000"}

{"Timestamp":"2026-06-30T17:32:21.9324762+00:00","Level":"Information","Data":{"EventId":798223473},"Message":"Successfully processed notification for message ID 17f28d95502c3000"}

{"Timestamp":"2026-06-30T17:32:22.6037694+00:00","Level":"Information","Data":{"EventId":2899988381},"Message":"Notification event with message ID 17f28d95f3ac3000 received: {\"TemplateId\":null,\"EntityType\":\"safety_alerts\",\"EventType\":\"reminder\",\"NotifyRoleId\":489,\"NotifyUserId\":null,\"NotifyDynamicActor\":null,\"EntityContext\":{\"Parameters\":{\"orgId\":\"262\",\"organisationId\":\"262\",\"sourceRecordId\":\"372\",\"sourceModuleId\":\"77\",\"sourceRecordUid\":\"SC/SAIL/RIG/NMX/26/00003\",\"timerRuleConfigId\":\"9\",\"timerRuleActionId\":\"27\",\"scheduledAtUtc\":\"2026-06-30T17:29:45.0000000\"}},\"ActorContext\":null,\"Metadata\":{\"channels\":\"[\\\"Email\\\"]\",\"payloadTemplate\":\"{}\",\"timerQueueId\":\"11\"}"}

{"Timestamp":"2026-06-30T17:32:22.6070280+00:00","Level":"Information","Data":{"EventId":2408815105},"Message":"Started processing notification for message ID 17f28d95f3ac3000"}

{"Timestamp":"2026-06-30T17:32:22.6070945+00:00","Level":"Information","Data":{"EventId":1199974648},"Message":"Looking up the notification handler for message ID 17f28d95f3ac3000"}

{"Timestamp":"2026-06-30T17:32:22.6071119+00:00","Level":"Information","Data":{"EventId":3988236321},"Message":"Event handling in process for message ID 17f28d95f3ac3000"}

{"Timestamp":"2026-06-30T17:32:22.6099703+00:00","Level":"Information","Data":{"EventId":111836215},"Message":"Sending message ID 17f28d95f3ac3000 to DLQ"}

{"Timestamp":"2026-06-30T17:32:22.6103840+00:00","Level":"Information","Data":{"EventId":2962283943},"Message":"Dead letter envelope for DLQ message: {\"SourceTopic\":\"stg.notification.orchestrator\",\"SourceChannel\":\"stg-notification-orchestrator\",\"FailedAtUtc\":\"2026-06-30T17:32:22.6100285Z\",\"Attempts\":1,\"ErrorType\":\"OQSHA.Notification.Orchestrator.Exceptions.PermanentOrchestratorException\",\"ErrorMessage\":\"Missing alertId in context for message ID 17f28d95f3ac3000\",\"StackTrace\":\"   at OQSHA.Notification.Orchestrator.NotificationHandlers.SafetyAlertsNotificationHandler.ParseContext(String messageId, NotificationEventDto request) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\NotificationHandlers\\\\SafetyAlertsNotificationHandler.cs:line 231\\r\\n   at OQSHA.Notification.Orchestrator.NotificationHandlers.SafetyAlertsNotificationHandler.HandleEventBasedAlertNotificationAsync(String messageId, NotificationEventDto request) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\NotificationHandlers\\\\SafetyAlertsNotificationHandler.cs:line 111\\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 50\\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\\\":null,\\\"EntityType\\\":\\\"safety_alerts\\\",\\\"EventType\\\":\\\"reminder\\\",\\\"NotifyRoleId\\\":489,\\\"NotifyUserId\\\":null,\\\"NotifyDynamicActor\\\":null,\\\"EntityContext\\\":{\\\"Parameters\\\":{\\\"orgId\\\":\\\"262\\\",\\\"organisationId\\\":\\\"262\\\",\\\"sourceRecordId\\\":\\\"372\\\",\\\"sourceModuleId\\\":\\\"77\\\",\\\"sourceRecordUid\\\":\\\"SC/SAIL/RIG/NMX/26/00003\\\",\\\"timerRuleConfigId\\\":\\\"9\\\",\\\"timerRuleActionId\\\":\\\"27\\\",\\\"scheduledAtUtc\\\":\\\"2026-06-30T17:29:45.0000000\\\"}},\\\"ActorContext\\\":null,\\\"Metadata\\\":{\\\"channels\\\":\\\"[\\\\\\\"Email\\\\\\\"]\\\",\\\"payloadTemplate\\\":\\\"{}\\\",\\\"timerQueueId\\\":\\\"11\\\"}\"}"}

{"Timestamp":"2026-06-30T17:32:22.6111558+00:00","Level":"Information","Data":{"EventId":331912727},"Message":"Sent message ID 17f28d95f3ac3000 to DLQ"}

{"Timestamp":"2026-06-30T17:38:23.4149070+00:00","Level":"Information","Data":{"EventId":2084866537},"Message":"Notification event with message ID 17f28ee5fbec3000 received: {\"TemplateId\":null,\"EntityType\":\"safety_alerts\",\"EventType\":\"updated\",\"NotifyRoleId\":489,\"NotifyUserId\":null,\"NotifyDynamicActor\":null,\"EntityContext\":{\"Parameters\":{\"orgId\":\"262\",\"organisationId\":\"262\",\"sourceRecordId\":\"373\",\"sourceModuleId\":\"77\",\"sourceRecordUid\":\"SC/SAIL/RIG/NMX/26/00004\",\"timerRuleConfigId\":\"5\",\"timerRuleActionId\":\"22\",\"scheduledAtUtc\":\"2026-06-30T17:22:53.0000000\",\"alertId\":\"373\",\"alertLink\":\"https://qa-staging-2.oqsha.com/#/safety-alerts-v2/edit-safety-alert-v2/373\",\"EmailFooter\":\"OQSHA Team\",\"UserName\":\"Sal Eaton\"}},\"ActorContext\":null,\"Metadata\":{\"channels\":\"[\\\"Email\\\"]\",\"payloadTemplate\":\"{\\\"orgId\\\":\\\"{{organisationId}}\\\",\\\"alertId\\\":\\\"{sourceRecordId}\\\",\\\"alertLink\\\":\\\"{source.alertLink}\\\",\\\"EmailFooter\\\":\\\"{source.EmailFooter}\\\",\\\"UserName\\\":\\\"{source.UserName}\\\"}\",\"timerQueueId\":\"13\"}"}

{"Timestamp":"2026-06-30T17:38:23.4177267+00:00","Level":"Information","Data":{"EventId":1558833037},"Message":"Started processing notification for message ID 17f28ee5fbec3000"}

{"Timestamp":"2026-06-30T17:38:23.4177929+00:00","Level":"Information","Data":{"EventId":3271998311},"Message":"Looking up the notification handler for message ID 17f28ee5fbec3000"}

{"Timestamp":"2026-06-30T17:38:23.4178063+00:00","Level":"Information","Data":{"EventId":1704688556},"Message":"Event handling in process for message ID 17f28ee5fbec3000"}

{"Timestamp":"2026-06-30T17:38:23.4245011+00:00","Level":"Information","Data":{"EventId":1438930032},"Message":"Dispatching the notifications for message ID 17f28ee5fbec3000"}

{"Timestamp":"2026-06-30T17:38:23.4253249+00:00","Level":"Information","Data":{"EventId":1845805424},"Message":"Successfully processed notification for message ID 17f28ee5fbec3000"}

{"Timestamp":"2026-06-30T17:38:24.0780110+00:00","Level":"Information","Data":{"EventId":1240350901},"Message":"Notification event with message ID 17f28ee699ec3000 received: {\"TemplateId\":null,\"EntityType\":\"safety_alerts\",\"EventType\":\"reminder\",\"NotifyRoleId\":489,\"NotifyUserId\":null,\"NotifyDynamicActor\":null,\"EntityContext\":{\"Parameters\":{\"orgId\":\"262\",\"organisationId\":\"262\",\"sourceRecordId\":\"373\",\"sourceModuleId\":\"77\",\"sourceRecordUid\":\"SC/SAIL/RIG/NMX/26/00004\",\"timerRuleConfigId\":\"9\",\"timerRuleActionId\":\"27\",\"scheduledAtUtc\":\"2026-06-30T17:37:53.0000000\"}},\"ActorContext\":null,\"Metadata\":{\"channels\":\"[\\\"Email\\\"]\",\"payloadTemplate\":\"{}\",\"timerQueueId\":\"15\"}"}

{"Timestamp":"2026-06-30T17:38:24.0805868+00:00","Level":"Information","Data":{"EventId":1025688811},"Message":"Started processing notification for message ID 17f28ee699ec3000"}

{"Timestamp":"2026-06-30T17:38:24.0806292+00:00","Level":"Information","Data":{"EventId":3218455335},"Message":"Looking up the notification handler for message ID 17f28ee699ec3000"}

{"Timestamp":"2026-06-30T17:38:24.0806441+00:00","Level":"Information","Data":{"EventId":1846730695},"Message":"Event handling in process for message ID 17f28ee699ec3000"}

{"Timestamp":"2026-06-30T17:38:24.0832408+00:00","Level":"Information","Data":{"EventId":2392468780},"Message":"Sending message ID 17f28ee699ec3000 to DLQ"}

{"Timestamp":"2026-06-30T17:38:24.0834287+00:00","Level":"Information","Data":{"EventId":3586870264},"Message":"Dead letter envelope for DLQ message: {\"SourceTopic\":\"stg.notification.orchestrator\",\"SourceChannel\":\"stg-notification-orchestrator\",\"FailedAtUtc\":\"2026-06-30T17:38:24.0832729Z\",\"Attempts\":1,\"ErrorType\":\"OQSHA.Notification.Orchestrator.Exceptions.PermanentOrchestratorException\",\"ErrorMessage\":\"Missing alertId in context for message ID 17f28ee699ec3000\",\"StackTrace\":\"   at OQSHA.Notification.Orchestrator.NotificationHandlers.SafetyAlertsNotificationHandler.ParseContext(String messageId, NotificationEventDto request) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\NotificationHandlers\\\\SafetyAlertsNotificationHandler.cs:line 231\\r\\n   at OQSHA.Notification.Orchestrator.NotificationHandlers.SafetyAlertsNotificationHandler.HandleEventBasedAlertNotificationAsync(String messageId, NotificationEventDto request) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\NotificationHandlers\\\\SafetyAlertsNotificationHandler.cs:line 111\\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 50\\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\\\":null,\\\"EntityType\\\":\\\"safety_alerts\\\",\\\"EventType\\\":\\\"reminder\\\",\\\"NotifyRoleId\\\":489,\\\"NotifyUserId\\\":null,\\\"NotifyDynamicActor\\\":null,\\\"EntityContext\\\":{\\\"Parameters\\\":{\\\"orgId\\\":\\\"262\\\",\\\"organisationId\\\":\\\"262\\\",\\\"sourceRecordId\\\":\\\"373\\\",\\\"sourceModuleId\\\":\\\"77\\\",\\\"sourceRecordUid\\\":\\\"SC/SAIL/RIG/NMX/26/00004\\\",\\\"timerRuleConfigId\\\":\\\"9\\\",\\\"timerRuleActionId\\\":\\\"27\\\",\\\"scheduledAtUtc\\\":\\\"2026-06-30T17:37:53.0000000\\\"}},\\\"ActorContext\\\":null,\\\"Metadata\\\":{\\\"channels\\\":\\\"[\\\\\\\"Email\\\\\\\"]\\\",\\\"payloadTemplate\\\":\\\"{}\\\",\\\"timerQueueId\\\":\\\"15\\\"}\"}"}

{"Timestamp":"2026-06-30T17:38:24.0838730+00:00","Level":"Information","Data":{"EventId":2825608497},"Message":"Sent message ID 17f28ee699ec3000 to DLQ"}

{"Timestamp":"2026-06-30T18:46:54.6156443+00:00","Level":"Information","Data":{"EventId":3091016791},"Message":"Inside hosted service - for nsq"}

{"Timestamp":"2026-06-30T18:46:54.6970347+00:00","Level":"Information","Data":{"EventId":3138514657},"Message":"Started the consumer service and handler for NSQ"}

{"Timestamp":"2026-06-30T19:01:49.8177633+00:00","Level":"Information","Data":{"EventId":3055324257},"Message":"Notification event with message ID 17f2a11c8eec3000 received: {\"TemplateId\":null,\"EntityType\":\"safety_alerts\",\"EventType\":\"reminder\",\"NotifyRoleId\":489,\"NotifyUserId\":null,\"NotifyDynamicActor\":null,\"EntityContext\":{\"Parameters\":{\"orgId\":\"262\",\"organisationId\":\"262\",\"sourceRecordId\":\"376\",\"sourceModuleId\":\"77\",\"sourceRecordUid\":\"SC/SAIL/RIG/NMX/26/00005\",\"timerRuleConfigId\":\"9\",\"timerRuleActionId\":\"29\",\"scheduledAtUtc\":\"2026-06-30T18:59:46.0000000\",\"alertId\":\"376\"}},\"ActorContext\":null,\"Metadata\":{\"channels\":\"[\\\"Email\\\"]\",\"payloadTemplate\":\"{}\",\"timerQueueId\":\"17\"}"}

{"Timestamp":"2026-06-30T19:01:49.9565555+00:00","Level":"Information","Data":{"EventId":2035329273},"Message":"Started processing notification for message ID 17f2a11c8eec3000"}

{"Timestamp":"2026-06-30T19:01:49.9566436+00:00","Level":"Information","Data":{"EventId":2011176545},"Message":"Looking up the notification handler for message ID 17f2a11c8eec3000"}

{"Timestamp":"2026-06-30T19:01:49.9570553+00:00","Level":"Information","Data":{"EventId":1114399984},"Message":"Event handling in process for message ID 17f2a11c8eec3000"}

{"Timestamp":"2026-06-30T19:01:50.7320384+00:00","Level":"Information","Data":{"EventId":2348934436},"Message":"Dispatching the notifications for message ID 17f2a11c8eec3000"}

{"Timestamp":"2026-06-30T19:01:50.7488304+00:00","Level":"Information","Data":{"EventId":1973295954},"Message":"Successfully processed notification for message ID 17f2a11c8eec3000"}

{"Timestamp":"2026-06-30T19:01:50.7516210+00:00","Level":"Information","Data":{"EventId":225157779},"Message":"Notification event with message ID 17f2a11d23ac3000 received: {\"TemplateId\":null,\"EntityType\":\"safety_alerts\",\"EventType\":\"reminder\",\"NotifyRoleId\":null,\"NotifyUserId\":1322,\"NotifyDynamicActor\":null,\"EntityContext\":{\"Parameters\":{\"orgId\":\"262\",\"organisationId\":\"262\",\"sourceRecordId\":\"376\",\"sourceModuleId\":\"77\",\"sourceRecordUid\":\"SC/SAIL/RIG/NMX/26/00005\",\"timerRuleConfigId\":\"9\",\"timerRuleActionId\":\"29\",\"scheduledAtUtc\":\"2026-06-30T18:59:46.0000000\",\"alertId\":\"376\"}},\"ActorContext\":null,\"Metadata\":{\"channels\":\"[\\\"Email\\\"]\",\"payloadTemplate\":\"{}\",\"timerQueueId\":\"17\"}"}

{"Timestamp":"2026-06-30T19:01:50.7565699+00:00","Level":"Information","Data":{"EventId":802108484},"Message":"Started processing notification for message ID 17f2a11d23ac3000"}

{"Timestamp":"2026-06-30T19:01:50.7566555+00:00","Level":"Information","Data":{"EventId":2784821200},"Message":"Looking up the notification handler for message ID 17f2a11d23ac3000"}

{"Timestamp":"2026-06-30T19:01:50.7567238+00:00","Level":"Information","Data":{"EventId":1358895956},"Message":"Event handling in process for message ID 17f2a11d23ac3000"}

{"Timestamp":"2026-06-30T19:01:50.7773768+00:00","Level":"Information","Data":{"EventId":1362389017},"Message":"Dispatching the notifications for message ID 17f2a11d23ac3000"}

{"Timestamp":"2026-06-30T19:01:50.8111571+00:00","Level":"Information","Data":{"EventId":425301696},"Message":"Successfully processed notification for message ID 17f2a11d23ac3000"}

{"Timestamp":"2026-06-30T19:07:51.2675112+00:00","Level":"Information","Data":{"EventId":230894887},"Message":"Notification event with message ID 17f2a26d2fac3000 received: {\"TemplateId\":null,\"EntityType\":\"safety_alerts\",\"EventType\":\"reminder\",\"NotifyRoleId\":489,\"NotifyUserId\":null,\"NotifyDynamicActor\":null,\"EntityContext\":{\"Parameters\":{\"orgId\":\"262\",\"organisationId\":\"262\",\"sourceRecordId\":\"377\",\"sourceModuleId\":\"77\",\"sourceRecordUid\":\"SC/SAIL/RIG/NMX/26/00006\",\"timerRuleConfigId\":\"9\",\"timerRuleActionId\":\"29\",\"scheduledAtUtc\":\"2026-06-30T19:06:42.0000000\",\"alertId\":\"377\"}},\"ActorContext\":null,\"Metadata\":{\"channels\":\"[\\\"Email\\\"]\",\"payloadTemplate\":\"{}\",\"timerQueueId\":\"19\"}"}

{"Timestamp":"2026-06-30T19:07:51.2813355+00:00","Level":"Information","Data":{"EventId":2187180967},"Message":"Started processing notification for message ID 17f2a26d2fac3000"}

{"Timestamp":"2026-06-30T19:07:51.2814359+00:00","Level":"Information","Data":{"EventId":20316613},"Message":"Looking up the notification handler for message ID 17f2a26d2fac3000"}

{"Timestamp":"2026-06-30T19:07:51.2814690+00:00","Level":"Information","Data":{"EventId":2661123722},"Message":"Event handling in process for message ID 17f2a26d2fac3000"}

{"Timestamp":"2026-06-30T19:07:51.3252538+00:00","Level":"Information","Data":{"EventId":1825480251},"Message":"Dispatching the notifications for message ID 17f2a26d2fac3000"}

{"Timestamp":"2026-06-30T19:07:51.3260669+00:00","Level":"Information","Data":{"EventId":1013499523},"Message":"Successfully processed notification for message ID 17f2a26d2fac3000"}

{"Timestamp":"2026-06-30T19:07:51.8980559+00:00","Level":"Information","Data":{"EventId":2513537384},"Message":"Notification event with message ID 17f2a26dc5ec3000 received: {\"TemplateId\":null,\"EntityType\":\"safety_alerts\",\"EventType\":\"reminder\",\"NotifyRoleId\":null,\"NotifyUserId\":1322,\"NotifyDynamicActor\":null,\"EntityContext\":{\"Parameters\":{\"orgId\":\"262\",\"organisationId\":\"262\",\"sourceRecordId\":\"377\",\"sourceModuleId\":\"77\",\"sourceRecordUid\":\"SC/SAIL/RIG/NMX/26/00006\",\"timerRuleConfigId\":\"9\",\"timerRuleActionId\":\"29\",\"scheduledAtUtc\":\"2026-06-30T19:06:42.0000000\",\"alertId\":\"377\"}},\"ActorContext\":null,\"Metadata\":{\"channels\":\"[\\\"Email\\\"]\",\"payloadTemplate\":\"{}\",\"timerQueueId\":\"19\"}"}

{"Timestamp":"2026-06-30T19:07:51.9015787+00:00","Level":"Information","Data":{"EventId":2515334924},"Message":"Started processing notification for message ID 17f2a26dc5ec3000"}

{"Timestamp":"2026-06-30T19:07:51.9016696+00:00","Level":"Information","Data":{"EventId":2721616995},"Message":"Looking up the notification handler for message ID 17f2a26dc5ec3000"}

{"Timestamp":"2026-06-30T19:07:51.9016978+00:00","Level":"Information","Data":{"EventId":1762613471},"Message":"Event handling in process for message ID 17f2a26dc5ec3000"}

{"Timestamp":"2026-06-30T19:07:51.9090625+00:00","Level":"Information","Data":{"EventId":3741770214},"Message":"Dispatching the notifications for message ID 17f2a26dc5ec3000"}

{"Timestamp":"2026-06-30T19:07:51.9098690+00:00","Level":"Information","Data":{"EventId":2128892367},"Message":"Successfully processed notification for message ID 17f2a26dc5ec3000"}

