{"Timestamp":"2026-09-07T06:11:37.7853743+00:00","Level":"Information","Data":{"EventId":3091016791},"Message":"Inside hosted service - for nsq"}

{"Timestamp":"2026-09-07T06:11:37.8710646+00:00","Level":"Information","Data":{"EventId":3138514657},"Message":"Started the consumer service and handler for NSQ"}

{"Timestamp":"2026-09-07T07:07:52.5904341+00:00","Level":"Information","Data":{"EventId":1775795233},"Message":"Notification event with message ID 1846bd71f12c3000 received: {\"TemplateId\":3,\"EntityType\":\"safety_alerts\",\"EventType\":null,\"NotifyRoleId\":null,\"NotifyUserId\":null,\"NotifyDynamicActor\":\"AssignedTo\",\"EntityContext\":{\"Parameters\":{\"alertId\":\"2009\",\"orgId\":\"269\",\"alertLink\":\"https://sandbox.oqsha.com/#/safety-alerts-v2/edit-safety-alert-v2/2009\",\"EmailFooter\":\"OQSHA Team\",\"UserName\":\" \",\"Changes\":\"\",\"description\":\"\"}},\"ActorContext\":{\"AssignedTo\":[4297],\"SafetyRepresentative\":[4297]},\"Metadata\":null}"}

{"Timestamp":"2026-09-07T07:07:52.7344681+00:00","Level":"Information","Data":{"EventId":3359455275},"Message":"Started processing notification for message ID 1846bd71f12c3000"}

{"Timestamp":"2026-09-07T07:07:52.7345638+00:00","Level":"Information","Data":{"EventId":3148876329},"Message":"Looking up the notification handler for message ID 1846bd71f12c3000"}

{"Timestamp":"2026-09-07T07:07:52.7349802+00:00","Level":"Information","Data":{"EventId":440883508},"Message":"Event handling in process for message ID 1846bd71f12c3000"}

{"Timestamp":"2026-09-07T07:07:53.4708376+00:00","Level":"Information","Data":{"EventId":3856669438},"Message":"Sending message ID 1846bd71f12c3000 to DLQ"}

{"Timestamp":"2026-09-07T07:07:53.5202579+00:00","Level":"Information","Data":{"EventId":664405502},"Message":"Dead letter envelope for DLQ message: {\"SourceTopic\":\"stg.notification.orchestrator\",\"SourceChannel\":\"notification-orchestrator\",\"FailedAtUtc\":\"2026-09-07T07:07:53.4709778Z\",\"Attempts\":1,\"ErrorType\":\"OQSHA.Notification.Orchestrator.Exceptions.PermanentOrchestratorException\",\"ErrorMessage\":\"Safety alert ID 2009 not found for message ID 1846bd71f12c3000\",\"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\\\":3,\\\"EntityType\\\":\\\"safety_alerts\\\",\\\"EventType\\\":null,\\\"NotifyRoleId\\\":null,\\\"NotifyUserId\\\":null,\\\"NotifyDynamicActor\\\":\\\"AssignedTo\\\",\\\"EntityContext\\\":{\\\"Parameters\\\":{\\\"alertId\\\":\\\"2009\\\",\\\"orgId\\\":\\\"269\\\",\\\"alertLink\\\":\\\"https://sandbox.oqsha.com/#/safety-alerts-v2/edit-safety-alert-v2/2009\\\",\\\"EmailFooter\\\":\\\"OQSHA Team\\\",\\\"UserName\\\":\\\" \\\",\\\"Changes\\\":\\\"\\\",\\\"description\\\":\\\"\\\"}},\\\"ActorContext\\\":{\\\"AssignedTo\\\":[4297],\\\"SafetyRepresentative\\\":[4297]},\\\"Metadata\\\":null}\"}"}

{"Timestamp":"2026-09-07T07:07:53.5254701+00:00","Level":"Information","Data":{"EventId":525560410},"Message":"Sent message ID 1846bd71f12c3000 to DLQ"}

{"Timestamp":"2026-09-07T08:25:57.2599943+00:00","Level":"Information","Data":{"EventId":1235456098},"Message":"Notification event with message ID 1846ce7ce1ec3000 received: {\"TemplateId\":17,\"EntityType\":\"work_permit_v2\",\"EventType\":null,\"NotifyRoleId\":null,\"NotifyUserId\":null,\"NotifyDynamicActor\":\"ptw_issuer\",\"EntityContext\":{\"Parameters\":{\"workPermitId\":\"804\",\"workPermitV2Id\":\"804\",\"orgId\":\"207\",\"viewLink\":\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/207/804?dlType=viewWorkPermitV2\",\"workPermitLink\":\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/207/804?dlType=viewWorkPermitV2\",\"emailFooter\":\"OQSHA Team\"}},\"ActorContext\":{\"requested_by\":[267],\"ptw_issuer\":[267],\"ptw_approver\":[267],\"ptw_authorizer\":[267]},\"Metadata\":null}"}

{"Timestamp":"2026-09-07T08:25:57.2652855+00:00","Level":"Information","Data":{"EventId":3143082544},"Message":"Started processing notification for message ID 1846ce7ce1ec3000"}

{"Timestamp":"2026-09-07T08:25:57.2653695+00:00","Level":"Information","Data":{"EventId":2256078556},"Message":"Looking up the notification handler for message ID 1846ce7ce1ec3000"}

{"Timestamp":"2026-09-07T08:25:57.2655621+00:00","Level":"Information","Data":{"EventId":316159709},"Message":"Event handling in process for message ID 1846ce7ce1ec3000"}

{"Timestamp":"2026-09-07T08:25:57.3228184+00:00","Level":"Information","Data":{"EventId":2308340836},"Message":"Sending message ID 1846ce7ce1ec3000 to DLQ"}

{"Timestamp":"2026-09-07T08:25:57.3256102+00:00","Level":"Information","Data":{"EventId":3858662869},"Message":"Dead letter envelope for DLQ message: {\"SourceTopic\":\"stg.notification.orchestrator\",\"SourceChannel\":\"notification-orchestrator\",\"FailedAtUtc\":\"2026-09-07T08:25:57.3229166Z\",\"Attempts\":1,\"ErrorType\":\"OQSHA.Notification.Orchestrator.Exceptions.PermanentOrchestratorException\",\"ErrorMessage\":\"Work Permit V2 ID 804 not found for message ID 1846ce7ce1ec3000\",\"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\\\":17,\\\"EntityType\\\":\\\"work_permit_v2\\\",\\\"EventType\\\":null,\\\"NotifyRoleId\\\":null,\\\"NotifyUserId\\\":null,\\\"NotifyDynamicActor\\\":\\\"ptw_issuer\\\",\\\"EntityContext\\\":{\\\"Parameters\\\":{\\\"workPermitId\\\":\\\"804\\\",\\\"workPermitV2Id\\\":\\\"804\\\",\\\"orgId\\\":\\\"207\\\",\\\"viewLink\\\":\\\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/207/804?dlType=viewWorkPermitV2\\\",\\\"workPermitLink\\\":\\\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/207/804?dlType=viewWorkPermitV2\\\",\\\"emailFooter\\\":\\\"OQSHA Team\\\"}},\\\"ActorContext\\\":{\\\"requested_by\\\":[267],\\\"ptw_issuer\\\":[267],\\\"ptw_approver\\\":[267],\\\"ptw_authorizer\\\":[267]},\\\"Metadata\\\":null}\"}"}

{"Timestamp":"2026-09-07T08:25:57.3266948+00:00","Level":"Information","Data":{"EventId":165957863},"Message":"Sent message ID 1846ce7ce1ec3000 to DLQ"}

{"Timestamp":"2026-09-07T08:29:32.1645070+00:00","Level":"Information","Data":{"EventId":911389325},"Message":"Notification event with message ID 1846cf45072c3000 received: {\"TemplateId\":17,\"EntityType\":\"work_permit_v2\",\"EventType\":null,\"NotifyRoleId\":null,\"NotifyUserId\":null,\"NotifyDynamicActor\":\"ptw_issuer\",\"EntityContext\":{\"Parameters\":{\"workPermitId\":\"805\",\"workPermitV2Id\":\"805\",\"orgId\":\"207\",\"viewLink\":\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/207/805?dlType=viewWorkPermitV2\",\"workPermitLink\":\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/207/805?dlType=viewWorkPermitV2\",\"emailFooter\":\"OQSHA Team\"}},\"ActorContext\":{\"requested_by\":[267],\"ptw_issuer\":[267],\"ptw_approver\":[267],\"ptw_authorizer\":[267],\"ext_issuer\":[267]},\"Metadata\":null}"}

{"Timestamp":"2026-09-07T08:29:32.1820247+00:00","Level":"Information","Data":{"EventId":2918605905},"Message":"Started processing notification for message ID 1846cf45072c3000"}

{"Timestamp":"2026-09-07T08:29:32.1821014+00:00","Level":"Information","Data":{"EventId":2109293591},"Message":"Looking up the notification handler for message ID 1846cf45072c3000"}

{"Timestamp":"2026-09-07T08:29:32.1821875+00:00","Level":"Information","Data":{"EventId":3127377009},"Message":"Event handling in process for message ID 1846cf45072c3000"}

{"Timestamp":"2026-09-07T08:29:32.2190832+00:00","Level":"Information","Data":{"EventId":4124669784},"Message":"Sending message ID 1846cf45072c3000 to DLQ"}

{"Timestamp":"2026-09-07T08:29:32.2193859+00:00","Level":"Information","Data":{"EventId":1335285620},"Message":"Dead letter envelope for DLQ message: {\"SourceTopic\":\"stg.notification.orchestrator\",\"SourceChannel\":\"notification-orchestrator\",\"FailedAtUtc\":\"2026-09-07T08:29:32.2191544Z\",\"Attempts\":1,\"ErrorType\":\"OQSHA.Notification.Orchestrator.Exceptions.PermanentOrchestratorException\",\"ErrorMessage\":\"Work Permit V2 ID 805 not found for message ID 1846cf45072c3000\",\"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\\\":17,\\\"EntityType\\\":\\\"work_permit_v2\\\",\\\"EventType\\\":null,\\\"NotifyRoleId\\\":null,\\\"NotifyUserId\\\":null,\\\"NotifyDynamicActor\\\":\\\"ptw_issuer\\\",\\\"EntityContext\\\":{\\\"Parameters\\\":{\\\"workPermitId\\\":\\\"805\\\",\\\"workPermitV2Id\\\":\\\"805\\\",\\\"orgId\\\":\\\"207\\\",\\\"viewLink\\\":\\\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/207/805?dlType=viewWorkPermitV2\\\",\\\"workPermitLink\\\":\\\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/207/805?dlType=viewWorkPermitV2\\\",\\\"emailFooter\\\":\\\"OQSHA Team\\\"}},\\\"ActorContext\\\":{\\\"requested_by\\\":[267],\\\"ptw_issuer\\\":[267],\\\"ptw_approver\\\":[267],\\\"ptw_authorizer\\\":[267],\\\"ext_issuer\\\":[267]},\\\"Metadata\\\":null}\"}"}

{"Timestamp":"2026-09-07T08:29:32.2202144+00:00","Level":"Information","Data":{"EventId":2480297961},"Message":"Sent message ID 1846cf45072c3000 to DLQ"}

{"Timestamp":"2026-09-07T08:35:09.6959297+00:00","Level":"Information","Data":{"EventId":1093955498},"Message":"Notification event with message ID 1846d07f5fec3000 received: {\"TemplateId\":17,\"EntityType\":\"work_permit_v2\",\"EventType\":null,\"NotifyRoleId\":null,\"NotifyUserId\":267,\"NotifyDynamicActor\":null,\"EntityContext\":{\"Parameters\":{\"workPermitId\":\"805\",\"workPermitV2Id\":\"805\",\"orgId\":\"207\",\"viewLink\":\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/207/805?dlType=viewWorkPermitV2\",\"workPermitLink\":\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/207/805?dlType=viewWorkPermitV2\",\"emailFooter\":\"OQSHA Team\"}},\"ActorContext\":{\"requested_by\":[267],\"ptw_issuer\":[267],\"ptw_approver\":[267],\"ptw_authorizer\":[267],\"ext_issuer\":[267],\"ext_approver\":[267]},\"Metadata\":null}"}

{"Timestamp":"2026-09-07T08:35:09.6977612+00:00","Level":"Information","Data":{"EventId":310310562},"Message":"Started processing notification for message ID 1846d07f5fec3000"}

{"Timestamp":"2026-09-07T08:35:09.6978238+00:00","Level":"Information","Data":{"EventId":2331149606},"Message":"Looking up the notification handler for message ID 1846d07f5fec3000"}

{"Timestamp":"2026-09-07T08:35:09.6978418+00:00","Level":"Information","Data":{"EventId":1956108007},"Message":"Event handling in process for message ID 1846d07f5fec3000"}

{"Timestamp":"2026-09-07T08:35:09.7007359+00:00","Level":"Information","Data":{"EventId":3558368516},"Message":"Sending message ID 1846d07f5fec3000 to DLQ"}

{"Timestamp":"2026-09-07T08:35:09.7010299+00:00","Level":"Information","Data":{"EventId":1891723082},"Message":"Dead letter envelope for DLQ message: {\"SourceTopic\":\"stg.notification.orchestrator\",\"SourceChannel\":\"notification-orchestrator\",\"FailedAtUtc\":\"2026-09-07T08:35:09.7007916Z\",\"Attempts\":1,\"ErrorType\":\"OQSHA.Notification.Orchestrator.Exceptions.PermanentOrchestratorException\",\"ErrorMessage\":\"Work Permit V2 ID 805 not found for message ID 1846d07f5fec3000\",\"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\\\":17,\\\"EntityType\\\":\\\"work_permit_v2\\\",\\\"EventType\\\":null,\\\"NotifyRoleId\\\":null,\\\"NotifyUserId\\\":267,\\\"NotifyDynamicActor\\\":null,\\\"EntityContext\\\":{\\\"Parameters\\\":{\\\"workPermitId\\\":\\\"805\\\",\\\"workPermitV2Id\\\":\\\"805\\\",\\\"orgId\\\":\\\"207\\\",\\\"viewLink\\\":\\\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/207/805?dlType=viewWorkPermitV2\\\",\\\"workPermitLink\\\":\\\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/207/805?dlType=viewWorkPermitV2\\\",\\\"emailFooter\\\":\\\"OQSHA Team\\\"}},\\\"ActorContext\\\":{\\\"requested_by\\\":[267],\\\"ptw_issuer\\\":[267],\\\"ptw_approver\\\":[267],\\\"ptw_authorizer\\\":[267],\\\"ext_issuer\\\":[267],\\\"ext_approver\\\":[267]},\\\"Metadata\\\":null}\"}"}

{"Timestamp":"2026-09-07T08:35:09.7016503+00:00","Level":"Information","Data":{"EventId":3428187320},"Message":"Sent message ID 1846d07f5fec3000 to DLQ"}

{"Timestamp":"2026-09-07T11:46:34.4929303+00:00","Level":"Information","Data":{"EventId":3091016791},"Message":"Inside hosted service - for nsq"}

{"Timestamp":"2026-09-07T11:46:34.6072720+00:00","Level":"Information","Data":{"EventId":3138514657},"Message":"Started the consumer service and handler for NSQ"}

{"Timestamp":"2026-09-07T11:46:34.8612481+00:00","Level":"Information","Data":{"EventId":1255917487},"Message":"Notification event with message ID 1846e2d2706c3000 received: {\"TemplateId\":17,\"EntityType\":\"work_permit_v2\",\"EventType\":null,\"NotifyRoleId\":null,\"NotifyUserId\":null,\"NotifyDynamicActor\":\"ptw_issuer\",\"EntityContext\":{\"Parameters\":{\"workPermitId\":\"806\",\"workPermitV2Id\":\"806\",\"orgId\":\"207\",\"viewLink\":\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/207/806?dlType=viewWorkPermitV2\",\"workPermitLink\":\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/207/806?dlType=viewWorkPermitV2\",\"emailFooter\":\"OQSHA Team\"}},\"ActorContext\":{\"requested_by\":[267],\"ptw_issuer\":[267],\"ptw_approver\":[267],\"ptw_authorizer\":[267],\"ext_issuer\":[267]},\"Metadata\":null}"}

{"Timestamp":"2026-09-07T11:46:35.0092130+00:00","Level":"Information","Data":{"EventId":1231345891},"Message":"Started processing notification for message ID 1846e2d2706c3000"}

{"Timestamp":"2026-09-07T11:46:35.0092924+00:00","Level":"Information","Data":{"EventId":3978290580},"Message":"Looking up the notification handler for message ID 1846e2d2706c3000"}

{"Timestamp":"2026-09-07T11:46:35.0097655+00:00","Level":"Information","Data":{"EventId":3264261708},"Message":"Event handling in process for message ID 1846e2d2706c3000"}

{"Timestamp":"2026-09-07T11:46:35.6995543+00:00","Level":"Information","Data":{"EventId":1484032511},"Message":"Sending message ID 1846e2d2706c3000 to DLQ"}

{"Timestamp":"2026-09-07T11:46:35.7332751+00:00","Level":"Information","Data":{"EventId":1968552618},"Message":"Dead letter envelope for DLQ message: {\"SourceTopic\":\"stg.notification.orchestrator\",\"SourceChannel\":\"notification-orchestrator\",\"FailedAtUtc\":\"2026-09-07T11:46:35.6996979Z\",\"Attempts\":1,\"ErrorType\":\"OQSHA.Notification.Orchestrator.Exceptions.PermanentOrchestratorException\",\"ErrorMessage\":\"Work Permit V2 ID 806 not found for message ID 1846e2d2706c3000\",\"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\\\":17,\\\"EntityType\\\":\\\"work_permit_v2\\\",\\\"EventType\\\":null,\\\"NotifyRoleId\\\":null,\\\"NotifyUserId\\\":null,\\\"NotifyDynamicActor\\\":\\\"ptw_issuer\\\",\\\"EntityContext\\\":{\\\"Parameters\\\":{\\\"workPermitId\\\":\\\"806\\\",\\\"workPermitV2Id\\\":\\\"806\\\",\\\"orgId\\\":\\\"207\\\",\\\"viewLink\\\":\\\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/207/806?dlType=viewWorkPermitV2\\\",\\\"workPermitLink\\\":\\\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/207/806?dlType=viewWorkPermitV2\\\",\\\"emailFooter\\\":\\\"OQSHA Team\\\"}},\\\"ActorContext\\\":{\\\"requested_by\\\":[267],\\\"ptw_issuer\\\":[267],\\\"ptw_approver\\\":[267],\\\"ptw_authorizer\\\":[267],\\\"ext_issuer\\\":[267]},\\\"Metadata\\\":null}\"}"}

{"Timestamp":"2026-09-07T11:46:35.7404556+00:00","Level":"Information","Data":{"EventId":1057645873},"Message":"Sent message ID 1846e2d2706c3000 to DLQ"}

{"Timestamp":"2026-09-07T11:46:35.7412097+00:00","Level":"Information","Data":{"EventId":1803068501},"Message":"Notification event with message ID 1846e3ce7f6c3000 received: {\"TemplateId\":17,\"EntityType\":\"work_permit_v2\",\"EventType\":null,\"NotifyRoleId\":null,\"NotifyUserId\":null,\"NotifyDynamicActor\":\"ptw_issuer\",\"EntityContext\":{\"Parameters\":{\"workPermitId\":\"807\",\"workPermitV2Id\":\"807\",\"orgId\":\"207\",\"viewLink\":\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/207/807?dlType=viewWorkPermitV2\",\"workPermitLink\":\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/207/807?dlType=viewWorkPermitV2\",\"emailFooter\":\"OQSHA Team\"}},\"ActorContext\":{\"requested_by\":[267],\"ptw_issuer\":[267],\"ptw_approver\":[267],\"ptw_authorizer\":[267],\"ext_issuer\":[267]},\"Metadata\":null}"}

{"Timestamp":"2026-09-07T11:46:35.7458741+00:00","Level":"Information","Data":{"EventId":2035315031},"Message":"Started processing notification for message ID 1846e3ce7f6c3000"}

{"Timestamp":"2026-09-07T11:46:35.7459259+00:00","Level":"Information","Data":{"EventId":2651097436},"Message":"Looking up the notification handler for message ID 1846e3ce7f6c3000"}

{"Timestamp":"2026-09-07T11:46:35.7460092+00:00","Level":"Information","Data":{"EventId":1779221816},"Message":"Event handling in process for message ID 1846e3ce7f6c3000"}

{"Timestamp":"2026-09-07T11:46:35.7613202+00:00","Level":"Information","Data":{"EventId":688151097},"Message":"Sending message ID 1846e3ce7f6c3000 to DLQ"}

{"Timestamp":"2026-09-07T11:46:35.7616366+00:00","Level":"Information","Data":{"EventId":624709389},"Message":"Dead letter envelope for DLQ message: {\"SourceTopic\":\"stg.notification.orchestrator\",\"SourceChannel\":\"notification-orchestrator\",\"FailedAtUtc\":\"2026-09-07T11:46:35.7614092Z\",\"Attempts\":1,\"ErrorType\":\"OQSHA.Notification.Orchestrator.Exceptions.PermanentOrchestratorException\",\"ErrorMessage\":\"Work Permit V2 ID 807 not found for message ID 1846e3ce7f6c3000\",\"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\\\":17,\\\"EntityType\\\":\\\"work_permit_v2\\\",\\\"EventType\\\":null,\\\"NotifyRoleId\\\":null,\\\"NotifyUserId\\\":null,\\\"NotifyDynamicActor\\\":\\\"ptw_issuer\\\",\\\"EntityContext\\\":{\\\"Parameters\\\":{\\\"workPermitId\\\":\\\"807\\\",\\\"workPermitV2Id\\\":\\\"807\\\",\\\"orgId\\\":\\\"207\\\",\\\"viewLink\\\":\\\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/207/807?dlType=viewWorkPermitV2\\\",\\\"workPermitLink\\\":\\\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/207/807?dlType=viewWorkPermitV2\\\",\\\"emailFooter\\\":\\\"OQSHA Team\\\"}},\\\"ActorContext\\\":{\\\"requested_by\\\":[267],\\\"ptw_issuer\\\":[267],\\\"ptw_approver\\\":[267],\\\"ptw_authorizer\\\":[267],\\\"ext_issuer\\\":[267]},\\\"Metadata\\\":null}\"}"}

{"Timestamp":"2026-09-07T11:46:35.7624878+00:00","Level":"Information","Data":{"EventId":2442238972},"Message":"Sent message ID 1846e3ce7f6c3000 to DLQ"}

{"Timestamp":"2026-09-07T11:46:35.7627674+00:00","Level":"Information","Data":{"EventId":453416706},"Message":"Notification event with message ID 1846e3fd022c3000 received: {\"TemplateId\":17,\"EntityType\":\"work_permit_v2\",\"EventType\":null,\"NotifyRoleId\":null,\"NotifyUserId\":267,\"NotifyDynamicActor\":null,\"EntityContext\":{\"Parameters\":{\"workPermitId\":\"807\",\"workPermitV2Id\":\"807\",\"orgId\":\"207\",\"viewLink\":\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/207/807?dlType=viewWorkPermitV2\",\"workPermitLink\":\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/207/807?dlType=viewWorkPermitV2\",\"emailFooter\":\"OQSHA Team\"}},\"ActorContext\":{\"requested_by\":[267],\"ptw_issuer\":[267],\"ptw_approver\":[267],\"ptw_authorizer\":[267],\"ext_issuer\":[267],\"ext_approver\":[267]},\"Metadata\":null}"}

{"Timestamp":"2026-09-07T11:46:35.7774268+00:00","Level":"Information","Data":{"EventId":3231787090},"Message":"Started processing notification for message ID 1846e3fd022c3000"}

{"Timestamp":"2026-09-07T11:46:35.7775032+00:00","Level":"Information","Data":{"EventId":1015182440},"Message":"Looking up the notification handler for message ID 1846e3fd022c3000"}

{"Timestamp":"2026-09-07T11:46:35.7775262+00:00","Level":"Information","Data":{"EventId":2374451241},"Message":"Event handling in process for message ID 1846e3fd022c3000"}

{"Timestamp":"2026-09-07T11:46:35.8138903+00:00","Level":"Information","Data":{"EventId":428108963},"Message":"Sending message ID 1846e3fd022c3000 to DLQ"}

{"Timestamp":"2026-09-07T11:46:35.8141746+00:00","Level":"Information","Data":{"EventId":3894108808},"Message":"Dead letter envelope for DLQ message: {\"SourceTopic\":\"stg.notification.orchestrator\",\"SourceChannel\":\"notification-orchestrator\",\"FailedAtUtc\":\"2026-09-07T11:46:35.8139581Z\",\"Attempts\":1,\"ErrorType\":\"OQSHA.Notification.Orchestrator.Exceptions.PermanentOrchestratorException\",\"ErrorMessage\":\"Work Permit V2 ID 807 not found for message ID 1846e3fd022c3000\",\"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\\\":17,\\\"EntityType\\\":\\\"work_permit_v2\\\",\\\"EventType\\\":null,\\\"NotifyRoleId\\\":null,\\\"NotifyUserId\\\":267,\\\"NotifyDynamicActor\\\":null,\\\"EntityContext\\\":{\\\"Parameters\\\":{\\\"workPermitId\\\":\\\"807\\\",\\\"workPermitV2Id\\\":\\\"807\\\",\\\"orgId\\\":\\\"207\\\",\\\"viewLink\\\":\\\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/207/807?dlType=viewWorkPermitV2\\\",\\\"workPermitLink\\\":\\\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/207/807?dlType=viewWorkPermitV2\\\",\\\"emailFooter\\\":\\\"OQSHA Team\\\"}},\\\"ActorContext\\\":{\\\"requested_by\\\":[267],\\\"ptw_issuer\\\":[267],\\\"ptw_approver\\\":[267],\\\"ptw_authorizer\\\":[267],\\\"ext_issuer\\\":[267],\\\"ext_approver\\\":[267]},\\\"Metadata\\\":null}\"}"}

{"Timestamp":"2026-09-07T11:46:35.8150237+00:00","Level":"Information","Data":{"EventId":3147663227},"Message":"Sent message ID 1846e3fd022c3000 to DLQ"}

{"Timestamp":"2026-09-07T11:46:35.8153643+00:00","Level":"Information","Data":{"EventId":738731377},"Message":"Notification event with message ID 1846f2ff9d2c3000 received: {\"TemplateId\":45,\"EntityType\":\"visitor_management\",\"EventType\":null,\"NotifyRoleId\":355,\"NotifyUserId\":null,\"NotifyDynamicActor\":null,\"EntityContext\":{\"Parameters\":{\"visitorManagementId\":\"21\",\"orgId\":\"251\"}},\"ActorContext\":{\"Employee\":[5698],\"createdby\":[267]},\"Metadata\":null}"}

{"Timestamp":"2026-09-07T11:46:35.8181094+00:00","Level":"Information","Data":{"EventId":1138215182},"Message":"Started processing notification for message ID 1846f2ff9d2c3000"}

{"Timestamp":"2026-09-07T11:46:35.8181869+00:00","Level":"Information","Data":{"EventId":2852640004},"Message":"Looking up the notification handler for message ID 1846f2ff9d2c3000"}

{"Timestamp":"2026-09-07T11:46:35.8182108+00:00","Level":"Information","Data":{"EventId":2331017095},"Message":"Event handling in process for message ID 1846f2ff9d2c3000"}

{"Timestamp":"2026-09-07T11:46:35.8406108+00:00","Level":"Information","Data":{"EventId":3557559212},"Message":"Sending message ID 1846f2ff9d2c3000 to DLQ"}

{"Timestamp":"2026-09-07T11:46:35.8409695+00:00","Level":"Information","Data":{"EventId":2136756670},"Message":"Dead letter envelope for DLQ message: {\"SourceTopic\":\"stg.notification.orchestrator\",\"SourceChannel\":\"notification-orchestrator\",\"FailedAtUtc\":\"2026-09-07T11:46:35.8406923Z\",\"Attempts\":1,\"ErrorType\":\"OQSHA.Notification.Orchestrator.Exceptions.PermanentOrchestratorException\",\"ErrorMessage\":\"Visitor Management ID 21 not found for message ID 1846f2ff9d2c3000\",\"StackTrace\":\"   at OQSHA.Notification.Orchestrator.NotificationHandlers.VisitorManagementNotificationHandler.FetchVisitorManagementAsync(String messageId, Int32 orgId, Int32 visitorManagementId) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\NotificationHandlers\\\\VisitorManagementNotificationHandler.cs:line 220\\r\\n   at OQSHA.Notification.Orchestrator.NotificationHandlers.VisitorManagementNotificationHandler.HandleAsync(String messageId, NotificationEventDto request) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\NotificationHandlers\\\\VisitorManagementNotificationHandler.cs:line 52\\r\\n   at OQSHA.Notification.Orchestrator.NotificationHandlers.VisitorManagementNotificationHandler.ProcessEventAsync(String messageId, NotificationEventDto request) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\NotificationHandlers\\\\VisitorManagementNotificationHandler.cs:line 44\\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\\\":45,\\\"EntityType\\\":\\\"visitor_management\\\",\\\"EventType\\\":null,\\\"NotifyRoleId\\\":355,\\\"NotifyUserId\\\":null,\\\"NotifyDynamicActor\\\":null,\\\"EntityContext\\\":{\\\"Parameters\\\":{\\\"visitorManagementId\\\":\\\"21\\\",\\\"orgId\\\":\\\"251\\\"}},\\\"ActorContext\\\":{\\\"Employee\\\":[5698],\\\"createdby\\\":[267]},\\\"Metadata\\\":null}\"}"}

{"Timestamp":"2026-09-07T11:46:35.8557239+00:00","Level":"Information","Data":{"EventId":2537030887},"Message":"Sent message ID 1846f2ff9d2c3000 to DLQ"}

{"Timestamp":"2026-09-07T12:30:12.2635315+00:00","Level":"Information","Data":{"EventId":37202208},"Message":"Notification event with message ID 184703cd6aec3000 received: {\"TemplateId\":49,\"EntityType\":\"safety_alerts\",\"EventType\":null,\"NotifyRoleId\":null,\"NotifyUserId\":null,\"NotifyDynamicActor\":null,\"EntityContext\":{\"Parameters\":{\"alertId\":\"2015\",\"orgId\":\"264\",\"alertLink\":\"https://sandbox.oqsha.com/#/safety-alerts-v2/edit-safety-alert-v2/2015\",\"EmailFooter\":\"OQSHA Team\",\"UserName\":\"Giselle Angle\",\"description\":\"desc\"}},\"ActorContext\":null,\"Metadata\":null}"}

{"Timestamp":"2026-09-07T12:30:12.2658411+00:00","Level":"Information","Data":{"EventId":3250966005},"Message":"Started processing notification for message ID 184703cd6aec3000"}

{"Timestamp":"2026-09-07T12:30:12.2659332+00:00","Level":"Information","Data":{"EventId":2498412937},"Message":"Looking up the notification handler for message ID 184703cd6aec3000"}

{"Timestamp":"2026-09-07T12:30:12.2659591+00:00","Level":"Information","Data":{"EventId":991520160},"Message":"Event handling in process for message ID 184703cd6aec3000"}

{"Timestamp":"2026-09-07T12:30:12.2786674+00:00","Level":"Information","Data":{"EventId":3387420951},"Message":"Sending message ID 184703cd6aec3000 to DLQ"}

{"Timestamp":"2026-09-07T12:30:12.2790297+00:00","Level":"Information","Data":{"EventId":3950474610},"Message":"Dead letter envelope for DLQ message: {\"SourceTopic\":\"stg.notification.orchestrator\",\"SourceChannel\":\"notification-orchestrator\",\"FailedAtUtc\":\"2026-09-07T12:30:12.2787398Z\",\"Attempts\":1,\"ErrorType\":\"OQSHA.Notification.Orchestrator.Exceptions.PermanentOrchestratorException\",\"ErrorMessage\":\"No template found for template ID 49 of message ID 184703cd6aec3000\",\"StackTrace\":\"   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 64\\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\\\":49,\\\"EntityType\\\":\\\"safety_alerts\\\",\\\"EventType\\\":null,\\\"NotifyRoleId\\\":null,\\\"NotifyUserId\\\":null,\\\"NotifyDynamicActor\\\":null,\\\"EntityContext\\\":{\\\"Parameters\\\":{\\\"alertId\\\":\\\"2015\\\",\\\"orgId\\\":\\\"264\\\",\\\"alertLink\\\":\\\"https://sandbox.oqsha.com/#/safety-alerts-v2/edit-safety-alert-v2/2015\\\",\\\"EmailFooter\\\":\\\"OQSHA Team\\\",\\\"UserName\\\":\\\"Giselle Angle\\\",\\\"description\\\":\\\"desc\\\"}},\\\"ActorContext\\\":null,\\\"Metadata\\\":null}\"}"}

{"Timestamp":"2026-09-07T12:30:12.2831330+00:00","Level":"Information","Data":{"EventId":975862631},"Message":"Sent message ID 184703cd6aec3000 to DLQ"}

{"Timestamp":"2026-09-07T12:30:12.3110973+00:00","Level":"Information","Data":{"EventId":2537576710},"Message":"Notification event with message ID 184703cd6b6c3000 received: {\"TemplateId\":50,\"EntityType\":\"safety_alerts\",\"EventType\":null,\"NotifyRoleId\":null,\"NotifyUserId\":null,\"NotifyDynamicActor\":null,\"EntityContext\":{\"Parameters\":{\"alertId\":\"2015\",\"orgId\":\"264\",\"alertLink\":\"https://sandbox.oqsha.com/#/safety-alerts-v2/edit-safety-alert-v2/2015\",\"EmailFooter\":\"OQSHA Team\",\"UserName\":\"Giselle Angle\",\"description\":\"desc\"}},\"ActorContext\":null,\"Metadata\":null}"}

{"Timestamp":"2026-09-07T12:30:12.3131258+00:00","Level":"Information","Data":{"EventId":3158325565},"Message":"Started processing notification for message ID 184703cd6b6c3000"}

{"Timestamp":"2026-09-07T12:30:12.3131940+00:00","Level":"Information","Data":{"EventId":2677691927},"Message":"Looking up the notification handler for message ID 184703cd6b6c3000"}

{"Timestamp":"2026-09-07T12:30:12.3132149+00:00","Level":"Information","Data":{"EventId":3975124538},"Message":"Event handling in process for message ID 184703cd6b6c3000"}

{"Timestamp":"2026-09-07T12:30:12.3154857+00:00","Level":"Information","Data":{"EventId":2036512152},"Message":"Sending message ID 184703cd6b6c3000 to DLQ"}

{"Timestamp":"2026-09-07T12:30:12.3157922+00:00","Level":"Information","Data":{"EventId":4168760998},"Message":"Dead letter envelope for DLQ message: {\"SourceTopic\":\"stg.notification.orchestrator\",\"SourceChannel\":\"notification-orchestrator\",\"FailedAtUtc\":\"2026-09-07T12:30:12.3155595Z\",\"Attempts\":1,\"ErrorType\":\"OQSHA.Notification.Orchestrator.Exceptions.PermanentOrchestratorException\",\"ErrorMessage\":\"No template found for template ID 50 of message ID 184703cd6b6c3000\",\"StackTrace\":\"   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 64\\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\\\":50,\\\"EntityType\\\":\\\"safety_alerts\\\",\\\"EventType\\\":null,\\\"NotifyRoleId\\\":null,\\\"NotifyUserId\\\":null,\\\"NotifyDynamicActor\\\":null,\\\"EntityContext\\\":{\\\"Parameters\\\":{\\\"alertId\\\":\\\"2015\\\",\\\"orgId\\\":\\\"264\\\",\\\"alertLink\\\":\\\"https://sandbox.oqsha.com/#/safety-alerts-v2/edit-safety-alert-v2/2015\\\",\\\"EmailFooter\\\":\\\"OQSHA Team\\\",\\\"UserName\\\":\\\"Giselle Angle\\\",\\\"description\\\":\\\"desc\\\"}},\\\"ActorContext\\\":null,\\\"Metadata\\\":null}\"}"}

{"Timestamp":"2026-09-07T12:30:12.3162771+00:00","Level":"Information","Data":{"EventId":1925242095},"Message":"Sent message ID 184703cd6b6c3000 to DLQ"}

{"Timestamp":"2026-09-07T12:38:08.1879183+00:00","Level":"Information","Data":{"EventId":3091016791},"Message":"Inside hosted service - for nsq"}

{"Timestamp":"2026-09-07T12:38:08.2683084+00:00","Level":"Information","Data":{"EventId":3138514657},"Message":"Started the consumer service and handler for NSQ"}

