### Start Notification Sender Program.cs Execution ###


### Calling ConfigureService.Configure() function ###


### Start Event Execution ###


Message : {"EventName":"Update_USER","EventArgs":[{"Key":"DisplayName","Value":"Renard Whatley"},{"Key":"Password","Value":""},{"Key":"OrganisationName","Value":"Galecto Inc."},{"Key":"UserDivisions","Value":"Near miss, Unsafe Act, Unsafe Condition"},{"Key":"UserIncidentSites","Value":"Alanreed, Bowers, Council Bluffs, Cowgill, Fleischmanns, Fort Myers Beach, Galeville, Leeper, Rosewood, Suffield Depot, Vinings, Weldona"},{"Key":"OldEmail","Value":""},{"Key":"Email","Value":"MH_Admin_HO@oqsha.com"}]}


### Started process for Execution of Event : Update_USER ###


### Started Event for Update User Email ###


Calling Send Email Function for Update User Email


*--- Sending Email Serice Initiated ---*


Reading and binding data to Email Template


Initializing Email Service Client


Generating Email Request


Your OQSHA Access Has Been Updated


--- Email created using Osmo-x ---


--- Email response from Osmo-x is 201


### End Event Execution ###


Message : {"EventName":"Update_APP_USER","EventArgs":[{"Key":"DisplayName","Value":"Renard Whatley"},{"Key":"Password","Value":""},{"Key":"OrganisationName","Value":"Galecto Inc."},{"Key":"UserUid","Value":"9100999124"},{"Key":"UserDivisions","Value":"Near miss, Unsafe Act, Unsafe Condition"},{"Key":"UserIncidentSites","Value":"Alanreed, Bowers, Council Bluffs, Cowgill, Fleischmanns, Fort Myers Beach, Galeville, Leeper, Rosewood, Suffield Depot, Vinings, Weldona"},{"Key":"Email","Value":"MH_Admin_HO@oqsha.com"},{"Key":"MobileNumber","Value":"+912000000713"}]}


### Started process for Execution of Event : Update_APP_USER ###


### Started Event for Update App User Email ###


Your OQSHA Access Has Been Updated

This is a test mode notification. Notification was not delivered to recipient.


### Start Event Execution ###


### Started process for Execution of Event : NOTIFICATION_TO_ISSUER ###


# Calling SendNotificationToIssuerForCreatingPermitToWork function for whatsapp and push notification #


Executing sending notification to issuers through whatsapp


Sending notification to issuers of the comapny regarding permit to work 382240


Osmo-x WhatsApp Message has been Sent


Sending notification to issuers of the comapny regarding permit to work 382241


Sending notification to issuers of the comapny regarding permit to work 382242


### Start Notification Sender Program.cs Execution ###


### Calling ConfigureService.Configure() function ###


Message : {"EventName":"INFORM_TO_INCIDENT_CREATION_NOTIFICATION","EventArgs":[{"Key":"IncidentId","Value":75029},{"Key":"InformToUserId","Value":5532}]}


### Started process for Execution of Event : INFORM_TO_INCIDENT_CREATION_NOTIFICATION ###


### Started processing Inform-To Incident Creation Notification ###


Calling SendInformToNotification function for ticket creation


### Ended processing Inform-To Incident Creation Notification ###


### End Event Execution ###


### Started process for Execution of Event : NOTIFICATION_TO_TASK_ASSIGNEES ###


# Calling SendNotificationToTaskAssignees function for WhatsApp notification #


### Start Event Execution ###


Message : {"EventName":"ASSIGNED_TO_NOTIFICATION","EventArgs":[{"Key":"AssignedIncidentID","Value":75029},{"Key":"AssignedToID","Value":5889}]}


### Started process for Execution of Event : ASSIGNED_TO_NOTIFICATION ###


### Started processing Assigned to Notification Event ###


# Calling SendNotificationToAssignedId function for all types of assigned to notification #


### Ended processing Assigned to Notification Event ###


Message : {"EventName":"UPDATE_INCIDENT_NOTIFICATION","EventArgs":[{"Key":"IncidentId","Value":75029},{"Key":"IncidentHistoryId","Value":99655},{"Key":"IsTicketAssigned","Value":true}]}


### Started process for Execution of Event : UPDATE_INCIDENT_NOTIFICATION ###


### Started processing for Update incident Event ###


# Calling  SendNotification function for  all types of notification #


Sending WhatsApp notification for task assignment to user ID: 5889


Nullable object must have a value.

System.InvalidOperationException: Nullable object must have a value.
   at System.ThrowHelper.ThrowInvalidOperationException(ExceptionResource resource)
   at IncidentReporter.API.BLL.IncidentsBLL.GetConvertedTimeZone(IncidentDBO incident) in C:\GitLab-Runner\builds\27n6lYj0J\0\incident-reporter\incident-reporter-api\IncidentReporter\IncidentReporter.API\BLL\IncidentsBLL.cs:line 3682
   at IncidentReporter.NotificationSender.DAL.Events.Notifier.SendUpdateIncidentNotification(Int64 incidentId, Int64 incidentHistoryId, Boolean isTicketAssigned) in C:\GitLab-Runner\builds\27n6lYj0J\0\incident-reporter\incident-reporter-api\IncidentReporter\IncidentReporter.NotificationSender\DAL\Events\Notifier.cs:line 2767
   at IncidentReporter.NotificationSender.DAL.Events.EventHandler.HandleMessage(IMessage message) in C:\GitLab-Runner\builds\27n6lYj0J\0\incident-reporter\incident-reporter-api\IncidentReporter\IncidentReporter.NotificationSender\DAL\Events\EventHandler.cs:line 463


Osmo-x WhatsApp Message has been Sent


Sending Task Assignment Email for TaskId: 14224, UserId: 5889


*--- Sending Email Serice Initiated ---*


Reading and binding data to Email Template


Initializing Email Service Client


Generating Email Request


New Action Tracker Assigned - AT/FBYDW/ROO/TTT/26/00001


--- Email created using Osmo-x ---


--- Email response from Osmo-x is 201


# Preparing notification body #


### End Event Execution ###


### Start Event Execution ###


Message : {"EventName":"UPDATE_INCIDENT_NOTIFICATION","EventArgs":[{"Key":"IncidentId","Value":75029},{"Key":"IncidentHistoryId","Value":99656},{"Key":"IsTicketAssigned","Value":false}]}


Nullable object must have a value.


Message : {"EventName":"INCIDENT_CLOSURE_NOTIFICATION_VALIDATION_1","EventArgs":[{"Key":"IncidentId","Value":75029},{"Key":"ClosedById","Value":5889}]}


### Started process for Execution of Event : INCIDENT_CLOSURE_NOTIFICATION_VALIDATION_1 ###


### Started processing for Incident Closure Validation Level 1 Event ###


### Ended processing Incident Closure Validation Level 1 Event ###


Nullable object must have a value.

System.InvalidOperationException: Nullable object must have a value.
   at System.ThrowHelper.ThrowInvalidOperationException(ExceptionResource resource)
   at IncidentReporter.NotificationSender.DAL.Events.Notifier.<SendIncidentClosureNotification>d__120.MoveNext() in C:\GitLab-Runner\builds\27n6lYj0J\0\incident-reporter\incident-reporter-api\IncidentReporter\IncidentReporter.NotificationSender\DAL\Events\Notifier.cs:line 0
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.AsyncMethodBuilderCore.<>c.<ThrowAsync>b__6_1(Object state)
   at System.Threading.QueueUserWorkItemCallback.WaitCallback_Context(Object state)
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.QueueUserWorkItemCallback.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem()
   at System.Threading.ThreadPoolWorkQueue.Dispatch()
   at System.Threading._ThreadPoolWaitCallback.PerformWaitCallback()


### Start Notification Sender Program.cs Execution ###


### Calling ConfigureService.Configure() function ###


Message : {"EventName":"UPDATE_INCIDENT_NOTIFICATION","EventArgs":[{"Key":"IncidentId","Value":75029},{"Key":"IncidentHistoryId","Value":99657},{"Key":"IsTicketAssigned","Value":false}]}


### Started process for Execution of Event : NOTIFICATION_TO_TASK_ASSIGNEES ###


# Calling SendNotificationToTaskAssignees function for WhatsApp notification #


Sending WhatsApp notification for task assignment to user ID: 267


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000001875","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"oqsha_task_assigned_to_notification_v4","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"Hebert Eaton"},{"type":"text","text":"Action Tracker"},{"type":"text","text":"AT/FBYDW/ROO/3PR/26/00002"},{"type":"text","text":"vfkfco"},{"type":"text","text":"3rd Party Risk Assessment"},{"type":"text","text":"https://oqsha.com/#/tasks/edit/14226?dlType=viewTask&orgID=248"},{"type":"text","text":"EHS Department - TTK Prestige Limited"}]}]}}}


Message : {"EventName":"INCIDENT_CLOSURE_NOTIFICATION_VALIDATION_2","EventArgs":[{"Key":"IncidentId","Value":75029},{"Key":"ClosedById","Value":5532}]}


### Started process for Execution of Event : INCIDENT_CLOSURE_NOTIFICATION_VALIDATION_2 ###


### Started processing for Incident Closure Validation Level 2 Event ###


### Ended processing Incident Closure Validation Level 2 Event ###


### End Event Execution ###


### Start Event Execution ###


Nullable object must have a value.


Message : {"EventName":"UPDATE_INCIDENT_NOTIFICATION","EventArgs":[{"Key":"IncidentId","Value":75029},{"Key":"IncidentHistoryId","Value":99658},{"Key":"IsTicketAssigned","Value":false}]}


### Started process for Execution of Event : UPDATE_INCIDENT_NOTIFICATION ###


### Started processing for Update incident Event ###


# Calling  SendNotification function for  all types of notification #


Message : {"EventName":"NOTIFICATION_FOR_WORK_PERMIT_CREATION","EventArgs":[{"Key":"WorkPermitId","Value":"2746"},{"Key":"ApproverIds","Value":"[5889]"},{"Key":"SiteName","Value":"Colver"},{"Key":"CreatedBy","Value":"Hebert Eaton"},{"Key":"WorkPermitUid","Value":"WP/FBYDW/ROO/CSE/26/00001"},{"Key":"OrgId","Value":248},{"Key":"OrganisationName","Value":"Falcon's Beyond Global Inc. Warrants"}]}


### Started process for Execution of Event : NOTIFICATION_FOR_WORK_PERMIT_CREATION ###


# Calling SendNotificationForWorkPermitCreation function for email/WhatsApp #


Executing email and WhatsApp notifications to WorkPermit approvers


Sending WorkPermit creation email to: osm07104@osmosys.co


*--- Sending Email Serice Initiated ---*


Reading and binding data to Email Template


Initializing Email Service Client


Generating Email Request


Osmo-x WhatsApp Message has been Sent


Sending Task Assignment Email for TaskId: 14226, UserId: 267


New Action Tracker Assigned - AT/FBYDW/ROO/3PR/26/00002


--- Email created using Osmo-x ---


--- Email response from Osmo-x is 201


# Preparing notification body #


New Work Permit Assigned


Sending WorkPermit creation WhatsApp message to: 912000003104


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000003104","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"oqsha_work_permit_creation_alert_v3","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"Cato Kwon"},{"type":"text","text":"WP/FBYDW/ROO/CSE/26/00001"},{"type":"text","text":"Colver"},{"type":"text","text":"Falcon's Beyond Global Inc. Warrants"},{"type":"text","text":"Hebert Eaton"},{"type":"text","text":"https://oqsha.com/#/permit-to-work/view-work-permit/248/2746?dlType=viewWorkPermitV2"},{"type":"text","text":"EHS Department - TTK Prestige Limited"}]}]}}}


### End Event Execution ###


### Start Event Execution ###


### Started process for Execution of Event : NOTIFICATION_TO_TASK_ASSIGNEES ###


# Calling SendNotificationToTaskAssignees function for WhatsApp notification #


Sending WhatsApp notification for task assignment to user ID: 5889


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000003104","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"oqsha_task_assigned_to_notification_v4","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"Cato Kwon"},{"type":"text","text":"Action Tracker"},{"type":"text","text":"AT/FBYDW/ROO/3PR/26/00002"},{"type":"text","text":"vfkfco"},{"type":"text","text":"3rd Party Risk Assessment"},{"type":"text","text":"https://oqsha.com/#/tasks/edit/14226?dlType=viewTask&orgID=248"},{"type":"text","text":"EHS Department - TTK Prestige Limited"}]}]}}}


Message : {"EventName":"DEPARTMENT_INCHARGE_NOTIFICATION_FOR_WORK_PERMIT_CREATION","EventArgs":[{"Key":"WorkPermitId","Value":"2746"},{"Key":"UserIds","Value":"[]"},{"Key":"SiteName","Value":"Colver"},{"Key":"CreatedBy","Value":"Hebert Eaton"},{"Key":"WorkPermitUid","Value":"WP/FBYDW/ROO/CSE/26/00001"},{"Key":"OrgId","Value":248},{"Key":"OrganisationName","Value":"Falcon's Beyond Global Inc. Warrants"}]}


### Started process for Execution of Event : DEPARTMENT_INCHARGE_NOTIFICATION_FOR_WORK_PERMIT_CREATION ###


# Calling SendDepartmentInchargeNotificationForWorkPermitCreation function for email/WhatsApp #


Message : {"EventName":"WORK_PERMIT_APPROVED_INFORM_TO_CREATOR_NOTIFICATION","EventArgs":[{"Key":"CreatorId","Value":"267"},{"Key":"ApproverName","Value":"Cato Kwon"},{"Key":"WorkPermitId","Value":"2746"},{"Key":"WorkPermitUid","Value":"WP/FBYDW/ROO/CSE/26/00001"},{"Key":"SiteName","Value":"Colver"},{"Key":"OrganisationName","Value":"Falcon's Beyond Global Inc. Warrants"},{"Key":"StatusPastTenseName","Value":"Approved"},{"Key":"ApprovedOn","Value":"11-Jun-2026 04:56:27 PM"},{"Key":"OrgId","Value":248}]}


### Started process for Execution of Event : WORK_PERMIT_APPROVED_INFORM_TO_CREATOR_NOTIFICATION ###


# Calling SendWorkPermitApprovedInformToCreatorNotification function for email #


Executing email notifications to WorkPermit Creator about the approval by an Approver


Osmo-x WhatsApp Message has been Sent


Sending Task Assignment Email for TaskId: 14226, UserId: 5889


*--- Sending Email Serice Initiated ---*


Reading and binding data to Email Template


Initializing Email Service Client


Generating Email Request


Sending WorkPermit Approver Clarification email to WorkPermit Creator: TTK_Admin@oqsha.com


--- Email created using Osmo-x ---


--- Email response from Osmo-x is 201


# Preparing notification body #


Cato Kwon has Approved your Work Permit


Executing whatsapp notifications to WorkPermit Creator about the approval by an Approver


Sending WhatsApp for WorkPermit to user: 267


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000001875","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"oqsha_work_permit_approved_inform_to_v2","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"Hebert Eaton"},{"type":"text","text":"Cato Kwon"},{"type":"text","text":"Approved"},{"type":"text","text":"WP/FBYDW/ROO/CSE/26/00001"},{"type":"text","text":"Colver"},{"type":"text","text":"Falcon's Beyond Global Inc. Warrants"},{"type":"text","text":"11-Jun-2026 04:56:27 PM"},{"type":"text","text":"https://oqsha.com/#/permit-to-work/view-work-permit/248/2746?dlType=viewWorkPermitV2"},{"type":"text","text":"EHS Department - TTK Prestige Limited"}]}]}}}


### End Event Execution ###


### Start Event Execution ###


### Started process for Execution of Event : NOTIFICATION_TO_TASK_ASSIGNEES ###


# Calling SendNotificationToTaskAssignees function for WhatsApp notification #


Sending WhatsApp notification for task assignment to user ID: 5889


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000003104","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"oqsha_task_assigned_to_notification_v4","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"Cato Kwon"},{"type":"text","text":"Action Tracker"},{"type":"text","text":"AT/FBYDW/ROO/MRA/26/00002"},{"type":"text","text":"N/A"},{"type":"text","text":"Machine Risk Assessment"},{"type":"text","text":"https://oqsha.com/#/tasks/edit/14230?dlType=viewTask&orgID=248"},{"type":"text","text":"EHS Department - TTK Prestige Limited"}]}]}}}


Osmo-x WhatsApp Message has been Sent


Sending Task Assignment Email for TaskId: 14230, UserId: 5889


Initializing Email Service Client


Generating Email Request


### Started process for Execution of Event : WORK_PERMIT_APPROVAL_INVITATION_NOTIFICATION ###


# Calling SendWorkPermitApprovalInvitationNotification function for email/WhatsApp #


Executing email notifications to WorkPermit Approvers about the Pending approval


New Action Tracker Assigned - AT/FBYDW/ROO/MRA/26/00002


--- Email created using Osmo-x ---


--- Email response from Osmo-x is 201


# Preparing notification body #


A Work Permit is awaiting your Approval


Executing whatsapp notifications to WorkPermit Approvers about the Pending approval


Sending WhatsApp for WorkPermit to user: 5532


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000008275","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"oqsha_work_permit_approval_invitation_v3","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"Lesia Hardman"},{"type":"text","text":"Approval"},{"type":"text","text":"WP/FBYDW/ROO/CSE/26/00001"},{"type":"text","text":"Colver"},{"type":"text","text":"Falcon's Beyond Global Inc. Warrants"},{"type":"text","text":"Hebert Eaton"},{"type":"text","text":"https://oqsha.com/#/permit-to-work/view-work-permit/248/2746?dlType=viewWorkPermitV2"},{"type":"text","text":"EHS Department - TTK Prestige Limited"}]}]}}}


### End Event Execution ###


### Start Event Execution ###


Message : {"EventName":"WORK_PERMIT_APPROVED_INFORM_TO_CREATOR_NOTIFICATION","EventArgs":[{"Key":"CreatorId","Value":"267"},{"Key":"ApproverName","Value":"Lesia Hardman"},{"Key":"WorkPermitId","Value":"2746"},{"Key":"WorkPermitUid","Value":"WP/FBYDW/ROO/CSE/26/00001"},{"Key":"SiteName","Value":"Colver"},{"Key":"OrganisationName","Value":"Falcon's Beyond Global Inc. Warrants"},{"Key":"StatusPastTenseName","Value":"Approved"},{"Key":"ApprovedOn","Value":"11-Jun-2026 04:57:47 PM"},{"Key":"OrgId","Value":248}]}


### Started process for Execution of Event : WORK_PERMIT_APPROVED_INFORM_TO_CREATOR_NOTIFICATION ###


# Calling SendWorkPermitApprovedInformToCreatorNotification function for email #


Executing email notifications to WorkPermit Creator about the approval by an Approver


Sending WorkPermit Approver Clarification email to WorkPermit Creator: TTK_Admin@oqsha.com


*--- Sending Email Serice Initiated ---*


Reading and binding data to Email Template


Initializing Email Service Client


Generating Email Request


Lesia Hardman has Approved your Work Permit


--- Email created using Osmo-x ---


--- Email response from Osmo-x is 201


Executing whatsapp notifications to WorkPermit Creator about the approval by an Approver


Sending WhatsApp for WorkPermit to user: 267


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000001875","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"oqsha_work_permit_approved_inform_to_v2","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"Hebert Eaton"},{"type":"text","text":"Lesia Hardman"},{"type":"text","text":"Approved"},{"type":"text","text":"WP/FBYDW/ROO/CSE/26/00001"},{"type":"text","text":"Colver"},{"type":"text","text":"Falcon's Beyond Global Inc. Warrants"},{"type":"text","text":"11-Jun-2026 04:57:47 PM"},{"type":"text","text":"https://oqsha.com/#/permit-to-work/view-work-permit/248/2746?dlType=viewWorkPermitV2"},{"type":"text","text":"EHS Department - TTK Prestige Limited"}]}]}}}


Osmo-x WhatsApp Message has been Sent


# Preparing notification body #


### End Event Execution ###


### Start Event Execution ###


A Work Permit is awaiting your Approval


Sending WhatsApp for WorkPermit to user: 5889


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000003104","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"oqsha_work_permit_approval_invitation_v3","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"Cato Kwon"},{"type":"text","text":"Approval"},{"type":"text","text":"WP/FBYDW/ROO/CSE/26/00001"},{"type":"text","text":"Colver"},{"type":"text","text":"Falcon's Beyond Global Inc. Warrants"},{"type":"text","text":"Hebert Eaton"},{"type":"text","text":"https://oqsha.com/#/permit-to-work/view-work-permit/248/2746?dlType=viewWorkPermitV2"},{"type":"text","text":"EHS Department - TTK Prestige Limited"}]}]}}}


### Started process for Execution of Event : NOTIFICATION_TO_ISSUER ###


# Calling SendNotificationToIssuerForCreatingPermitToWork function for whatsapp and push notification #


Executing sending notification to issuers through whatsapp


Sending notification to issuers of the comapny regarding permit to work 382243


Message : {"EventName":"WORK_PERMIT_APPROVED_INFORM_TO_CREATOR_NOTIFICATION","EventArgs":[{"Key":"CreatorId","Value":"267"},{"Key":"ApproverName","Value":"Cato Kwon"},{"Key":"WorkPermitId","Value":"2746"},{"Key":"WorkPermitUid","Value":"WP/FBYDW/ROO/CSE/26/00001"},{"Key":"SiteName","Value":"Colver"},{"Key":"OrganisationName","Value":"Falcon's Beyond Global Inc. Warrants"},{"Key":"StatusPastTenseName","Value":"Approved"},{"Key":"ApprovedOn","Value":"11-Jun-2026 04:58:27 PM"},{"Key":"OrgId","Value":248}]}


Initializing Email Service Client


Generating Email Request


Cato Kwon has Approved your Work Permit


--- Email created using Osmo-x ---


--- Email response from Osmo-x is 201


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000001875","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"oqsha_work_permit_approved_inform_to_v2","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"Hebert Eaton"},{"type":"text","text":"Cato Kwon"},{"type":"text","text":"Approved"},{"type":"text","text":"WP/FBYDW/ROO/CSE/26/00001"},{"type":"text","text":"Colver"},{"type":"text","text":"Falcon's Beyond Global Inc. Warrants"},{"type":"text","text":"11-Jun-2026 04:58:27 PM"},{"type":"text","text":"https://oqsha.com/#/permit-to-work/view-work-permit/248/2746?dlType=viewWorkPermitV2"},{"type":"text","text":"EHS Department - TTK Prestige Limited"}]}]}}}


Osmo-x WhatsApp Message has been Sent


# Preparing notification body #


### End Event Execution ###


### Start Event Execution ###


Message : {"EventName":"WORK_PERMIT_APPROVED_CONTRACTOR_SUPERVISOR_NOTIFICATION","EventArgs":[{"Key":"WorkPermitId","Value":"2746"},{"Key":"WorkPermitUid","Value":"WP/FBYDW/ROO/CSE/26/00001"},{"Key":"SiteName","Value":"Colver"},{"Key":"OrganisationName","Value":"Falcon's Beyond Global Inc. Warrants"},{"Key":"ApprovedOn","Value":"11-Jun-2026 04:58:27 PM"},{"Key":"OrgId","Value":248}]}


### Started process for Execution of Event : WORK_PERMIT_APPROVED_CONTRACTOR_SUPERVISOR_NOTIFICATION ###


# Calling SendWorkPermitApprovedInformToCreatorNotification function for email #


Executing email notifications to Contractor Supervisor about the approval of Work Permit by all Approver


Message : {"EventName":"TASK_CREATE_EHS_NOTIFICATION","EventArgs":[{"Key":"TaskId","Value":14228},{"Key":"OrgId","Value":248}]}


### Started process for Execution of Event : TASK_CREATE_EHS_NOTIFICATION ###


### Started processing for Task Creation Notification to site EHS Event ###


Task not found for TaskId=14228, OrgId=248


### Ended processing Task Creation Notification to site EHS Event ###


Message : {"EventName":"TASK_CREATE_EHS_NOTIFICATION","EventArgs":[{"Key":"TaskId","Value":14230},{"Key":"OrgId","Value":248}]}


Task not found for TaskId=14230, OrgId=248


Message : {"EventName":"TASK_CLOSURE_NOTIFICATION_VALIDATION_1","EventArgs":[{"Key":"TaskId","Value":14230},{"Key":"OrgId","Value":248}]}


### Started process for Execution of Event : TASK_CLOSURE_NOTIFICATION_VALIDATION_1 ###


### Started processing for Task Closure Validation Level 1 Event ###


System.NullReferenceException: Object reference not set to an instance of an object.
   at IncidentReporter.NotificationSender.DAL.Events.Notifier.SendTaskClosureNotification(Int64 taskId, Int64 orgId, Int32 validationLevel) in C:\GitLab-Runner\builds\27n6lYj0J\0\incident-reporter\incident-reporter-api\IncidentReporter\IncidentReporter.NotificationSender\DAL\Events\Notifier.cs:line 11799
   at IncidentReporter.NotificationSender.DAL.Events.EventHandler.HandleMessage(IMessage message) in C:\GitLab-Runner\builds\27n6lYj0J\0\incident-reporter\incident-reporter-api\IncidentReporter\IncidentReporter.NotificationSender\DAL\Events\EventHandler.cs:line 1437


### End Event Execution ###


### Start Event Execution ###


Message : {"EventName":"TASK_CLOSURE_NOTIFICATION_VALIDATION_2","EventArgs":[{"Key":"TaskId","Value":14230},{"Key":"OrgId","Value":248}]}


### Started process for Execution of Event : TASK_CLOSURE_NOTIFICATION_VALIDATION_2 ###


### Started processing for Task Closure Validation Level 2 Event ###


System.NullReferenceException: Object reference not set to an instance of an object.
   at IncidentReporter.NotificationSender.DAL.Events.Notifier.SendTaskClosureNotification(Int64 taskId, Int64 orgId, Int32 validationLevel) in C:\GitLab-Runner\builds\27n6lYj0J\0\incident-reporter\incident-reporter-api\IncidentReporter\IncidentReporter.NotificationSender\DAL\Events\Notifier.cs:line 11799
   at IncidentReporter.NotificationSender.DAL.Events.EventHandler.HandleMessage(IMessage message) in C:\GitLab-Runner\builds\27n6lYj0J\0\incident-reporter\incident-reporter-api\IncidentReporter\IncidentReporter.NotificationSender\DAL\Events\EventHandler.cs:line 1455


### Started process for Execution of Event : ESCALATE_NOTIFICATION ###


### Started process for Execution of Event : SEVERITY_NOTIFICATION ###


### Started processing for Notification Execution ###


### Started processing  Severity Notification Execution ###


#  Added Notification for Severity of IncidentUID: A48QTI#


#  Added Notification for Severity of IncidentUID: 6QK4SP#


#  Added Notification for Severity of IncidentUID: S8TQ8A#


#  Added Notification for Severity of IncidentUID: KHCQXU#


#  Added Notification for Severity of IncidentUID: DJOCU3#


#  Added Notification for Severity of IncidentUID: AN30LQ#


#  Added Notification for Severity of IncidentUID: BX0YRO#


#  Added Notification for Severity of IncidentUID: BHNS7Y#


#  Added Notification for Severity of IncidentUID: VIUSIB#


#  Added Notification for Severity of IncidentUID: B3KCP2#


#  Added Notification for Severity of IncidentUID: PVFR96#


#  Added Notification for Severity of IncidentUID: OG9162#


#  Added Notification for Severity of IncidentUID: 5UUS2X#


#  Added Notification for Severity of IncidentUID: K1GFYD#


#  Added Notification for Severity of IncidentUID: VFONJ4#


#  Added Notification for Severity of IncidentUID: 1UX8U0#


#  Added Notification for Severity of IncidentUID: UH4LR6#


#  Added Notification for Severity of IncidentUID: 1P0STW#


#  Added Notification for Severity of IncidentUID: 4TYEFP#


#  Added Notification for Severity of IncidentUID: GHHQJC#


#  Added Notification for Severity of IncidentUID: QDN0CH#


#  Added Notification for Severity of IncidentUID: EU0Z4E#


# Calling SendSeverityNotifications function for Severity notification #


## Fetching details for Severity escalation for IncidentUID: A48QTI ##


Generating report.


### Ended processing  Severity Email Notification Execution ###


### End Event Execution ###


### Start Event Execution ###


### Started process for Execution of Event : BULK_EXPORT_READY ###


# Calling SendBulkExportReadyEmail for exportId=28 userId=267 #


[BulkExport] Fetching user details for userId=267


[BulkExport] Sending email to=TTK_Admin@oqsha.com


*--- Sending Email Serice Initiated ---*


Reading and binding data to Email Template


Initializing Email Service Client


Generating Email Request


Your OQSHA bulk export is ready


--- Email created using Osmo-x ---


--- Email response from Osmo-x is 201


[BulkExport] Email sent successfully to=TTK_Admin@oqsha.com


# Calling SendBulkExportReadyEmail for exportId=29 userId=267 #


Message : {"EventName":"INFORM_TO_INCIDENT_CREATION_NOTIFICATION","EventArgs":[{"Key":"IncidentId","Value":75030},{"Key":"InformToUserId","Value":5532}]}


### Started process for Execution of Event : INFORM_TO_INCIDENT_CREATION_NOTIFICATION ###


### Started processing Inform-To Incident Creation Notification ###


Calling SendInformToNotification function for ticket creation


### Ended processing Inform-To Incident Creation Notification ###


### End Event Execution ###


### Start Event Execution ###


# Calling SendBulkExportReadyEmail for exportId=30 userId=267 #


### Started process for Execution of Event : NOTIFICATION_TO_TASK_ASSIGNEES ###


# Calling SendNotificationToTaskAssignees function for WhatsApp notification #


Sending WhatsApp notification for task assignment to user ID: 5889


Message : {"EventName":"ASSIGNED_TO_NOTIFICATION","EventArgs":[{"Key":"AssignedIncidentID","Value":75030},{"Key":"AssignedToID","Value":5889}]}


### Started process for Execution of Event : ASSIGNED_TO_NOTIFICATION ###


### Started processing Assigned to Notification Event ###


# Calling SendNotificationToAssignedId function for all types of assigned to notification #


### Ended processing Assigned to Notification Event ###


Message : {"EventName":"UPDATE_INCIDENT_NOTIFICATION","EventArgs":[{"Key":"IncidentId","Value":75030},{"Key":"IncidentHistoryId","Value":99660},{"Key":"IsTicketAssigned","Value":true}]}


### Started process for Execution of Event : UPDATE_INCIDENT_NOTIFICATION ###


### Started processing for Update incident Event ###


# Calling  SendNotification function for  all types of notification #


Osmo-x WhatsApp Message has been Sent


Sending Task Assignment Email for TaskId: 14231, UserId: 5889


*--- Sending Email Serice Initiated ---*


Reading and binding data to Email Template


Initializing Email Service Client


Generating Email Request


Nullable object must have a value.


### End Event Execution ###


New Action Tracker Assigned - AT/FBYDW/ROO/TTT/26/00002


--- Email created using Osmo-x ---


--- Email response from Osmo-x is 201


# Preparing notification body #


### Start Event Execution ###


Message : {"EventName":"UPDATE_INCIDENT_NOTIFICATION","EventArgs":[{"Key":"IncidentId","Value":75030},{"Key":"IncidentHistoryId","Value":99661},{"Key":"IsTicketAssigned","Value":false}]}


Message : {"EventName":"INCIDENT_CLOSURE_NOTIFICATION_VALIDATION_1","EventArgs":[{"Key":"IncidentId","Value":75030},{"Key":"ClosedById","Value":5889}]}


### Started process for Execution of Event : INCIDENT_CLOSURE_NOTIFICATION_VALIDATION_1 ###


### Started processing for Incident Closure Validation Level 1 Event ###


### Ended processing Incident Closure Validation Level 1 Event ###


### Start Notification Sender Program.cs Execution ###


### Calling ConfigureService.Configure() function ###


### Started process for Execution of Event : BULK_EXPORT_READY ###


# Calling SendBulkExportReadyEmail for exportId=31 userId=267 #


[BulkExport] Fetching user details for userId=267


### Started process for Execution of Event : ESCALATE_NOTIFICATION ###


### End Event Execution ###


[BulkExport] Sending email to=TTK_Admin@oqsha.com


Initializing Email Service Client


Generating Email Request


Your OQSHA bulk export is ready


--- Email created using Osmo-x ---


--- Email response from Osmo-x is 201


[BulkExport] Email sent successfully to=TTK_Admin@oqsha.com


### Start Event Execution ###


### Started process for Execution of Event : SEVERITY_NOTIFICATION ###


### Started processing for Notification Execution ###


### Started processing  Severity Notification Execution ###


#  Added Notification for Severity of IncidentUID: A48QTI#


#  Added Notification for Severity of IncidentUID: 6QK4SP#


#  Added Notification for Severity of IncidentUID: S8TQ8A#


#  Added Notification for Severity of IncidentUID: KHCQXU#


#  Added Notification for Severity of IncidentUID: DJOCU3#


#  Added Notification for Severity of IncidentUID: AN30LQ#


#  Added Notification for Severity of IncidentUID: BX0YRO#


#  Added Notification for Severity of IncidentUID: BHNS7Y#


#  Added Notification for Severity of IncidentUID: VIUSIB#


#  Added Notification for Severity of IncidentUID: B3KCP2#


#  Added Notification for Severity of IncidentUID: PVFR96#


#  Added Notification for Severity of IncidentUID: OG9162#


#  Added Notification for Severity of IncidentUID: 5UUS2X#


#  Added Notification for Severity of IncidentUID: K1GFYD#


#  Added Notification for Severity of IncidentUID: VFONJ4#


#  Added Notification for Severity of IncidentUID: 1UX8U0#


#  Added Notification for Severity of IncidentUID: UH4LR6#


#  Added Notification for Severity of IncidentUID: 1P0STW#


#  Added Notification for Severity of IncidentUID: 4TYEFP#


#  Added Notification for Severity of IncidentUID: GHHQJC#


#  Added Notification for Severity of IncidentUID: QDN0CH#


#  Added Notification for Severity of IncidentUID: EU0Z4E#


# Calling SendSeverityNotifications function for Severity notification #


## Fetching details for Severity escalation for IncidentUID: A48QTI ##


Generating report.


### Ended processing  Severity Email Notification Execution ###


### End Event Execution ###


### Start Event Execution ###


Message : {"EventName":"Update_USER","EventArgs":[{"Key":"DisplayName","Value":"Harve Cope"},{"Key":"Password","Value":""},{"Key":"OrganisationName","Value":"Galecto Inc."},{"Key":"UserDivisions","Value":"Unsafe Act, Unsafe Condition, Near miss"},{"Key":"UserIncidentSites","Value":"Alanreed, Bowers, Council Bluffs, Cowgill, Fleischmanns, Fort Myers Beach, Galeville, Leeper, Rosewood, Suffield Depot, Vinings, Weldona"},{"Key":"OldEmail","Value":""},{"Key":"Email","Value":"osm05485@osmosys.co"}]}


### Started process for Execution of Event : Update_USER ###


### Started Event for Update User Email ###


Calling Send Email Function for Update User Email


*--- Sending Email Serice Initiated ---*


Reading and binding data to Email Template


Initializing Email Service Client


Generating Email Request


Your OQSHA Access Has Been Updated


--- Email created using Osmo-x ---


--- Email response from Osmo-x is 201


Message : {"EventName":"Update_APP_USER","EventArgs":[{"Key":"DisplayName","Value":"Harve Cope"},{"Key":"Password","Value":""},{"Key":"OrganisationName","Value":"Galecto Inc."},{"Key":"UserUid","Value":""},{"Key":"UserDivisions","Value":"Unsafe Act, Unsafe Condition, Near miss"},{"Key":"UserIncidentSites","Value":"Alanreed, Bowers, Council Bluffs, Cowgill, Fleischmanns, Fort Myers Beach, Galeville, Leeper, Rosewood, Suffield Depot, Vinings, Weldona"},{"Key":"Email","Value":"osm05485@osmosys.co"},{"Key":"MobileNumber","Value":"+912000010553"}]}


### Started process for Execution of Event : Update_APP_USER ###


### Started Event for Update App User Email ###


### Start Notification Sender Program.cs Execution ###


### Calling ConfigureService.Configure() function ###


### Start Event Execution ###


### Started process for Execution of Event : BULK_EXPORT_READY ###


# Calling SendBulkExportReadyEmail for exportId=33 userId=267 #


[BulkExport] Fetching user details for userId=267


[BulkExport] Sending email to=TTK_Admin@oqsha.com


Your OQSHA bulk export is ready


[BulkExport] Email sent successfully to=TTK_Admin@oqsha.com


### End Event Execution ###


# Calling SendBulkExportReadyEmail for exportId=34 userId=267 #


Initializing Email Service Client


Generating Email Request


--- Email created using Osmo-x ---


--- Email response from Osmo-x is 201


# Calling SendBulkExportReadyEmail for exportId=35 userId=267 #


# Calling SendBulkExportReadyEmail for exportId=36 userId=267 #


# Calling SendBulkExportReadyEmail for exportId=37 userId=267 #


# Calling SendBulkExportReadyEmail for exportId=38 userId=267 #


*--- Sending Email Serice Initiated ---*


Reading and binding data to Email Template


### Start Event Execution ###


# Calling SendBulkExportReadyEmail for exportId=39 userId=267 #


# Calling SendBulkExportReadyEmail for exportId=40 userId=267 #


Your OQSHA bulk export is ready