### Start Event Execution ###


Message : {"EventName":"UPDATE_INCIDENT_NOTIFICATION","EventArgs":[{"Key":"IncidentId","Value":75284},{"Key":"IncidentHistoryId","Value":100584},{"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 #


Sending Email for IncidentId:75284


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


Reading and binding data to Email Template


Initializing Email Service Client


Generating Email Request


Safety Alert T/FBYDW/HSS/26/00001 has been updated


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


--- Email response from Osmo-x is 201


Sending Assigned To Whatsapp for IncidentId:75284


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000001875","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"oqsha_ticket_update_whatsapp_template_v4","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"Sal Benge"},{"type":"text","text":"Safety Alert"},{"type":"text","text":"T/FBYDW/HSS/26/00001"},{"type":"text","text":"Safety Alert status updated to Assigned., Comments are added as Re opening due to poor resolution"},{"type":"text","text":"Safety Alert"},{"type":"text","text":" "},{"type":"text","text":"Colver"},{"type":"text","text":"HSE Suggestion"},{"type":"text","text":"Sal Benge"},{"type":"text","text":"Falcon's Beyond Global Inc. Warrants"},{"type":"text","text":"Assigned"},{"type":"text","text":"https://oqsha.com/#/incidents/view/248/75284?dlType=viewTicket"},{"type":"text","text":"EHS Department - TTK Prestige Limited"}]}]}}}


Osmo-x WhatsApp Message has been Sent


# Preparing notification body #


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


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000003104","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"oqsha_ticket_update_whatsapp_template_v4","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"Cato Kwon"},{"type":"text","text":"Safety Alert"},{"type":"text","text":"T/FBYDW/HSS/26/00001"},{"type":"text","text":"Safety Alert status updated to Assigned., Comments are added as Re opening due to poor resolution"},{"type":"text","text":"Safety Alert"},{"type":"text","text":" "},{"type":"text","text":"Colver"},{"type":"text","text":"HSE Suggestion"},{"type":"text","text":"Sal Benge"},{"type":"text","text":"Falcon's Beyond Global Inc. Warrants"},{"type":"text","text":"Assigned"},{"type":"text","text":"https://oqsha.com/#/incidents/view/248/75284?dlType=viewTicket"},{"type":"text","text":"EHS Department - TTK Prestige Limited"}]}]}}}


### Ended processing Update incident Event ###


### End Event Execution ###


### Start Event Execution ###


Message : {"EventName":"INCIDENT_REOPEN_NOTIFICATION","EventArgs":[{"Key":"IncidentId","Value":75284},{"Key":"ClosedById","Value":5889}]}


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


### Started processing for Incident Reopen Event ###


Generating report.


## Sending email to Cato Kwon, UserId : 5889 for reopen notification ##


Sending Assigned To Email for IncidentId:75284


Initializing Email Service Client


Generating Email Request


Safety Alert Reopened


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


--- Email response from Osmo-x is 201


Sending Inform-To Update WhatsApp for IncidentId:75284


Osmo-x WhatsApp Message has been Sent


### Ended processing Incident Reopen Event ###


Message : {"EventName":"INFORM_TO_INCIDENT_CREATION_NOTIFICATION","EventArgs":[{"Key":"IncidentId","Value":75303},{"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


Sending Inform-To WhatsApp for IncidentId: 75303


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000008275","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"oqsha_ticket_inform_to_template_v3","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"Lesia Hardman"},{"type":"text","text":"Safety Alert"},{"type":"text","text":"T/FBYDW/NMM/26/00002"},{"type":"text","text":"test"},{"type":"text","text":"Colver"},{"type":"text","text":"Near Misses"},{"type":"text","text":"Sal Benge"},{"type":"text","text":"Falcon's Beyond Global Inc. Warrants"},{"type":"text","text":"Open"},{"type":"text","text":"https://oqsha.com/#/incidents/view/248/75303?dlType=viewTicket"},{"type":"text","text":"EHS Department - TTK Prestige Limited"}]}]}}}


Generating Safety Alert report.


Output File Path: D:\App-Data\iis\api.incidentreporter365.com\attachments\incidents\exports\OQSHA_Safety_Alert_T_FBYDW_NMM_26_00002.pdf


Converted to byte file


## Safety Alert Email Sent to Lesia Hardman##


Sending Inform-To Email (with Safety Alert PDF) for IncidentId: 75303


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


Reading and binding data to Email Template


Initializing Email Service Client


Generating Email Request


Safety Alert T/FBYDW/NMM/26/00002 has been created


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


--- Email response from Osmo-x is 201


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


### 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: 267


Message : {"EventName":"ASSIGNED_TO_NOTIFICATION","EventArgs":[{"Key":"AssignedIncidentID","Value":75303},{"Key":"AssignedToID","Value":267}]}


### 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 #


Osmo-x WhatsApp Message has been Sent


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


Initializing Email Service Client


Generating Email Request


Generating report.


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


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


--- Email response from Osmo-x is 201


# Preparing notification body #


### End Event Execution ###


Converted to byte file


PDF generation successfull


## Sending email to Sal Benge, UserId : 267 for assigned to notification ##


Sending Assigned To Email for IncidentId:75303


A Safety Alert T/FBYDW/NMM/26/00002 is assigned to you related to 'Near Misses'


Stopped Assigned To SMS as Org Level setting is set to false


Sending Assigned To Whatsapp for IncidentId:75303


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000001875","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"oqsha_assigned_to_whatsapp_template_v3","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"Sal Benge"},{"type":"text","text":"Safety Alert"},{"type":"text","text":"T/FBYDW/NMM/26/00002"},{"type":"text","text":"test"},{"type":"text","text":"Colver"},{"type":"text","text":"Near Misses"},{"type":"text","text":"Sal Benge"},{"type":"text","text":"Falcon's Beyond Global Inc. Warrants"},{"type":"text","text":"Assigned"},{"type":"text","text":"https://oqsha.com/#/incidents/view/248/75303?dlType=viewTicket"},{"type":"text","text":"EHS Department - TTK Prestige Limited"}]}]}}}


Osmo-x WhatsApp Message has been Sent


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


### Start Event Execution ###


Message : {"EventName":"UPDATE_INCIDENT_NOTIFICATION","EventArgs":[{"Key":"IncidentId","Value":75303},{"Key":"IncidentHistoryId","Value":100586},{"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 Email for IncidentId:75303


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


Reading and binding data to Email Template


Initializing Email Service Client


Generating Email Request


Safety Alert T/FBYDW/NMM/26/00002 has been updated


--- 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_ticket_update_whatsapp_template_v4","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"Sal Benge"},{"type":"text","text":"Safety Alert"},{"type":"text","text":"T/FBYDW/NMM/26/00002"},{"type":"text","text":"Safety Alert status updated to Assigned"},{"type":"text","text":"Safety Alert"},{"type":"text","text":"test"},{"type":"text","text":"Colver"},{"type":"text","text":"Near Misses"},{"type":"text","text":"Sal Benge"},{"type":"text","text":"Falcon's Beyond Global Inc. Warrants"},{"type":"text","text":"Assigned"},{"type":"text","text":"https://oqsha.com/#/incidents/view/248/75303?dlType=viewTicket"},{"type":"text","text":"EHS Department - TTK Prestige Limited"}]}]}}}


# Preparing notification body #


### Ended processing Update incident Event ###


### End Event Execution ###


### Start Event Execution ###


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


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000001875","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"oqsha_ticket_update_whatsapp_template_v4","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"Sal Benge"},{"type":"text","text":"Safety Alert"},{"type":"text","text":"T/FBYDW/NMM/26/00002"},{"type":"text","text":"Safety Alert status updated to Resolved., Comments are added as Resolve"},{"type":"text","text":"Safety Alert"},{"type":"text","text":"test"},{"type":"text","text":"Colver"},{"type":"text","text":"Near Misses"},{"type":"text","text":"Sal Benge"},{"type":"text","text":"Falcon's Beyond Global Inc. Warrants"},{"type":"text","text":"Resolved"},{"type":"text","text":"https://oqsha.com/#/incidents/view/248/75303?dlType=viewTicket"},{"type":"text","text":"EHS Department - TTK Prestige Limited"}]}]}}}


Osmo-x WhatsApp Message has been Sent


Message : {"EventName":"INCIDENT_CLOSURE_NOTIFICATION_VALIDATION_1","EventArgs":[{"Key":"IncidentId","Value":75303},{"Key":"ClosedById","Value":267}]}


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


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


Generating report.


## Sending notification to Site EHS user ##


## Notification to be send for these users: [5532]


## Sending email to Lesia Hardman, UserId : 5532 for Incident Closure Validation notification ##


Output File Path: D:\App-Data\iis\api.incidentreporter365.com\attachments\incidents\exports\OQSHA_Tickets_T_FBYDW_NMM_26_00002.pdf


Converted to byte file


Sending Incident Closure Validation Email with Safety Alert PDF for IncidentId:75303


Initializing Email Service Client


Generating Email Request


Safety Alert Validation Level 1


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


--- Email response from Osmo-x is 201


Sending Inform-To Update WhatsApp for IncidentId:75303


Osmo-x WhatsApp Message has been Sent


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


### End Event Execution ###


### Start Event Execution ###


Message : {"EventName":"UPDATE_INCIDENT_NOTIFICATION","EventArgs":[{"Key":"IncidentId","Value":75303},{"Key":"IncidentHistoryId","Value":100588},{"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 #


Sending Email for IncidentId:75303


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


Reading and binding data to Email Template


Initializing Email Service Client


Generating Email Request


Sending Assigned To Whatsapp for IncidentId:75303


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000001875","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"oqsha_ticket_update_whatsapp_template_v4","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"Sal Benge"},{"type":"text","text":"Safety Alert"},{"type":"text","text":"T/FBYDW/NMM/26/00002"},{"type":"text","text":"Safety Alert status updated to Assigned., Comments are added as Re opening due to poor resolution"},{"type":"text","text":"Safety Alert"},{"type":"text","text":"test"},{"type":"text","text":"Colver"},{"type":"text","text":"Near Misses"},{"type":"text","text":"Sal Benge"},{"type":"text","text":"Falcon's Beyond Global Inc. Warrants"},{"type":"text","text":"Assigned"},{"type":"text","text":"https://oqsha.com/#/incidents/view/248/75303?dlType=viewTicket"},{"type":"text","text":"EHS Department - TTK Prestige Limited"}]}]}}}


# Preparing notification body #


### Ended processing Update incident Event ###


Message : {"EventName":"INCIDENT_REOPEN_NOTIFICATION","EventArgs":[{"Key":"IncidentId","Value":75303},{"Key":"ClosedById","Value":267}]}


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


### Started processing for Incident Reopen Event ###


Generating report.


## Sending email to Sal Benge, UserId : 267 for reopen notification ##


Sending Assigned To Email for IncidentId:75303


Safety Alert Reopened


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


--- Email response from Osmo-x is 201


Osmo-x WhatsApp Message has been Sent


### Ended processing Incident Reopen Event ###


### End Event Execution ###


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


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


### Start Event Execution ###


Message : {"EventName":"UPDATE_INCIDENT_NOTIFICATION","EventArgs":[{"Key":"IncidentId","Value":74483},{"Key":"IncidentHistoryId","Value":100589},{"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 #


Sending Email for IncidentId:74483


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


Reading and binding data to Email Template


Initializing Email Service Client


Generating Email Request


Safety Alert N3G660 has been updated


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


--- Email response from Osmo-x is 201


Sending Assigned To Whatsapp for IncidentId:74483


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000001754","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"oqsha_ticket_update_whatsapp_template_v4","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"Kaycee Maness"},{"type":"text","text":"Safety Alert"},{"type":"text","text":"N3G660"},{"type":"text","text":"Safety Alert status updated to Assigned., Comments are added as Reopen"},{"type":"text","text":"Safety Alert"},{"type":"text","text":"The Iron floormat damaged in Maintenance store - Tape area. there is chance of fall down & accident will happen."},{"type":"text","text":"Washoe Valley"},{"type":"text","text":"Near Misses"},{"type":"text","text":"Kaycee Maness"},{"type":"text","text":"Falcon's Beyond Global Inc. Warrants"},{"type":"text","text":"Assigned"},{"type":"text","text":"https://oqsha.com/#/incidents/view/248/74483?dlType=viewTicket"},{"type":"text","text":"EHS Department - TTK Prestige Limited"}]}]}}}


Osmo-x WhatsApp Message has been Sent


# Preparing notification body #


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000002335","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"oqsha_ticket_update_whatsapp_template_v4","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"Torrey Priebe"},{"type":"text","text":"Safety Alert"},{"type":"text","text":"N3G660"},{"type":"text","text":"Safety Alert status updated to Assigned., Comments are added as Reopen"},{"type":"text","text":"Safety Alert"},{"type":"text","text":"The Iron floormat damaged in Maintenance store - Tape area. there is chance of fall down & accident will happen."},{"type":"text","text":"Washoe Valley"},{"type":"text","text":"Near Misses"},{"type":"text","text":"Kaycee Maness"},{"type":"text","text":"Falcon's Beyond Global Inc. Warrants"},{"type":"text","text":"Assigned"},{"type":"text","text":"https://oqsha.com/#/incidents/view/248/74483?dlType=viewTicket"},{"type":"text","text":"EHS Department - TTK Prestige Limited"}]}]}}}


### Ended processing Update incident Event ###


### End Event Execution ###


### Start Event Execution ###


Message : {"EventName":"INCIDENT_REOPEN_NOTIFICATION","EventArgs":[{"Key":"IncidentId","Value":74483},{"Key":"ClosedById","Value":5820}]}


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


### Started processing for Incident Reopen Event ###


Generating report.


## Sending email to Torrey Priebe, UserId : 5820 for reopen notification ##


Sending Assigned To Email for IncidentId:74483


Initializing Email Service Client


Generating Email Request


Safety Alert Reopened


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


--- Email response from Osmo-x is 201


Sending Inform-To Update WhatsApp for IncidentId:74483


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000002335","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"oqsha_ticket_reopen_whatsapp_template_ttk_v2","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"Torrey Priebe"},{"type":"text","text":"N3G660"},{"type":"text","text":"03-Jun-2026 05:21:32 PM"},{"type":"text","text":"Near Misses"},{"type":"text","text":"Washoe Valley"},{"type":"text","text":"Washoe Valley"},{"type":"text","text":"The Iron floormat damaged in Maintenance store - Tape area. there is chance of fall down & accident will happen."},{"type":"text","text":"Kaycee Maness"},{"type":"text","text":"https://oqsha.com/#/incidents/view/248/74483?dlType=viewTicket"},{"type":"text","text":"EHS Department - TTK Prestige Limited"}]}]}}}


Osmo-x WhatsApp Message has been Sent


### Ended processing Incident Reopen Event ###


### End Event Execution ###


### Start Event Execution ###


### 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


Your OQSHA Access Has Been Updated


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


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


Initializing Email Service Client


Generating Email Request


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


--- Email response from Osmo-x is 201


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


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


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


# Calling SendBulkExportReadyEmail for exportId=27 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 ###


### Start Event Execution ###


Message : {"EventName":"NOTIFICATION_FOR_WORK_PERMIT_CREATION","EventArgs":[{"Key":"WorkPermitId","Value":"2802"},{"Key":"ApproverIds","Value":"[6717]"},{"Key":"SiteName","Value":"Colver"},{"Key":"CreatedBy","Value":"Sal Benge"},{"Key":"WorkPermitUid","Value":"WP/FBYDW/ROO/HTW/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:


Error occurred while sending email using Osmo-x.


System.NullReferenceException: Object reference not set to an instance of an object.
   at IncidentReporter.NotificationSender.EmailHelper.SendEmail(String template, String subject, Object args, String toAddress, String ccAddress, List`1 reportAttachments, List`1 additionalAttachmentsFilePath, String rootEmailTemplatePath, OrganisationFromConfig organisationFromAddress) in C:\GitLab-Runner\builds\27n6lYj0J\0\incident-reporter\incident-reporter-api\IncidentReporter\IncidentReporter.NotificationSender\Helpers\EmailHelper.cs:line 39


Sending WorkPermit creation WhatsApp message to: 912000003962


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000003962","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":"Adelbert Miley"},{"type":"text","text":"WP/FBYDW/ROO/HTW/26/00001"},{"type":"text","text":"Colver"},{"type":"text","text":"Falcon's Beyond Global Inc. Warrants"},{"type":"text","text":"Sal Benge"},{"type":"text","text":"https://oqsha.com/#/permit-to-work/view-work-permit/248/2802?dlType=viewWorkPermitV2"},{"type":"text","text":"EHS Department - TTK Prestige Limited"}]}]}}}


Osmo-x WhatsApp Message has been Sent


# Preparing notification body #


Message : {"EventName":"DEPARTMENT_INCHARGE_NOTIFICATION_FOR_WORK_PERMIT_CREATION","EventArgs":[{"Key":"WorkPermitId","Value":"2802"},{"Key":"UserIds","Value":"[]"},{"Key":"SiteName","Value":"Colver"},{"Key":"CreatedBy","Value":"Sal Benge"},{"Key":"WorkPermitUid","Value":"WP/FBYDW/ROO/HTW/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 #


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


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


### 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: 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":"Sal Benge"},{"type":"text","text":"Action Tracker"},{"type":"text","text":"AT/FBYDW/ROO/MRA/26/00002"},{"type":"text","text":"at test1"},{"type":"text","text":"Machine Risk Assessment"},{"type":"text","text":"https://oqsha.com/#/tasks/edit/14311?dlType=viewTask&orgID=248"},{"type":"text","text":"EHS Department - TTK Prestige Limited"}]}]}}}


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


*--- 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/MRA/26/00002


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


--- Email response from Osmo-x is 201


# Preparing notification body #


# Checking for device existence #


# User device exists #


Sending Task Assignment Notification for Task Id:14311


Inside SendAppNotification Device Type: GCM


Generating AWS SNS Request


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Test/4ab3e2c3-51a2-3733-8f54-9d42872f9326


Unauthorized


--- AWS SNS Push Notification created using Osmo-x ---


--- Push notification response from Osmo-x is Unauthorized


Push notification failed to send to a device 21215.


# Push notification did not send #


### End Event Execution ###


### Start Event Execution ###


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


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


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


## Sending notification to Site EHS user ##


## Notification to be send for these users: []


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


### 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":"Sal Benge"},{"type":"text","text":"Action Tracker"},{"type":"text","text":"AT/FBYDW/ROO/MRA/26/00002"},{"type":"text","text":"at test1"},{"type":"text","text":"Machine Risk Assessment"},{"type":"text","text":"https://oqsha.com/#/tasks/edit/14311?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: 14311, UserId: 267


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


Reading and binding data to Email Template


Initializing Email Service Client


Generating Email Request


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


--- Email response from Osmo-x is 201


# Preparing notification body #


### End Event Execution ###


### Start Event Execution ###


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


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


Message : {"EventName":"ASSIGNED_TO_NOTIFICATION","EventArgs":[{"Key":"AssignedIncidentID","Value":75304},{"Key":"AssignedToID","Value":958}]}


### 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 #


Generating report.


Output File Path: D:\App-Data\iis\api.incidentreporter365.com\attachments\incidents\exports\OQSHA_Ticket_T_YDDL_CEE_26_00001.pdf


Converted to byte file


PDF generation successfull


## Sending email to Assunta Soukup, UserId : 958 for assigned to notification ##


Sending Assigned To Email for IncidentId:75304


Initializing Email Service Client


Generating Email Request


A Ticket T/YDDL/CEE/26/00001 is assigned to you related to 'Enhancement'


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


--- Email response from Osmo-x is 201


Stopped Assigned To SMS as Org Level setting is set to false


Sending Assigned To Whatsapp for IncidentId:75304


Osmo-x WhatsApp Message has been Sent


# Preparing notification body #


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


### End Event Execution ###


### Start Event Execution ###


Message : {"EventName":"NOTIFICATION_FOR_MOC_CREATION","EventArgs":[{"Key":"MocId","Value":"393"},{"Key":"ApproverIds","Value":"[10313]"},{"Key":"SiteName","Value":"Carson Valley"},{"Key":"CreatedBy","Value":"Derek Cope"},{"Key":"MocUid","Value":"M/KURA/FD2/MMM/26/00001"},{"Key":"OrgId","Value":258},{"Key":"OrganisationName","Value":"Kura Oncology Inc."}]}


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


# Calling SendNotificationForMocCreation function for email/WhatsApp #


Executing email and WhatsApp notifications to MOC approvers


Sending MOC creation email to: TITAGARH_ADMIN@oqsha.com


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


Reading and binding data to Email Template


Initializing Email Service Client


Generating Email Request


New MOC Assigned


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


--- Email response from Osmo-x is 201


Sending MOC creation WhatsApp message to: 612222222220


Osmo-x WhatsApp Message has been Sent


# Preparing notification body #


### End Event Execution ###


### Start Event Execution ###


Message : {"EventName":"MOC_CREATOR_CLARIFICATION_NOTIFICATION","EventArgs":[{"Key":"UserId","Value":"10313"},{"Key":"MocId","Value":"393"},{"Key":"MocUid","Value":"M/KURA/FD2/MMM/26/00001"},{"Key":"SiteName","Value":"Carson Valley"},{"Key":"OrganisationName","Value":"Kura Oncology Inc."},{"Key":"ApproverName","Value":"Derek Cope"},{"Key":"Clarification","Value":"calrify"},{"Key":"RequestedOn","Value":"16-Jun-2026 06:30:32 PM"},{"Key":"OrgId","Value":258}]}


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


# Calling SendNotificationToMOCCreatorForClarification function for email #


Executing email notifications to MOC creator for clarification


Sending MOC Approver Clarification email to MOC Creator: TITAGARH_ADMIN@oqsha.com


Clarification Provided for MOC


Message : {"EventName":"MOC_APPROVED_INFORM_TO_CREATOR_NOTIFICATION","EventArgs":[{"Key":"CreatorId","Value":"10313"},{"Key":"ApproverName","Value":"Derek Cope"},{"Key":"MocId","Value":"393"},{"Key":"MocUid","Value":"M/KURA/FD2/MMM/26/00001"},{"Key":"SiteName","Value":"Carson Valley"},{"Key":"OrganisationName","Value":"Kura Oncology Inc."},{"Key":"ApprovedOn","Value":"16-Jun-2026 06:32:00 PM"},{"Key":"OrgId","Value":258}]}


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


# Calling SendMOCApprovedInformToCreatorNotification function for email #


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


Initializing Email Service Client


Generating Email Request


Derek Cope has Approved your MOC


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


--- Email response from Osmo-x is 201


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


Sending WhatsApp for MOC to user: 10313


Osmo-x WhatsApp Message has been Sent


# Preparing notification body #


### End Event Execution ###


### Start Event Execution ###


Message : {"EventName":"NOTIFICATION_FOR_PSSR_ASSIGNMENT","EventArgs":[{"Key":"PssrId","Value":159},{"Key":"PssrUid","Value":"P/KURA/FD2/26/00001"},{"Key":"UserIds","Value":"[10313]"},{"Key":"SiteName","Value":"Carson Valley"},{"Key":"CreatedBy","Value":"Derek Cope"},{"Key":"OrgId","Value":258},{"Key":"OrganisationName","Value":"Kura Oncology Inc."}]}


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


# Calling SendNotificationForPssrAssignment #


Executing email and WhatsApp notifications for PSSR assignment


Sending PSSR assignment email to: TITAGARH_ADMIN@oqsha.com


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


Reading and binding data to Email Template


Initializing Email Service Client


Generating Email Request


You have been added to the PSSR team – action required


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


--- Email response from Osmo-x is 201


Sending PSSR assignment WhatsApp to: 612222222220


Osmo-x WhatsApp Message has been Sent


# Preparing notification body #


### End Event Execution ###


### Start Event Execution ###


Message : {"EventName":"NOTIFICATION_FOR_MOC_CREATION","EventArgs":[{"Key":"MocId","Value":"394"},{"Key":"ApproverIds","Value":"[1202]"},{"Key":"SiteName","Value":"Carson Valley"},{"Key":"CreatedBy","Value":"Derek Cope"},{"Key":"MocUid","Value":"M/KURA/FD2/MMM/26/00002"},{"Key":"OrgId","Value":258},{"Key":"OrganisationName","Value":"Kura Oncology Inc."}]}


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


# Calling SendNotificationForMocCreation function for email/WhatsApp #


Executing email and WhatsApp notifications to MOC approvers


Sending MOC creation email to: TITAGARH_BHA_DH@oqsha.com


New MOC Assigned


Sending MOC creation WhatsApp message to: 912222222221


Message : {"EventName":"MOC_APPROVED_INFORM_TO_CREATOR_NOTIFICATION","EventArgs":[{"Key":"CreatorId","Value":"10313"},{"Key":"ApproverName","Value":"Giselle Longo"},{"Key":"MocId","Value":"394"},{"Key":"MocUid","Value":"M/KURA/FD2/MMM/26/00002"},{"Key":"SiteName","Value":"Carson Valley"},{"Key":"OrganisationName","Value":"Kura Oncology Inc."},{"Key":"ApprovedOn","Value":"16-Jun-2026 06:46:47 PM"},{"Key":"OrgId","Value":258}]}


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


# Calling SendMOCApprovedInformToCreatorNotification function for email #


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


Sending MOC Approver Clarification email to MOC Creator: TITAGARH_ADMIN@oqsha.com


Initializing Email Service Client


Generating Email Request


Giselle Longo has Approved your MOC


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


--- Email response from Osmo-x is 201


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


Sending WhatsApp for MOC to user: 10313


Osmo-x WhatsApp Message has been Sent


# Preparing notification body #


### End Event Execution ###


### Start Event Execution ###


Message : {"EventName":"MOC_CREATOR_CLARIFICATION_NOTIFICATION","EventArgs":[{"Key":"UserId","Value":"1202"},{"Key":"MocId","Value":"395"},{"Key":"MocUid","Value":"M/KURA/FD2/MMM/26/00003"},{"Key":"SiteName","Value":"Carson Valley"},{"Key":"OrganisationName","Value":"Kura Oncology Inc."},{"Key":"ApproverName","Value":"Giselle Longo"},{"Key":"Clarification","Value":"carify"},{"Key":"RequestedOn","Value":"16-Jun-2026 06:48:44 PM"},{"Key":"OrgId","Value":258}]}


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


# Calling SendNotificationToMOCCreatorForClarification function for email #


Executing email notifications to MOC creator for clarification


Sending MOC Approver Clarification email to MOC Creator: TITAGARH_BHA_DH@oqsha.com


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


Reading and binding data to Email Template


Initializing Email Service Client


Generating Email Request


Clarification Provided for MOC


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


--- Email response from Osmo-x is 201


Message : {"EventName":"MOC_APPROVED_INFORM_TO_CREATOR_NOTIFICATION","EventArgs":[{"Key":"CreatorId","Value":"1202"},{"Key":"ApproverName","Value":"Giselle Longo"},{"Key":"MocId","Value":"395"},{"Key":"MocUid","Value":"M/KURA/FD2/MMM/26/00003"},{"Key":"SiteName","Value":"Carson Valley"},{"Key":"OrganisationName","Value":"Kura Oncology Inc."},{"Key":"ApprovedOn","Value":"16-Jun-2026 06:51:41 PM"},{"Key":"OrgId","Value":258}]}


Giselle Longo has Approved your MOC


Sending WhatsApp for MOC to user: 1202


Osmo-x WhatsApp Message has been Sent


# Preparing notification body #


### End Event Execution ###


### Start Event Execution ###


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


# Calling SendBulkExportReadyEmail for exportId=28 userId=881 #


[BulkExport] Fetching user details for userId=881


[BulkExport] Sending email to=osm06269@osmosys.co


Your OQSHA bulk export is ready


[BulkExport] Email sent successfully to=osm06269@osmosys.co


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


# Calling SendNotificationToApproversForMocStatusChange function for email/WhatsApp #


Executing email and WhatsApp notifications to MOC approvers


Sending MOC status change email to: TITAGARH_BHA_DH@oqsha.com


Initializing Email Service Client


Generating Email Request


MOC Status Updated


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


--- Email response from Osmo-x is 201


Sending MOC status change WhatsApp message to: 912222222221


Osmo-x WhatsApp Message has been Sent


Sending MOC status change email to: TITAGARH_ADMIN@oqsha.com


Sending MOC status change WhatsApp message to: 612222222220


# Preparing notification body #


### End Event Execution ###