{"Timestamp":"2026-09-09T05:20:25.1812239+00:00","Level":"Information","Data":{"EventId":3258966377},"Message":"Notification event with message ID 18491aa1d46c3000 received: {\"TemplateId\":null,\"EntityType\":\"visitor_management\",\"EventType\":\"visitor_overstay\",\"NotifyRoleId\":null,\"NotifyUserId\":null,\"NotifyDynamicActor\":\"DynamicActor\",\"EntityContext\":{\"Parameters\":{\"orgId\":\"251\",\"organisationId\":\"251\",\"sourceRecordId\":\"29\",\"sourceModuleId\":\"121\",\"sourceRecordUid\":\"8QYE8X\",\"timerRuleConfigId\":\"17\",\"timerRuleActionId\":\"35\",\"scheduledAtUtc\":\"2026-09-09T05:18:00.0000000\",\"hostName\":\"\",\"visitorName\":\"\",\"siteName\":\"\"}},\"ActorContext\":null,\"Metadata\":{\"channels\":\"[\\\"Email\\\",\\\"Whatsapp\\\"]\",\"payloadTemplate\":\"{\\\"hostName\\\":\\\"{{source.hostName}}\\\",\\\"visitorName\\\":\\\"{source.visitorName}\\\",\\\"siteName\\\":\\\"{source.siteName}\\\"}\",\"timerQueueId\":\"82\",\"sourceField\":\"Employee\"}"}

{"Timestamp":"2026-09-09T05:20:25.3868653+00:00","Level":"Information","Data":{"EventId":72873947},"Message":"Started processing notification for message ID 18491aa1d46c3000"}

{"Timestamp":"2026-09-09T05:20:25.3869499+00:00","Level":"Information","Data":{"EventId":2996626295},"Message":"Looking up the notification handler for message ID 18491aa1d46c3000"}

{"Timestamp":"2026-09-09T05:20:25.3873868+00:00","Level":"Information","Data":{"EventId":1077945728},"Message":"Event handling in process for message ID 18491aa1d46c3000"}

{"Timestamp":"2026-09-09T05:20:25.3893277+00:00","Level":"Information","Data":{"EventId":3642350704},"Message":"Sending message ID 18491aa1d46c3000 to DLQ"}

{"Timestamp":"2026-09-09T05:20:25.4193189+00:00","Level":"Information","Data":{"EventId":1768490034},"Message":"Dead letter envelope for DLQ message: {\"SourceTopic\":\"stg.notification.orchestrator\",\"SourceChannel\":\"notification-orchestrator\",\"FailedAtUtc\":\"2026-09-09T05:20:25.3894063Z\",\"Attempts\":1,\"ErrorType\":\"OQSHA.Notification.Orchestrator.Exceptions.PermanentOrchestratorException\",\"ErrorMessage\":\"Missing visitorManagementId in context for message ID 18491aa1d46c3000\",\"StackTrace\":\"   at OQSHA.Notification.Orchestrator.NotificationHandlers.VisitorManagementNotificationHandler.ParseContext(String messageId, NotificationEventDto request) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\NotificationHandlers\\\\VisitorManagementNotificationHandler.cs:line 194\\r\\n   at OQSHA.Notification.Orchestrator.NotificationHandlers.VisitorManagementNotificationHandler.HandleAsync(String messageId, NotificationEventDto request) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\NotificationHandlers\\\\VisitorManagementNotificationHandler.cs:line 50\\r\\n   at OQSHA.Notification.Orchestrator.NotificationHandlers.VisitorManagementNotificationHandler.ProcessEventAsync(String messageId, NotificationEventDto request) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\NotificationHandlers\\\\VisitorManagementNotificationHandler.cs:line 44\\r\\n   at OQSHA.Notification.Orchestrator.Routing.EventRouter.ExecuteAsync(String messageId, NotificationEventDto request) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\Routing\\\\EventRouter.cs:line 38\\r\\n   at OQSHA.Notification.Orchestrator.Worker.OrchestratorMessageHandler.HandleMessage(IMessage message) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\Worker\\\\OrchestratorMessageHandler.cs:line 44\",\"OriginalBody\":\"{\\\"TemplateId\\\":null,\\\"EntityType\\\":\\\"visitor_management\\\",\\\"EventType\\\":\\\"visitor_overstay\\\",\\\"NotifyRoleId\\\":null,\\\"NotifyUserId\\\":null,\\\"NotifyDynamicActor\\\":\\\"DynamicActor\\\",\\\"EntityContext\\\":{\\\"Parameters\\\":{\\\"orgId\\\":\\\"251\\\",\\\"organisationId\\\":\\\"251\\\",\\\"sourceRecordId\\\":\\\"29\\\",\\\"sourceModuleId\\\":\\\"121\\\",\\\"sourceRecordUid\\\":\\\"8QYE8X\\\",\\\"timerRuleConfigId\\\":\\\"17\\\",\\\"timerRuleActionId\\\":\\\"35\\\",\\\"scheduledAtUtc\\\":\\\"2026-09-09T05:18:00.0000000\\\",\\\"hostName\\\":\\\"\\\",\\\"visitorName\\\":\\\"\\\",\\\"siteName\\\":\\\"\\\"}},\\\"ActorContext\\\":null,\\\"Metadata\\\":{\\\"channels\\\":\\\"[\\\\\\\"Email\\\\\\\",\\\\\\\"Whatsapp\\\\\\\"]\\\",\\\"payloadTemplate\\\":\\\"{\\\\\\\"hostName\\\\\\\":\\\\\\\"{{source.hostName}}\\\\\\\",\\\\\\\"visitorName\\\\\\\":\\\\\\\"{source.visitorName}\\\\\\\",\\\\\\\"siteName\\\\\\\":\\\\\\\"{source.siteName}\\\\\\\"}\\\",\\\"timerQueueId\\\":\\\"82\\\",\\\"sourceField\\\":\\\"Employee\\\"}\"}"}

{"Timestamp":"2026-09-09T05:20:25.4316572+00:00","Level":"Information","Data":{"EventId":1442344178},"Message":"Sent message ID 18491aa1d46c3000 to DLQ"}

{"Timestamp":"2026-09-09T05:20:25.7770169+00:00","Level":"Information","Data":{"EventId":2788592156},"Message":"Notification event with message ID 18491aa269ac3000 received: {\"TemplateId\":null,\"EntityType\":\"visitor_management\",\"EventType\":\"visitor_overstay\",\"NotifyRoleId\":null,\"NotifyUserId\":null,\"NotifyDynamicActor\":\"DynamicActor\",\"EntityContext\":{\"Parameters\":{\"orgId\":\"251\",\"organisationId\":\"251\",\"sourceRecordId\":\"29\",\"sourceModuleId\":\"121\",\"sourceRecordUid\":\"8QYE8X\",\"timerRuleConfigId\":\"17\",\"timerRuleActionId\":\"35\",\"scheduledAtUtc\":\"2026-09-09T05:18:00.0000000\",\"hostName\":\"\",\"visitorName\":\"\",\"siteName\":\"\"}},\"ActorContext\":null,\"Metadata\":{\"channels\":\"[\\\"Email\\\",\\\"Whatsapp\\\"]\",\"payloadTemplate\":\"{\\\"hostName\\\":\\\"{{source.hostName}}\\\",\\\"visitorName\\\":\\\"{source.visitorName}\\\",\\\"siteName\\\":\\\"{source.siteName}\\\"}\",\"timerQueueId\":\"82\",\"sourceField\":\"createdby\"}"}

{"Timestamp":"2026-09-09T05:20:25.7859139+00:00","Level":"Information","Data":{"EventId":2663991710},"Message":"Started processing notification for message ID 18491aa269ac3000"}

{"Timestamp":"2026-09-09T05:20:25.7859905+00:00","Level":"Information","Data":{"EventId":3203934697},"Message":"Looking up the notification handler for message ID 18491aa269ac3000"}

{"Timestamp":"2026-09-09T05:20:25.7860404+00:00","Level":"Information","Data":{"EventId":3881371602},"Message":"Event handling in process for message ID 18491aa269ac3000"}

{"Timestamp":"2026-09-09T05:20:25.7861662+00:00","Level":"Information","Data":{"EventId":3033040020},"Message":"Sending message ID 18491aa269ac3000 to DLQ"}

{"Timestamp":"2026-09-09T05:20:25.7864259+00:00","Level":"Information","Data":{"EventId":1923312444},"Message":"Dead letter envelope for DLQ message: {\"SourceTopic\":\"stg.notification.orchestrator\",\"SourceChannel\":\"notification-orchestrator\",\"FailedAtUtc\":\"2026-09-09T05:20:25.7861939Z\",\"Attempts\":1,\"ErrorType\":\"OQSHA.Notification.Orchestrator.Exceptions.PermanentOrchestratorException\",\"ErrorMessage\":\"Missing visitorManagementId in context for message ID 18491aa269ac3000\",\"StackTrace\":\"   at OQSHA.Notification.Orchestrator.NotificationHandlers.VisitorManagementNotificationHandler.ParseContext(String messageId, NotificationEventDto request) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\NotificationHandlers\\\\VisitorManagementNotificationHandler.cs:line 194\\r\\n   at OQSHA.Notification.Orchestrator.NotificationHandlers.VisitorManagementNotificationHandler.HandleAsync(String messageId, NotificationEventDto request) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\NotificationHandlers\\\\VisitorManagementNotificationHandler.cs:line 50\\r\\n   at OQSHA.Notification.Orchestrator.NotificationHandlers.VisitorManagementNotificationHandler.ProcessEventAsync(String messageId, NotificationEventDto request) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\NotificationHandlers\\\\VisitorManagementNotificationHandler.cs:line 44\\r\\n   at OQSHA.Notification.Orchestrator.Routing.EventRouter.ExecuteAsync(String messageId, NotificationEventDto request) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\Routing\\\\EventRouter.cs:line 38\\r\\n   at OQSHA.Notification.Orchestrator.Worker.OrchestratorMessageHandler.HandleMessage(IMessage message) in C:\\\\GitLab-Runner\\\\builds\\\\27n6lYj0J\\\\0\\\\incident-reporter\\\\incident-reporter-api\\\\IncidentReporter\\\\OQSHA.Notification.Orchestrator\\\\Worker\\\\OrchestratorMessageHandler.cs:line 44\",\"OriginalBody\":\"{\\\"TemplateId\\\":null,\\\"EntityType\\\":\\\"visitor_management\\\",\\\"EventType\\\":\\\"visitor_overstay\\\",\\\"NotifyRoleId\\\":null,\\\"NotifyUserId\\\":null,\\\"NotifyDynamicActor\\\":\\\"DynamicActor\\\",\\\"EntityContext\\\":{\\\"Parameters\\\":{\\\"orgId\\\":\\\"251\\\",\\\"organisationId\\\":\\\"251\\\",\\\"sourceRecordId\\\":\\\"29\\\",\\\"sourceModuleId\\\":\\\"121\\\",\\\"sourceRecordUid\\\":\\\"8QYE8X\\\",\\\"timerRuleConfigId\\\":\\\"17\\\",\\\"timerRuleActionId\\\":\\\"35\\\",\\\"scheduledAtUtc\\\":\\\"2026-09-09T05:18:00.0000000\\\",\\\"hostName\\\":\\\"\\\",\\\"visitorName\\\":\\\"\\\",\\\"siteName\\\":\\\"\\\"}},\\\"ActorContext\\\":null,\\\"Metadata\\\":{\\\"channels\\\":\\\"[\\\\\\\"Email\\\\\\\",\\\\\\\"Whatsapp\\\\\\\"]\\\",\\\"payloadTemplate\\\":\\\"{\\\\\\\"hostName\\\\\\\":\\\\\\\"{{source.hostName}}\\\\\\\",\\\\\\\"visitorName\\\\\\\":\\\\\\\"{source.visitorName}\\\\\\\",\\\\\\\"siteName\\\\\\\":\\\\\\\"{source.siteName}\\\\\\\"}\\\",\\\"timerQueueId\\\":\\\"82\\\",\\\"sourceField\\\":\\\"createdby\\\"}\"}"}

{"Timestamp":"2026-09-09T05:20:25.7875712+00:00","Level":"Information","Data":{"EventId":1910035039},"Message":"Sent message ID 18491aa269ac3000 to DLQ"}

{"Timestamp":"2026-09-09T08:03:37.5995727+00:00","Level":"Information","Data":{"EventId":3091016791},"Message":"Inside hosted service - for nsq"}

{"Timestamp":"2026-09-09T08:03:37.6812123+00:00","Level":"Information","Data":{"EventId":3138514657},"Message":"Started the consumer service and handler for NSQ"}

{"Timestamp":"2026-09-09T09:26:01.0042922+00:00","Level":"Information","Data":{"EventId":3091016791},"Message":"Inside hosted service - for nsq"}

{"Timestamp":"2026-09-09T09:26:01.0854605+00:00","Level":"Information","Data":{"EventId":3138514657},"Message":"Started the consumer service and handler for NSQ"}

{"Timestamp":"2026-09-09T10:48:45.4997901+00:00","Level":"Information","Data":{"EventId":2172209861},"Message":"Notification event with message ID 1849624d372c3000 received: {\"TemplateId\":1,\"EntityType\":\"safety_alerts\",\"EventType\":null,\"ModuleId\":77,\"NotifyRoleId\":489,\"NotifyUserId\":null,\"NotifyDynamicActor\":null,\"EntityContext\":{\"Parameters\":{\"alertId\":\"1835\",\"orgId\":\"262\",\"alertLink\":\"https://shivganga-staging.oqsha.com/#/safety-alerts-v2/edit-safety-alert-v2/1835\",\"EmailFooter\":\"OQSHA Team\",\"UserName\":\"Hebert Eaton\",\"description\":\"\",\"Department\":\"\",\"Section\":\"\",\"AssignedTo\":\"Amado Bekbergen\",\"AssignedToSectionIncharge\":\"\",\"AssignedToDso\":\"\",\"AssignedToAso\":\"\"}},\"ActorContext\":{\"AssignedUser\":[20944]},\"Metadata\":null}"}

{"Timestamp":"2026-09-09T10:48:45.6825535+00:00","Level":"Information","Data":{"EventId":3420380382},"Message":"Started processing notification for message ID 1849624d372c3000"}

{"Timestamp":"2026-09-09T10:48:45.6826637+00:00","Level":"Information","Data":{"EventId":2491210408},"Message":"Looking up the notification handler for message ID 1849624d372c3000"}

{"Timestamp":"2026-09-09T10:48:45.6831133+00:00","Level":"Information","Data":{"EventId":616292608},"Message":"Event handling in process for message ID 1849624d372c3000"}

{"Timestamp":"2026-09-09T10:48:46.5427656+00:00","Level":"Information","Data":{"EventId":427152857},"Message":"Dispatching 3 notification(s) for message ID 1849624d372c3000"}

{"Timestamp":"2026-09-09T10:48:46.5779006+00:00","Level":"Information","Data":{"EventId":3548791119},"Message":"Successfully processed notification for message ID 1849624d372c3000"}

{"Timestamp":"2026-09-09T10:48:46.5806872+00:00","Level":"Information","Data":{"EventId":3273387074},"Message":"Notification event with message ID 1849624d37ec3000 received: {\"TemplateId\":24,\"EntityType\":\"safety_alerts\",\"EventType\":null,\"ModuleId\":77,\"NotifyRoleId\":489,\"NotifyUserId\":null,\"NotifyDynamicActor\":null,\"EntityContext\":{\"Parameters\":{\"alertId\":\"1835\",\"orgId\":\"262\",\"alertLink\":\"https://shivganga-staging.oqsha.com/#/safety-alerts-v2/edit-safety-alert-v2/1835\",\"EmailFooter\":\"OQSHA Team\",\"UserName\":\"Hebert Eaton\",\"description\":\"\",\"Department\":\"\",\"Section\":\"\",\"AssignedTo\":\"Amado Bekbergen\",\"AssignedToSectionIncharge\":\"\",\"AssignedToDso\":\"\",\"AssignedToAso\":\"\"}},\"ActorContext\":{\"AssignedUser\":[20944]},\"Metadata\":null}"}

{"Timestamp":"2026-09-09T10:48:46.5856254+00:00","Level":"Information","Data":{"EventId":4230977307},"Message":"Started processing notification for message ID 1849624d37ec3000"}

{"Timestamp":"2026-09-09T10:48:46.5857108+00:00","Level":"Information","Data":{"EventId":649178589},"Message":"Looking up the notification handler for message ID 1849624d37ec3000"}

{"Timestamp":"2026-09-09T10:48:46.5857985+00:00","Level":"Information","Data":{"EventId":271170690},"Message":"Event handling in process for message ID 1849624d37ec3000"}

{"Timestamp":"2026-09-09T10:48:46.5997357+00:00","Level":"Information","Data":{"EventId":1687524000},"Message":"Dispatching 3 notification(s) for message ID 1849624d37ec3000"}

{"Timestamp":"2026-09-09T10:48:46.6005658+00:00","Level":"Information","Data":{"EventId":1375624823},"Message":"Successfully processed notification for message ID 1849624d37ec3000"}

{"Timestamp":"2026-09-09T10:52:12.6520882+00:00","Level":"Information","Data":{"EventId":2995863935},"Message":"Notification event with message ID 1849630e24ec3000 received: {\"TemplateId\":26,\"EntityType\":\"inspection_v2\",\"EventType\":null,\"ModuleId\":null,\"NotifyRoleId\":null,\"NotifyUserId\":267,\"NotifyDynamicActor\":null,\"EntityContext\":{\"Parameters\":{\"inspectionId\":\"2910\",\"orgId\":\"262\",\"inspectionLink\":\"https://qa-staging-2.oqsha.com/#/inspection-v2/edit-inspection-v2/2910\",\"emailFooter\":\"OQSHA Team\",\"userName\":\"Hebert Eaton\"}},\"ActorContext\":{},\"Metadata\":null}"}

{"Timestamp":"2026-09-09T10:52:12.6717616+00:00","Level":"Information","Data":{"EventId":4229934477},"Message":"Started processing notification for message ID 1849630e24ec3000"}

{"Timestamp":"2026-09-09T10:52:12.6718855+00:00","Level":"Information","Data":{"EventId":2655628930},"Message":"Looking up the notification handler for message ID 1849630e24ec3000"}

{"Timestamp":"2026-09-09T10:52:12.6719186+00:00","Level":"Information","Data":{"EventId":719999092},"Message":"Event handling in process for message ID 1849630e24ec3000"}

{"Timestamp":"2026-09-09T10:52:12.7645742+00:00","Level":"Information","Data":{"EventId":3057053416},"Message":"Dispatching 1 notification(s) for message ID 1849630e24ec3000"}

{"Timestamp":"2026-09-09T10:52:12.7655883+00:00","Level":"Information","Data":{"EventId":1274599464},"Message":"Successfully processed notification for message ID 1849630e24ec3000"}

{"Timestamp":"2026-09-09T10:52:12.7659599+00:00","Level":"Information","Data":{"EventId":3633494388},"Message":"Notification event with message ID 1849630e256c3000 received: {\"TemplateId\":29,\"EntityType\":\"inspection_v2\",\"EventType\":null,\"ModuleId\":null,\"NotifyRoleId\":null,\"NotifyUserId\":267,\"NotifyDynamicActor\":null,\"EntityContext\":{\"Parameters\":{\"inspectionId\":\"2910\",\"orgId\":\"262\",\"inspectionLink\":\"https://qa-staging-2.oqsha.com/#/inspection-v2/edit-inspection-v2/2910\",\"emailFooter\":\"OQSHA Team\",\"userName\":\"Hebert Eaton\"}},\"ActorContext\":{},\"Metadata\":null}"}

{"Timestamp":"2026-09-09T10:52:12.7691110+00:00","Level":"Information","Data":{"EventId":3127472119},"Message":"Started processing notification for message ID 1849630e256c3000"}

{"Timestamp":"2026-09-09T10:52:12.7692177+00:00","Level":"Information","Data":{"EventId":2049003933},"Message":"Looking up the notification handler for message ID 1849630e256c3000"}

{"Timestamp":"2026-09-09T10:52:12.7692469+00:00","Level":"Information","Data":{"EventId":3493946999},"Message":"Event handling in process for message ID 1849630e256c3000"}

{"Timestamp":"2026-09-09T10:52:12.7766886+00:00","Level":"Information","Data":{"EventId":760132961},"Message":"Dispatching 1 notification(s) for message ID 1849630e256c3000"}

{"Timestamp":"2026-09-09T10:52:12.7776155+00:00","Level":"Information","Data":{"EventId":2306557508},"Message":"Successfully processed notification for message ID 1849630e256c3000"}

