{"Timestamp":"2026-08-04T00:23:01.0392853+00:00","Level":"Information","Data":{"EventId":3091016791},"Message":"Inside hosted service - for nsq"}

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

{"Timestamp":"2026-08-04T06:24:04.6515276+00:00","Level":"Information","Data":{"EventId":3360443115},"Message":"Notification event with message ID 181cf4f5496c3000 received: {\"TemplateId\":16,\"EntityType\":\"work_permit_v2\",\"EventType\":null,\"NotifyRoleId\":null,\"NotifyUserId\":null,\"NotifyDynamicActor\":null,\"EntityContext\":{\"Parameters\":{\"workPermitId\":\"465\",\"workPermitV2Id\":\"465\",\"orgId\":\"204\",\"viewLink\":\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/204/465?dlType=viewWorkPermitV2\",\"workPermitLink\":\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/204/465?dlType=viewWorkPermitV2\",\"emailFooter\":\"OQSHA Team\"}},\"ActorContext\":null,\"Metadata\":null}"}

{"Timestamp":"2026-08-04T06:24:04.8030761+00:00","Level":"Information","Data":{"EventId":1388286950},"Message":"Started processing notification for message ID 181cf4f5496c3000"}

{"Timestamp":"2026-08-04T06:24:04.8031583+00:00","Level":"Information","Data":{"EventId":998780121},"Message":"Looking up the notification handler for message ID 181cf4f5496c3000"}

{"Timestamp":"2026-08-04T06:24:04.8035818+00:00","Level":"Information","Data":{"EventId":68755758},"Message":"Event handling in process for message ID 181cf4f5496c3000"}

{"Timestamp":"2026-08-04T06:24:05.6368161+00:00","Level":"Information","Data":{"EventId":1800500399},"Message":"Sending message ID 181cf4f5496c3000 to DLQ"}

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

{"Timestamp":"2026-08-04T06:24:05.6751083+00:00","Level":"Information","Data":{"EventId":2450616132},"Message":"Sent message ID 181cf4f5496c3000 to DLQ"}

{"Timestamp":"2026-08-04T06:24:05.6759091+00:00","Level":"Information","Data":{"EventId":4209099190},"Message":"Notification event with message ID 181cf4f54a6c3000 received: {\"TemplateId\":18,\"EntityType\":\"work_permit_v2\",\"EventType\":null,\"NotifyRoleId\":null,\"NotifyUserId\":null,\"NotifyDynamicActor\":\"Issuer_BW\",\"EntityContext\":{\"Parameters\":{\"workPermitId\":\"465\",\"workPermitV2Id\":\"465\",\"orgId\":\"204\",\"viewLink\":\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/204/465?dlType=viewWorkPermitV2\",\"workPermitLink\":\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/204/465?dlType=viewWorkPermitV2\",\"emailFooter\":\"OQSHA Team\"}},\"ActorContext\":null,\"Metadata\":null}"}

{"Timestamp":"2026-08-04T06:24:05.6812367+00:00","Level":"Information","Data":{"EventId":359592068},"Message":"Started processing notification for message ID 181cf4f54a6c3000"}

{"Timestamp":"2026-08-04T06:24:05.6813173+00:00","Level":"Information","Data":{"EventId":1908443326},"Message":"Looking up the notification handler for message ID 181cf4f54a6c3000"}

{"Timestamp":"2026-08-04T06:24:05.6814006+00:00","Level":"Information","Data":{"EventId":184520098},"Message":"Event handling in process for message ID 181cf4f54a6c3000"}

{"Timestamp":"2026-08-04T06:24:05.6963918+00:00","Level":"Information","Data":{"EventId":2663910622},"Message":"Sending message ID 181cf4f54a6c3000 to DLQ"}

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

{"Timestamp":"2026-08-04T06:24:05.6975138+00:00","Level":"Information","Data":{"EventId":1500291597},"Message":"Sent message ID 181cf4f54a6c3000 to DLQ"}

{"Timestamp":"2026-08-04T06:27:16.2903651+00:00","Level":"Information","Data":{"EventId":2620145077},"Message":"Notification event with message ID 181cf5a7c46c3000 received: {\"TemplateId\":18,\"EntityType\":\"work_permit_v2\",\"EventType\":null,\"NotifyRoleId\":null,\"NotifyUserId\":null,\"NotifyDynamicActor\":\"Approver_BW\",\"EntityContext\":{\"Parameters\":{\"workPermitId\":\"465\",\"workPermitV2Id\":\"465\",\"orgId\":\"204\",\"viewLink\":\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/204/465?dlType=viewWorkPermitV2\",\"workPermitLink\":\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/204/465?dlType=viewWorkPermitV2\",\"emailFooter\":\"OQSHA Team\"}},\"ActorContext\":{\"Issuer_BW\":[1202],\"Approver_BW\":[1779],\"Reviewer_BW\":[1778]},\"Metadata\":null}"}

{"Timestamp":"2026-08-04T06:27:16.3079911+00:00","Level":"Information","Data":{"EventId":3655239306},"Message":"Started processing notification for message ID 181cf5a7c46c3000"}

{"Timestamp":"2026-08-04T06:27:16.3080768+00:00","Level":"Information","Data":{"EventId":38244594},"Message":"Looking up the notification handler for message ID 181cf5a7c46c3000"}

{"Timestamp":"2026-08-04T06:27:16.3081043+00:00","Level":"Information","Data":{"EventId":2631580697},"Message":"Event handling in process for message ID 181cf5a7c46c3000"}

{"Timestamp":"2026-08-04T06:27:16.3786509+00:00","Level":"Information","Data":{"EventId":3065503476},"Message":"Dispatching the notifications for message ID 181cf5a7c46c3000"}

{"Timestamp":"2026-08-04T06:27:16.3869922+00:00","Level":"Information","Data":{"EventId":2854357742},"Message":"Successfully processed notification for message ID 181cf5a7c46c3000"}

{"Timestamp":"2026-08-04T06:27:16.4940189+00:00","Level":"Information","Data":{"EventId":752785013},"Message":"Notification event with message ID 181cf5a7c52c3000 received: {\"TemplateId\":22,\"EntityType\":\"work_permit_v2\",\"EventType\":null,\"NotifyRoleId\":null,\"NotifyUserId\":null,\"NotifyDynamicActor\":null,\"EntityContext\":{\"Parameters\":{\"workPermitId\":\"465\",\"workPermitV2Id\":\"465\",\"orgId\":\"204\",\"viewLink\":\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/204/465?dlType=viewWorkPermitV2\",\"workPermitLink\":\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/204/465?dlType=viewWorkPermitV2\",\"emailFooter\":\"OQSHA Team\"}},\"ActorContext\":{\"Issuer_BW\":[1202],\"Approver_BW\":[1779],\"Reviewer_BW\":[1778]},\"Metadata\":null}"}

{"Timestamp":"2026-08-04T06:27:16.4957746+00:00","Level":"Information","Data":{"EventId":3773922926},"Message":"Started processing notification for message ID 181cf5a7c52c3000"}

{"Timestamp":"2026-08-04T06:27:16.4958600+00:00","Level":"Information","Data":{"EventId":3305783772},"Message":"Looking up the notification handler for message ID 181cf5a7c52c3000"}

{"Timestamp":"2026-08-04T06:27:16.4958837+00:00","Level":"Information","Data":{"EventId":2619358575},"Message":"Event handling in process for message ID 181cf5a7c52c3000"}

{"Timestamp":"2026-08-04T06:27:16.4996927+00:00","Level":"Information","Data":{"EventId":2826680448},"Message":"Sending message ID 181cf5a7c52c3000 to DLQ"}

{"Timestamp":"2026-08-04T06:27:16.5001180+00:00","Level":"Information","Data":{"EventId":2478429381},"Message":"Dead letter envelope for DLQ message: {\"SourceTopic\":\"notification.orchestrator\",\"SourceChannel\":\"notification-orchestrator\",\"FailedAtUtc\":\"2026-08-04T06:27:16.4997685Z\",\"Attempts\":1,\"ErrorType\":\"OQSHA.Notification.Orchestrator.Exceptions.PermanentOrchestratorException\",\"ErrorMessage\":\"No recipients received for message ID 181cf5a7c52c3000\",\"StackTrace\":\"   at OQSHA.Notification.Orchestrator.Services.UsersService.ResolveRecipientsAsync(String messageId, Int32 orgId, NotificationEventDto request) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\Services\\\\UsersService.cs:line 84\\r\\n   at OQSHA.Notification.Orchestrator.Services.UsersService.GetRecipientsWithDetailsAsync(String messageId, Int32 orgId, NotificationEventDto request, NotificationTemplatesDbo notificationTemplate) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\Services\\\\UsersService.cs:line 134\\r\\n   at OQSHA.Notification.Orchestrator.NotificationHandlers.WorkPermitV2NotificationHandler.HandleAsync(String messageId, NotificationEventDto request) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\NotificationHandlers\\\\WorkPermitV2NotificationHandler.cs:line 62\\r\\n   at OQSHA.Notification.Orchestrator.NotificationHandlers.WorkPermitV2NotificationHandler.ProcessEventAsync(String messageId, NotificationEventDto request) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\NotificationHandlers\\\\WorkPermitV2NotificationHandler.cs:line 46\\r\\n   at OQSHA.Notification.Orchestrator.Routing.EventRouter.ExecuteAsync(String messageId, NotificationEventDto request) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\Routing\\\\EventRouter.cs:line 38\\r\\n   at OQSHA.Notification.Orchestrator.Worker.OrchestratorMessageHandler.HandleMessage(IMessage message) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\Worker\\\\OrchestratorMessageHandler.cs:line 44\",\"OriginalBody\":\"{\\\"TemplateId\\\":22,\\\"EntityType\\\":\\\"work_permit_v2\\\",\\\"EventType\\\":null,\\\"NotifyRoleId\\\":null,\\\"NotifyUserId\\\":null,\\\"NotifyDynamicActor\\\":null,\\\"EntityContext\\\":{\\\"Parameters\\\":{\\\"workPermitId\\\":\\\"465\\\",\\\"workPermitV2Id\\\":\\\"465\\\",\\\"orgId\\\":\\\"204\\\",\\\"viewLink\\\":\\\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/204/465?dlType=viewWorkPermitV2\\\",\\\"workPermitLink\\\":\\\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/204/465?dlType=viewWorkPermitV2\\\",\\\"emailFooter\\\":\\\"OQSHA Team\\\"}},\\\"ActorContext\\\":{\\\"Issuer_BW\\\":[1202],\\\"Approver_BW\\\":[1779],\\\"Reviewer_BW\\\":[1778]},\\\"Metadata\\\":null}\"}"}

{"Timestamp":"2026-08-04T06:27:16.5007049+00:00","Level":"Information","Data":{"EventId":1230100826},"Message":"Sent message ID 181cf5a7c52c3000 to DLQ"}

{"Timestamp":"2026-08-04T06:28:04.7930590+00:00","Level":"Information","Data":{"EventId":2680135005},"Message":"Notification event with message ID 181cf5d4f06c3000 received: {\"TemplateId\":22,\"EntityType\":\"work_permit_v2\",\"EventType\":null,\"NotifyRoleId\":null,\"NotifyUserId\":null,\"NotifyDynamicActor\":\"Issuer_BW\",\"EntityContext\":{\"Parameters\":{\"workPermitId\":\"465\",\"workPermitV2Id\":\"465\",\"orgId\":\"204\",\"viewLink\":\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/204/465?dlType=viewWorkPermitV2\",\"workPermitLink\":\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/204/465?dlType=viewWorkPermitV2\",\"emailFooter\":\"OQSHA Team\"}},\"ActorContext\":{\"Issuer_BW\":[1202],\"Approver_BW\":[1779],\"Reviewer_BW\":[1778]},\"Metadata\":null}"}

{"Timestamp":"2026-08-04T06:28:04.7949866+00:00","Level":"Information","Data":{"EventId":3951296063},"Message":"Started processing notification for message ID 181cf5d4f06c3000"}

{"Timestamp":"2026-08-04T06:28:04.7950453+00:00","Level":"Information","Data":{"EventId":1928938599},"Message":"Looking up the notification handler for message ID 181cf5d4f06c3000"}

{"Timestamp":"2026-08-04T06:28:04.7951234+00:00","Level":"Information","Data":{"EventId":189515020},"Message":"Event handling in process for message ID 181cf5d4f06c3000"}

{"Timestamp":"2026-08-04T06:28:04.8028038+00:00","Level":"Information","Data":{"EventId":1094425216},"Message":"Dispatching the notifications for message ID 181cf5d4f06c3000"}

{"Timestamp":"2026-08-04T06:28:04.8034701+00:00","Level":"Information","Data":{"EventId":2928216673},"Message":"Successfully processed notification for message ID 181cf5d4f06c3000"}

{"Timestamp":"2026-08-04T06:28:05.0016325+00:00","Level":"Information","Data":{"EventId":763247886},"Message":"Notification event with message ID 181cf5d4f0ec3000 received: {\"TemplateId\":18,\"EntityType\":\"work_permit_v2\",\"EventType\":null,\"NotifyRoleId\":null,\"NotifyUserId\":null,\"NotifyDynamicActor\":\"Reviewer_BW\",\"EntityContext\":{\"Parameters\":{\"workPermitId\":\"465\",\"workPermitV2Id\":\"465\",\"orgId\":\"204\",\"viewLink\":\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/204/465?dlType=viewWorkPermitV2\",\"workPermitLink\":\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/204/465?dlType=viewWorkPermitV2\",\"emailFooter\":\"OQSHA Team\"}},\"ActorContext\":{\"Issuer_BW\":[1202],\"Approver_BW\":[1779],\"Reviewer_BW\":[1778]},\"Metadata\":null}"}

{"Timestamp":"2026-08-04T06:28:05.0043631+00:00","Level":"Information","Data":{"EventId":206760390},"Message":"Started processing notification for message ID 181cf5d4f0ec3000"}

{"Timestamp":"2026-08-04T06:28:05.0044516+00:00","Level":"Information","Data":{"EventId":88269598},"Message":"Looking up the notification handler for message ID 181cf5d4f0ec3000"}

{"Timestamp":"2026-08-04T06:28:05.0044781+00:00","Level":"Information","Data":{"EventId":2339289635},"Message":"Event handling in process for message ID 181cf5d4f0ec3000"}

{"Timestamp":"2026-08-04T06:28:05.0111479+00:00","Level":"Information","Data":{"EventId":3541885759},"Message":"Dispatching the notifications for message ID 181cf5d4f0ec3000"}

{"Timestamp":"2026-08-04T06:28:05.0115670+00:00","Level":"Information","Data":{"EventId":1124120614},"Message":"Successfully processed notification for message ID 181cf5d4f0ec3000"}

{"Timestamp":"2026-08-04T06:28:05.0117297+00:00","Level":"Information","Data":{"EventId":407650403},"Message":"Notification event with message ID 181cf5d4f0ec3001 received: {\"TemplateId\":22,\"EntityType\":\"work_permit_v2\",\"EventType\":null,\"NotifyRoleId\":null,\"NotifyUserId\":null,\"NotifyDynamicActor\":null,\"EntityContext\":{\"Parameters\":{\"workPermitId\":\"465\",\"workPermitV2Id\":\"465\",\"orgId\":\"204\",\"viewLink\":\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/204/465?dlType=viewWorkPermitV2\",\"workPermitLink\":\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/204/465?dlType=viewWorkPermitV2\",\"emailFooter\":\"OQSHA Team\"}},\"ActorContext\":{\"Issuer_BW\":[1202],\"Approver_BW\":[1779],\"Reviewer_BW\":[1778]},\"Metadata\":null}"}

{"Timestamp":"2026-08-04T06:28:05.0136450+00:00","Level":"Information","Data":{"EventId":1425799963},"Message":"Started processing notification for message ID 181cf5d4f0ec3001"}

{"Timestamp":"2026-08-04T06:28:05.0137099+00:00","Level":"Information","Data":{"EventId":2538964805},"Message":"Looking up the notification handler for message ID 181cf5d4f0ec3001"}

{"Timestamp":"2026-08-04T06:28:05.0137296+00:00","Level":"Information","Data":{"EventId":515891399},"Message":"Event handling in process for message ID 181cf5d4f0ec3001"}

{"Timestamp":"2026-08-04T06:28:05.0205327+00:00","Level":"Information","Data":{"EventId":145093915},"Message":"Sending message ID 181cf5d4f0ec3001 to DLQ"}

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

{"Timestamp":"2026-08-04T06:28:05.0213028+00:00","Level":"Information","Data":{"EventId":2691609778},"Message":"Sent message ID 181cf5d4f0ec3001 to DLQ"}

{"Timestamp":"2026-08-04T06:29:27.1043415+00:00","Level":"Information","Data":{"EventId":757594758},"Message":"Notification event with message ID 181cf62198ec3000 received: {\"TemplateId\":22,\"EntityType\":\"work_permit_v2\",\"EventType\":null,\"NotifyRoleId\":null,\"NotifyUserId\":null,\"NotifyDynamicActor\":\"Approver_BW\",\"EntityContext\":{\"Parameters\":{\"workPermitId\":\"465\",\"workPermitV2Id\":\"465\",\"orgId\":\"204\",\"viewLink\":\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/204/465?dlType=viewWorkPermitV2\",\"workPermitLink\":\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/204/465?dlType=viewWorkPermitV2\",\"emailFooter\":\"OQSHA Team\"}},\"ActorContext\":{\"Issuer_BW\":[1202],\"Approver_BW\":[1779],\"Reviewer_BW\":[1778]},\"Metadata\":null}"}

{"Timestamp":"2026-08-04T06:29:27.1077541+00:00","Level":"Information","Data":{"EventId":468555084},"Message":"Started processing notification for message ID 181cf62198ec3000"}

{"Timestamp":"2026-08-04T06:29:27.1078229+00:00","Level":"Information","Data":{"EventId":3636458583},"Message":"Looking up the notification handler for message ID 181cf62198ec3000"}

{"Timestamp":"2026-08-04T06:29:27.1078393+00:00","Level":"Information","Data":{"EventId":1014797960},"Message":"Event handling in process for message ID 181cf62198ec3000"}

{"Timestamp":"2026-08-04T06:29:27.1145766+00:00","Level":"Information","Data":{"EventId":581291786},"Message":"Dispatching the notifications for message ID 181cf62198ec3000"}

{"Timestamp":"2026-08-04T06:29:27.1150509+00:00","Level":"Information","Data":{"EventId":4068279805},"Message":"Successfully processed notification for message ID 181cf62198ec3000"}

{"Timestamp":"2026-08-04T06:29:27.2544653+00:00","Level":"Information","Data":{"EventId":2786682577},"Message":"Notification event with message ID 181cf621996c3000 received: {\"TemplateId\":22,\"EntityType\":\"work_permit_v2\",\"EventType\":null,\"NotifyRoleId\":null,\"NotifyUserId\":null,\"NotifyDynamicActor\":\"Issuer_BW\",\"EntityContext\":{\"Parameters\":{\"workPermitId\":\"465\",\"workPermitV2Id\":\"465\",\"orgId\":\"204\",\"viewLink\":\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/204/465?dlType=viewWorkPermitV2\",\"workPermitLink\":\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/204/465?dlType=viewWorkPermitV2\",\"emailFooter\":\"OQSHA Team\"}},\"ActorContext\":{\"Issuer_BW\":[1202],\"Approver_BW\":[1779],\"Reviewer_BW\":[1778]},\"Metadata\":null}"}

{"Timestamp":"2026-08-04T06:29:27.2567471+00:00","Level":"Information","Data":{"EventId":3416479373},"Message":"Started processing notification for message ID 181cf621996c3000"}

{"Timestamp":"2026-08-04T06:29:27.2567916+00:00","Level":"Information","Data":{"EventId":139669385},"Message":"Looking up the notification handler for message ID 181cf621996c3000"}

{"Timestamp":"2026-08-04T06:29:27.2568090+00:00","Level":"Information","Data":{"EventId":2558246623},"Message":"Event handling in process for message ID 181cf621996c3000"}

{"Timestamp":"2026-08-04T06:29:27.2618579+00:00","Level":"Information","Data":{"EventId":3617736241},"Message":"Dispatching the notifications for message ID 181cf621996c3000"}

{"Timestamp":"2026-08-04T06:29:27.2625953+00:00","Level":"Information","Data":{"EventId":1110842826},"Message":"Successfully processed notification for message ID 181cf621996c3000"}

{"Timestamp":"2026-08-04T06:29:27.2630888+00:00","Level":"Information","Data":{"EventId":2767370106},"Message":"Notification event with message ID 181cf62199ec3000 received: {\"TemplateId\":22,\"EntityType\":\"work_permit_v2\",\"EventType\":null,\"NotifyRoleId\":null,\"NotifyUserId\":null,\"NotifyDynamicActor\":null,\"EntityContext\":{\"Parameters\":{\"workPermitId\":\"465\",\"workPermitV2Id\":\"465\",\"orgId\":\"204\",\"viewLink\":\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/204/465?dlType=viewWorkPermitV2\",\"workPermitLink\":\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/204/465?dlType=viewWorkPermitV2\",\"emailFooter\":\"OQSHA Team\"}},\"ActorContext\":{\"Issuer_BW\":[1202],\"Approver_BW\":[1779],\"Reviewer_BW\":[1778]},\"Metadata\":null}"}

{"Timestamp":"2026-08-04T06:29:27.2644202+00:00","Level":"Information","Data":{"EventId":1724881844},"Message":"Started processing notification for message ID 181cf62199ec3000"}

{"Timestamp":"2026-08-04T06:29:27.2644602+00:00","Level":"Information","Data":{"EventId":1957865439},"Message":"Looking up the notification handler for message ID 181cf62199ec3000"}

{"Timestamp":"2026-08-04T06:29:27.2644729+00:00","Level":"Information","Data":{"EventId":3290873849},"Message":"Event handling in process for message ID 181cf62199ec3000"}

{"Timestamp":"2026-08-04T06:29:27.2674088+00:00","Level":"Information","Data":{"EventId":1086929372},"Message":"Sending message ID 181cf62199ec3000 to DLQ"}

{"Timestamp":"2026-08-04T06:29:27.2676396+00:00","Level":"Information","Data":{"EventId":243529316},"Message":"Dead letter envelope for DLQ message: {\"SourceTopic\":\"notification.orchestrator\",\"SourceChannel\":\"notification-orchestrator\",\"FailedAtUtc\":\"2026-08-04T06:29:27.2674447Z\",\"Attempts\":1,\"ErrorType\":\"OQSHA.Notification.Orchestrator.Exceptions.PermanentOrchestratorException\",\"ErrorMessage\":\"No recipients received for message ID 181cf62199ec3000\",\"StackTrace\":\"   at OQSHA.Notification.Orchestrator.Services.UsersService.ResolveRecipientsAsync(String messageId, Int32 orgId, NotificationEventDto request) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\Services\\\\UsersService.cs:line 84\\r\\n   at OQSHA.Notification.Orchestrator.Services.UsersService.GetRecipientsWithDetailsAsync(String messageId, Int32 orgId, NotificationEventDto request, NotificationTemplatesDbo notificationTemplate) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\Services\\\\UsersService.cs:line 134\\r\\n   at OQSHA.Notification.Orchestrator.NotificationHandlers.WorkPermitV2NotificationHandler.HandleAsync(String messageId, NotificationEventDto request) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\NotificationHandlers\\\\WorkPermitV2NotificationHandler.cs:line 62\\r\\n   at OQSHA.Notification.Orchestrator.NotificationHandlers.WorkPermitV2NotificationHandler.ProcessEventAsync(String messageId, NotificationEventDto request) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\NotificationHandlers\\\\WorkPermitV2NotificationHandler.cs:line 46\\r\\n   at OQSHA.Notification.Orchestrator.Routing.EventRouter.ExecuteAsync(String messageId, NotificationEventDto request) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\Routing\\\\EventRouter.cs:line 38\\r\\n   at OQSHA.Notification.Orchestrator.Worker.OrchestratorMessageHandler.HandleMessage(IMessage message) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\Worker\\\\OrchestratorMessageHandler.cs:line 44\",\"OriginalBody\":\"{\\\"TemplateId\\\":22,\\\"EntityType\\\":\\\"work_permit_v2\\\",\\\"EventType\\\":null,\\\"NotifyRoleId\\\":null,\\\"NotifyUserId\\\":null,\\\"NotifyDynamicActor\\\":null,\\\"EntityContext\\\":{\\\"Parameters\\\":{\\\"workPermitId\\\":\\\"465\\\",\\\"workPermitV2Id\\\":\\\"465\\\",\\\"orgId\\\":\\\"204\\\",\\\"viewLink\\\":\\\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/204/465?dlType=viewWorkPermitV2\\\",\\\"workPermitLink\\\":\\\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/204/465?dlType=viewWorkPermitV2\\\",\\\"emailFooter\\\":\\\"OQSHA Team\\\"}},\\\"ActorContext\\\":{\\\"Issuer_BW\\\":[1202],\\\"Approver_BW\\\":[1779],\\\"Reviewer_BW\\\":[1778]},\\\"Metadata\\\":null}\"}"}

{"Timestamp":"2026-08-04T06:29:27.2680693+00:00","Level":"Information","Data":{"EventId":856461621},"Message":"Sent message ID 181cf62199ec3000 to DLQ"}

{"Timestamp":"2026-08-04T07:12:45.2630189+00:00","Level":"Information","Data":{"EventId":3091016791},"Message":"Inside hosted service - for nsq"}

{"Timestamp":"2026-08-04T07:12:45.3514080+00:00","Level":"Information","Data":{"EventId":3138514657},"Message":"Started the consumer service and handler for NSQ"}

{"Timestamp":"2026-08-04T09:47:27.5271872+00:00","Level":"Information","Data":{"EventId":2642010223},"Message":"Notification event with message ID 181d215a19ec3000 received: {\"TemplateId\":16,\"EntityType\":\"work_permit_v2\",\"EventType\":null,\"NotifyRoleId\":null,\"NotifyUserId\":null,\"NotifyDynamicActor\":null,\"EntityContext\":{\"Parameters\":{\"workPermitId\":\"466\",\"workPermitV2Id\":\"466\",\"orgId\":\"204\",\"viewLink\":\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/204/466?dlType=viewWorkPermitV2\",\"workPermitLink\":\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/204/466?dlType=viewWorkPermitV2\",\"emailFooter\":\"OQSHA Team\"}},\"ActorContext\":null,\"Metadata\":null}"}

{"Timestamp":"2026-08-04T09:47:27.6670478+00:00","Level":"Information","Data":{"EventId":554895881},"Message":"Started processing notification for message ID 181d215a19ec3000"}

{"Timestamp":"2026-08-04T09:47:27.6671262+00:00","Level":"Information","Data":{"EventId":2060704210},"Message":"Looking up the notification handler for message ID 181d215a19ec3000"}

{"Timestamp":"2026-08-04T09:47:27.6675271+00:00","Level":"Information","Data":{"EventId":2468086360},"Message":"Event handling in process for message ID 181d215a19ec3000"}

{"Timestamp":"2026-08-04T09:47:28.5111305+00:00","Level":"Information","Data":{"EventId":699905904},"Message":"Sending message ID 181d215a19ec3000 to DLQ"}

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

{"Timestamp":"2026-08-04T09:47:28.5316446+00:00","Level":"Information","Data":{"EventId":4184784160},"Message":"Sent message ID 181d215a19ec3000 to DLQ"}

{"Timestamp":"2026-08-04T09:47:28.5323944+00:00","Level":"Information","Data":{"EventId":316219376},"Message":"Notification event with message ID 181d215a1aec3000 received: {\"TemplateId\":18,\"EntityType\":\"work_permit_v2\",\"EventType\":null,\"NotifyRoleId\":null,\"NotifyUserId\":null,\"NotifyDynamicActor\":\"issuer_concrete\",\"EntityContext\":{\"Parameters\":{\"workPermitId\":\"466\",\"workPermitV2Id\":\"466\",\"orgId\":\"204\",\"viewLink\":\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/204/466?dlType=viewWorkPermitV2\",\"workPermitLink\":\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/204/466?dlType=viewWorkPermitV2\",\"emailFooter\":\"OQSHA Team\"}},\"ActorContext\":null,\"Metadata\":null}"}

{"Timestamp":"2026-08-04T09:47:28.5383144+00:00","Level":"Information","Data":{"EventId":1954268916},"Message":"Started processing notification for message ID 181d215a1aec3000"}

{"Timestamp":"2026-08-04T09:47:28.5383561+00:00","Level":"Information","Data":{"EventId":1692880917},"Message":"Looking up the notification handler for message ID 181d215a1aec3000"}

{"Timestamp":"2026-08-04T09:47:28.5384361+00:00","Level":"Information","Data":{"EventId":3827517725},"Message":"Event handling in process for message ID 181d215a1aec3000"}

{"Timestamp":"2026-08-04T09:47:28.5526541+00:00","Level":"Information","Data":{"EventId":950419843},"Message":"Sending message ID 181d215a1aec3000 to DLQ"}

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

{"Timestamp":"2026-08-04T09:47:28.5537776+00:00","Level":"Information","Data":{"EventId":3151721543},"Message":"Sent message ID 181d215a1aec3000 to DLQ"}

{"Timestamp":"2026-08-04T09:48:00.7593781+00:00","Level":"Information","Data":{"EventId":3916191783},"Message":"Notification event with message ID 181d21790dac3000 received: {\"TemplateId\":18,\"EntityType\":\"work_permit_v2\",\"EventType\":null,\"NotifyRoleId\":null,\"NotifyUserId\":null,\"NotifyDynamicActor\":\"approver_concrete\",\"EntityContext\":{\"Parameters\":{\"workPermitId\":\"466\",\"workPermitV2Id\":\"466\",\"orgId\":\"204\",\"viewLink\":\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/204/466?dlType=viewWorkPermitV2\",\"workPermitLink\":\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/204/466?dlType=viewWorkPermitV2\",\"emailFooter\":\"OQSHA Team\"}},\"ActorContext\":{\"issuer_concrete\":[1778],\"approver_concrete\":[1778],\"reviewer_concrete\":[1778]},\"Metadata\":null}"}

{"Timestamp":"2026-08-04T09:48:00.7778073+00:00","Level":"Information","Data":{"EventId":881043460},"Message":"Started processing notification for message ID 181d21790dac3000"}

{"Timestamp":"2026-08-04T09:48:00.7778879+00:00","Level":"Information","Data":{"EventId":1533540938},"Message":"Looking up the notification handler for message ID 181d21790dac3000"}

{"Timestamp":"2026-08-04T09:48:00.7779158+00:00","Level":"Information","Data":{"EventId":3151086763},"Message":"Event handling in process for message ID 181d21790dac3000"}

{"Timestamp":"2026-08-04T09:48:00.8397162+00:00","Level":"Information","Data":{"EventId":873299054},"Message":"Dispatching the notifications for message ID 181d21790dac3000"}

{"Timestamp":"2026-08-04T09:48:00.8482971+00:00","Level":"Information","Data":{"EventId":53319730},"Message":"Successfully processed notification for message ID 181d21790dac3000"}

{"Timestamp":"2026-08-04T09:48:00.9521204+00:00","Level":"Information","Data":{"EventId":3040816801},"Message":"Notification event with message ID 181d21790e2c3000 received: {\"TemplateId\":22,\"EntityType\":\"work_permit_v2\",\"EventType\":null,\"NotifyRoleId\":null,\"NotifyUserId\":null,\"NotifyDynamicActor\":null,\"EntityContext\":{\"Parameters\":{\"workPermitId\":\"466\",\"workPermitV2Id\":\"466\",\"orgId\":\"204\",\"viewLink\":\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/204/466?dlType=viewWorkPermitV2\",\"workPermitLink\":\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/204/466?dlType=viewWorkPermitV2\",\"emailFooter\":\"OQSHA Team\"}},\"ActorContext\":{\"issuer_concrete\":[1778],\"approver_concrete\":[1778],\"reviewer_concrete\":[1778]},\"Metadata\":null}"}

{"Timestamp":"2026-08-04T09:48:00.9546161+00:00","Level":"Information","Data":{"EventId":2957642275},"Message":"Started processing notification for message ID 181d21790e2c3000"}

{"Timestamp":"2026-08-04T09:48:00.9546824+00:00","Level":"Information","Data":{"EventId":2519885775},"Message":"Looking up the notification handler for message ID 181d21790e2c3000"}

{"Timestamp":"2026-08-04T09:48:00.9547026+00:00","Level":"Information","Data":{"EventId":4147574459},"Message":"Event handling in process for message ID 181d21790e2c3000"}

{"Timestamp":"2026-08-04T09:48:00.9602432+00:00","Level":"Information","Data":{"EventId":1768833324},"Message":"Sending message ID 181d21790e2c3000 to DLQ"}

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

{"Timestamp":"2026-08-04T09:48:00.9612510+00:00","Level":"Information","Data":{"EventId":3751904441},"Message":"Sent message ID 181d21790e2c3000 to DLQ"}

{"Timestamp":"2026-08-04T09:48:07.1724252+00:00","Level":"Information","Data":{"EventId":910396641},"Message":"Notification event with message ID 181d217f06ac3000 received: {\"TemplateId\":22,\"EntityType\":\"work_permit_v2\",\"EventType\":null,\"NotifyRoleId\":null,\"NotifyUserId\":null,\"NotifyDynamicActor\":\"issuer_concrete\",\"EntityContext\":{\"Parameters\":{\"workPermitId\":\"466\",\"workPermitV2Id\":\"466\",\"orgId\":\"204\",\"viewLink\":\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/204/466?dlType=viewWorkPermitV2\",\"workPermitLink\":\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/204/466?dlType=viewWorkPermitV2\",\"emailFooter\":\"OQSHA Team\"}},\"ActorContext\":{\"issuer_concrete\":[1778],\"approver_concrete\":[1778],\"reviewer_concrete\":[1778]},\"Metadata\":null}"}

{"Timestamp":"2026-08-04T09:48:07.1753090+00:00","Level":"Information","Data":{"EventId":1401547660},"Message":"Started processing notification for message ID 181d217f06ac3000"}

{"Timestamp":"2026-08-04T09:48:07.1753699+00:00","Level":"Information","Data":{"EventId":4219528774},"Message":"Looking up the notification handler for message ID 181d217f06ac3000"}

{"Timestamp":"2026-08-04T09:48:07.1754793+00:00","Level":"Information","Data":{"EventId":149115393},"Message":"Event handling in process for message ID 181d217f06ac3000"}

{"Timestamp":"2026-08-04T09:48:07.1862852+00:00","Level":"Information","Data":{"EventId":2387489272},"Message":"Dispatching the notifications for message ID 181d217f06ac3000"}

{"Timestamp":"2026-08-04T09:48:07.1872202+00:00","Level":"Information","Data":{"EventId":213188007},"Message":"Successfully processed notification for message ID 181d217f06ac3000"}

{"Timestamp":"2026-08-04T09:48:07.1960079+00:00","Level":"Information","Data":{"EventId":1445321859},"Message":"Notification event with message ID 181d217f072c3000 received: {\"TemplateId\":18,\"EntityType\":\"work_permit_v2\",\"EventType\":null,\"NotifyRoleId\":null,\"NotifyUserId\":null,\"NotifyDynamicActor\":\"reviewer_concrete\",\"EntityContext\":{\"Parameters\":{\"workPermitId\":\"466\",\"workPermitV2Id\":\"466\",\"orgId\":\"204\",\"viewLink\":\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/204/466?dlType=viewWorkPermitV2\",\"workPermitLink\":\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/204/466?dlType=viewWorkPermitV2\",\"emailFooter\":\"OQSHA Team\"}},\"ActorContext\":{\"issuer_concrete\":[1778],\"approver_concrete\":[1778],\"reviewer_concrete\":[1778]},\"Metadata\":null}"}

{"Timestamp":"2026-08-04T09:48:07.1988566+00:00","Level":"Information","Data":{"EventId":86398692},"Message":"Started processing notification for message ID 181d217f072c3000"}

{"Timestamp":"2026-08-04T09:48:07.1989002+00:00","Level":"Information","Data":{"EventId":644070538},"Message":"Looking up the notification handler for message ID 181d217f072c3000"}

{"Timestamp":"2026-08-04T09:48:07.1989142+00:00","Level":"Information","Data":{"EventId":2864234572},"Message":"Event handling in process for message ID 181d217f072c3000"}

{"Timestamp":"2026-08-04T09:48:07.2054787+00:00","Level":"Information","Data":{"EventId":4169782722},"Message":"Dispatching the notifications for message ID 181d217f072c3000"}

{"Timestamp":"2026-08-04T09:48:07.2063012+00:00","Level":"Information","Data":{"EventId":2224381971},"Message":"Successfully processed notification for message ID 181d217f072c3000"}

{"Timestamp":"2026-08-04T09:48:07.2067119+00:00","Level":"Information","Data":{"EventId":2767761483},"Message":"Notification event with message ID 181d217f076c3000 received: {\"TemplateId\":22,\"EntityType\":\"work_permit_v2\",\"EventType\":null,\"NotifyRoleId\":null,\"NotifyUserId\":null,\"NotifyDynamicActor\":null,\"EntityContext\":{\"Parameters\":{\"workPermitId\":\"466\",\"workPermitV2Id\":\"466\",\"orgId\":\"204\",\"viewLink\":\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/204/466?dlType=viewWorkPermitV2\",\"workPermitLink\":\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/204/466?dlType=viewWorkPermitV2\",\"emailFooter\":\"OQSHA Team\"}},\"ActorContext\":{\"issuer_concrete\":[1778],\"approver_concrete\":[1778],\"reviewer_concrete\":[1778]},\"Metadata\":null}"}

{"Timestamp":"2026-08-04T09:48:07.2090837+00:00","Level":"Information","Data":{"EventId":2161847212},"Message":"Started processing notification for message ID 181d217f076c3000"}

{"Timestamp":"2026-08-04T09:48:07.2091184+00:00","Level":"Information","Data":{"EventId":2646105981},"Message":"Looking up the notification handler for message ID 181d217f076c3000"}

{"Timestamp":"2026-08-04T09:48:07.2091365+00:00","Level":"Information","Data":{"EventId":3220811123},"Message":"Event handling in process for message ID 181d217f076c3000"}

{"Timestamp":"2026-08-04T09:48:07.2141633+00:00","Level":"Information","Data":{"EventId":181441548},"Message":"Sending message ID 181d217f076c3000 to DLQ"}

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

{"Timestamp":"2026-08-04T09:48:07.2152059+00:00","Level":"Information","Data":{"EventId":1752693322},"Message":"Sent message ID 181d217f076c3000 to DLQ"}

{"Timestamp":"2026-08-04T09:48:12.9320087+00:00","Level":"Information","Data":{"EventId":369691337},"Message":"Notification event with message ID 181d218463ec3000 received: {\"TemplateId\":22,\"EntityType\":\"work_permit_v2\",\"EventType\":null,\"NotifyRoleId\":null,\"NotifyUserId\":null,\"NotifyDynamicActor\":\"issuer_concrete\",\"EntityContext\":{\"Parameters\":{\"workPermitId\":\"466\",\"workPermitV2Id\":\"466\",\"orgId\":\"204\",\"viewLink\":\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/204/466?dlType=viewWorkPermitV2\",\"workPermitLink\":\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/204/466?dlType=viewWorkPermitV2\",\"emailFooter\":\"OQSHA Team\"}},\"ActorContext\":{\"issuer_concrete\":[1778],\"approver_concrete\":[1778],\"reviewer_concrete\":[1778]},\"Metadata\":null}"}

{"Timestamp":"2026-08-04T09:48:12.9345450+00:00","Level":"Information","Data":{"EventId":1831757174},"Message":"Started processing notification for message ID 181d218463ec3000"}

{"Timestamp":"2026-08-04T09:48:12.9345941+00:00","Level":"Information","Data":{"EventId":1989993223},"Message":"Looking up the notification handler for message ID 181d218463ec3000"}

{"Timestamp":"2026-08-04T09:48:12.9346100+00:00","Level":"Information","Data":{"EventId":4180101536},"Message":"Event handling in process for message ID 181d218463ec3000"}

{"Timestamp":"2026-08-04T09:48:12.9414905+00:00","Level":"Information","Data":{"EventId":3512828765},"Message":"Dispatching the notifications for message ID 181d218463ec3000"}

{"Timestamp":"2026-08-04T09:48:12.9420352+00:00","Level":"Information","Data":{"EventId":2799504620},"Message":"Successfully processed notification for message ID 181d218463ec3000"}

{"Timestamp":"2026-08-04T09:48:12.9422971+00:00","Level":"Information","Data":{"EventId":1034272984},"Message":"Notification event with message ID 181d218464ac3000 received: {\"TemplateId\":22,\"EntityType\":\"work_permit_v2\",\"EventType\":null,\"NotifyRoleId\":null,\"NotifyUserId\":null,\"NotifyDynamicActor\":\"approver_concrete\",\"EntityContext\":{\"Parameters\":{\"workPermitId\":\"466\",\"workPermitV2Id\":\"466\",\"orgId\":\"204\",\"viewLink\":\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/204/466?dlType=viewWorkPermitV2\",\"workPermitLink\":\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/204/466?dlType=viewWorkPermitV2\",\"emailFooter\":\"OQSHA Team\"}},\"ActorContext\":{\"issuer_concrete\":[1778],\"approver_concrete\":[1778],\"reviewer_concrete\":[1778]},\"Metadata\":null}"}

{"Timestamp":"2026-08-04T09:48:12.9443006+00:00","Level":"Information","Data":{"EventId":2054972961},"Message":"Started processing notification for message ID 181d218464ac3000"}

{"Timestamp":"2026-08-04T09:48:12.9443326+00:00","Level":"Information","Data":{"EventId":859376572},"Message":"Looking up the notification handler for message ID 181d218464ac3000"}

{"Timestamp":"2026-08-04T09:48:12.9443496+00:00","Level":"Information","Data":{"EventId":3573794281},"Message":"Event handling in process for message ID 181d218464ac3000"}

{"Timestamp":"2026-08-04T09:48:12.9500508+00:00","Level":"Information","Data":{"EventId":2217879077},"Message":"Dispatching the notifications for message ID 181d218464ac3000"}

{"Timestamp":"2026-08-04T09:48:12.9505171+00:00","Level":"Information","Data":{"EventId":1583236594},"Message":"Successfully processed notification for message ID 181d218464ac3000"}

{"Timestamp":"2026-08-04T09:48:12.9506904+00:00","Level":"Information","Data":{"EventId":512352521},"Message":"Notification event with message ID 181d2184656c3000 received: {\"TemplateId\":22,\"EntityType\":\"work_permit_v2\",\"EventType\":null,\"NotifyRoleId\":null,\"NotifyUserId\":null,\"NotifyDynamicActor\":null,\"EntityContext\":{\"Parameters\":{\"workPermitId\":\"466\",\"workPermitV2Id\":\"466\",\"orgId\":\"204\",\"viewLink\":\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/204/466?dlType=viewWorkPermitV2\",\"workPermitLink\":\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/204/466?dlType=viewWorkPermitV2\",\"emailFooter\":\"OQSHA Team\"}},\"ActorContext\":{\"issuer_concrete\":[1778],\"approver_concrete\":[1778],\"reviewer_concrete\":[1778]},\"Metadata\":null}"}

{"Timestamp":"2026-08-04T09:48:12.9525353+00:00","Level":"Information","Data":{"EventId":1059168027},"Message":"Started processing notification for message ID 181d2184656c3000"}

{"Timestamp":"2026-08-04T09:48:12.9525573+00:00","Level":"Information","Data":{"EventId":2914412901},"Message":"Looking up the notification handler for message ID 181d2184656c3000"}

{"Timestamp":"2026-08-04T09:48:12.9525684+00:00","Level":"Information","Data":{"EventId":2891264969},"Message":"Event handling in process for message ID 181d2184656c3000"}

{"Timestamp":"2026-08-04T09:48:12.9601011+00:00","Level":"Information","Data":{"EventId":922570820},"Message":"Sending message ID 181d2184656c3000 to DLQ"}

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

{"Timestamp":"2026-08-04T09:48:12.9609767+00:00","Level":"Information","Data":{"EventId":716242481},"Message":"Sent message ID 181d2184656c3000 to DLQ"}

{"Timestamp":"2026-08-04T09:48:33.3077361+00:00","Level":"Information","Data":{"EventId":800647471},"Message":"Notification event with message ID 181d21975dac3000 received: {\"TemplateId\":20,\"EntityType\":\"work_permit_v2\",\"EventType\":null,\"NotifyRoleId\":null,\"NotifyUserId\":null,\"NotifyDynamicActor\":\"Ext_issuer_concrete\",\"EntityContext\":{\"Parameters\":{\"workPermitId\":\"466\",\"workPermitV2Id\":\"466\",\"orgId\":\"204\",\"viewLink\":\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/204/466?dlType=viewWorkPermitV2\",\"workPermitLink\":\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/204/466?dlType=viewWorkPermitV2\",\"emailFooter\":\"OQSHA Team\"}},\"ActorContext\":{\"issuer_concrete\":[1778],\"approver_concrete\":[1778],\"reviewer_concrete\":[1778],\"Ext_issuer_concrete\":[1778],\"Ext_approver_concrete\":[1778],\"Ext_reviewer_concrete\":[1778]},\"Metadata\":null}"}

{"Timestamp":"2026-08-04T09:48:33.3105225+00:00","Level":"Information","Data":{"EventId":4124626586},"Message":"Started processing notification for message ID 181d21975dac3000"}

{"Timestamp":"2026-08-04T09:48:33.3106064+00:00","Level":"Information","Data":{"EventId":3795189390},"Message":"Looking up the notification handler for message ID 181d21975dac3000"}

{"Timestamp":"2026-08-04T09:48:33.3106316+00:00","Level":"Information","Data":{"EventId":2820757184},"Message":"Event handling in process for message ID 181d21975dac3000"}

{"Timestamp":"2026-08-04T09:48:33.3174530+00:00","Level":"Information","Data":{"EventId":74556736},"Message":"Dispatching the notifications for message ID 181d21975dac3000"}

{"Timestamp":"2026-08-04T09:48:33.3180582+00:00","Level":"Information","Data":{"EventId":46633886},"Message":"Successfully processed notification for message ID 181d21975dac3000"}

{"Timestamp":"2026-08-04T09:48:43.3890054+00:00","Level":"Information","Data":{"EventId":2997560978},"Message":"Notification event with message ID 181d21a0c0ec3000 received: {\"TemplateId\":20,\"EntityType\":\"work_permit_v2\",\"EventType\":null,\"NotifyRoleId\":null,\"NotifyUserId\":null,\"NotifyDynamicActor\":\"Ext_approver_concrete\",\"EntityContext\":{\"Parameters\":{\"workPermitId\":\"466\",\"workPermitV2Id\":\"466\",\"orgId\":\"204\",\"viewLink\":\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/204/466?dlType=viewWorkPermitV2\",\"workPermitLink\":\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/204/466?dlType=viewWorkPermitV2\",\"emailFooter\":\"OQSHA Team\"}},\"ActorContext\":{\"issuer_concrete\":[1778],\"approver_concrete\":[1778],\"reviewer_concrete\":[1778],\"Ext_issuer_concrete\":[1778],\"Ext_approver_concrete\":[1778],\"Ext_reviewer_concrete\":[1778]},\"Metadata\":null}"}

{"Timestamp":"2026-08-04T09:48:43.3919086+00:00","Level":"Information","Data":{"EventId":1835791856},"Message":"Started processing notification for message ID 181d21a0c0ec3000"}

{"Timestamp":"2026-08-04T09:48:43.3919560+00:00","Level":"Information","Data":{"EventId":1106342511},"Message":"Looking up the notification handler for message ID 181d21a0c0ec3000"}

{"Timestamp":"2026-08-04T09:48:43.3920276+00:00","Level":"Information","Data":{"EventId":778125582},"Message":"Event handling in process for message ID 181d21a0c0ec3000"}

{"Timestamp":"2026-08-04T09:48:43.3985897+00:00","Level":"Information","Data":{"EventId":1302559476},"Message":"Dispatching the notifications for message ID 181d21a0c0ec3000"}

{"Timestamp":"2026-08-04T09:48:43.3993793+00:00","Level":"Information","Data":{"EventId":99192159},"Message":"Successfully processed notification for message ID 181d21a0c0ec3000"}

{"Timestamp":"2026-08-04T09:49:06.4322390+00:00","Level":"Information","Data":{"EventId":2520228668},"Message":"Notification event with message ID 181d21b636ec3000 received: {\"TemplateId\":20,\"EntityType\":\"work_permit_v2\",\"EventType\":null,\"NotifyRoleId\":null,\"NotifyUserId\":null,\"NotifyDynamicActor\":\"Ext_approver_concrete\",\"EntityContext\":{\"Parameters\":{\"workPermitId\":\"466\",\"workPermitV2Id\":\"466\",\"orgId\":\"204\",\"viewLink\":\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/204/466?dlType=viewWorkPermitV2\",\"workPermitLink\":\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/204/466?dlType=viewWorkPermitV2\",\"emailFooter\":\"OQSHA Team\"}},\"ActorContext\":{\"issuer_concrete\":[1778],\"approver_concrete\":[1778],\"reviewer_concrete\":[1778],\"Ext_issuer_concrete\":[1778],\"Ext_approver_concrete\":[1778],\"Ext_reviewer_concrete\":[1778]},\"Metadata\":null}"}

{"Timestamp":"2026-08-04T09:49:06.4338916+00:00","Level":"Information","Data":{"EventId":588324550},"Message":"Started processing notification for message ID 181d21b636ec3000"}

{"Timestamp":"2026-08-04T09:49:06.4339329+00:00","Level":"Information","Data":{"EventId":2432700694},"Message":"Looking up the notification handler for message ID 181d21b636ec3000"}

{"Timestamp":"2026-08-04T09:49:06.4339439+00:00","Level":"Information","Data":{"EventId":1462732034},"Message":"Event handling in process for message ID 181d21b636ec3000"}

{"Timestamp":"2026-08-04T09:49:06.4377835+00:00","Level":"Information","Data":{"EventId":2103477028},"Message":"Dispatching the notifications for message ID 181d21b636ec3000"}

{"Timestamp":"2026-08-04T09:49:06.4384129+00:00","Level":"Information","Data":{"EventId":3597838136},"Message":"Successfully processed notification for message ID 181d21b636ec3000"}

{"Timestamp":"2026-08-04T09:49:11.9438702+00:00","Level":"Information","Data":{"EventId":1918559062},"Message":"Notification event with message ID 181d21bb592c3000 received: {\"TemplateId\":20,\"EntityType\":\"work_permit_v2\",\"EventType\":null,\"NotifyRoleId\":null,\"NotifyUserId\":null,\"NotifyDynamicActor\":\"Ext_reviewer_concrete\",\"EntityContext\":{\"Parameters\":{\"workPermitId\":\"466\",\"workPermitV2Id\":\"466\",\"orgId\":\"204\",\"viewLink\":\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/204/466?dlType=viewWorkPermitV2\",\"workPermitLink\":\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/204/466?dlType=viewWorkPermitV2\",\"emailFooter\":\"OQSHA Team\"}},\"ActorContext\":{\"issuer_concrete\":[1778],\"approver_concrete\":[1778],\"reviewer_concrete\":[1778],\"Ext_issuer_concrete\":[1778],\"Ext_approver_concrete\":[1778],\"Ext_reviewer_concrete\":[1778]},\"Metadata\":null}"}

{"Timestamp":"2026-08-04T09:49:11.9463460+00:00","Level":"Information","Data":{"EventId":4058121492},"Message":"Started processing notification for message ID 181d21bb592c3000"}

{"Timestamp":"2026-08-04T09:49:11.9463753+00:00","Level":"Information","Data":{"EventId":3114169728},"Message":"Looking up the notification handler for message ID 181d21bb592c3000"}

{"Timestamp":"2026-08-04T09:49:11.9464158+00:00","Level":"Information","Data":{"EventId":640250211},"Message":"Event handling in process for message ID 181d21bb592c3000"}

{"Timestamp":"2026-08-04T09:49:11.9537094+00:00","Level":"Information","Data":{"EventId":2579170607},"Message":"Dispatching the notifications for message ID 181d21bb592c3000"}

{"Timestamp":"2026-08-04T09:49:11.9545083+00:00","Level":"Information","Data":{"EventId":1294983242},"Message":"Successfully processed notification for message ID 181d21bb592c3000"}

{"Timestamp":"2026-08-04T09:49:23.2653937+00:00","Level":"Information","Data":{"EventId":3732309175},"Message":"Notification event with message ID 181d21c5e46c3000 received: {\"TemplateId\":18,\"EntityType\":\"work_permit_v2\",\"EventType\":null,\"NotifyRoleId\":null,\"NotifyUserId\":null,\"NotifyDynamicActor\":\"Ext_approver_concrete\",\"EntityContext\":{\"Parameters\":{\"workPermitId\":\"466\",\"workPermitV2Id\":\"466\",\"orgId\":\"204\",\"viewLink\":\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/204/466?dlType=viewWorkPermitV2\",\"workPermitLink\":\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/204/466?dlType=viewWorkPermitV2\",\"emailFooter\":\"OQSHA Team\"}},\"ActorContext\":{\"issuer_concrete\":[1778],\"approver_concrete\":[1778],\"reviewer_concrete\":[1778],\"Ext_issuer_concrete\":[1778],\"Ext_approver_concrete\":[1778],\"Ext_reviewer_concrete\":[1778]},\"Metadata\":null}"}

{"Timestamp":"2026-08-04T09:49:23.2677249+00:00","Level":"Information","Data":{"EventId":3235453795},"Message":"Started processing notification for message ID 181d21c5e46c3000"}

{"Timestamp":"2026-08-04T09:49:23.2677595+00:00","Level":"Information","Data":{"EventId":238497130},"Message":"Looking up the notification handler for message ID 181d21c5e46c3000"}

{"Timestamp":"2026-08-04T09:49:23.2677752+00:00","Level":"Information","Data":{"EventId":2961144720},"Message":"Event handling in process for message ID 181d21c5e46c3000"}

{"Timestamp":"2026-08-04T09:49:23.2740290+00:00","Level":"Information","Data":{"EventId":3919421132},"Message":"Dispatching the notifications for message ID 181d21c5e46c3000"}

{"Timestamp":"2026-08-04T09:49:23.2745015+00:00","Level":"Information","Data":{"EventId":2368279004},"Message":"Successfully processed notification for message ID 181d21c5e46c3000"}

{"Timestamp":"2026-08-04T09:49:23.4509563+00:00","Level":"Information","Data":{"EventId":3893351763},"Message":"Notification event with message ID 181d21c5e52c3000 received: {\"TemplateId\":22,\"EntityType\":\"work_permit_v2\",\"EventType\":null,\"NotifyRoleId\":null,\"NotifyUserId\":null,\"NotifyDynamicActor\":\"Ext_issuer_concrete\",\"EntityContext\":{\"Parameters\":{\"workPermitId\":\"466\",\"workPermitV2Id\":\"466\",\"orgId\":\"204\",\"viewLink\":\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/204/466?dlType=viewWorkPermitV2\",\"workPermitLink\":\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/204/466?dlType=viewWorkPermitV2\",\"emailFooter\":\"OQSHA Team\"}},\"ActorContext\":{\"issuer_concrete\":[1778],\"approver_concrete\":[1778],\"reviewer_concrete\":[1778],\"Ext_issuer_concrete\":[1778],\"Ext_approver_concrete\":[1778],\"Ext_reviewer_concrete\":[1778]},\"Metadata\":null}"}

{"Timestamp":"2026-08-04T09:49:23.4537170+00:00","Level":"Information","Data":{"EventId":2122798436},"Message":"Started processing notification for message ID 181d21c5e52c3000"}

{"Timestamp":"2026-08-04T09:49:23.4537465+00:00","Level":"Information","Data":{"EventId":1859267762},"Message":"Looking up the notification handler for message ID 181d21c5e52c3000"}

{"Timestamp":"2026-08-04T09:49:23.4537562+00:00","Level":"Information","Data":{"EventId":1964722770},"Message":"Event handling in process for message ID 181d21c5e52c3000"}

{"Timestamp":"2026-08-04T09:49:23.4595479+00:00","Level":"Information","Data":{"EventId":4063825469},"Message":"Dispatching the notifications for message ID 181d21c5e52c3000"}

{"Timestamp":"2026-08-04T09:49:23.4601867+00:00","Level":"Information","Data":{"EventId":2718876305},"Message":"Successfully processed notification for message ID 181d21c5e52c3000"}

{"Timestamp":"2026-08-04T09:49:23.4605340+00:00","Level":"Information","Data":{"EventId":2821938897},"Message":"Notification event with message ID 181d21c5e5ac3000 received: {\"TemplateId\":22,\"EntityType\":\"work_permit_v2\",\"EventType\":null,\"NotifyRoleId\":null,\"NotifyUserId\":null,\"NotifyDynamicActor\":null,\"EntityContext\":{\"Parameters\":{\"workPermitId\":\"466\",\"workPermitV2Id\":\"466\",\"orgId\":\"204\",\"viewLink\":\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/204/466?dlType=viewWorkPermitV2\",\"workPermitLink\":\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/204/466?dlType=viewWorkPermitV2\",\"emailFooter\":\"OQSHA Team\"}},\"ActorContext\":{\"issuer_concrete\":[1778],\"approver_concrete\":[1778],\"reviewer_concrete\":[1778],\"Ext_issuer_concrete\":[1778],\"Ext_approver_concrete\":[1778],\"Ext_reviewer_concrete\":[1778]},\"Metadata\":null}"}

{"Timestamp":"2026-08-04T09:49:23.4627809+00:00","Level":"Information","Data":{"EventId":2372024350},"Message":"Started processing notification for message ID 181d21c5e5ac3000"}

{"Timestamp":"2026-08-04T09:49:23.4628037+00:00","Level":"Information","Data":{"EventId":3656048284},"Message":"Looking up the notification handler for message ID 181d21c5e5ac3000"}

{"Timestamp":"2026-08-04T09:49:23.4628128+00:00","Level":"Information","Data":{"EventId":4101153252},"Message":"Event handling in process for message ID 181d21c5e5ac3000"}

{"Timestamp":"2026-08-04T09:49:23.4672867+00:00","Level":"Information","Data":{"EventId":2013600683},"Message":"Sending message ID 181d21c5e5ac3000 to DLQ"}

{"Timestamp":"2026-08-04T09:49:23.4675354+00:00","Level":"Information","Data":{"EventId":2483563991},"Message":"Dead letter envelope for DLQ message: {\"SourceTopic\":\"notification.orchestrator\",\"SourceChannel\":\"notification-orchestrator\",\"FailedAtUtc\":\"2026-08-04T09:49:23.4673225Z\",\"Attempts\":1,\"ErrorType\":\"OQSHA.Notification.Orchestrator.Exceptions.PermanentOrchestratorException\",\"ErrorMessage\":\"No recipients received for message ID 181d21c5e5ac3000\",\"StackTrace\":\"   at OQSHA.Notification.Orchestrator.Services.UsersService.ResolveRecipientsAsync(String messageId, Int32 orgId, NotificationEventDto request) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\Services\\\\UsersService.cs:line 84\\r\\n   at OQSHA.Notification.Orchestrator.Services.UsersService.GetRecipientsWithDetailsAsync(String messageId, Int32 orgId, NotificationEventDto request, NotificationTemplatesDbo notificationTemplate) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\Services\\\\UsersService.cs:line 134\\r\\n   at OQSHA.Notification.Orchestrator.NotificationHandlers.WorkPermitV2NotificationHandler.HandleAsync(String messageId, NotificationEventDto request) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\NotificationHandlers\\\\WorkPermitV2NotificationHandler.cs:line 62\\r\\n   at OQSHA.Notification.Orchestrator.NotificationHandlers.WorkPermitV2NotificationHandler.ProcessEventAsync(String messageId, NotificationEventDto request) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\NotificationHandlers\\\\WorkPermitV2NotificationHandler.cs:line 46\\r\\n   at OQSHA.Notification.Orchestrator.Routing.EventRouter.ExecuteAsync(String messageId, NotificationEventDto request) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\Routing\\\\EventRouter.cs:line 38\\r\\n   at OQSHA.Notification.Orchestrator.Worker.OrchestratorMessageHandler.HandleMessage(IMessage message) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\Worker\\\\OrchestratorMessageHandler.cs:line 44\",\"OriginalBody\":\"{\\\"TemplateId\\\":22,\\\"EntityType\\\":\\\"work_permit_v2\\\",\\\"EventType\\\":null,\\\"NotifyRoleId\\\":null,\\\"NotifyUserId\\\":null,\\\"NotifyDynamicActor\\\":null,\\\"EntityContext\\\":{\\\"Parameters\\\":{\\\"workPermitId\\\":\\\"466\\\",\\\"workPermitV2Id\\\":\\\"466\\\",\\\"orgId\\\":\\\"204\\\",\\\"viewLink\\\":\\\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/204/466?dlType=viewWorkPermitV2\\\",\\\"workPermitLink\\\":\\\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/204/466?dlType=viewWorkPermitV2\\\",\\\"emailFooter\\\":\\\"OQSHA Team\\\"}},\\\"ActorContext\\\":{\\\"issuer_concrete\\\":[1778],\\\"approver_concrete\\\":[1778],\\\"reviewer_concrete\\\":[1778],\\\"Ext_issuer_concrete\\\":[1778],\\\"Ext_approver_concrete\\\":[1778],\\\"Ext_reviewer_concrete\\\":[1778]},\\\"Metadata\\\":null}\"}"}

{"Timestamp":"2026-08-04T09:49:23.4682096+00:00","Level":"Information","Data":{"EventId":99328448},"Message":"Sent message ID 181d21c5e5ac3000 to DLQ"}

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

{"Timestamp":"2026-08-04T09:54:05.1494104+00:00","Level":"Information","Data":{"EventId":1304927705},"Message":"Started processing notification for message ID 181d22cc6a6c3000"}

{"Timestamp":"2026-08-04T09:54:05.1494418+00:00","Level":"Information","Data":{"EventId":1417911275},"Message":"Looking up the notification handler for message ID 181d22cc6a6c3000"}

{"Timestamp":"2026-08-04T09:54:05.1494580+00:00","Level":"Information","Data":{"EventId":1535618188},"Message":"Event handling in process for message ID 181d22cc6a6c3000"}

{"Timestamp":"2026-08-04T09:54:05.2095535+00:00","Level":"Information","Data":{"EventId":248528014},"Message":"Dispatching the notifications for message ID 181d22cc6a6c3000"}

{"Timestamp":"2026-08-04T09:54:05.2104233+00:00","Level":"Information","Data":{"EventId":2039581834},"Message":"Successfully processed notification for message ID 181d22cc6a6c3000"}

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

{"Timestamp":"2026-08-04T09:54:05.2131905+00:00","Level":"Information","Data":{"EventId":3011837804},"Message":"Started processing notification for message ID 181d22cc6b2c3000"}

{"Timestamp":"2026-08-04T09:54:05.2132095+00:00","Level":"Information","Data":{"EventId":156100232},"Message":"Looking up the notification handler for message ID 181d22cc6b2c3000"}

{"Timestamp":"2026-08-04T09:54:05.2132197+00:00","Level":"Information","Data":{"EventId":2859901302},"Message":"Event handling in process for message ID 181d22cc6b2c3000"}

{"Timestamp":"2026-08-04T09:54:05.2217112+00:00","Level":"Information","Data":{"EventId":1585367785},"Message":"Dispatching the notifications for message ID 181d22cc6b2c3000"}

{"Timestamp":"2026-08-04T09:54:05.2225359+00:00","Level":"Information","Data":{"EventId":677926361},"Message":"Successfully processed notification for message ID 181d22cc6b2c3000"}

{"Timestamp":"2026-08-04T10:26:27.9902066+00:00","Level":"Information","Data":{"EventId":2649451576},"Message":"Notification event with message ID 181d29ddd46c3000 received: {\"TemplateId\":1,\"EntityType\":\"safety_alerts\",\"EventType\":null,\"NotifyRoleId\":null,\"NotifyUserId\":null,\"NotifyDynamicActor\":null,\"EntityContext\":{\"Parameters\":{\"alertId\":\"671\",\"orgId\":\"262\",\"alertLink\":\"https://sandbox.oqsha.com/#/safety-alerts-v2/edit-safety-alert-v2/671\",\"EmailFooter\":\"OQSHA Team\",\"UserName\":\"Hebert Eaton\",\"description\":\"test\"}},\"ActorContext\":null,\"Metadata\":null}"}

{"Timestamp":"2026-08-04T10:26:27.9932763+00:00","Level":"Information","Data":{"EventId":2090930398},"Message":"Started processing notification for message ID 181d29ddd46c3000"}

{"Timestamp":"2026-08-04T10:26:27.9933351+00:00","Level":"Information","Data":{"EventId":1742134359},"Message":"Looking up the notification handler for message ID 181d29ddd46c3000"}

{"Timestamp":"2026-08-04T10:26:27.9933599+00:00","Level":"Information","Data":{"EventId":959871913},"Message":"Event handling in process for message ID 181d29ddd46c3000"}

{"Timestamp":"2026-08-04T10:26:27.9976959+00:00","Level":"Information","Data":{"EventId":170248130},"Message":"Sending message ID 181d29ddd46c3000 to DLQ"}

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

{"Timestamp":"2026-08-04T10:26:27.9986669+00:00","Level":"Information","Data":{"EventId":2470380816},"Message":"Sent message ID 181d29ddd46c3000 to DLQ"}

{"Timestamp":"2026-08-04T10:26:28.1590992+00:00","Level":"Information","Data":{"EventId":3102569050},"Message":"Notification event with message ID 181d29ddd4ec3000 received: {\"TemplateId\":3,\"EntityType\":\"safety_alerts\",\"EventType\":null,\"NotifyRoleId\":null,\"NotifyUserId\":null,\"NotifyDynamicActor\":null,\"EntityContext\":{\"Parameters\":{\"alertId\":\"671\",\"orgId\":\"262\",\"alertLink\":\"https://sandbox.oqsha.com/#/safety-alerts-v2/edit-safety-alert-v2/671\",\"EmailFooter\":\"OQSHA Team\",\"UserName\":\"Hebert Eaton\",\"description\":\"test\"}},\"ActorContext\":null,\"Metadata\":null}"}

{"Timestamp":"2026-08-04T10:26:28.1627457+00:00","Level":"Information","Data":{"EventId":396206483},"Message":"Started processing notification for message ID 181d29ddd4ec3000"}

{"Timestamp":"2026-08-04T10:26:28.1628134+00:00","Level":"Information","Data":{"EventId":175985199},"Message":"Looking up the notification handler for message ID 181d29ddd4ec3000"}

{"Timestamp":"2026-08-04T10:26:28.1628356+00:00","Level":"Information","Data":{"EventId":796943627},"Message":"Event handling in process for message ID 181d29ddd4ec3000"}

{"Timestamp":"2026-08-04T10:26:28.1657089+00:00","Level":"Information","Data":{"EventId":1497612847},"Message":"Sending message ID 181d29ddd4ec3000 to DLQ"}

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

{"Timestamp":"2026-08-04T10:26:28.1672785+00:00","Level":"Information","Data":{"EventId":1228037424},"Message":"Sent message ID 181d29ddd4ec3000 to DLQ"}

{"Timestamp":"2026-08-04T10:30:32.2392228+00:00","Level":"Information","Data":{"EventId":1325131809},"Message":"Notification event with message ID 181d2ac14dac3000 received: {\"TemplateId\":1,\"EntityType\":\"safety_alerts\",\"EventType\":null,\"NotifyRoleId\":null,\"NotifyUserId\":null,\"NotifyDynamicActor\":null,\"EntityContext\":{\"Parameters\":{\"alertId\":\"672\",\"orgId\":\"262\",\"alertLink\":\"https://sandbox.oqsha.com/#/safety-alerts-v2/edit-safety-alert-v2/672\",\"EmailFooter\":\"OQSHA Team\",\"UserName\":\"Hebert Eaton\",\"description\":\"\"}},\"ActorContext\":null,\"Metadata\":null}"}

{"Timestamp":"2026-08-04T10:30:32.2406885+00:00","Level":"Information","Data":{"EventId":2728474601},"Message":"Started processing notification for message ID 181d2ac14dac3000"}

{"Timestamp":"2026-08-04T10:30:32.2407253+00:00","Level":"Information","Data":{"EventId":1526461766},"Message":"Looking up the notification handler for message ID 181d2ac14dac3000"}

{"Timestamp":"2026-08-04T10:30:32.2407484+00:00","Level":"Information","Data":{"EventId":3278042427},"Message":"Event handling in process for message ID 181d2ac14dac3000"}

{"Timestamp":"2026-08-04T10:30:32.2690526+00:00","Level":"Information","Data":{"EventId":2912978684},"Message":"Sending message ID 181d2ac14dac3000 to DLQ"}

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

{"Timestamp":"2026-08-04T10:30:32.2699951+00:00","Level":"Information","Data":{"EventId":3033938811},"Message":"Sent message ID 181d2ac14dac3000 to DLQ"}

{"Timestamp":"2026-08-04T10:30:32.4101708+00:00","Level":"Information","Data":{"EventId":3411335859},"Message":"Notification event with message ID 181d2ac14e2c3000 received: {\"TemplateId\":3,\"EntityType\":\"safety_alerts\",\"EventType\":null,\"NotifyRoleId\":null,\"NotifyUserId\":null,\"NotifyDynamicActor\":null,\"EntityContext\":{\"Parameters\":{\"alertId\":\"672\",\"orgId\":\"262\",\"alertLink\":\"https://sandbox.oqsha.com/#/safety-alerts-v2/edit-safety-alert-v2/672\",\"EmailFooter\":\"OQSHA Team\",\"UserName\":\"Hebert Eaton\",\"description\":\"\"}},\"ActorContext\":null,\"Metadata\":null}"}

{"Timestamp":"2026-08-04T10:30:32.4130456+00:00","Level":"Information","Data":{"EventId":116931121},"Message":"Started processing notification for message ID 181d2ac14e2c3000"}

{"Timestamp":"2026-08-04T10:30:32.4130754+00:00","Level":"Information","Data":{"EventId":624813792},"Message":"Looking up the notification handler for message ID 181d2ac14e2c3000"}

{"Timestamp":"2026-08-04T10:30:32.4130844+00:00","Level":"Information","Data":{"EventId":4225918899},"Message":"Event handling in process for message ID 181d2ac14e2c3000"}

{"Timestamp":"2026-08-04T10:30:32.4155040+00:00","Level":"Information","Data":{"EventId":4024218811},"Message":"Sending message ID 181d2ac14e2c3000 to DLQ"}

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

{"Timestamp":"2026-08-04T10:30:32.4162975+00:00","Level":"Information","Data":{"EventId":580406097},"Message":"Sent message ID 181d2ac14e2c3000 to DLQ"}

{"Timestamp":"2026-08-04T11:02:27.7652630+00:00","Level":"Information","Data":{"EventId":726798405},"Message":"Notification event with message ID 181d31b946ec3000 received: {\"TemplateId\":26,\"EntityType\":\"inspection_v2\",\"EventType\":null,\"NotifyRoleId\":null,\"NotifyUserId\":267,\"NotifyDynamicActor\":null,\"EntityContext\":{\"Parameters\":{\"inspectionId\":\"2393\",\"orgId\":\"262\",\"inspectionLink\":\"https://sandbox.oqsha.com/#/inspection-v2/edit-inspection-v2/2393\",\"emailFooter\":\"OQSHA Team\",\"userName\":\"Hebert Eaton\"}},\"ActorContext\":{\"Audit_Team\":[267,20260]},\"Metadata\":null}"}

{"Timestamp":"2026-08-04T11:02:27.7671519+00:00","Level":"Information","Data":{"EventId":1609728877},"Message":"Started processing notification for message ID 181d31b946ec3000"}

{"Timestamp":"2026-08-04T11:02:27.7671828+00:00","Level":"Information","Data":{"EventId":3937189456},"Message":"Looking up the notification handler for message ID 181d31b946ec3000"}

{"Timestamp":"2026-08-04T11:02:27.7671919+00:00","Level":"Information","Data":{"EventId":1597854877},"Message":"Event handling in process for message ID 181d31b946ec3000"}

{"Timestamp":"2026-08-04T11:02:27.8039121+00:00","Level":"Information","Data":{"EventId":3602856581},"Message":"Dispatching the notifications for message ID 181d31b946ec3000"}

{"Timestamp":"2026-08-04T11:02:27.8048524+00:00","Level":"Information","Data":{"EventId":3261245735},"Message":"Successfully processed notification for message ID 181d31b946ec3000"}

{"Timestamp":"2026-08-04T11:02:27.8622129+00:00","Level":"Information","Data":{"EventId":1370135017},"Message":"Notification event with message ID 181d31b9472c3000 received: {\"TemplateId\":29,\"EntityType\":\"inspection_v2\",\"EventType\":null,\"NotifyRoleId\":null,\"NotifyUserId\":267,\"NotifyDynamicActor\":null,\"EntityContext\":{\"Parameters\":{\"inspectionId\":\"2393\",\"orgId\":\"262\",\"inspectionLink\":\"https://sandbox.oqsha.com/#/inspection-v2/edit-inspection-v2/2393\",\"emailFooter\":\"OQSHA Team\",\"userName\":\"Hebert Eaton\"}},\"ActorContext\":{\"Audit_Team\":[267,20260]},\"Metadata\":null}"}

{"Timestamp":"2026-08-04T11:02:27.8644163+00:00","Level":"Information","Data":{"EventId":1767983442},"Message":"Started processing notification for message ID 181d31b9472c3000"}

{"Timestamp":"2026-08-04T11:02:27.8644706+00:00","Level":"Information","Data":{"EventId":275007493},"Message":"Looking up the notification handler for message ID 181d31b9472c3000"}

{"Timestamp":"2026-08-04T11:02:27.8644921+00:00","Level":"Information","Data":{"EventId":963180181},"Message":"Event handling in process for message ID 181d31b9472c3000"}

{"Timestamp":"2026-08-04T11:02:27.8688124+00:00","Level":"Information","Data":{"EventId":3887690539},"Message":"Dispatching the notifications for message ID 181d31b9472c3000"}

{"Timestamp":"2026-08-04T11:02:27.8700267+00:00","Level":"Information","Data":{"EventId":2878302616},"Message":"Successfully processed notification for message ID 181d31b9472c3000"}

{"Timestamp":"2026-08-04T11:05:41.5933999+00:00","Level":"Information","Data":{"EventId":419990170},"Message":"Notification event with message ID 181d326dcb2c3000 received: {\"TemplateId\":1,\"EntityType\":\"safety_alerts\",\"EventType\":null,\"NotifyRoleId\":null,\"NotifyUserId\":null,\"NotifyDynamicActor\":null,\"EntityContext\":{\"Parameters\":{\"alertId\":\"673\",\"orgId\":\"262\",\"alertLink\":\"https://sandbox.oqsha.com/#/safety-alerts-v2/edit-safety-alert-v2/673\",\"EmailFooter\":\"OQSHA Team\",\"UserName\":\"Hebert Eaton\",\"description\":\"\"}},\"ActorContext\":null,\"Metadata\":null}"}

{"Timestamp":"2026-08-04T11:05:41.5971231+00:00","Level":"Information","Data":{"EventId":13865795},"Message":"Started processing notification for message ID 181d326dcb2c3000"}

{"Timestamp":"2026-08-04T11:05:41.5971761+00:00","Level":"Information","Data":{"EventId":2356935965},"Message":"Looking up the notification handler for message ID 181d326dcb2c3000"}

{"Timestamp":"2026-08-04T11:05:41.5971883+00:00","Level":"Information","Data":{"EventId":946773873},"Message":"Event handling in process for message ID 181d326dcb2c3000"}

{"Timestamp":"2026-08-04T11:05:41.6002091+00:00","Level":"Information","Data":{"EventId":4051805603},"Message":"Sending message ID 181d326dcb2c3000 to DLQ"}

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

{"Timestamp":"2026-08-04T11:05:41.6012688+00:00","Level":"Information","Data":{"EventId":958404014},"Message":"Sent message ID 181d326dcb2c3000 to DLQ"}

{"Timestamp":"2026-08-04T11:05:41.6124538+00:00","Level":"Information","Data":{"EventId":196293846},"Message":"Notification event with message ID 181d326dcb6c3000 received: {\"TemplateId\":3,\"EntityType\":\"safety_alerts\",\"EventType\":null,\"NotifyRoleId\":null,\"NotifyUserId\":null,\"NotifyDynamicActor\":null,\"EntityContext\":{\"Parameters\":{\"alertId\":\"673\",\"orgId\":\"262\",\"alertLink\":\"https://sandbox.oqsha.com/#/safety-alerts-v2/edit-safety-alert-v2/673\",\"EmailFooter\":\"OQSHA Team\",\"UserName\":\"Hebert Eaton\",\"description\":\"\"}},\"ActorContext\":null,\"Metadata\":null}"}

{"Timestamp":"2026-08-04T11:05:41.6150184+00:00","Level":"Information","Data":{"EventId":2606488535},"Message":"Started processing notification for message ID 181d326dcb6c3000"}

{"Timestamp":"2026-08-04T11:05:41.6150442+00:00","Level":"Information","Data":{"EventId":1134449932},"Message":"Looking up the notification handler for message ID 181d326dcb6c3000"}

{"Timestamp":"2026-08-04T11:05:41.6150527+00:00","Level":"Information","Data":{"EventId":3815362160},"Message":"Event handling in process for message ID 181d326dcb6c3000"}

{"Timestamp":"2026-08-04T11:05:41.6169625+00:00","Level":"Information","Data":{"EventId":4229057991},"Message":"Sending message ID 181d326dcb6c3000 to DLQ"}

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

{"Timestamp":"2026-08-04T11:05:41.6177579+00:00","Level":"Information","Data":{"EventId":1872825057},"Message":"Sent message ID 181d326dcb6c3000 to DLQ"}

{"Timestamp":"2026-08-04T11:47:20.6912160+00:00","Level":"Information","Data":{"EventId":809763314},"Message":"Notification event with message ID 181d3b85426c3000 received: {\"TemplateId\":16,\"EntityType\":\"work_permit_v2\",\"EventType\":null,\"NotifyRoleId\":null,\"NotifyUserId\":null,\"NotifyDynamicActor\":null,\"EntityContext\":{\"Parameters\":{\"workPermitId\":\"467\",\"workPermitV2Id\":\"467\",\"orgId\":\"204\",\"viewLink\":\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/204/467?dlType=viewWorkPermitV2\",\"workPermitLink\":\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/204/467?dlType=viewWorkPermitV2\",\"emailFooter\":\"OQSHA Team\"}},\"ActorContext\":null,\"Metadata\":null}"}

{"Timestamp":"2026-08-04T11:47:20.6929878+00:00","Level":"Information","Data":{"EventId":481416716},"Message":"Started processing notification for message ID 181d3b85426c3000"}

{"Timestamp":"2026-08-04T11:47:20.6930331+00:00","Level":"Information","Data":{"EventId":1895673858},"Message":"Looking up the notification handler for message ID 181d3b85426c3000"}

{"Timestamp":"2026-08-04T11:47:20.6930508+00:00","Level":"Information","Data":{"EventId":3682392408},"Message":"Event handling in process for message ID 181d3b85426c3000"}

{"Timestamp":"2026-08-04T11:47:20.6972216+00:00","Level":"Information","Data":{"EventId":166297291},"Message":"Sending message ID 181d3b85426c3000 to DLQ"}

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

{"Timestamp":"2026-08-04T11:47:20.6977969+00:00","Level":"Information","Data":{"EventId":1932315591},"Message":"Sent message ID 181d3b85426c3000 to DLQ"}

{"Timestamp":"2026-08-04T11:47:20.8275153+00:00","Level":"Information","Data":{"EventId":3316287235},"Message":"Notification event with message ID 181d3b8542ec3000 received: {\"TemplateId\":18,\"EntityType\":\"work_permit_v2\",\"EventType\":null,\"NotifyRoleId\":null,\"NotifyUserId\":null,\"NotifyDynamicActor\":\"Issuer_CSE\",\"EntityContext\":{\"Parameters\":{\"workPermitId\":\"467\",\"workPermitV2Id\":\"467\",\"orgId\":\"204\",\"viewLink\":\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/204/467?dlType=viewWorkPermitV2\",\"workPermitLink\":\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/204/467?dlType=viewWorkPermitV2\",\"emailFooter\":\"OQSHA Team\"}},\"ActorContext\":null,\"Metadata\":null}"}

{"Timestamp":"2026-08-04T11:47:20.8292266+00:00","Level":"Information","Data":{"EventId":2419266313},"Message":"Started processing notification for message ID 181d3b8542ec3000"}

{"Timestamp":"2026-08-04T11:47:20.8292595+00:00","Level":"Information","Data":{"EventId":2885759989},"Message":"Looking up the notification handler for message ID 181d3b8542ec3000"}

{"Timestamp":"2026-08-04T11:47:20.8292761+00:00","Level":"Information","Data":{"EventId":4237107349},"Message":"Event handling in process for message ID 181d3b8542ec3000"}

{"Timestamp":"2026-08-04T11:47:20.8321395+00:00","Level":"Information","Data":{"EventId":3718451594},"Message":"Sending message ID 181d3b8542ec3000 to DLQ"}

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

{"Timestamp":"2026-08-04T11:47:20.8326151+00:00","Level":"Information","Data":{"EventId":3562590980},"Message":"Sent message ID 181d3b8542ec3000 to DLQ"}

{"Timestamp":"2026-08-04T11:47:54.3447510+00:00","Level":"Information","Data":{"EventId":2315866895},"Message":"Notification event with message ID 181d3ba499ec3000 received: {\"TemplateId\":18,\"EntityType\":\"work_permit_v2\",\"EventType\":null,\"NotifyRoleId\":null,\"NotifyUserId\":null,\"NotifyDynamicActor\":\"Approver_CSE\",\"EntityContext\":{\"Parameters\":{\"workPermitId\":\"467\",\"workPermitV2Id\":\"467\",\"orgId\":\"204\",\"viewLink\":\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/204/467?dlType=viewWorkPermitV2\",\"workPermitLink\":\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/204/467?dlType=viewWorkPermitV2\",\"emailFooter\":\"OQSHA Team\"}},\"ActorContext\":{\"Issuer_CSE\":[1778],\"Approver_CSE\":[1202],\"Reviewer_CSE\":[1778]},\"Metadata\":null}"}

{"Timestamp":"2026-08-04T11:47:54.3463499+00:00","Level":"Information","Data":{"EventId":1701753306},"Message":"Started processing notification for message ID 181d3ba499ec3000"}

{"Timestamp":"2026-08-04T11:47:54.3463852+00:00","Level":"Information","Data":{"EventId":4094752027},"Message":"Looking up the notification handler for message ID 181d3ba499ec3000"}

{"Timestamp":"2026-08-04T11:47:54.3463949+00:00","Level":"Information","Data":{"EventId":1621503832},"Message":"Event handling in process for message ID 181d3ba499ec3000"}

{"Timestamp":"2026-08-04T11:47:54.3500011+00:00","Level":"Information","Data":{"EventId":270109458},"Message":"Dispatching the notifications for message ID 181d3ba499ec3000"}

{"Timestamp":"2026-08-04T11:47:54.3504023+00:00","Level":"Information","Data":{"EventId":3417530730},"Message":"Successfully processed notification for message ID 181d3ba499ec3000"}

{"Timestamp":"2026-08-04T11:47:54.5751081+00:00","Level":"Information","Data":{"EventId":2091354407},"Message":"Notification event with message ID 181d3ba49a6c3000 received: {\"TemplateId\":22,\"EntityType\":\"work_permit_v2\",\"EventType\":null,\"NotifyRoleId\":null,\"NotifyUserId\":null,\"NotifyDynamicActor\":null,\"EntityContext\":{\"Parameters\":{\"workPermitId\":\"467\",\"workPermitV2Id\":\"467\",\"orgId\":\"204\",\"viewLink\":\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/204/467?dlType=viewWorkPermitV2\",\"workPermitLink\":\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/204/467?dlType=viewWorkPermitV2\",\"emailFooter\":\"OQSHA Team\"}},\"ActorContext\":{\"Issuer_CSE\":[1778],\"Approver_CSE\":[1202],\"Reviewer_CSE\":[1778]},\"Metadata\":null}"}

{"Timestamp":"2026-08-04T11:47:54.5778906+00:00","Level":"Information","Data":{"EventId":3474952880},"Message":"Started processing notification for message ID 181d3ba49a6c3000"}

{"Timestamp":"2026-08-04T11:47:54.5779685+00:00","Level":"Information","Data":{"EventId":4125092664},"Message":"Looking up the notification handler for message ID 181d3ba49a6c3000"}

{"Timestamp":"2026-08-04T11:47:54.5780055+00:00","Level":"Information","Data":{"EventId":796094451},"Message":"Event handling in process for message ID 181d3ba49a6c3000"}

{"Timestamp":"2026-08-04T11:47:54.5844802+00:00","Level":"Information","Data":{"EventId":2856404594},"Message":"Sending message ID 181d3ba49a6c3000 to DLQ"}

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

{"Timestamp":"2026-08-04T11:47:54.5865974+00:00","Level":"Information","Data":{"EventId":3116655755},"Message":"Sent message ID 181d3ba49a6c3000 to DLQ"}

{"Timestamp":"2026-08-04T12:48:29.0096768+00:00","Level":"Information","Data":{"EventId":1772074837},"Message":"Notification event with message ID 181d48dda4ec3000 received: {\"TemplateId\":16,\"EntityType\":\"work_permit_v2\",\"EventType\":null,\"NotifyRoleId\":null,\"NotifyUserId\":null,\"NotifyDynamicActor\":null,\"EntityContext\":{\"Parameters\":{\"workPermitId\":\"468\",\"workPermitV2Id\":\"468\",\"orgId\":\"204\",\"viewLink\":\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/204/468?dlType=viewWorkPermitV2\",\"workPermitLink\":\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/204/468?dlType=viewWorkPermitV2\",\"emailFooter\":\"OQSHA Team\"}},\"ActorContext\":null,\"Metadata\":null}"}

{"Timestamp":"2026-08-04T12:48:29.0120973+00:00","Level":"Information","Data":{"EventId":2368779958},"Message":"Started processing notification for message ID 181d48dda4ec3000"}

{"Timestamp":"2026-08-04T12:48:29.0121275+00:00","Level":"Information","Data":{"EventId":861116488},"Message":"Looking up the notification handler for message ID 181d48dda4ec3000"}

{"Timestamp":"2026-08-04T12:48:29.0121383+00:00","Level":"Information","Data":{"EventId":775866950},"Message":"Event handling in process for message ID 181d48dda4ec3000"}

{"Timestamp":"2026-08-04T12:48:29.0181090+00:00","Level":"Information","Data":{"EventId":49138826},"Message":"Sending message ID 181d48dda4ec3000 to DLQ"}

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

{"Timestamp":"2026-08-04T12:48:29.0191383+00:00","Level":"Information","Data":{"EventId":3714963545},"Message":"Sent message ID 181d48dda4ec3000 to DLQ"}

{"Timestamp":"2026-08-04T12:48:29.2558227+00:00","Level":"Information","Data":{"EventId":3112145940},"Message":"Notification event with message ID 181d48dda62c3000 received: {\"TemplateId\":18,\"EntityType\":\"work_permit_v2\",\"EventType\":null,\"NotifyRoleId\":null,\"NotifyUserId\":null,\"NotifyDynamicActor\":\"Issuer_electrical\",\"EntityContext\":{\"Parameters\":{\"workPermitId\":\"468\",\"workPermitV2Id\":\"468\",\"orgId\":\"204\",\"viewLink\":\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/204/468?dlType=viewWorkPermitV2\",\"workPermitLink\":\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/204/468?dlType=viewWorkPermitV2\",\"emailFooter\":\"OQSHA Team\"}},\"ActorContext\":null,\"Metadata\":null}"}

{"Timestamp":"2026-08-04T12:48:29.2585743+00:00","Level":"Information","Data":{"EventId":379518825},"Message":"Started processing notification for message ID 181d48dda62c3000"}

{"Timestamp":"2026-08-04T12:48:29.2586057+00:00","Level":"Information","Data":{"EventId":1472551580},"Message":"Looking up the notification handler for message ID 181d48dda62c3000"}

{"Timestamp":"2026-08-04T12:48:29.2586180+00:00","Level":"Information","Data":{"EventId":2349864663},"Message":"Event handling in process for message ID 181d48dda62c3000"}

{"Timestamp":"2026-08-04T12:48:29.2635946+00:00","Level":"Information","Data":{"EventId":3547903920},"Message":"Sending message ID 181d48dda62c3000 to DLQ"}

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

{"Timestamp":"2026-08-04T12:48:29.2738767+00:00","Level":"Information","Data":{"EventId":1068932062},"Message":"Sent message ID 181d48dda62c3000 to DLQ"}

{"Timestamp":"2026-08-04T12:48:52.7055750+00:00","Level":"Information","Data":{"EventId":3426937786},"Message":"Notification event with message ID 181d48f3b72c3000 received: {\"TemplateId\":18,\"EntityType\":\"work_permit_v2\",\"EventType\":null,\"NotifyRoleId\":null,\"NotifyUserId\":null,\"NotifyDynamicActor\":\"Approver_electrical\",\"EntityContext\":{\"Parameters\":{\"workPermitId\":\"468\",\"workPermitV2Id\":\"468\",\"orgId\":\"204\",\"viewLink\":\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/204/468?dlType=viewWorkPermitV2\",\"workPermitLink\":\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/204/468?dlType=viewWorkPermitV2\",\"emailFooter\":\"OQSHA Team\"}},\"ActorContext\":{\"Issuer_electrical\":[1778],\"Approver_electrical\":[1202],\"Reviewer_electrical\":[1778]},\"Metadata\":null}"}

{"Timestamp":"2026-08-04T12:48:52.7071022+00:00","Level":"Information","Data":{"EventId":3676551763},"Message":"Started processing notification for message ID 181d48f3b72c3000"}

{"Timestamp":"2026-08-04T12:48:52.7071335+00:00","Level":"Information","Data":{"EventId":4002179263},"Message":"Looking up the notification handler for message ID 181d48f3b72c3000"}

{"Timestamp":"2026-08-04T12:48:52.7072063+00:00","Level":"Information","Data":{"EventId":3941252590},"Message":"Event handling in process for message ID 181d48f3b72c3000"}

{"Timestamp":"2026-08-04T12:48:52.7104465+00:00","Level":"Information","Data":{"EventId":467865956},"Message":"Dispatching the notifications for message ID 181d48f3b72c3000"}

{"Timestamp":"2026-08-04T12:48:52.7108095+00:00","Level":"Information","Data":{"EventId":219464549},"Message":"Successfully processed notification for message ID 181d48f3b72c3000"}

{"Timestamp":"2026-08-04T12:48:52.7669623+00:00","Level":"Information","Data":{"EventId":2131627934},"Message":"Notification event with message ID 181d48f3b7ac3000 received: {\"TemplateId\":22,\"EntityType\":\"work_permit_v2\",\"EventType\":null,\"NotifyRoleId\":null,\"NotifyUserId\":null,\"NotifyDynamicActor\":null,\"EntityContext\":{\"Parameters\":{\"workPermitId\":\"468\",\"workPermitV2Id\":\"468\",\"orgId\":\"204\",\"viewLink\":\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/204/468?dlType=viewWorkPermitV2\",\"workPermitLink\":\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/204/468?dlType=viewWorkPermitV2\",\"emailFooter\":\"OQSHA Team\"}},\"ActorContext\":{\"Issuer_electrical\":[1778],\"Approver_electrical\":[1202],\"Reviewer_electrical\":[1778]},\"Metadata\":null}"}

{"Timestamp":"2026-08-04T12:48:52.7695804+00:00","Level":"Information","Data":{"EventId":2206732888},"Message":"Started processing notification for message ID 181d48f3b7ac3000"}

{"Timestamp":"2026-08-04T12:48:52.7696077+00:00","Level":"Information","Data":{"EventId":1767028246},"Message":"Looking up the notification handler for message ID 181d48f3b7ac3000"}

{"Timestamp":"2026-08-04T12:48:52.7696184+00:00","Level":"Information","Data":{"EventId":4053815866},"Message":"Event handling in process for message ID 181d48f3b7ac3000"}

{"Timestamp":"2026-08-04T12:48:52.7738059+00:00","Level":"Information","Data":{"EventId":200679091},"Message":"Sending message ID 181d48f3b7ac3000 to DLQ"}

{"Timestamp":"2026-08-04T12:48:52.7740096+00:00","Level":"Information","Data":{"EventId":3846303016},"Message":"Dead letter envelope for DLQ message: {\"SourceTopic\":\"notification.orchestrator\",\"SourceChannel\":\"notification-orchestrator\",\"FailedAtUtc\":\"2026-08-04T12:48:52.7738415Z\",\"Attempts\":1,\"ErrorType\":\"OQSHA.Notification.Orchestrator.Exceptions.PermanentOrchestratorException\",\"ErrorMessage\":\"No recipients received for message ID 181d48f3b7ac3000\",\"StackTrace\":\"   at OQSHA.Notification.Orchestrator.Services.UsersService.ResolveRecipientsAsync(String messageId, Int32 orgId, NotificationEventDto request) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\Services\\\\UsersService.cs:line 84\\r\\n   at OQSHA.Notification.Orchestrator.Services.UsersService.GetRecipientsWithDetailsAsync(String messageId, Int32 orgId, NotificationEventDto request, NotificationTemplatesDbo notificationTemplate) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\Services\\\\UsersService.cs:line 134\\r\\n   at OQSHA.Notification.Orchestrator.NotificationHandlers.WorkPermitV2NotificationHandler.HandleAsync(String messageId, NotificationEventDto request) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\NotificationHandlers\\\\WorkPermitV2NotificationHandler.cs:line 62\\r\\n   at OQSHA.Notification.Orchestrator.NotificationHandlers.WorkPermitV2NotificationHandler.ProcessEventAsync(String messageId, NotificationEventDto request) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\NotificationHandlers\\\\WorkPermitV2NotificationHandler.cs:line 46\\r\\n   at OQSHA.Notification.Orchestrator.Routing.EventRouter.ExecuteAsync(String messageId, NotificationEventDto request) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\Routing\\\\EventRouter.cs:line 38\\r\\n   at OQSHA.Notification.Orchestrator.Worker.OrchestratorMessageHandler.HandleMessage(IMessage message) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\Worker\\\\OrchestratorMessageHandler.cs:line 44\",\"OriginalBody\":\"{\\\"TemplateId\\\":22,\\\"EntityType\\\":\\\"work_permit_v2\\\",\\\"EventType\\\":null,\\\"NotifyRoleId\\\":null,\\\"NotifyUserId\\\":null,\\\"NotifyDynamicActor\\\":null,\\\"EntityContext\\\":{\\\"Parameters\\\":{\\\"workPermitId\\\":\\\"468\\\",\\\"workPermitV2Id\\\":\\\"468\\\",\\\"orgId\\\":\\\"204\\\",\\\"viewLink\\\":\\\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/204/468?dlType=viewWorkPermitV2\\\",\\\"workPermitLink\\\":\\\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/204/468?dlType=viewWorkPermitV2\\\",\\\"emailFooter\\\":\\\"OQSHA Team\\\"}},\\\"ActorContext\\\":{\\\"Issuer_electrical\\\":[1778],\\\"Approver_electrical\\\":[1202],\\\"Reviewer_electrical\\\":[1778]},\\\"Metadata\\\":null}\"}"}

{"Timestamp":"2026-08-04T12:48:52.7742707+00:00","Level":"Information","Data":{"EventId":3665383801},"Message":"Sent message ID 181d48f3b7ac3000 to DLQ"}

{"Timestamp":"2026-08-04T13:05:13.7517137+00:00","Level":"Information","Data":{"EventId":3091016791},"Message":"Inside hosted service - for nsq"}

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

{"Timestamp":"2026-08-04T13:47:10.9522926+00:00","Level":"Information","Data":{"EventId":1468912183},"Message":"Notification event with message ID 181d55adb5ec3000 received: {\"TemplateId\":1,\"EntityType\":\"safety_alerts\",\"EventType\":null,\"NotifyRoleId\":489,\"NotifyUserId\":null,\"NotifyDynamicActor\":null,\"EntityContext\":{\"Parameters\":{\"alertId\":\"678\",\"orgId\":\"262\",\"alertLink\":\"https://sandbox.oqsha.com/#/safety-alerts-v2/edit-safety-alert-v2/678\",\"EmailFooter\":\"OQSHA Team\",\"UserName\":\"Hebert Eaton\",\"description\":\"\"}},\"ActorContext\":null,\"Metadata\":null}"}

{"Timestamp":"2026-08-04T13:47:11.0973989+00:00","Level":"Information","Data":{"EventId":3316995112},"Message":"Started processing notification for message ID 181d55adb5ec3000"}

{"Timestamp":"2026-08-04T13:47:11.0974876+00:00","Level":"Information","Data":{"EventId":1684115964},"Message":"Looking up the notification handler for message ID 181d55adb5ec3000"}

{"Timestamp":"2026-08-04T13:47:11.0978560+00:00","Level":"Information","Data":{"EventId":945200373},"Message":"Event handling in process for message ID 181d55adb5ec3000"}

{"Timestamp":"2026-08-04T13:47:11.8759330+00:00","Level":"Information","Data":{"EventId":2330656650},"Message":"Dispatching the notifications for message ID 181d55adb5ec3000"}

{"Timestamp":"2026-08-04T13:47:11.8936339+00:00","Level":"Information","Data":{"EventId":3489775120},"Message":"Successfully processed notification for message ID 181d55adb5ec3000"}

{"Timestamp":"2026-08-04T13:47:11.8965603+00:00","Level":"Information","Data":{"EventId":545568559},"Message":"Notification event with message ID 181d55adb5ec3001 received: {\"TemplateId\":24,\"EntityType\":\"safety_alerts\",\"EventType\":null,\"NotifyRoleId\":489,\"NotifyUserId\":null,\"NotifyDynamicActor\":null,\"EntityContext\":{\"Parameters\":{\"alertId\":\"678\",\"orgId\":\"262\",\"alertLink\":\"https://sandbox.oqsha.com/#/safety-alerts-v2/edit-safety-alert-v2/678\",\"EmailFooter\":\"OQSHA Team\",\"UserName\":\"Hebert Eaton\",\"description\":\"\"}},\"ActorContext\":null,\"Metadata\":null}"}

{"Timestamp":"2026-08-04T13:47:11.9010029+00:00","Level":"Information","Data":{"EventId":416610918},"Message":"Started processing notification for message ID 181d55adb5ec3001"}

{"Timestamp":"2026-08-04T13:47:11.9010855+00:00","Level":"Information","Data":{"EventId":2637530023},"Message":"Looking up the notification handler for message ID 181d55adb5ec3001"}

{"Timestamp":"2026-08-04T13:47:11.9011654+00:00","Level":"Information","Data":{"EventId":2152377564},"Message":"Event handling in process for message ID 181d55adb5ec3001"}

{"Timestamp":"2026-08-04T13:47:11.9156877+00:00","Level":"Information","Data":{"EventId":338432526},"Message":"Dispatching the notifications for message ID 181d55adb5ec3001"}

{"Timestamp":"2026-08-04T13:47:11.9168788+00:00","Level":"Information","Data":{"EventId":2200904812},"Message":"Successfully processed notification for message ID 181d55adb5ec3001"}

{"Timestamp":"2026-08-04T13:55:03.9428026+00:00","Level":"Information","Data":{"EventId":1493475669},"Message":"Notification event with message ID 181d5766382c3000 received: {\"TemplateId\":16,\"EntityType\":\"work_permit_v2\",\"EventType\":null,\"NotifyRoleId\":null,\"NotifyUserId\":null,\"NotifyDynamicActor\":null,\"EntityContext\":{\"Parameters\":{\"workPermitId\":\"470\",\"workPermitV2Id\":\"470\",\"orgId\":\"232\",\"viewLink\":\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/232/470?dlType=viewWorkPermitV2\",\"workPermitLink\":\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/232/470?dlType=viewWorkPermitV2\",\"emailFooter\":\"OQSHA Team\"}},\"ActorContext\":null,\"Metadata\":null}"}

{"Timestamp":"2026-08-04T13:55:03.9573139+00:00","Level":"Information","Data":{"EventId":1724666631},"Message":"Started processing notification for message ID 181d5766382c3000"}

{"Timestamp":"2026-08-04T13:55:03.9574086+00:00","Level":"Information","Data":{"EventId":3402398763},"Message":"Looking up the notification handler for message ID 181d5766382c3000"}

{"Timestamp":"2026-08-04T13:55:03.9575357+00:00","Level":"Information","Data":{"EventId":3056716030},"Message":"Event handling in process for message ID 181d5766382c3000"}

{"Timestamp":"2026-08-04T13:55:04.0772149+00:00","Level":"Information","Data":{"EventId":1842035942},"Message":"Sending message ID 181d5766382c3000 to DLQ"}

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

{"Timestamp":"2026-08-04T13:55:04.1048527+00:00","Level":"Information","Data":{"EventId":3043412436},"Message":"Sent message ID 181d5766382c3000 to DLQ"}

{"Timestamp":"2026-08-04T13:55:04.1050970+00:00","Level":"Information","Data":{"EventId":3960285763},"Message":"Notification event with message ID 181d5766382c3001 received: {\"TemplateId\":18,\"EntityType\":\"work_permit_v2\",\"EventType\":null,\"NotifyRoleId\":null,\"NotifyUserId\":null,\"NotifyDynamicActor\":\"Issuer_BW\",\"EntityContext\":{\"Parameters\":{\"workPermitId\":\"470\",\"workPermitV2Id\":\"470\",\"orgId\":\"232\",\"viewLink\":\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/232/470?dlType=viewWorkPermitV2\",\"workPermitLink\":\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/232/470?dlType=viewWorkPermitV2\",\"emailFooter\":\"OQSHA Team\"}},\"ActorContext\":null,\"Metadata\":null}"}

{"Timestamp":"2026-08-04T13:55:04.1069162+00:00","Level":"Information","Data":{"EventId":2071886955},"Message":"Started processing notification for message ID 181d5766382c3001"}

{"Timestamp":"2026-08-04T13:55:04.1069526+00:00","Level":"Information","Data":{"EventId":1955680182},"Message":"Looking up the notification handler for message ID 181d5766382c3001"}

{"Timestamp":"2026-08-04T13:55:04.1070131+00:00","Level":"Information","Data":{"EventId":2756683066},"Message":"Event handling in process for message ID 181d5766382c3001"}

{"Timestamp":"2026-08-04T13:55:04.1105108+00:00","Level":"Information","Data":{"EventId":1077460132},"Message":"Sending message ID 181d5766382c3001 to DLQ"}

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

{"Timestamp":"2026-08-04T13:55:04.1116051+00:00","Level":"Information","Data":{"EventId":1317195690},"Message":"Sent message ID 181d5766382c3001 to DLQ"}

{"Timestamp":"2026-08-04T13:57:54.2709572+00:00","Level":"Information","Data":{"EventId":3040704167},"Message":"Notification event with message ID 181d5804d96c3000 received: {\"TemplateId\":18,\"EntityType\":\"work_permit_v2\",\"EventType\":null,\"NotifyRoleId\":null,\"NotifyUserId\":null,\"NotifyDynamicActor\":\"Approver_BW\",\"EntityContext\":{\"Parameters\":{\"workPermitId\":\"470\",\"workPermitV2Id\":\"470\",\"orgId\":\"232\",\"viewLink\":\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/232/470?dlType=viewWorkPermitV2\",\"workPermitLink\":\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/232/470?dlType=viewWorkPermitV2\",\"emailFooter\":\"OQSHA Team\"}},\"ActorContext\":{\"AssignedUser\":[3978]},\"Metadata\":null}"}

{"Timestamp":"2026-08-04T13:57:54.2764108+00:00","Level":"Information","Data":{"EventId":2477329972},"Message":"Started processing notification for message ID 181d5804d96c3000"}

{"Timestamp":"2026-08-04T13:57:54.2765216+00:00","Level":"Information","Data":{"EventId":2498779063},"Message":"Looking up the notification handler for message ID 181d5804d96c3000"}

{"Timestamp":"2026-08-04T13:57:54.2765619+00:00","Level":"Information","Data":{"EventId":3076352414},"Message":"Event handling in process for message ID 181d5804d96c3000"}

{"Timestamp":"2026-08-04T13:57:54.2828057+00:00","Level":"Information","Data":{"EventId":878507424},"Message":"Sending message ID 181d5804d96c3000 to DLQ"}

{"Timestamp":"2026-08-04T13:57:54.2831395+00:00","Level":"Information","Data":{"EventId":492627345},"Message":"Dead letter envelope for DLQ message: {\"SourceTopic\":\"notification.orchestrator\",\"SourceChannel\":\"notification-orchestrator\",\"FailedAtUtc\":\"2026-08-04T13:57:54.282845Z\",\"Attempts\":1,\"ErrorType\":\"OQSHA.Notification.Orchestrator.Exceptions.PermanentOrchestratorException\",\"ErrorMessage\":\"Unable to find any user IDs for dynamic actor Approver_BW for message ID 181d5804d96c3000\",\"StackTrace\":\"   at OQSHA.Notification.Orchestrator.Services.UsersService.ResolveRecipientsAsync(String messageId, Int32 orgId, NotificationEventDto request) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\Services\\\\UsersService.cs:line 71\\r\\n   at OQSHA.Notification.Orchestrator.Services.UsersService.GetRecipientsWithDetailsAsync(String messageId, Int32 orgId, NotificationEventDto request, NotificationTemplatesDbo notificationTemplate) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\Services\\\\UsersService.cs:line 134\\r\\n   at OQSHA.Notification.Orchestrator.NotificationHandlers.WorkPermitV2NotificationHandler.HandleAsync(String messageId, NotificationEventDto request) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\NotificationHandlers\\\\WorkPermitV2NotificationHandler.cs:line 62\\r\\n   at OQSHA.Notification.Orchestrator.NotificationHandlers.WorkPermitV2NotificationHandler.ProcessEventAsync(String messageId, NotificationEventDto request) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\NotificationHandlers\\\\WorkPermitV2NotificationHandler.cs:line 46\\r\\n   at OQSHA.Notification.Orchestrator.Routing.EventRouter.ExecuteAsync(String messageId, NotificationEventDto request) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\Routing\\\\EventRouter.cs:line 38\\r\\n   at OQSHA.Notification.Orchestrator.Worker.OrchestratorMessageHandler.HandleMessage(IMessage message) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\Worker\\\\OrchestratorMessageHandler.cs:line 44\",\"OriginalBody\":\"{\\\"TemplateId\\\":18,\\\"EntityType\\\":\\\"work_permit_v2\\\",\\\"EventType\\\":null,\\\"NotifyRoleId\\\":null,\\\"NotifyUserId\\\":null,\\\"NotifyDynamicActor\\\":\\\"Approver_BW\\\",\\\"EntityContext\\\":{\\\"Parameters\\\":{\\\"workPermitId\\\":\\\"470\\\",\\\"workPermitV2Id\\\":\\\"470\\\",\\\"orgId\\\":\\\"232\\\",\\\"viewLink\\\":\\\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/232/470?dlType=viewWorkPermitV2\\\",\\\"workPermitLink\\\":\\\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/232/470?dlType=viewWorkPermitV2\\\",\\\"emailFooter\\\":\\\"OQSHA Team\\\"}},\\\"ActorContext\\\":{\\\"AssignedUser\\\":[3978]},\\\"Metadata\\\":null}\"}"}

{"Timestamp":"2026-08-04T13:57:54.2838402+00:00","Level":"Information","Data":{"EventId":3989752571},"Message":"Sent message ID 181d5804d96c3000 to DLQ"}

{"Timestamp":"2026-08-04T13:57:54.2842207+00:00","Level":"Information","Data":{"EventId":3476598609},"Message":"Notification event with message ID 181d5804da6c3000 received: {\"TemplateId\":22,\"EntityType\":\"work_permit_v2\",\"EventType\":null,\"NotifyRoleId\":null,\"NotifyUserId\":null,\"NotifyDynamicActor\":null,\"EntityContext\":{\"Parameters\":{\"workPermitId\":\"470\",\"workPermitV2Id\":\"470\",\"orgId\":\"232\",\"viewLink\":\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/232/470?dlType=viewWorkPermitV2\",\"workPermitLink\":\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/232/470?dlType=viewWorkPermitV2\",\"emailFooter\":\"OQSHA Team\"}},\"ActorContext\":{\"AssignedUser\":[3978]},\"Metadata\":null}"}

{"Timestamp":"2026-08-04T13:57:54.2869790+00:00","Level":"Information","Data":{"EventId":4271083218},"Message":"Started processing notification for message ID 181d5804da6c3000"}

{"Timestamp":"2026-08-04T13:57:54.2870531+00:00","Level":"Information","Data":{"EventId":3235678421},"Message":"Looking up the notification handler for message ID 181d5804da6c3000"}

{"Timestamp":"2026-08-04T13:57:54.2870856+00:00","Level":"Information","Data":{"EventId":3817358214},"Message":"Event handling in process for message ID 181d5804da6c3000"}

{"Timestamp":"2026-08-04T13:57:54.3026998+00:00","Level":"Information","Data":{"EventId":2341229685},"Message":"Sending message ID 181d5804da6c3000 to DLQ"}

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

{"Timestamp":"2026-08-04T13:57:54.3053847+00:00","Level":"Information","Data":{"EventId":1037519488},"Message":"Sent message ID 181d5804da6c3000 to DLQ"}

{"Timestamp":"2026-08-04T13:58:22.6730368+00:00","Level":"Information","Data":{"EventId":2687101493},"Message":"Notification event with message ID 181d581f4cec3000 received: {\"TemplateId\":22,\"EntityType\":\"work_permit_v2\",\"EventType\":null,\"NotifyRoleId\":null,\"NotifyUserId\":null,\"NotifyDynamicActor\":\"Issuer_BW\",\"EntityContext\":{\"Parameters\":{\"workPermitId\":\"470\",\"workPermitV2Id\":\"470\",\"orgId\":\"232\",\"viewLink\":\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/232/470?dlType=viewWorkPermitV2\",\"workPermitLink\":\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/232/470?dlType=viewWorkPermitV2\",\"emailFooter\":\"OQSHA Team\"}},\"ActorContext\":{\"AssignedUser\":[3978]},\"Metadata\":null}"}

{"Timestamp":"2026-08-04T13:58:22.6748017+00:00","Level":"Information","Data":{"EventId":2189635597},"Message":"Started processing notification for message ID 181d581f4cec3000"}

{"Timestamp":"2026-08-04T13:58:22.6748445+00:00","Level":"Information","Data":{"EventId":2133946079},"Message":"Looking up the notification handler for message ID 181d581f4cec3000"}

{"Timestamp":"2026-08-04T13:58:22.6748630+00:00","Level":"Information","Data":{"EventId":1948846569},"Message":"Event handling in process for message ID 181d581f4cec3000"}

{"Timestamp":"2026-08-04T13:58:22.6784729+00:00","Level":"Information","Data":{"EventId":4128681103},"Message":"Sending message ID 181d581f4cec3000 to DLQ"}

{"Timestamp":"2026-08-04T13:58:22.6787947+00:00","Level":"Information","Data":{"EventId":2775302265},"Message":"Dead letter envelope for DLQ message: {\"SourceTopic\":\"notification.orchestrator\",\"SourceChannel\":\"notification-orchestrator\",\"FailedAtUtc\":\"2026-08-04T13:58:22.6785269Z\",\"Attempts\":1,\"ErrorType\":\"OQSHA.Notification.Orchestrator.Exceptions.PermanentOrchestratorException\",\"ErrorMessage\":\"Unable to find any user IDs for dynamic actor Issuer_BW for message ID 181d581f4cec3000\",\"StackTrace\":\"   at OQSHA.Notification.Orchestrator.Services.UsersService.ResolveRecipientsAsync(String messageId, Int32 orgId, NotificationEventDto request) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\Services\\\\UsersService.cs:line 71\\r\\n   at OQSHA.Notification.Orchestrator.Services.UsersService.GetRecipientsWithDetailsAsync(String messageId, Int32 orgId, NotificationEventDto request, NotificationTemplatesDbo notificationTemplate) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\Services\\\\UsersService.cs:line 134\\r\\n   at OQSHA.Notification.Orchestrator.NotificationHandlers.WorkPermitV2NotificationHandler.HandleAsync(String messageId, NotificationEventDto request) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\NotificationHandlers\\\\WorkPermitV2NotificationHandler.cs:line 62\\r\\n   at OQSHA.Notification.Orchestrator.NotificationHandlers.WorkPermitV2NotificationHandler.ProcessEventAsync(String messageId, NotificationEventDto request) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\NotificationHandlers\\\\WorkPermitV2NotificationHandler.cs:line 46\\r\\n   at OQSHA.Notification.Orchestrator.Routing.EventRouter.ExecuteAsync(String messageId, NotificationEventDto request) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\Routing\\\\EventRouter.cs:line 38\\r\\n   at OQSHA.Notification.Orchestrator.Worker.OrchestratorMessageHandler.HandleMessage(IMessage message) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\Worker\\\\OrchestratorMessageHandler.cs:line 44\",\"OriginalBody\":\"{\\\"TemplateId\\\":22,\\\"EntityType\\\":\\\"work_permit_v2\\\",\\\"EventType\\\":null,\\\"NotifyRoleId\\\":null,\\\"NotifyUserId\\\":null,\\\"NotifyDynamicActor\\\":\\\"Issuer_BW\\\",\\\"EntityContext\\\":{\\\"Parameters\\\":{\\\"workPermitId\\\":\\\"470\\\",\\\"workPermitV2Id\\\":\\\"470\\\",\\\"orgId\\\":\\\"232\\\",\\\"viewLink\\\":\\\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/232/470?dlType=viewWorkPermitV2\\\",\\\"workPermitLink\\\":\\\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/232/470?dlType=viewWorkPermitV2\\\",\\\"emailFooter\\\":\\\"OQSHA Team\\\"}},\\\"ActorContext\\\":{\\\"AssignedUser\\\":[3978]},\\\"Metadata\\\":null}\"}"}

{"Timestamp":"2026-08-04T13:58:22.6793386+00:00","Level":"Information","Data":{"EventId":198610960},"Message":"Sent message ID 181d581f4cec3000 to DLQ"}

{"Timestamp":"2026-08-04T13:58:22.7798858+00:00","Level":"Information","Data":{"EventId":2427166996},"Message":"Notification event with message ID 181d581f4d6c3000 received: {\"TemplateId\":18,\"EntityType\":\"work_permit_v2\",\"EventType\":null,\"NotifyRoleId\":null,\"NotifyUserId\":null,\"NotifyDynamicActor\":\"Reviewer_BW\",\"EntityContext\":{\"Parameters\":{\"workPermitId\":\"470\",\"workPermitV2Id\":\"470\",\"orgId\":\"232\",\"viewLink\":\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/232/470?dlType=viewWorkPermitV2\",\"workPermitLink\":\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/232/470?dlType=viewWorkPermitV2\",\"emailFooter\":\"OQSHA Team\"}},\"ActorContext\":{\"AssignedUser\":[3978]},\"Metadata\":null}"}

{"Timestamp":"2026-08-04T13:58:22.7837193+00:00","Level":"Information","Data":{"EventId":3937843546},"Message":"Started processing notification for message ID 181d581f4d6c3000"}

{"Timestamp":"2026-08-04T13:58:22.7838727+00:00","Level":"Information","Data":{"EventId":741741389},"Message":"Looking up the notification handler for message ID 181d581f4d6c3000"}

{"Timestamp":"2026-08-04T13:58:22.7839340+00:00","Level":"Information","Data":{"EventId":3696460862},"Message":"Event handling in process for message ID 181d581f4d6c3000"}

{"Timestamp":"2026-08-04T13:58:22.7922051+00:00","Level":"Information","Data":{"EventId":2115290453},"Message":"Sending message ID 181d581f4d6c3000 to DLQ"}

{"Timestamp":"2026-08-04T13:58:22.7932233+00:00","Level":"Information","Data":{"EventId":676913863},"Message":"Dead letter envelope for DLQ message: {\"SourceTopic\":\"notification.orchestrator\",\"SourceChannel\":\"notification-orchestrator\",\"FailedAtUtc\":\"2026-08-04T13:58:22.7923681Z\",\"Attempts\":1,\"ErrorType\":\"OQSHA.Notification.Orchestrator.Exceptions.PermanentOrchestratorException\",\"ErrorMessage\":\"Unable to find any user IDs for dynamic actor Reviewer_BW for message ID 181d581f4d6c3000\",\"StackTrace\":\"   at OQSHA.Notification.Orchestrator.Services.UsersService.ResolveRecipientsAsync(String messageId, Int32 orgId, NotificationEventDto request) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\Services\\\\UsersService.cs:line 71\\r\\n   at OQSHA.Notification.Orchestrator.Services.UsersService.GetRecipientsWithDetailsAsync(String messageId, Int32 orgId, NotificationEventDto request, NotificationTemplatesDbo notificationTemplate) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\Services\\\\UsersService.cs:line 134\\r\\n   at OQSHA.Notification.Orchestrator.NotificationHandlers.WorkPermitV2NotificationHandler.HandleAsync(String messageId, NotificationEventDto request) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\NotificationHandlers\\\\WorkPermitV2NotificationHandler.cs:line 62\\r\\n   at OQSHA.Notification.Orchestrator.NotificationHandlers.WorkPermitV2NotificationHandler.ProcessEventAsync(String messageId, NotificationEventDto request) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\NotificationHandlers\\\\WorkPermitV2NotificationHandler.cs:line 46\\r\\n   at OQSHA.Notification.Orchestrator.Routing.EventRouter.ExecuteAsync(String messageId, NotificationEventDto request) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\Routing\\\\EventRouter.cs:line 38\\r\\n   at OQSHA.Notification.Orchestrator.Worker.OrchestratorMessageHandler.HandleMessage(IMessage message) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\Worker\\\\OrchestratorMessageHandler.cs:line 44\",\"OriginalBody\":\"{\\\"TemplateId\\\":18,\\\"EntityType\\\":\\\"work_permit_v2\\\",\\\"EventType\\\":null,\\\"NotifyRoleId\\\":null,\\\"NotifyUserId\\\":null,\\\"NotifyDynamicActor\\\":\\\"Reviewer_BW\\\",\\\"EntityContext\\\":{\\\"Parameters\\\":{\\\"workPermitId\\\":\\\"470\\\",\\\"workPermitV2Id\\\":\\\"470\\\",\\\"orgId\\\":\\\"232\\\",\\\"viewLink\\\":\\\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/232/470?dlType=viewWorkPermitV2\\\",\\\"workPermitLink\\\":\\\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/232/470?dlType=viewWorkPermitV2\\\",\\\"emailFooter\\\":\\\"OQSHA Team\\\"}},\\\"ActorContext\\\":{\\\"AssignedUser\\\":[3978]},\\\"Metadata\\\":null}\"}"}

{"Timestamp":"2026-08-04T13:58:22.7951806+00:00","Level":"Information","Data":{"EventId":3478841071},"Message":"Sent message ID 181d581f4d6c3000 to DLQ"}

{"Timestamp":"2026-08-04T13:58:22.7957636+00:00","Level":"Information","Data":{"EventId":2985258650},"Message":"Notification event with message ID 181d581f4dac3000 received: {\"TemplateId\":22,\"EntityType\":\"work_permit_v2\",\"EventType\":null,\"NotifyRoleId\":null,\"NotifyUserId\":null,\"NotifyDynamicActor\":null,\"EntityContext\":{\"Parameters\":{\"workPermitId\":\"470\",\"workPermitV2Id\":\"470\",\"orgId\":\"232\",\"viewLink\":\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/232/470?dlType=viewWorkPermitV2\",\"workPermitLink\":\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/232/470?dlType=viewWorkPermitV2\",\"emailFooter\":\"OQSHA Team\"}},\"ActorContext\":{\"AssignedUser\":[3978]},\"Metadata\":null}"}

{"Timestamp":"2026-08-04T13:58:22.7998389+00:00","Level":"Information","Data":{"EventId":3242046273},"Message":"Started processing notification for message ID 181d581f4dac3000"}

{"Timestamp":"2026-08-04T13:58:22.7999602+00:00","Level":"Information","Data":{"EventId":3328595679},"Message":"Looking up the notification handler for message ID 181d581f4dac3000"}

{"Timestamp":"2026-08-04T13:58:22.8000215+00:00","Level":"Information","Data":{"EventId":3266347053},"Message":"Event handling in process for message ID 181d581f4dac3000"}

{"Timestamp":"2026-08-04T13:58:22.8057986+00:00","Level":"Information","Data":{"EventId":1774251592},"Message":"Sending message ID 181d581f4dac3000 to DLQ"}

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

{"Timestamp":"2026-08-04T13:58:22.8083894+00:00","Level":"Information","Data":{"EventId":351612750},"Message":"Sent message ID 181d581f4dac3000 to DLQ"}

{"Timestamp":"2026-08-04T14:02:33.8829427+00:00","Level":"Information","Data":{"EventId":55684863},"Message":"Notification event with message ID 181d590941ec3000 received: {\"TemplateId\":22,\"EntityType\":\"work_permit_v2\",\"EventType\":null,\"NotifyRoleId\":null,\"NotifyUserId\":null,\"NotifyDynamicActor\":\"Approver_BW\",\"EntityContext\":{\"Parameters\":{\"workPermitId\":\"470\",\"workPermitV2Id\":\"470\",\"orgId\":\"232\",\"viewLink\":\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/232/470?dlType=viewWorkPermitV2\",\"workPermitLink\":\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/232/470?dlType=viewWorkPermitV2\",\"emailFooter\":\"OQSHA Team\"}},\"ActorContext\":{\"AssignedUser\":[3978]},\"Metadata\":null}"}

{"Timestamp":"2026-08-04T14:02:33.8850436+00:00","Level":"Information","Data":{"EventId":634302603},"Message":"Started processing notification for message ID 181d590941ec3000"}

{"Timestamp":"2026-08-04T14:02:33.8850852+00:00","Level":"Information","Data":{"EventId":487096805},"Message":"Looking up the notification handler for message ID 181d590941ec3000"}

{"Timestamp":"2026-08-04T14:02:33.8851003+00:00","Level":"Information","Data":{"EventId":3198036062},"Message":"Event handling in process for message ID 181d590941ec3000"}

{"Timestamp":"2026-08-04T14:02:33.8912493+00:00","Level":"Information","Data":{"EventId":1877923232},"Message":"Sending message ID 181d590941ec3000 to DLQ"}

{"Timestamp":"2026-08-04T14:02:33.8914731+00:00","Level":"Information","Data":{"EventId":723597968},"Message":"Dead letter envelope for DLQ message: {\"SourceTopic\":\"notification.orchestrator\",\"SourceChannel\":\"notification-orchestrator\",\"FailedAtUtc\":\"2026-08-04T14:02:33.8912965Z\",\"Attempts\":1,\"ErrorType\":\"OQSHA.Notification.Orchestrator.Exceptions.PermanentOrchestratorException\",\"ErrorMessage\":\"Unable to find any user IDs for dynamic actor Approver_BW for message ID 181d590941ec3000\",\"StackTrace\":\"   at OQSHA.Notification.Orchestrator.Services.UsersService.ResolveRecipientsAsync(String messageId, Int32 orgId, NotificationEventDto request) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\Services\\\\UsersService.cs:line 71\\r\\n   at OQSHA.Notification.Orchestrator.Services.UsersService.GetRecipientsWithDetailsAsync(String messageId, Int32 orgId, NotificationEventDto request, NotificationTemplatesDbo notificationTemplate) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\Services\\\\UsersService.cs:line 134\\r\\n   at OQSHA.Notification.Orchestrator.NotificationHandlers.WorkPermitV2NotificationHandler.HandleAsync(String messageId, NotificationEventDto request) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\NotificationHandlers\\\\WorkPermitV2NotificationHandler.cs:line 62\\r\\n   at OQSHA.Notification.Orchestrator.NotificationHandlers.WorkPermitV2NotificationHandler.ProcessEventAsync(String messageId, NotificationEventDto request) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\NotificationHandlers\\\\WorkPermitV2NotificationHandler.cs:line 46\\r\\n   at OQSHA.Notification.Orchestrator.Routing.EventRouter.ExecuteAsync(String messageId, NotificationEventDto request) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\Routing\\\\EventRouter.cs:line 38\\r\\n   at OQSHA.Notification.Orchestrator.Worker.OrchestratorMessageHandler.HandleMessage(IMessage message) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\Worker\\\\OrchestratorMessageHandler.cs:line 44\",\"OriginalBody\":\"{\\\"TemplateId\\\":22,\\\"EntityType\\\":\\\"work_permit_v2\\\",\\\"EventType\\\":null,\\\"NotifyRoleId\\\":null,\\\"NotifyUserId\\\":null,\\\"NotifyDynamicActor\\\":\\\"Approver_BW\\\",\\\"EntityContext\\\":{\\\"Parameters\\\":{\\\"workPermitId\\\":\\\"470\\\",\\\"workPermitV2Id\\\":\\\"470\\\",\\\"orgId\\\":\\\"232\\\",\\\"viewLink\\\":\\\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/232/470?dlType=viewWorkPermitV2\\\",\\\"workPermitLink\\\":\\\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/232/470?dlType=viewWorkPermitV2\\\",\\\"emailFooter\\\":\\\"OQSHA Team\\\"}},\\\"ActorContext\\\":{\\\"AssignedUser\\\":[3978]},\\\"Metadata\\\":null}\"}"}

{"Timestamp":"2026-08-04T14:02:33.8918994+00:00","Level":"Information","Data":{"EventId":2833391527},"Message":"Sent message ID 181d590941ec3000 to DLQ"}

{"Timestamp":"2026-08-04T14:02:34.0272370+00:00","Level":"Information","Data":{"EventId":1825462942},"Message":"Notification event with message ID 181d590942ec3000 received: {\"TemplateId\":22,\"EntityType\":\"work_permit_v2\",\"EventType\":null,\"NotifyRoleId\":null,\"NotifyUserId\":null,\"NotifyDynamicActor\":\"Issuer_BW\",\"EntityContext\":{\"Parameters\":{\"workPermitId\":\"470\",\"workPermitV2Id\":\"470\",\"orgId\":\"232\",\"viewLink\":\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/232/470?dlType=viewWorkPermitV2\",\"workPermitLink\":\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/232/470?dlType=viewWorkPermitV2\",\"emailFooter\":\"OQSHA Team\"}},\"ActorContext\":{\"AssignedUser\":[3978]},\"Metadata\":null}"}

{"Timestamp":"2026-08-04T14:02:34.0304311+00:00","Level":"Information","Data":{"EventId":1360434504},"Message":"Started processing notification for message ID 181d590942ec3000"}

{"Timestamp":"2026-08-04T14:02:34.0305303+00:00","Level":"Information","Data":{"EventId":40874260},"Message":"Looking up the notification handler for message ID 181d590942ec3000"}

{"Timestamp":"2026-08-04T14:02:34.0306342+00:00","Level":"Information","Data":{"EventId":3794562702},"Message":"Event handling in process for message ID 181d590942ec3000"}

{"Timestamp":"2026-08-04T14:02:34.0364244+00:00","Level":"Information","Data":{"EventId":3544641169},"Message":"Sending message ID 181d590942ec3000 to DLQ"}

{"Timestamp":"2026-08-04T14:02:34.0380433+00:00","Level":"Information","Data":{"EventId":4197061315},"Message":"Dead letter envelope for DLQ message: {\"SourceTopic\":\"notification.orchestrator\",\"SourceChannel\":\"notification-orchestrator\",\"FailedAtUtc\":\"2026-08-04T14:02:34.0364674Z\",\"Attempts\":1,\"ErrorType\":\"OQSHA.Notification.Orchestrator.Exceptions.PermanentOrchestratorException\",\"ErrorMessage\":\"Unable to find any user IDs for dynamic actor Issuer_BW for message ID 181d590942ec3000\",\"StackTrace\":\"   at OQSHA.Notification.Orchestrator.Services.UsersService.ResolveRecipientsAsync(String messageId, Int32 orgId, NotificationEventDto request) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\Services\\\\UsersService.cs:line 71\\r\\n   at OQSHA.Notification.Orchestrator.Services.UsersService.GetRecipientsWithDetailsAsync(String messageId, Int32 orgId, NotificationEventDto request, NotificationTemplatesDbo notificationTemplate) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\Services\\\\UsersService.cs:line 134\\r\\n   at OQSHA.Notification.Orchestrator.NotificationHandlers.WorkPermitV2NotificationHandler.HandleAsync(String messageId, NotificationEventDto request) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\NotificationHandlers\\\\WorkPermitV2NotificationHandler.cs:line 62\\r\\n   at OQSHA.Notification.Orchestrator.NotificationHandlers.WorkPermitV2NotificationHandler.ProcessEventAsync(String messageId, NotificationEventDto request) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\NotificationHandlers\\\\WorkPermitV2NotificationHandler.cs:line 46\\r\\n   at OQSHA.Notification.Orchestrator.Routing.EventRouter.ExecuteAsync(String messageId, NotificationEventDto request) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\Routing\\\\EventRouter.cs:line 38\\r\\n   at OQSHA.Notification.Orchestrator.Worker.OrchestratorMessageHandler.HandleMessage(IMessage message) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\Worker\\\\OrchestratorMessageHandler.cs:line 44\",\"OriginalBody\":\"{\\\"TemplateId\\\":22,\\\"EntityType\\\":\\\"work_permit_v2\\\",\\\"EventType\\\":null,\\\"NotifyRoleId\\\":null,\\\"NotifyUserId\\\":null,\\\"NotifyDynamicActor\\\":\\\"Issuer_BW\\\",\\\"EntityContext\\\":{\\\"Parameters\\\":{\\\"workPermitId\\\":\\\"470\\\",\\\"workPermitV2Id\\\":\\\"470\\\",\\\"orgId\\\":\\\"232\\\",\\\"viewLink\\\":\\\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/232/470?dlType=viewWorkPermitV2\\\",\\\"workPermitLink\\\":\\\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/232/470?dlType=viewWorkPermitV2\\\",\\\"emailFooter\\\":\\\"OQSHA Team\\\"}},\\\"ActorContext\\\":{\\\"AssignedUser\\\":[3978]},\\\"Metadata\\\":null}\"}"}

{"Timestamp":"2026-08-04T14:02:34.0390388+00:00","Level":"Information","Data":{"EventId":164553069},"Message":"Sent message ID 181d590942ec3000 to DLQ"}

{"Timestamp":"2026-08-04T14:02:34.0394328+00:00","Level":"Information","Data":{"EventId":1499757135},"Message":"Notification event with message ID 181d5909432c3000 received: {\"TemplateId\":22,\"EntityType\":\"work_permit_v2\",\"EventType\":null,\"NotifyRoleId\":null,\"NotifyUserId\":null,\"NotifyDynamicActor\":null,\"EntityContext\":{\"Parameters\":{\"workPermitId\":\"470\",\"workPermitV2Id\":\"470\",\"orgId\":\"232\",\"viewLink\":\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/232/470?dlType=viewWorkPermitV2\",\"workPermitLink\":\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/232/470?dlType=viewWorkPermitV2\",\"emailFooter\":\"OQSHA Team\"}},\"ActorContext\":{\"AssignedUser\":[3978]},\"Metadata\":null}"}

{"Timestamp":"2026-08-04T14:02:34.0418648+00:00","Level":"Information","Data":{"EventId":4184066202},"Message":"Started processing notification for message ID 181d5909432c3000"}

{"Timestamp":"2026-08-04T14:02:34.0418978+00:00","Level":"Information","Data":{"EventId":1281613426},"Message":"Looking up the notification handler for message ID 181d5909432c3000"}

{"Timestamp":"2026-08-04T14:02:34.0419202+00:00","Level":"Information","Data":{"EventId":3405071634},"Message":"Event handling in process for message ID 181d5909432c3000"}

{"Timestamp":"2026-08-04T14:02:34.0466981+00:00","Level":"Information","Data":{"EventId":2739437543},"Message":"Sending message ID 181d5909432c3000 to DLQ"}

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

{"Timestamp":"2026-08-04T14:02:34.0474029+00:00","Level":"Information","Data":{"EventId":3186329218},"Message":"Sent message ID 181d5909432c3000 to DLQ"}

{"Timestamp":"2026-08-04T14:02:39.1707694+00:00","Level":"Information","Data":{"EventId":4037009060},"Message":"Notification event with message ID 181d590e2eac3000 received: {\"TemplateId\":20,\"EntityType\":\"work_permit_v2\",\"EventType\":null,\"NotifyRoleId\":null,\"NotifyUserId\":null,\"NotifyDynamicActor\":\"Ext_Issuer_BW\",\"EntityContext\":{\"Parameters\":{\"workPermitId\":\"470\",\"workPermitV2Id\":\"470\",\"orgId\":\"232\",\"viewLink\":\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/232/470?dlType=viewWorkPermitV2\",\"workPermitLink\":\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/232/470?dlType=viewWorkPermitV2\",\"emailFooter\":\"OQSHA Team\"}},\"ActorContext\":{\"AssignedUser\":[3978]},\"Metadata\":null}"}

{"Timestamp":"2026-08-04T14:02:39.1724294+00:00","Level":"Information","Data":{"EventId":1136915884},"Message":"Started processing notification for message ID 181d590e2eac3000"}

{"Timestamp":"2026-08-04T14:02:39.1724604+00:00","Level":"Information","Data":{"EventId":336669269},"Message":"Looking up the notification handler for message ID 181d590e2eac3000"}

{"Timestamp":"2026-08-04T14:02:39.1724719+00:00","Level":"Information","Data":{"EventId":1750563771},"Message":"Event handling in process for message ID 181d590e2eac3000"}

{"Timestamp":"2026-08-04T14:02:39.1757836+00:00","Level":"Information","Data":{"EventId":3059250205},"Message":"Sending message ID 181d590e2eac3000 to DLQ"}

{"Timestamp":"2026-08-04T14:02:39.1759701+00:00","Level":"Information","Data":{"EventId":2432106770},"Message":"Dead letter envelope for DLQ message: {\"SourceTopic\":\"notification.orchestrator\",\"SourceChannel\":\"notification-orchestrator\",\"FailedAtUtc\":\"2026-08-04T14:02:39.1758115Z\",\"Attempts\":1,\"ErrorType\":\"OQSHA.Notification.Orchestrator.Exceptions.PermanentOrchestratorException\",\"ErrorMessage\":\"Unable to find any user IDs for dynamic actor Ext_Issuer_BW for message ID 181d590e2eac3000\",\"StackTrace\":\"   at OQSHA.Notification.Orchestrator.Services.UsersService.ResolveRecipientsAsync(String messageId, Int32 orgId, NotificationEventDto request) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\Services\\\\UsersService.cs:line 71\\r\\n   at OQSHA.Notification.Orchestrator.Services.UsersService.GetRecipientsWithDetailsAsync(String messageId, Int32 orgId, NotificationEventDto request, NotificationTemplatesDbo notificationTemplate) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\Services\\\\UsersService.cs:line 134\\r\\n   at OQSHA.Notification.Orchestrator.NotificationHandlers.WorkPermitV2NotificationHandler.HandleAsync(String messageId, NotificationEventDto request) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\NotificationHandlers\\\\WorkPermitV2NotificationHandler.cs:line 62\\r\\n   at OQSHA.Notification.Orchestrator.NotificationHandlers.WorkPermitV2NotificationHandler.ProcessEventAsync(String messageId, NotificationEventDto request) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\NotificationHandlers\\\\WorkPermitV2NotificationHandler.cs:line 46\\r\\n   at OQSHA.Notification.Orchestrator.Routing.EventRouter.ExecuteAsync(String messageId, NotificationEventDto request) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\Routing\\\\EventRouter.cs:line 38\\r\\n   at OQSHA.Notification.Orchestrator.Worker.OrchestratorMessageHandler.HandleMessage(IMessage message) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\Worker\\\\OrchestratorMessageHandler.cs:line 44\",\"OriginalBody\":\"{\\\"TemplateId\\\":20,\\\"EntityType\\\":\\\"work_permit_v2\\\",\\\"EventType\\\":null,\\\"NotifyRoleId\\\":null,\\\"NotifyUserId\\\":null,\\\"NotifyDynamicActor\\\":\\\"Ext_Issuer_BW\\\",\\\"EntityContext\\\":{\\\"Parameters\\\":{\\\"workPermitId\\\":\\\"470\\\",\\\"workPermitV2Id\\\":\\\"470\\\",\\\"orgId\\\":\\\"232\\\",\\\"viewLink\\\":\\\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/232/470?dlType=viewWorkPermitV2\\\",\\\"workPermitLink\\\":\\\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/232/470?dlType=viewWorkPermitV2\\\",\\\"emailFooter\\\":\\\"OQSHA Team\\\"}},\\\"ActorContext\\\":{\\\"AssignedUser\\\":[3978]},\\\"Metadata\\\":null}\"}"}

{"Timestamp":"2026-08-04T14:02:39.1763973+00:00","Level":"Information","Data":{"EventId":1709390820},"Message":"Sent message ID 181d590e2eac3000 to DLQ"}

{"Timestamp":"2026-08-04T14:02:51.8048692+00:00","Level":"Information","Data":{"EventId":803564881},"Message":"Notification event with message ID 181d5919f2ec3000 received: {\"TemplateId\":20,\"EntityType\":\"work_permit_v2\",\"EventType\":null,\"NotifyRoleId\":null,\"NotifyUserId\":null,\"NotifyDynamicActor\":\"Ext_Approver_BW\",\"EntityContext\":{\"Parameters\":{\"workPermitId\":\"470\",\"workPermitV2Id\":\"470\",\"orgId\":\"232\",\"viewLink\":\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/232/470?dlType=viewWorkPermitV2\",\"workPermitLink\":\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/232/470?dlType=viewWorkPermitV2\",\"emailFooter\":\"OQSHA Team\"}},\"ActorContext\":{\"AssignedUser\":[3978]},\"Metadata\":null}"}

{"Timestamp":"2026-08-04T14:02:51.8067115+00:00","Level":"Information","Data":{"EventId":11775154},"Message":"Started processing notification for message ID 181d5919f2ec3000"}

{"Timestamp":"2026-08-04T14:02:51.8067437+00:00","Level":"Information","Data":{"EventId":3813506209},"Message":"Looking up the notification handler for message ID 181d5919f2ec3000"}

{"Timestamp":"2026-08-04T14:02:51.8067555+00:00","Level":"Information","Data":{"EventId":3987624257},"Message":"Event handling in process for message ID 181d5919f2ec3000"}

{"Timestamp":"2026-08-04T14:02:51.8096488+00:00","Level":"Information","Data":{"EventId":463485897},"Message":"Sending message ID 181d5919f2ec3000 to DLQ"}

{"Timestamp":"2026-08-04T14:02:51.8098413+00:00","Level":"Information","Data":{"EventId":1191404238},"Message":"Dead letter envelope for DLQ message: {\"SourceTopic\":\"notification.orchestrator\",\"SourceChannel\":\"notification-orchestrator\",\"FailedAtUtc\":\"2026-08-04T14:02:51.809679Z\",\"Attempts\":1,\"ErrorType\":\"OQSHA.Notification.Orchestrator.Exceptions.PermanentOrchestratorException\",\"ErrorMessage\":\"Unable to find any user IDs for dynamic actor Ext_Approver_BW for message ID 181d5919f2ec3000\",\"StackTrace\":\"   at OQSHA.Notification.Orchestrator.Services.UsersService.ResolveRecipientsAsync(String messageId, Int32 orgId, NotificationEventDto request) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\Services\\\\UsersService.cs:line 71\\r\\n   at OQSHA.Notification.Orchestrator.Services.UsersService.GetRecipientsWithDetailsAsync(String messageId, Int32 orgId, NotificationEventDto request, NotificationTemplatesDbo notificationTemplate) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\Services\\\\UsersService.cs:line 134\\r\\n   at OQSHA.Notification.Orchestrator.NotificationHandlers.WorkPermitV2NotificationHandler.HandleAsync(String messageId, NotificationEventDto request) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\NotificationHandlers\\\\WorkPermitV2NotificationHandler.cs:line 62\\r\\n   at OQSHA.Notification.Orchestrator.NotificationHandlers.WorkPermitV2NotificationHandler.ProcessEventAsync(String messageId, NotificationEventDto request) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\NotificationHandlers\\\\WorkPermitV2NotificationHandler.cs:line 46\\r\\n   at OQSHA.Notification.Orchestrator.Routing.EventRouter.ExecuteAsync(String messageId, NotificationEventDto request) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\Routing\\\\EventRouter.cs:line 38\\r\\n   at OQSHA.Notification.Orchestrator.Worker.OrchestratorMessageHandler.HandleMessage(IMessage message) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\Worker\\\\OrchestratorMessageHandler.cs:line 44\",\"OriginalBody\":\"{\\\"TemplateId\\\":20,\\\"EntityType\\\":\\\"work_permit_v2\\\",\\\"EventType\\\":null,\\\"NotifyRoleId\\\":null,\\\"NotifyUserId\\\":null,\\\"NotifyDynamicActor\\\":\\\"Ext_Approver_BW\\\",\\\"EntityContext\\\":{\\\"Parameters\\\":{\\\"workPermitId\\\":\\\"470\\\",\\\"workPermitV2Id\\\":\\\"470\\\",\\\"orgId\\\":\\\"232\\\",\\\"viewLink\\\":\\\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/232/470?dlType=viewWorkPermitV2\\\",\\\"workPermitLink\\\":\\\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/232/470?dlType=viewWorkPermitV2\\\",\\\"emailFooter\\\":\\\"OQSHA Team\\\"}},\\\"ActorContext\\\":{\\\"AssignedUser\\\":[3978]},\\\"Metadata\\\":null}\"}"}

{"Timestamp":"2026-08-04T14:02:51.8102245+00:00","Level":"Information","Data":{"EventId":4035663148},"Message":"Sent message ID 181d5919f2ec3000 to DLQ"}

{"Timestamp":"2026-08-04T14:02:59.8738824+00:00","Level":"Information","Data":{"EventId":4138217386},"Message":"Notification event with message ID 181d592176ec3000 received: {\"TemplateId\":20,\"EntityType\":\"work_permit_v2\",\"EventType\":null,\"NotifyRoleId\":null,\"NotifyUserId\":null,\"NotifyDynamicActor\":\"Ext_Reviewer_BW\",\"EntityContext\":{\"Parameters\":{\"workPermitId\":\"470\",\"workPermitV2Id\":\"470\",\"orgId\":\"232\",\"viewLink\":\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/232/470?dlType=viewWorkPermitV2\",\"workPermitLink\":\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/232/470?dlType=viewWorkPermitV2\",\"emailFooter\":\"OQSHA Team\"}},\"ActorContext\":{\"AssignedUser\":[3978]},\"Metadata\":null}"}

{"Timestamp":"2026-08-04T14:02:59.8755468+00:00","Level":"Information","Data":{"EventId":2079050317},"Message":"Started processing notification for message ID 181d592176ec3000"}

{"Timestamp":"2026-08-04T14:02:59.8755811+00:00","Level":"Information","Data":{"EventId":543872452},"Message":"Looking up the notification handler for message ID 181d592176ec3000"}

{"Timestamp":"2026-08-04T14:02:59.8756202+00:00","Level":"Information","Data":{"EventId":4170062408},"Message":"Event handling in process for message ID 181d592176ec3000"}

{"Timestamp":"2026-08-04T14:02:59.8803672+00:00","Level":"Information","Data":{"EventId":1450278671},"Message":"Sending message ID 181d592176ec3000 to DLQ"}

{"Timestamp":"2026-08-04T14:02:59.8805645+00:00","Level":"Information","Data":{"EventId":3533763821},"Message":"Dead letter envelope for DLQ message: {\"SourceTopic\":\"notification.orchestrator\",\"SourceChannel\":\"notification-orchestrator\",\"FailedAtUtc\":\"2026-08-04T14:02:59.8804034Z\",\"Attempts\":1,\"ErrorType\":\"OQSHA.Notification.Orchestrator.Exceptions.PermanentOrchestratorException\",\"ErrorMessage\":\"Unable to find any user IDs for dynamic actor Ext_Reviewer_BW for message ID 181d592176ec3000\",\"StackTrace\":\"   at OQSHA.Notification.Orchestrator.Services.UsersService.ResolveRecipientsAsync(String messageId, Int32 orgId, NotificationEventDto request) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\Services\\\\UsersService.cs:line 71\\r\\n   at OQSHA.Notification.Orchestrator.Services.UsersService.GetRecipientsWithDetailsAsync(String messageId, Int32 orgId, NotificationEventDto request, NotificationTemplatesDbo notificationTemplate) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\Services\\\\UsersService.cs:line 134\\r\\n   at OQSHA.Notification.Orchestrator.NotificationHandlers.WorkPermitV2NotificationHandler.HandleAsync(String messageId, NotificationEventDto request) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\NotificationHandlers\\\\WorkPermitV2NotificationHandler.cs:line 62\\r\\n   at OQSHA.Notification.Orchestrator.NotificationHandlers.WorkPermitV2NotificationHandler.ProcessEventAsync(String messageId, NotificationEventDto request) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\NotificationHandlers\\\\WorkPermitV2NotificationHandler.cs:line 46\\r\\n   at OQSHA.Notification.Orchestrator.Routing.EventRouter.ExecuteAsync(String messageId, NotificationEventDto request) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\Routing\\\\EventRouter.cs:line 38\\r\\n   at OQSHA.Notification.Orchestrator.Worker.OrchestratorMessageHandler.HandleMessage(IMessage message) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\Worker\\\\OrchestratorMessageHandler.cs:line 44\",\"OriginalBody\":\"{\\\"TemplateId\\\":20,\\\"EntityType\\\":\\\"work_permit_v2\\\",\\\"EventType\\\":null,\\\"NotifyRoleId\\\":null,\\\"NotifyUserId\\\":null,\\\"NotifyDynamicActor\\\":\\\"Ext_Reviewer_BW\\\",\\\"EntityContext\\\":{\\\"Parameters\\\":{\\\"workPermitId\\\":\\\"470\\\",\\\"workPermitV2Id\\\":\\\"470\\\",\\\"orgId\\\":\\\"232\\\",\\\"viewLink\\\":\\\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/232/470?dlType=viewWorkPermitV2\\\",\\\"workPermitLink\\\":\\\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/232/470?dlType=viewWorkPermitV2\\\",\\\"emailFooter\\\":\\\"OQSHA Team\\\"}},\\\"ActorContext\\\":{\\\"AssignedUser\\\":[3978]},\\\"Metadata\\\":null}\"}"}

{"Timestamp":"2026-08-04T14:02:59.8809826+00:00","Level":"Information","Data":{"EventId":1495385412},"Message":"Sent message ID 181d592176ec3000 to DLQ"}

{"Timestamp":"2026-08-04T14:03:07.2658984+00:00","Level":"Information","Data":{"EventId":1379632848},"Message":"Notification event with message ID 181d592858ec3000 received: {\"TemplateId\":18,\"EntityType\":\"work_permit_v2\",\"EventType\":null,\"NotifyRoleId\":null,\"NotifyUserId\":null,\"NotifyDynamicActor\":\"Ext_Approver_BW\",\"EntityContext\":{\"Parameters\":{\"workPermitId\":\"470\",\"workPermitV2Id\":\"470\",\"orgId\":\"232\",\"viewLink\":\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/232/470?dlType=viewWorkPermitV2\",\"workPermitLink\":\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/232/470?dlType=viewWorkPermitV2\",\"emailFooter\":\"OQSHA Team\"}},\"ActorContext\":{\"AssignedUser\":[3978]},\"Metadata\":null}"}

{"Timestamp":"2026-08-04T14:03:07.2685381+00:00","Level":"Information","Data":{"EventId":4263682646},"Message":"Started processing notification for message ID 181d592858ec3000"}

{"Timestamp":"2026-08-04T14:03:07.2685778+00:00","Level":"Information","Data":{"EventId":1452695598},"Message":"Looking up the notification handler for message ID 181d592858ec3000"}

{"Timestamp":"2026-08-04T14:03:07.2685935+00:00","Level":"Information","Data":{"EventId":1228538701},"Message":"Event handling in process for message ID 181d592858ec3000"}

{"Timestamp":"2026-08-04T14:03:07.2737171+00:00","Level":"Information","Data":{"EventId":3650805571},"Message":"Sending message ID 181d592858ec3000 to DLQ"}

{"Timestamp":"2026-08-04T14:03:07.2739442+00:00","Level":"Information","Data":{"EventId":630868053},"Message":"Dead letter envelope for DLQ message: {\"SourceTopic\":\"notification.orchestrator\",\"SourceChannel\":\"notification-orchestrator\",\"FailedAtUtc\":\"2026-08-04T14:03:07.2737575Z\",\"Attempts\":1,\"ErrorType\":\"OQSHA.Notification.Orchestrator.Exceptions.PermanentOrchestratorException\",\"ErrorMessage\":\"Unable to find any user IDs for dynamic actor Ext_Approver_BW for message ID 181d592858ec3000\",\"StackTrace\":\"   at OQSHA.Notification.Orchestrator.Services.UsersService.ResolveRecipientsAsync(String messageId, Int32 orgId, NotificationEventDto request) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\Services\\\\UsersService.cs:line 71\\r\\n   at OQSHA.Notification.Orchestrator.Services.UsersService.GetRecipientsWithDetailsAsync(String messageId, Int32 orgId, NotificationEventDto request, NotificationTemplatesDbo notificationTemplate) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\Services\\\\UsersService.cs:line 134\\r\\n   at OQSHA.Notification.Orchestrator.NotificationHandlers.WorkPermitV2NotificationHandler.HandleAsync(String messageId, NotificationEventDto request) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\NotificationHandlers\\\\WorkPermitV2NotificationHandler.cs:line 62\\r\\n   at OQSHA.Notification.Orchestrator.NotificationHandlers.WorkPermitV2NotificationHandler.ProcessEventAsync(String messageId, NotificationEventDto request) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\NotificationHandlers\\\\WorkPermitV2NotificationHandler.cs:line 46\\r\\n   at OQSHA.Notification.Orchestrator.Routing.EventRouter.ExecuteAsync(String messageId, NotificationEventDto request) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\Routing\\\\EventRouter.cs:line 38\\r\\n   at OQSHA.Notification.Orchestrator.Worker.OrchestratorMessageHandler.HandleMessage(IMessage message) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\Worker\\\\OrchestratorMessageHandler.cs:line 44\",\"OriginalBody\":\"{\\\"TemplateId\\\":18,\\\"EntityType\\\":\\\"work_permit_v2\\\",\\\"EventType\\\":null,\\\"NotifyRoleId\\\":null,\\\"NotifyUserId\\\":null,\\\"NotifyDynamicActor\\\":\\\"Ext_Approver_BW\\\",\\\"EntityContext\\\":{\\\"Parameters\\\":{\\\"workPermitId\\\":\\\"470\\\",\\\"workPermitV2Id\\\":\\\"470\\\",\\\"orgId\\\":\\\"232\\\",\\\"viewLink\\\":\\\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/232/470?dlType=viewWorkPermitV2\\\",\\\"workPermitLink\\\":\\\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/232/470?dlType=viewWorkPermitV2\\\",\\\"emailFooter\\\":\\\"OQSHA Team\\\"}},\\\"ActorContext\\\":{\\\"AssignedUser\\\":[3978]},\\\"Metadata\\\":null}\"}"}

{"Timestamp":"2026-08-04T14:03:07.2745150+00:00","Level":"Information","Data":{"EventId":1856790612},"Message":"Sent message ID 181d592858ec3000 to DLQ"}

{"Timestamp":"2026-08-04T14:03:07.2746550+00:00","Level":"Information","Data":{"EventId":4039692813},"Message":"Notification event with message ID 181d592859ec3000 received: {\"TemplateId\":22,\"EntityType\":\"work_permit_v2\",\"EventType\":null,\"NotifyRoleId\":null,\"NotifyUserId\":null,\"NotifyDynamicActor\":\"Ext_Issuer_BW\",\"EntityContext\":{\"Parameters\":{\"workPermitId\":\"470\",\"workPermitV2Id\":\"470\",\"orgId\":\"232\",\"viewLink\":\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/232/470?dlType=viewWorkPermitV2\",\"workPermitLink\":\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/232/470?dlType=viewWorkPermitV2\",\"emailFooter\":\"OQSHA Team\"}},\"ActorContext\":{\"AssignedUser\":[3978]},\"Metadata\":null}"}

{"Timestamp":"2026-08-04T14:03:07.2765065+00:00","Level":"Information","Data":{"EventId":630728023},"Message":"Started processing notification for message ID 181d592859ec3000"}

{"Timestamp":"2026-08-04T14:03:07.2765257+00:00","Level":"Information","Data":{"EventId":4027702399},"Message":"Looking up the notification handler for message ID 181d592859ec3000"}

{"Timestamp":"2026-08-04T14:03:07.2765367+00:00","Level":"Information","Data":{"EventId":3547462709},"Message":"Event handling in process for message ID 181d592859ec3000"}

{"Timestamp":"2026-08-04T14:03:07.2813774+00:00","Level":"Information","Data":{"EventId":9571585},"Message":"Sending message ID 181d592859ec3000 to DLQ"}

{"Timestamp":"2026-08-04T14:03:07.2815410+00:00","Level":"Information","Data":{"EventId":1086625695},"Message":"Dead letter envelope for DLQ message: {\"SourceTopic\":\"notification.orchestrator\",\"SourceChannel\":\"notification-orchestrator\",\"FailedAtUtc\":\"2026-08-04T14:03:07.2814038Z\",\"Attempts\":1,\"ErrorType\":\"OQSHA.Notification.Orchestrator.Exceptions.PermanentOrchestratorException\",\"ErrorMessage\":\"Unable to find any user IDs for dynamic actor Ext_Issuer_BW for message ID 181d592859ec3000\",\"StackTrace\":\"   at OQSHA.Notification.Orchestrator.Services.UsersService.ResolveRecipientsAsync(String messageId, Int32 orgId, NotificationEventDto request) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\Services\\\\UsersService.cs:line 71\\r\\n   at OQSHA.Notification.Orchestrator.Services.UsersService.GetRecipientsWithDetailsAsync(String messageId, Int32 orgId, NotificationEventDto request, NotificationTemplatesDbo notificationTemplate) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\Services\\\\UsersService.cs:line 134\\r\\n   at OQSHA.Notification.Orchestrator.NotificationHandlers.WorkPermitV2NotificationHandler.HandleAsync(String messageId, NotificationEventDto request) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\NotificationHandlers\\\\WorkPermitV2NotificationHandler.cs:line 62\\r\\n   at OQSHA.Notification.Orchestrator.NotificationHandlers.WorkPermitV2NotificationHandler.ProcessEventAsync(String messageId, NotificationEventDto request) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\NotificationHandlers\\\\WorkPermitV2NotificationHandler.cs:line 46\\r\\n   at OQSHA.Notification.Orchestrator.Routing.EventRouter.ExecuteAsync(String messageId, NotificationEventDto request) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\Routing\\\\EventRouter.cs:line 38\\r\\n   at OQSHA.Notification.Orchestrator.Worker.OrchestratorMessageHandler.HandleMessage(IMessage message) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\Worker\\\\OrchestratorMessageHandler.cs:line 44\",\"OriginalBody\":\"{\\\"TemplateId\\\":22,\\\"EntityType\\\":\\\"work_permit_v2\\\",\\\"EventType\\\":null,\\\"NotifyRoleId\\\":null,\\\"NotifyUserId\\\":null,\\\"NotifyDynamicActor\\\":\\\"Ext_Issuer_BW\\\",\\\"EntityContext\\\":{\\\"Parameters\\\":{\\\"workPermitId\\\":\\\"470\\\",\\\"workPermitV2Id\\\":\\\"470\\\",\\\"orgId\\\":\\\"232\\\",\\\"viewLink\\\":\\\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/232/470?dlType=viewWorkPermitV2\\\",\\\"workPermitLink\\\":\\\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/232/470?dlType=viewWorkPermitV2\\\",\\\"emailFooter\\\":\\\"OQSHA Team\\\"}},\\\"ActorContext\\\":{\\\"AssignedUser\\\":[3978]},\\\"Metadata\\\":null}\"}"}

{"Timestamp":"2026-08-04T14:03:07.2821770+00:00","Level":"Information","Data":{"EventId":2944520888},"Message":"Sent message ID 181d592859ec3000 to DLQ"}

{"Timestamp":"2026-08-04T14:03:07.2823634+00:00","Level":"Information","Data":{"EventId":1378056344},"Message":"Notification event with message ID 181d59285a6c3000 received: {\"TemplateId\":22,\"EntityType\":\"work_permit_v2\",\"EventType\":null,\"NotifyRoleId\":null,\"NotifyUserId\":null,\"NotifyDynamicActor\":null,\"EntityContext\":{\"Parameters\":{\"workPermitId\":\"470\",\"workPermitV2Id\":\"470\",\"orgId\":\"232\",\"viewLink\":\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/232/470?dlType=viewWorkPermitV2\",\"workPermitLink\":\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/232/470?dlType=viewWorkPermitV2\",\"emailFooter\":\"OQSHA Team\"}},\"ActorContext\":{\"AssignedUser\":[3978]},\"Metadata\":null}"}

{"Timestamp":"2026-08-04T14:03:07.2841144+00:00","Level":"Information","Data":{"EventId":1224837489},"Message":"Started processing notification for message ID 181d59285a6c3000"}

{"Timestamp":"2026-08-04T14:03:07.2841350+00:00","Level":"Information","Data":{"EventId":2204893584},"Message":"Looking up the notification handler for message ID 181d59285a6c3000"}

{"Timestamp":"2026-08-04T14:03:07.2841452+00:00","Level":"Information","Data":{"EventId":1331655084},"Message":"Event handling in process for message ID 181d59285a6c3000"}

{"Timestamp":"2026-08-04T14:03:07.2881263+00:00","Level":"Information","Data":{"EventId":1566384160},"Message":"Sending message ID 181d59285a6c3000 to DLQ"}

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

{"Timestamp":"2026-08-04T14:03:07.2887980+00:00","Level":"Information","Data":{"EventId":3418073695},"Message":"Sent message ID 181d59285a6c3000 to DLQ"}

{"Timestamp":"2026-08-04T14:03:43.0010431+00:00","Level":"Information","Data":{"EventId":3028063065},"Message":"Notification event with message ID 181d5949a12c3000 received: {\"TemplateId\":20,\"EntityType\":\"work_permit_v2\",\"EventType\":null,\"NotifyRoleId\":null,\"NotifyUserId\":null,\"NotifyDynamicActor\":\"Ext_Issuer_BW\",\"EntityContext\":{\"Parameters\":{\"workPermitId\":\"470\",\"workPermitV2Id\":\"470\",\"orgId\":\"232\",\"viewLink\":\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/232/470?dlType=viewWorkPermitV2\",\"workPermitLink\":\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/232/470?dlType=viewWorkPermitV2\",\"emailFooter\":\"OQSHA Team\"}},\"ActorContext\":{\"AssignedUser\":[3978]},\"Metadata\":null}"}

{"Timestamp":"2026-08-04T14:03:43.0032074+00:00","Level":"Information","Data":{"EventId":2119509229},"Message":"Started processing notification for message ID 181d5949a12c3000"}

{"Timestamp":"2026-08-04T14:03:43.0032376+00:00","Level":"Information","Data":{"EventId":41580571},"Message":"Looking up the notification handler for message ID 181d5949a12c3000"}

{"Timestamp":"2026-08-04T14:03:43.0032553+00:00","Level":"Information","Data":{"EventId":2382410065},"Message":"Event handling in process for message ID 181d5949a12c3000"}

{"Timestamp":"2026-08-04T14:03:43.0070006+00:00","Level":"Information","Data":{"EventId":1875367292},"Message":"Sending message ID 181d5949a12c3000 to DLQ"}

{"Timestamp":"2026-08-04T14:03:43.0071946+00:00","Level":"Information","Data":{"EventId":3613334544},"Message":"Dead letter envelope for DLQ message: {\"SourceTopic\":\"notification.orchestrator\",\"SourceChannel\":\"notification-orchestrator\",\"FailedAtUtc\":\"2026-08-04T14:03:43.0070274Z\",\"Attempts\":1,\"ErrorType\":\"OQSHA.Notification.Orchestrator.Exceptions.PermanentOrchestratorException\",\"ErrorMessage\":\"Unable to find any user IDs for dynamic actor Ext_Issuer_BW for message ID 181d5949a12c3000\",\"StackTrace\":\"   at OQSHA.Notification.Orchestrator.Services.UsersService.ResolveRecipientsAsync(String messageId, Int32 orgId, NotificationEventDto request) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\Services\\\\UsersService.cs:line 71\\r\\n   at OQSHA.Notification.Orchestrator.Services.UsersService.GetRecipientsWithDetailsAsync(String messageId, Int32 orgId, NotificationEventDto request, NotificationTemplatesDbo notificationTemplate) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\Services\\\\UsersService.cs:line 134\\r\\n   at OQSHA.Notification.Orchestrator.NotificationHandlers.WorkPermitV2NotificationHandler.HandleAsync(String messageId, NotificationEventDto request) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\NotificationHandlers\\\\WorkPermitV2NotificationHandler.cs:line 62\\r\\n   at OQSHA.Notification.Orchestrator.NotificationHandlers.WorkPermitV2NotificationHandler.ProcessEventAsync(String messageId, NotificationEventDto request) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\NotificationHandlers\\\\WorkPermitV2NotificationHandler.cs:line 46\\r\\n   at OQSHA.Notification.Orchestrator.Routing.EventRouter.ExecuteAsync(String messageId, NotificationEventDto request) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\Routing\\\\EventRouter.cs:line 38\\r\\n   at OQSHA.Notification.Orchestrator.Worker.OrchestratorMessageHandler.HandleMessage(IMessage message) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\Worker\\\\OrchestratorMessageHandler.cs:line 44\",\"OriginalBody\":\"{\\\"TemplateId\\\":20,\\\"EntityType\\\":\\\"work_permit_v2\\\",\\\"EventType\\\":null,\\\"NotifyRoleId\\\":null,\\\"NotifyUserId\\\":null,\\\"NotifyDynamicActor\\\":\\\"Ext_Issuer_BW\\\",\\\"EntityContext\\\":{\\\"Parameters\\\":{\\\"workPermitId\\\":\\\"470\\\",\\\"workPermitV2Id\\\":\\\"470\\\",\\\"orgId\\\":\\\"232\\\",\\\"viewLink\\\":\\\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/232/470?dlType=viewWorkPermitV2\\\",\\\"workPermitLink\\\":\\\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/232/470?dlType=viewWorkPermitV2\\\",\\\"emailFooter\\\":\\\"OQSHA Team\\\"}},\\\"ActorContext\\\":{\\\"AssignedUser\\\":[3978]},\\\"Metadata\\\":null}\"}"}

{"Timestamp":"2026-08-04T14:03:43.0077058+00:00","Level":"Information","Data":{"EventId":4100136557},"Message":"Sent message ID 181d5949a12c3000 to DLQ"}

{"Timestamp":"2026-08-04T14:04:09.0619722+00:00","Level":"Information","Data":{"EventId":2835918172},"Message":"Notification event with message ID 181d5961e66c3000 received: {\"TemplateId\":20,\"EntityType\":\"work_permit_v2\",\"EventType\":null,\"NotifyRoleId\":null,\"NotifyUserId\":null,\"NotifyDynamicActor\":\"Ext_Approver_BW\",\"EntityContext\":{\"Parameters\":{\"workPermitId\":\"470\",\"workPermitV2Id\":\"470\",\"orgId\":\"232\",\"viewLink\":\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/232/470?dlType=viewWorkPermitV2\",\"workPermitLink\":\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/232/470?dlType=viewWorkPermitV2\",\"emailFooter\":\"OQSHA Team\"}},\"ActorContext\":{\"AssignedUser\":[3978]},\"Metadata\":null}"}

{"Timestamp":"2026-08-04T14:04:09.0651220+00:00","Level":"Information","Data":{"EventId":2479127929},"Message":"Started processing notification for message ID 181d5961e66c3000"}

{"Timestamp":"2026-08-04T14:04:09.0651815+00:00","Level":"Information","Data":{"EventId":387481129},"Message":"Looking up the notification handler for message ID 181d5961e66c3000"}

{"Timestamp":"2026-08-04T14:04:09.0652027+00:00","Level":"Information","Data":{"EventId":667818409},"Message":"Event handling in process for message ID 181d5961e66c3000"}

{"Timestamp":"2026-08-04T14:04:09.0706691+00:00","Level":"Information","Data":{"EventId":4022622194},"Message":"Sending message ID 181d5961e66c3000 to DLQ"}

{"Timestamp":"2026-08-04T14:04:09.0709785+00:00","Level":"Information","Data":{"EventId":1467099497},"Message":"Dead letter envelope for DLQ message: {\"SourceTopic\":\"notification.orchestrator\",\"SourceChannel\":\"notification-orchestrator\",\"FailedAtUtc\":\"2026-08-04T14:04:09.0707136Z\",\"Attempts\":1,\"ErrorType\":\"OQSHA.Notification.Orchestrator.Exceptions.PermanentOrchestratorException\",\"ErrorMessage\":\"Unable to find any user IDs for dynamic actor Ext_Approver_BW for message ID 181d5961e66c3000\",\"StackTrace\":\"   at OQSHA.Notification.Orchestrator.Services.UsersService.ResolveRecipientsAsync(String messageId, Int32 orgId, NotificationEventDto request) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\Services\\\\UsersService.cs:line 71\\r\\n   at OQSHA.Notification.Orchestrator.Services.UsersService.GetRecipientsWithDetailsAsync(String messageId, Int32 orgId, NotificationEventDto request, NotificationTemplatesDbo notificationTemplate) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\Services\\\\UsersService.cs:line 134\\r\\n   at OQSHA.Notification.Orchestrator.NotificationHandlers.WorkPermitV2NotificationHandler.HandleAsync(String messageId, NotificationEventDto request) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\NotificationHandlers\\\\WorkPermitV2NotificationHandler.cs:line 62\\r\\n   at OQSHA.Notification.Orchestrator.NotificationHandlers.WorkPermitV2NotificationHandler.ProcessEventAsync(String messageId, NotificationEventDto request) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\NotificationHandlers\\\\WorkPermitV2NotificationHandler.cs:line 46\\r\\n   at OQSHA.Notification.Orchestrator.Routing.EventRouter.ExecuteAsync(String messageId, NotificationEventDto request) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\Routing\\\\EventRouter.cs:line 38\\r\\n   at OQSHA.Notification.Orchestrator.Worker.OrchestratorMessageHandler.HandleMessage(IMessage message) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\Worker\\\\OrchestratorMessageHandler.cs:line 44\",\"OriginalBody\":\"{\\\"TemplateId\\\":20,\\\"EntityType\\\":\\\"work_permit_v2\\\",\\\"EventType\\\":null,\\\"NotifyRoleId\\\":null,\\\"NotifyUserId\\\":null,\\\"NotifyDynamicActor\\\":\\\"Ext_Approver_BW\\\",\\\"EntityContext\\\":{\\\"Parameters\\\":{\\\"workPermitId\\\":\\\"470\\\",\\\"workPermitV2Id\\\":\\\"470\\\",\\\"orgId\\\":\\\"232\\\",\\\"viewLink\\\":\\\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/232/470?dlType=viewWorkPermitV2\\\",\\\"workPermitLink\\\":\\\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/232/470?dlType=viewWorkPermitV2\\\",\\\"emailFooter\\\":\\\"OQSHA Team\\\"}},\\\"ActorContext\\\":{\\\"AssignedUser\\\":[3978]},\\\"Metadata\\\":null}\"}"}

{"Timestamp":"2026-08-04T14:04:09.0717683+00:00","Level":"Information","Data":{"EventId":3421263093},"Message":"Sent message ID 181d5961e66c3000 to DLQ"}

{"Timestamp":"2026-08-04T14:04:19.2197483+00:00","Level":"Information","Data":{"EventId":3425664692},"Message":"Notification event with message ID 181d596b5c6c3000 received: {\"TemplateId\":20,\"EntityType\":\"work_permit_v2\",\"EventType\":null,\"NotifyRoleId\":null,\"NotifyUserId\":null,\"NotifyDynamicActor\":\"Ext_Reviewer_BW\",\"EntityContext\":{\"Parameters\":{\"workPermitId\":\"470\",\"workPermitV2Id\":\"470\",\"orgId\":\"232\",\"viewLink\":\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/232/470?dlType=viewWorkPermitV2\",\"workPermitLink\":\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/232/470?dlType=viewWorkPermitV2\",\"emailFooter\":\"OQSHA Team\"}},\"ActorContext\":{\"AssignedUser\":[3978]},\"Metadata\":null}"}

{"Timestamp":"2026-08-04T14:04:19.2219488+00:00","Level":"Information","Data":{"EventId":3316528474},"Message":"Started processing notification for message ID 181d596b5c6c3000"}

{"Timestamp":"2026-08-04T14:04:19.2219953+00:00","Level":"Information","Data":{"EventId":810040135},"Message":"Looking up the notification handler for message ID 181d596b5c6c3000"}

{"Timestamp":"2026-08-04T14:04:19.2220107+00:00","Level":"Information","Data":{"EventId":1402872999},"Message":"Event handling in process for message ID 181d596b5c6c3000"}

{"Timestamp":"2026-08-04T14:04:19.2248386+00:00","Level":"Information","Data":{"EventId":1783793047},"Message":"Sending message ID 181d596b5c6c3000 to DLQ"}

{"Timestamp":"2026-08-04T14:04:19.2250449+00:00","Level":"Information","Data":{"EventId":215821496},"Message":"Dead letter envelope for DLQ message: {\"SourceTopic\":\"notification.orchestrator\",\"SourceChannel\":\"notification-orchestrator\",\"FailedAtUtc\":\"2026-08-04T14:04:19.224874Z\",\"Attempts\":1,\"ErrorType\":\"OQSHA.Notification.Orchestrator.Exceptions.PermanentOrchestratorException\",\"ErrorMessage\":\"Unable to find any user IDs for dynamic actor Ext_Reviewer_BW for message ID 181d596b5c6c3000\",\"StackTrace\":\"   at OQSHA.Notification.Orchestrator.Services.UsersService.ResolveRecipientsAsync(String messageId, Int32 orgId, NotificationEventDto request) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\Services\\\\UsersService.cs:line 71\\r\\n   at OQSHA.Notification.Orchestrator.Services.UsersService.GetRecipientsWithDetailsAsync(String messageId, Int32 orgId, NotificationEventDto request, NotificationTemplatesDbo notificationTemplate) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\Services\\\\UsersService.cs:line 134\\r\\n   at OQSHA.Notification.Orchestrator.NotificationHandlers.WorkPermitV2NotificationHandler.HandleAsync(String messageId, NotificationEventDto request) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\NotificationHandlers\\\\WorkPermitV2NotificationHandler.cs:line 62\\r\\n   at OQSHA.Notification.Orchestrator.NotificationHandlers.WorkPermitV2NotificationHandler.ProcessEventAsync(String messageId, NotificationEventDto request) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\NotificationHandlers\\\\WorkPermitV2NotificationHandler.cs:line 46\\r\\n   at OQSHA.Notification.Orchestrator.Routing.EventRouter.ExecuteAsync(String messageId, NotificationEventDto request) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\Routing\\\\EventRouter.cs:line 38\\r\\n   at OQSHA.Notification.Orchestrator.Worker.OrchestratorMessageHandler.HandleMessage(IMessage message) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\Worker\\\\OrchestratorMessageHandler.cs:line 44\",\"OriginalBody\":\"{\\\"TemplateId\\\":20,\\\"EntityType\\\":\\\"work_permit_v2\\\",\\\"EventType\\\":null,\\\"NotifyRoleId\\\":null,\\\"NotifyUserId\\\":null,\\\"NotifyDynamicActor\\\":\\\"Ext_Reviewer_BW\\\",\\\"EntityContext\\\":{\\\"Parameters\\\":{\\\"workPermitId\\\":\\\"470\\\",\\\"workPermitV2Id\\\":\\\"470\\\",\\\"orgId\\\":\\\"232\\\",\\\"viewLink\\\":\\\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/232/470?dlType=viewWorkPermitV2\\\",\\\"workPermitLink\\\":\\\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/232/470?dlType=viewWorkPermitV2\\\",\\\"emailFooter\\\":\\\"OQSHA Team\\\"}},\\\"ActorContext\\\":{\\\"AssignedUser\\\":[3978]},\\\"Metadata\\\":null}\"}"}

{"Timestamp":"2026-08-04T14:04:19.2257494+00:00","Level":"Information","Data":{"EventId":4231631877},"Message":"Sent message ID 181d596b5c6c3000 to DLQ"}

{"Timestamp":"2026-08-04T14:04:26.5288469+00:00","Level":"Information","Data":{"EventId":2902465230},"Message":"Notification event with message ID 181d59722aec3000 received: {\"TemplateId\":18,\"EntityType\":\"work_permit_v2\",\"EventType\":null,\"NotifyRoleId\":null,\"NotifyUserId\":null,\"NotifyDynamicActor\":\"Ext_Approver_BW\",\"EntityContext\":{\"Parameters\":{\"workPermitId\":\"470\",\"workPermitV2Id\":\"470\",\"orgId\":\"232\",\"viewLink\":\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/232/470?dlType=viewWorkPermitV2\",\"workPermitLink\":\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/232/470?dlType=viewWorkPermitV2\",\"emailFooter\":\"OQSHA Team\"}},\"ActorContext\":{\"AssignedUser\":[3978]},\"Metadata\":null}"}

{"Timestamp":"2026-08-04T14:04:26.5318680+00:00","Level":"Information","Data":{"EventId":929703324},"Message":"Started processing notification for message ID 181d59722aec3000"}

{"Timestamp":"2026-08-04T14:04:26.5319302+00:00","Level":"Information","Data":{"EventId":981756020},"Message":"Looking up the notification handler for message ID 181d59722aec3000"}

{"Timestamp":"2026-08-04T14:04:26.5319579+00:00","Level":"Information","Data":{"EventId":2000759358},"Message":"Event handling in process for message ID 181d59722aec3000"}

{"Timestamp":"2026-08-04T14:04:26.5373601+00:00","Level":"Information","Data":{"EventId":1689350175},"Message":"Sending message ID 181d59722aec3000 to DLQ"}

{"Timestamp":"2026-08-04T14:04:26.5375782+00:00","Level":"Information","Data":{"EventId":3966553367},"Message":"Dead letter envelope for DLQ message: {\"SourceTopic\":\"notification.orchestrator\",\"SourceChannel\":\"notification-orchestrator\",\"FailedAtUtc\":\"2026-08-04T14:04:26.5374028Z\",\"Attempts\":1,\"ErrorType\":\"OQSHA.Notification.Orchestrator.Exceptions.PermanentOrchestratorException\",\"ErrorMessage\":\"Unable to find any user IDs for dynamic actor Ext_Approver_BW for message ID 181d59722aec3000\",\"StackTrace\":\"   at OQSHA.Notification.Orchestrator.Services.UsersService.ResolveRecipientsAsync(String messageId, Int32 orgId, NotificationEventDto request) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\Services\\\\UsersService.cs:line 71\\r\\n   at OQSHA.Notification.Orchestrator.Services.UsersService.GetRecipientsWithDetailsAsync(String messageId, Int32 orgId, NotificationEventDto request, NotificationTemplatesDbo notificationTemplate) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\Services\\\\UsersService.cs:line 134\\r\\n   at OQSHA.Notification.Orchestrator.NotificationHandlers.WorkPermitV2NotificationHandler.HandleAsync(String messageId, NotificationEventDto request) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\NotificationHandlers\\\\WorkPermitV2NotificationHandler.cs:line 62\\r\\n   at OQSHA.Notification.Orchestrator.NotificationHandlers.WorkPermitV2NotificationHandler.ProcessEventAsync(String messageId, NotificationEventDto request) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\NotificationHandlers\\\\WorkPermitV2NotificationHandler.cs:line 46\\r\\n   at OQSHA.Notification.Orchestrator.Routing.EventRouter.ExecuteAsync(String messageId, NotificationEventDto request) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\Routing\\\\EventRouter.cs:line 38\\r\\n   at OQSHA.Notification.Orchestrator.Worker.OrchestratorMessageHandler.HandleMessage(IMessage message) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\Worker\\\\OrchestratorMessageHandler.cs:line 44\",\"OriginalBody\":\"{\\\"TemplateId\\\":18,\\\"EntityType\\\":\\\"work_permit_v2\\\",\\\"EventType\\\":null,\\\"NotifyRoleId\\\":null,\\\"NotifyUserId\\\":null,\\\"NotifyDynamicActor\\\":\\\"Ext_Approver_BW\\\",\\\"EntityContext\\\":{\\\"Parameters\\\":{\\\"workPermitId\\\":\\\"470\\\",\\\"workPermitV2Id\\\":\\\"470\\\",\\\"orgId\\\":\\\"232\\\",\\\"viewLink\\\":\\\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/232/470?dlType=viewWorkPermitV2\\\",\\\"workPermitLink\\\":\\\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/232/470?dlType=viewWorkPermitV2\\\",\\\"emailFooter\\\":\\\"OQSHA Team\\\"}},\\\"ActorContext\\\":{\\\"AssignedUser\\\":[3978]},\\\"Metadata\\\":null}\"}"}

{"Timestamp":"2026-08-04T14:04:26.5382578+00:00","Level":"Information","Data":{"EventId":2162696283},"Message":"Sent message ID 181d59722aec3000 to DLQ"}

{"Timestamp":"2026-08-04T14:04:26.7724385+00:00","Level":"Information","Data":{"EventId":3350512718},"Message":"Notification event with message ID 181d59722bac3000 received: {\"TemplateId\":22,\"EntityType\":\"work_permit_v2\",\"EventType\":null,\"NotifyRoleId\":null,\"NotifyUserId\":null,\"NotifyDynamicActor\":\"Ext_Issuer_BW\",\"EntityContext\":{\"Parameters\":{\"workPermitId\":\"470\",\"workPermitV2Id\":\"470\",\"orgId\":\"232\",\"viewLink\":\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/232/470?dlType=viewWorkPermitV2\",\"workPermitLink\":\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/232/470?dlType=viewWorkPermitV2\",\"emailFooter\":\"OQSHA Team\"}},\"ActorContext\":{\"AssignedUser\":[3978]},\"Metadata\":null}"}

{"Timestamp":"2026-08-04T14:04:26.7751627+00:00","Level":"Information","Data":{"EventId":3411531643},"Message":"Started processing notification for message ID 181d59722bac3000"}

{"Timestamp":"2026-08-04T14:04:26.7751907+00:00","Level":"Information","Data":{"EventId":4161303378},"Message":"Looking up the notification handler for message ID 181d59722bac3000"}

{"Timestamp":"2026-08-04T14:04:26.7752029+00:00","Level":"Information","Data":{"EventId":99586484},"Message":"Event handling in process for message ID 181d59722bac3000"}

{"Timestamp":"2026-08-04T14:04:26.7825259+00:00","Level":"Information","Data":{"EventId":328904753},"Message":"Sending message ID 181d59722bac3000 to DLQ"}

{"Timestamp":"2026-08-04T14:04:26.7827131+00:00","Level":"Information","Data":{"EventId":3738842349},"Message":"Dead letter envelope for DLQ message: {\"SourceTopic\":\"notification.orchestrator\",\"SourceChannel\":\"notification-orchestrator\",\"FailedAtUtc\":\"2026-08-04T14:04:26.782565Z\",\"Attempts\":1,\"ErrorType\":\"OQSHA.Notification.Orchestrator.Exceptions.PermanentOrchestratorException\",\"ErrorMessage\":\"Unable to find any user IDs for dynamic actor Ext_Issuer_BW for message ID 181d59722bac3000\",\"StackTrace\":\"   at OQSHA.Notification.Orchestrator.Services.UsersService.ResolveRecipientsAsync(String messageId, Int32 orgId, NotificationEventDto request) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\Services\\\\UsersService.cs:line 71\\r\\n   at OQSHA.Notification.Orchestrator.Services.UsersService.GetRecipientsWithDetailsAsync(String messageId, Int32 orgId, NotificationEventDto request, NotificationTemplatesDbo notificationTemplate) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\Services\\\\UsersService.cs:line 134\\r\\n   at OQSHA.Notification.Orchestrator.NotificationHandlers.WorkPermitV2NotificationHandler.HandleAsync(String messageId, NotificationEventDto request) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\NotificationHandlers\\\\WorkPermitV2NotificationHandler.cs:line 62\\r\\n   at OQSHA.Notification.Orchestrator.NotificationHandlers.WorkPermitV2NotificationHandler.ProcessEventAsync(String messageId, NotificationEventDto request) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\NotificationHandlers\\\\WorkPermitV2NotificationHandler.cs:line 46\\r\\n   at OQSHA.Notification.Orchestrator.Routing.EventRouter.ExecuteAsync(String messageId, NotificationEventDto request) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\Routing\\\\EventRouter.cs:line 38\\r\\n   at OQSHA.Notification.Orchestrator.Worker.OrchestratorMessageHandler.HandleMessage(IMessage message) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\Worker\\\\OrchestratorMessageHandler.cs:line 44\",\"OriginalBody\":\"{\\\"TemplateId\\\":22,\\\"EntityType\\\":\\\"work_permit_v2\\\",\\\"EventType\\\":null,\\\"NotifyRoleId\\\":null,\\\"NotifyUserId\\\":null,\\\"NotifyDynamicActor\\\":\\\"Ext_Issuer_BW\\\",\\\"EntityContext\\\":{\\\"Parameters\\\":{\\\"workPermitId\\\":\\\"470\\\",\\\"workPermitV2Id\\\":\\\"470\\\",\\\"orgId\\\":\\\"232\\\",\\\"viewLink\\\":\\\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/232/470?dlType=viewWorkPermitV2\\\",\\\"workPermitLink\\\":\\\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/232/470?dlType=viewWorkPermitV2\\\",\\\"emailFooter\\\":\\\"OQSHA Team\\\"}},\\\"ActorContext\\\":{\\\"AssignedUser\\\":[3978]},\\\"Metadata\\\":null}\"}"}

{"Timestamp":"2026-08-04T14:04:26.7834055+00:00","Level":"Information","Data":{"EventId":1699869745},"Message":"Sent message ID 181d59722bac3000 to DLQ"}

{"Timestamp":"2026-08-04T14:04:26.7837634+00:00","Level":"Information","Data":{"EventId":2139763425},"Message":"Notification event with message ID 181d59722c6c3000 received: {\"TemplateId\":22,\"EntityType\":\"work_permit_v2\",\"EventType\":null,\"NotifyRoleId\":null,\"NotifyUserId\":null,\"NotifyDynamicActor\":null,\"EntityContext\":{\"Parameters\":{\"workPermitId\":\"470\",\"workPermitV2Id\":\"470\",\"orgId\":\"232\",\"viewLink\":\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/232/470?dlType=viewWorkPermitV2\",\"workPermitLink\":\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/232/470?dlType=viewWorkPermitV2\",\"emailFooter\":\"OQSHA Team\"}},\"ActorContext\":{\"AssignedUser\":[3978]},\"Metadata\":null}"}

{"Timestamp":"2026-08-04T14:04:26.7864706+00:00","Level":"Information","Data":{"EventId":3959878406},"Message":"Started processing notification for message ID 181d59722c6c3000"}

{"Timestamp":"2026-08-04T14:04:26.7864925+00:00","Level":"Information","Data":{"EventId":3355838004},"Message":"Looking up the notification handler for message ID 181d59722c6c3000"}

{"Timestamp":"2026-08-04T14:04:26.7865056+00:00","Level":"Information","Data":{"EventId":346317862},"Message":"Event handling in process for message ID 181d59722c6c3000"}

{"Timestamp":"2026-08-04T14:04:26.7911054+00:00","Level":"Information","Data":{"EventId":4167090557},"Message":"Sending message ID 181d59722c6c3000 to DLQ"}

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

{"Timestamp":"2026-08-04T14:04:26.7920136+00:00","Level":"Information","Data":{"EventId":804138340},"Message":"Sent message ID 181d59722c6c3000 to DLQ"}

{"Timestamp":"2026-08-04T14:48:19.0486991+00:00","Level":"Information","Data":{"EventId":3091016791},"Message":"Inside hosted service - for nsq"}

{"Timestamp":"2026-08-04T14:48:19.1314380+00:00","Level":"Information","Data":{"EventId":3138514657},"Message":"Started the consumer service and handler for NSQ"}

{"Timestamp":"2026-08-04T16:38:02.4769701+00:00","Level":"Information","Data":{"EventId":1812151301},"Message":"Notification event with message ID 181d7af92fac3000 received: {\"TemplateId\":16,\"EntityType\":\"work_permit_v2\",\"EventType\":null,\"NotifyRoleId\":null,\"NotifyUserId\":null,\"NotifyDynamicActor\":null,\"EntityContext\":{\"Parameters\":{\"workPermitId\":\"471\",\"workPermitV2Id\":\"471\",\"orgId\":\"204\",\"viewLink\":\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/204/471?dlType=viewWorkPermitV2\",\"workPermitLink\":\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/204/471?dlType=viewWorkPermitV2\",\"emailFooter\":\"OQSHA Team\"}},\"ActorContext\":null,\"Metadata\":null}"}

{"Timestamp":"2026-08-04T16:38:02.6219349+00:00","Level":"Information","Data":{"EventId":4241466792},"Message":"Started processing notification for message ID 181d7af92fac3000"}

{"Timestamp":"2026-08-04T16:38:02.6220157+00:00","Level":"Information","Data":{"EventId":1176491906},"Message":"Looking up the notification handler for message ID 181d7af92fac3000"}

{"Timestamp":"2026-08-04T16:38:02.6224255+00:00","Level":"Information","Data":{"EventId":3878062276},"Message":"Event handling in process for message ID 181d7af92fac3000"}

{"Timestamp":"2026-08-04T16:38:03.4545144+00:00","Level":"Information","Data":{"EventId":3352630238},"Message":"Sending message ID 181d7af92fac3000 to DLQ"}

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

{"Timestamp":"2026-08-04T16:38:03.4773948+00:00","Level":"Information","Data":{"EventId":3230895754},"Message":"Sent message ID 181d7af92fac3000 to DLQ"}

{"Timestamp":"2026-08-04T16:38:03.4779914+00:00","Level":"Information","Data":{"EventId":3524495221},"Message":"Notification event with message ID 181d7af9306c3000 received: {\"TemplateId\":18,\"EntityType\":\"work_permit_v2\",\"EventType\":null,\"NotifyRoleId\":null,\"NotifyUserId\":null,\"NotifyDynamicActor\":\"Issuer_ExW\",\"EntityContext\":{\"Parameters\":{\"workPermitId\":\"471\",\"workPermitV2Id\":\"471\",\"orgId\":\"204\",\"viewLink\":\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/204/471?dlType=viewWorkPermitV2\",\"workPermitLink\":\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/204/471?dlType=viewWorkPermitV2\",\"emailFooter\":\"OQSHA Team\"}},\"ActorContext\":null,\"Metadata\":null}"}

{"Timestamp":"2026-08-04T16:38:03.4824007+00:00","Level":"Information","Data":{"EventId":278151927},"Message":"Started processing notification for message ID 181d7af9306c3000"}

{"Timestamp":"2026-08-04T16:38:03.4824862+00:00","Level":"Information","Data":{"EventId":3766113697},"Message":"Looking up the notification handler for message ID 181d7af9306c3000"}

{"Timestamp":"2026-08-04T16:38:03.4825700+00:00","Level":"Information","Data":{"EventId":2491567325},"Message":"Event handling in process for message ID 181d7af9306c3000"}

{"Timestamp":"2026-08-04T16:38:03.4961099+00:00","Level":"Information","Data":{"EventId":3397751408},"Message":"Sending message ID 181d7af9306c3000 to DLQ"}

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

{"Timestamp":"2026-08-04T16:38:03.4971198+00:00","Level":"Information","Data":{"EventId":927782310},"Message":"Sent message ID 181d7af9306c3000 to DLQ"}

{"Timestamp":"2026-08-04T16:38:37.5840983+00:00","Level":"Information","Data":{"EventId":3505500647},"Message":"Notification event with message ID 181d7b19e22c3000 received: {\"TemplateId\":18,\"EntityType\":\"work_permit_v2\",\"EventType\":null,\"NotifyRoleId\":null,\"NotifyUserId\":null,\"NotifyDynamicActor\":\"Approver_ExW\",\"EntityContext\":{\"Parameters\":{\"workPermitId\":\"471\",\"workPermitV2Id\":\"471\",\"orgId\":\"204\",\"viewLink\":\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/204/471?dlType=viewWorkPermitV2\",\"workPermitLink\":\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/204/471?dlType=viewWorkPermitV2\",\"emailFooter\":\"OQSHA Team\"}},\"ActorContext\":{\"Issuer_ExW\":[1778],\"Approver_ExW\":[1202],\"Reviewer_ExW\":[1779]},\"Metadata\":null}"}

{"Timestamp":"2026-08-04T16:38:37.6020681+00:00","Level":"Information","Data":{"EventId":2496917600},"Message":"Started processing notification for message ID 181d7b19e22c3000"}

{"Timestamp":"2026-08-04T16:38:37.6021525+00:00","Level":"Information","Data":{"EventId":4085671125},"Message":"Looking up the notification handler for message ID 181d7b19e22c3000"}

{"Timestamp":"2026-08-04T16:38:37.6021832+00:00","Level":"Information","Data":{"EventId":3571972039},"Message":"Event handling in process for message ID 181d7b19e22c3000"}

{"Timestamp":"2026-08-04T16:38:37.6607464+00:00","Level":"Information","Data":{"EventId":812315861},"Message":"Dispatching the notifications for message ID 181d7b19e22c3000"}

{"Timestamp":"2026-08-04T16:38:37.6688561+00:00","Level":"Information","Data":{"EventId":3499495303},"Message":"Successfully processed notification for message ID 181d7b19e22c3000"}

{"Timestamp":"2026-08-04T16:38:37.7677710+00:00","Level":"Information","Data":{"EventId":3608515375},"Message":"Notification event with message ID 181d7b19e2ec3000 received: {\"TemplateId\":22,\"EntityType\":\"work_permit_v2\",\"EventType\":null,\"NotifyRoleId\":null,\"NotifyUserId\":null,\"NotifyDynamicActor\":null,\"EntityContext\":{\"Parameters\":{\"workPermitId\":\"471\",\"workPermitV2Id\":\"471\",\"orgId\":\"204\",\"viewLink\":\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/204/471?dlType=viewWorkPermitV2\",\"workPermitLink\":\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/204/471?dlType=viewWorkPermitV2\",\"emailFooter\":\"OQSHA Team\"}},\"ActorContext\":{\"Issuer_ExW\":[1778],\"Approver_ExW\":[1202],\"Reviewer_ExW\":[1779]},\"Metadata\":null}"}

{"Timestamp":"2026-08-04T16:38:37.7712971+00:00","Level":"Information","Data":{"EventId":197776749},"Message":"Started processing notification for message ID 181d7b19e2ec3000"}

{"Timestamp":"2026-08-04T16:38:37.7714111+00:00","Level":"Information","Data":{"EventId":674980146},"Message":"Looking up the notification handler for message ID 181d7b19e2ec3000"}

{"Timestamp":"2026-08-04T16:38:37.7714528+00:00","Level":"Information","Data":{"EventId":3912641846},"Message":"Event handling in process for message ID 181d7b19e2ec3000"}

{"Timestamp":"2026-08-04T16:38:37.7763171+00:00","Level":"Information","Data":{"EventId":2625951920},"Message":"Sending message ID 181d7b19e2ec3000 to DLQ"}

{"Timestamp":"2026-08-04T16:38:37.7768009+00:00","Level":"Information","Data":{"EventId":2197150500},"Message":"Dead letter envelope for DLQ message: {\"SourceTopic\":\"notification.orchestrator\",\"SourceChannel\":\"notification-orchestrator\",\"FailedAtUtc\":\"2026-08-04T16:38:37.7763963Z\",\"Attempts\":1,\"ErrorType\":\"OQSHA.Notification.Orchestrator.Exceptions.PermanentOrchestratorException\",\"ErrorMessage\":\"No recipients received for message ID 181d7b19e2ec3000\",\"StackTrace\":\"   at OQSHA.Notification.Orchestrator.Services.UsersService.ResolveRecipientsAsync(String messageId, Int32 orgId, NotificationEventDto request) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\Services\\\\UsersService.cs:line 84\\r\\n   at OQSHA.Notification.Orchestrator.Services.UsersService.GetRecipientsWithDetailsAsync(String messageId, Int32 orgId, NotificationEventDto request, NotificationTemplatesDbo notificationTemplate) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\Services\\\\UsersService.cs:line 134\\r\\n   at OQSHA.Notification.Orchestrator.NotificationHandlers.WorkPermitV2NotificationHandler.HandleAsync(String messageId, NotificationEventDto request) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\NotificationHandlers\\\\WorkPermitV2NotificationHandler.cs:line 62\\r\\n   at OQSHA.Notification.Orchestrator.NotificationHandlers.WorkPermitV2NotificationHandler.ProcessEventAsync(String messageId, NotificationEventDto request) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\NotificationHandlers\\\\WorkPermitV2NotificationHandler.cs:line 46\\r\\n   at OQSHA.Notification.Orchestrator.Routing.EventRouter.ExecuteAsync(String messageId, NotificationEventDto request) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\Routing\\\\EventRouter.cs:line 38\\r\\n   at OQSHA.Notification.Orchestrator.Worker.OrchestratorMessageHandler.HandleMessage(IMessage message) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\Worker\\\\OrchestratorMessageHandler.cs:line 44\",\"OriginalBody\":\"{\\\"TemplateId\\\":22,\\\"EntityType\\\":\\\"work_permit_v2\\\",\\\"EventType\\\":null,\\\"NotifyRoleId\\\":null,\\\"NotifyUserId\\\":null,\\\"NotifyDynamicActor\\\":null,\\\"EntityContext\\\":{\\\"Parameters\\\":{\\\"workPermitId\\\":\\\"471\\\",\\\"workPermitV2Id\\\":\\\"471\\\",\\\"orgId\\\":\\\"204\\\",\\\"viewLink\\\":\\\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/204/471?dlType=viewWorkPermitV2\\\",\\\"workPermitLink\\\":\\\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/204/471?dlType=viewWorkPermitV2\\\",\\\"emailFooter\\\":\\\"OQSHA Team\\\"}},\\\"ActorContext\\\":{\\\"Issuer_ExW\\\":[1778],\\\"Approver_ExW\\\":[1202],\\\"Reviewer_ExW\\\":[1779]},\\\"Metadata\\\":null}\"}"}

{"Timestamp":"2026-08-04T16:38:37.7773924+00:00","Level":"Information","Data":{"EventId":66497331},"Message":"Sent message ID 181d7b19e2ec3000 to DLQ"}

{"Timestamp":"2026-08-04T17:30:54.0578131+00:00","Level":"Information","Data":{"EventId":1804719281},"Message":"Notification event with message ID 181d8682f3ec3000 received: {\"TemplateId\":16,\"EntityType\":\"work_permit_v2\",\"EventType\":null,\"NotifyRoleId\":null,\"NotifyUserId\":null,\"NotifyDynamicActor\":null,\"EntityContext\":{\"Parameters\":{\"workPermitId\":\"472\",\"workPermitV2Id\":\"472\",\"orgId\":\"204\",\"viewLink\":\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/204/472?dlType=viewWorkPermitV2\",\"workPermitLink\":\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/204/472?dlType=viewWorkPermitV2\",\"emailFooter\":\"OQSHA Team\"}},\"ActorContext\":null,\"Metadata\":null}"}

{"Timestamp":"2026-08-04T17:30:54.0604163+00:00","Level":"Information","Data":{"EventId":676273519},"Message":"Started processing notification for message ID 181d8682f3ec3000"}

{"Timestamp":"2026-08-04T17:30:54.0605507+00:00","Level":"Information","Data":{"EventId":1918391339},"Message":"Looking up the notification handler for message ID 181d8682f3ec3000"}

{"Timestamp":"2026-08-04T17:30:54.0607521+00:00","Level":"Information","Data":{"EventId":247494059},"Message":"Event handling in process for message ID 181d8682f3ec3000"}

{"Timestamp":"2026-08-04T17:30:54.0705742+00:00","Level":"Information","Data":{"EventId":539831155},"Message":"Sending message ID 181d8682f3ec3000 to DLQ"}

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

{"Timestamp":"2026-08-04T17:30:54.0720592+00:00","Level":"Information","Data":{"EventId":1626991114},"Message":"Sent message ID 181d8682f3ec3000 to DLQ"}

{"Timestamp":"2026-08-04T17:30:54.2183584+00:00","Level":"Information","Data":{"EventId":3389066715},"Message":"Notification event with message ID 181d8682f42c3000 received: {\"TemplateId\":18,\"EntityType\":\"work_permit_v2\",\"EventType\":null,\"NotifyRoleId\":null,\"NotifyUserId\":null,\"NotifyDynamicActor\":\"Issuer_DW\",\"EntityContext\":{\"Parameters\":{\"workPermitId\":\"472\",\"workPermitV2Id\":\"472\",\"orgId\":\"204\",\"viewLink\":\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/204/472?dlType=viewWorkPermitV2\",\"workPermitLink\":\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/204/472?dlType=viewWorkPermitV2\",\"emailFooter\":\"OQSHA Team\"}},\"ActorContext\":null,\"Metadata\":null}"}

{"Timestamp":"2026-08-04T17:30:54.2205323+00:00","Level":"Information","Data":{"EventId":8134894},"Message":"Started processing notification for message ID 181d8682f42c3000"}

{"Timestamp":"2026-08-04T17:30:54.2205928+00:00","Level":"Information","Data":{"EventId":2805431396},"Message":"Looking up the notification handler for message ID 181d8682f42c3000"}

{"Timestamp":"2026-08-04T17:30:54.2206080+00:00","Level":"Information","Data":{"EventId":3499318609},"Message":"Event handling in process for message ID 181d8682f42c3000"}

{"Timestamp":"2026-08-04T17:30:54.2248538+00:00","Level":"Information","Data":{"EventId":3252707956},"Message":"Sending message ID 181d8682f42c3000 to DLQ"}

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

{"Timestamp":"2026-08-04T17:30:54.2262064+00:00","Level":"Information","Data":{"EventId":3770747210},"Message":"Sent message ID 181d8682f42c3000 to DLQ"}

{"Timestamp":"2026-08-04T17:31:23.5005260+00:00","Level":"Information","Data":{"EventId":809142817},"Message":"Notification event with message ID 181d869e5fac3000 received: {\"TemplateId\":18,\"EntityType\":\"work_permit_v2\",\"EventType\":null,\"NotifyRoleId\":null,\"NotifyUserId\":null,\"NotifyDynamicActor\":\"Approver_DW\",\"EntityContext\":{\"Parameters\":{\"workPermitId\":\"472\",\"workPermitV2Id\":\"472\",\"orgId\":\"204\",\"viewLink\":\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/204/472?dlType=viewWorkPermitV2\",\"workPermitLink\":\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/204/472?dlType=viewWorkPermitV2\",\"emailFooter\":\"OQSHA Team\"}},\"ActorContext\":{\"Issuer_DW\":[1778],\"Approver_DW\":[1779],\"Reviewer_DW\":[1202]},\"Metadata\":null}"}

{"Timestamp":"2026-08-04T17:31:23.5034992+00:00","Level":"Information","Data":{"EventId":258227381},"Message":"Started processing notification for message ID 181d869e5fac3000"}

{"Timestamp":"2026-08-04T17:31:23.5035382+00:00","Level":"Information","Data":{"EventId":2630813494},"Message":"Looking up the notification handler for message ID 181d869e5fac3000"}

{"Timestamp":"2026-08-04T17:31:23.5035535+00:00","Level":"Information","Data":{"EventId":910530362},"Message":"Event handling in process for message ID 181d869e5fac3000"}

{"Timestamp":"2026-08-04T17:31:23.5100789+00:00","Level":"Information","Data":{"EventId":1763253012},"Message":"Dispatching the notifications for message ID 181d869e5fac3000"}

{"Timestamp":"2026-08-04T17:31:23.5108798+00:00","Level":"Information","Data":{"EventId":57028360},"Message":"Successfully processed notification for message ID 181d869e5fac3000"}

{"Timestamp":"2026-08-04T17:31:23.7199192+00:00","Level":"Information","Data":{"EventId":3070769673},"Message":"Notification event with message ID 181d869e606c3000 received: {\"TemplateId\":22,\"EntityType\":\"work_permit_v2\",\"EventType\":null,\"NotifyRoleId\":null,\"NotifyUserId\":null,\"NotifyDynamicActor\":null,\"EntityContext\":{\"Parameters\":{\"workPermitId\":\"472\",\"workPermitV2Id\":\"472\",\"orgId\":\"204\",\"viewLink\":\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/204/472?dlType=viewWorkPermitV2\",\"workPermitLink\":\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/204/472?dlType=viewWorkPermitV2\",\"emailFooter\":\"OQSHA Team\"}},\"ActorContext\":{\"Issuer_DW\":[1778],\"Approver_DW\":[1779],\"Reviewer_DW\":[1202]},\"Metadata\":null}"}

{"Timestamp":"2026-08-04T17:31:23.7241171+00:00","Level":"Information","Data":{"EventId":2191809502},"Message":"Started processing notification for message ID 181d869e606c3000"}

{"Timestamp":"2026-08-04T17:31:23.7242649+00:00","Level":"Information","Data":{"EventId":2664003444},"Message":"Looking up the notification handler for message ID 181d869e606c3000"}

{"Timestamp":"2026-08-04T17:31:23.7243285+00:00","Level":"Information","Data":{"EventId":2541287195},"Message":"Event handling in process for message ID 181d869e606c3000"}

{"Timestamp":"2026-08-04T17:31:23.7312235+00:00","Level":"Information","Data":{"EventId":3350974803},"Message":"Sending message ID 181d869e606c3000 to DLQ"}

{"Timestamp":"2026-08-04T17:31:23.7315498+00:00","Level":"Information","Data":{"EventId":3428580641},"Message":"Dead letter envelope for DLQ message: {\"SourceTopic\":\"notification.orchestrator\",\"SourceChannel\":\"notification-orchestrator\",\"FailedAtUtc\":\"2026-08-04T17:31:23.7312798Z\",\"Attempts\":1,\"ErrorType\":\"OQSHA.Notification.Orchestrator.Exceptions.PermanentOrchestratorException\",\"ErrorMessage\":\"No recipients received for message ID 181d869e606c3000\",\"StackTrace\":\"   at OQSHA.Notification.Orchestrator.Services.UsersService.ResolveRecipientsAsync(String messageId, Int32 orgId, NotificationEventDto request) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\Services\\\\UsersService.cs:line 84\\r\\n   at OQSHA.Notification.Orchestrator.Services.UsersService.GetRecipientsWithDetailsAsync(String messageId, Int32 orgId, NotificationEventDto request, NotificationTemplatesDbo notificationTemplate) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\Services\\\\UsersService.cs:line 134\\r\\n   at OQSHA.Notification.Orchestrator.NotificationHandlers.WorkPermitV2NotificationHandler.HandleAsync(String messageId, NotificationEventDto request) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\NotificationHandlers\\\\WorkPermitV2NotificationHandler.cs:line 62\\r\\n   at OQSHA.Notification.Orchestrator.NotificationHandlers.WorkPermitV2NotificationHandler.ProcessEventAsync(String messageId, NotificationEventDto request) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\NotificationHandlers\\\\WorkPermitV2NotificationHandler.cs:line 46\\r\\n   at OQSHA.Notification.Orchestrator.Routing.EventRouter.ExecuteAsync(String messageId, NotificationEventDto request) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\Routing\\\\EventRouter.cs:line 38\\r\\n   at OQSHA.Notification.Orchestrator.Worker.OrchestratorMessageHandler.HandleMessage(IMessage message) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\Worker\\\\OrchestratorMessageHandler.cs:line 44\",\"OriginalBody\":\"{\\\"TemplateId\\\":22,\\\"EntityType\\\":\\\"work_permit_v2\\\",\\\"EventType\\\":null,\\\"NotifyRoleId\\\":null,\\\"NotifyUserId\\\":null,\\\"NotifyDynamicActor\\\":null,\\\"EntityContext\\\":{\\\"Parameters\\\":{\\\"workPermitId\\\":\\\"472\\\",\\\"workPermitV2Id\\\":\\\"472\\\",\\\"orgId\\\":\\\"204\\\",\\\"viewLink\\\":\\\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/204/472?dlType=viewWorkPermitV2\\\",\\\"workPermitLink\\\":\\\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/204/472?dlType=viewWorkPermitV2\\\",\\\"emailFooter\\\":\\\"OQSHA Team\\\"}},\\\"ActorContext\\\":{\\\"Issuer_DW\\\":[1778],\\\"Approver_DW\\\":[1779],\\\"Reviewer_DW\\\":[1202]},\\\"Metadata\\\":null}\"}"}

{"Timestamp":"2026-08-04T17:31:23.7323080+00:00","Level":"Information","Data":{"EventId":685254638},"Message":"Sent message ID 181d869e606c3000 to DLQ"}

{"Timestamp":"2026-08-04T18:00:03.8533739+00:00","Level":"Information","Data":{"EventId":2599496983},"Message":"Notification event with message ID 181d8ce093ac3000 received: {\"TemplateId\":16,\"EntityType\":\"work_permit_v2\",\"EventType\":null,\"NotifyRoleId\":null,\"NotifyUserId\":null,\"NotifyDynamicActor\":\"Issuer_NW\",\"EntityContext\":{\"Parameters\":{\"workPermitId\":\"473\",\"workPermitV2Id\":\"473\",\"orgId\":\"204\",\"viewLink\":\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/204/473?dlType=viewWorkPermitV2\",\"workPermitLink\":\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/204/473?dlType=viewWorkPermitV2\",\"emailFooter\":\"OQSHA Team\"}},\"ActorContext\":null,\"Metadata\":null}"}

{"Timestamp":"2026-08-04T18:00:03.8555528+00:00","Level":"Information","Data":{"EventId":3371535639},"Message":"Started processing notification for message ID 181d8ce093ac3000"}

{"Timestamp":"2026-08-04T18:00:03.8555915+00:00","Level":"Information","Data":{"EventId":2093191078},"Message":"Looking up the notification handler for message ID 181d8ce093ac3000"}

{"Timestamp":"2026-08-04T18:00:03.8556066+00:00","Level":"Information","Data":{"EventId":1109186553},"Message":"Event handling in process for message ID 181d8ce093ac3000"}

{"Timestamp":"2026-08-04T18:00:03.8620479+00:00","Level":"Information","Data":{"EventId":804541080},"Message":"Sending message ID 181d8ce093ac3000 to DLQ"}

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

{"Timestamp":"2026-08-04T18:00:03.8628381+00:00","Level":"Information","Data":{"EventId":4139951750},"Message":"Sent message ID 181d8ce093ac3000 to DLQ"}

{"Timestamp":"2026-08-04T18:00:03.9313206+00:00","Level":"Information","Data":{"EventId":1589680991},"Message":"Notification event with message ID 181d8ce094ac3000 received: {\"TemplateId\":18,\"EntityType\":\"work_permit_v2\",\"EventType\":null,\"NotifyRoleId\":null,\"NotifyUserId\":null,\"NotifyDynamicActor\":null,\"EntityContext\":{\"Parameters\":{\"workPermitId\":\"473\",\"workPermitV2Id\":\"473\",\"orgId\":\"204\",\"viewLink\":\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/204/473?dlType=viewWorkPermitV2\",\"workPermitLink\":\"https://sandbox.oqsha.com/#/work-permit-v2/view-work-permit/204/473?dlType=viewWorkPermitV2\",\"emailFooter\":\"OQSHA Team\"}},\"ActorContext\":null,\"Metadata\":null}"}

{"Timestamp":"2026-08-04T18:00:03.9343293+00:00","Level":"Information","Data":{"EventId":2185344992},"Message":"Started processing notification for message ID 181d8ce094ac3000"}

{"Timestamp":"2026-08-04T18:00:03.9343776+00:00","Level":"Information","Data":{"EventId":3964853635},"Message":"Looking up the notification handler for message ID 181d8ce094ac3000"}

{"Timestamp":"2026-08-04T18:00:03.9343905+00:00","Level":"Information","Data":{"EventId":1282184671},"Message":"Event handling in process for message ID 181d8ce094ac3000"}

{"Timestamp":"2026-08-04T18:00:03.9402276+00:00","Level":"Information","Data":{"EventId":4270974351},"Message":"Sending message ID 181d8ce094ac3000 to DLQ"}

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

{"Timestamp":"2026-08-04T18:00:03.9411904+00:00","Level":"Information","Data":{"EventId":3536909103},"Message":"Sent message ID 181d8ce094ac3000 to DLQ"}

{"Timestamp":"2026-08-04T19:00:31.1718624+00:00","Level":"Information","Data":{"EventId":3091016791},"Message":"Inside hosted service - for nsq"}

{"Timestamp":"2026-08-04T19:00:31.2530024+00:00","Level":"Information","Data":{"EventId":3138514657},"Message":"Started the consumer service and handler for NSQ"}

