Sending WhatsApp Notification for workplace injury incident to User: 1327


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"912000009420","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"oqsha_supervisor_alert_work_injury_incident","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"Aja Walden"},{"type":"text","text":"01P2MW"},{"type":"text","text":"Onnie Hixon"},{"type":"text","text":"06-Nov-2025 11:10:15 AM"},{"type":"text","text":"Washoe Valley"},{"type":"text","text":"safety Location: "},{"type":"text","text":"https://qa-staging-2.oqsha.com/#/incident-management/report-incident/view/251/247?dlType=viewIncidentReport"},{"type":"text","text":"EHS Department - TTK Clone"}]}]}}}


Osmo-x WhatsApp Message has been Sent


### Ended processing supervisor alert workplace injury  ###


### End Event Execution ###


### Start Event Execution ###


Message : {"EventName":"SUPERVISOR_ALERT_WORKPLACE_INJURY_INCIDENT","EventArgs":[{"Key":"UserId","Value":"5596"},{"Key":"OrgId","Value":"251"},{"Key":"IncidentId","Value":"283"}]}


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


### Started processing supervisor alert workplace injury ###


Executing email alert to supervisor about the Workplace injury incident


Message : {"EventName":"SUPERVISOR_ALERT_WORKPLACE_INJURY_INCIDENT","EventArgs":[{"Key":"UserId","Value":"5698"},{"Key":"OrgId","Value":"251"},{"Key":"IncidentId","Value":"238"}]}


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


Reading and binding data to Email Template


Initializing Email Service Client


Generating Email Request


Pending Work Injury Incident Submission Reminder - D6N4KM

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


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


--- Email response from Osmo-x is 201


Executing whatsapp alert to supervisor about the Workplace injury incident


Sending WhatsApp Notification for workplace injury incident to User: 5698


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"912222222224","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"oqsha_supervisor_alert_work_injury_incident","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"Derek Cope"},{"type":"text","text":"D6N4KM"},{"type":"text","text":"Deonta Soukup"},{"type":"text","text":"04-Nov-2025 05:40:36 PM"},{"type":"text","text":"Washoe Valley"},{"type":"text","text":"One hand needs to be amputatedLocation: "},{"type":"text","text":"https://qa-staging-2.oqsha.com/#/incident-management/report-incident/view/251/238?dlType=viewIncidentReport"},{"type":"text","text":"EHS Department - TTK Clone"}]}]}}}


Osmo-x WhatsApp Message has been Sent


### End Event Execution ###


### Start Event Execution ###


Message : {"EventName":"SUPERVISOR_ALERT_WORKPLACE_INJURY_INCIDENT","EventArgs":[{"Key":"UserId","Value":"5698"},{"Key":"OrgId","Value":"251"},{"Key":"IncidentId","Value":"240"}]}


Pending Work Injury Incident Submission Reminder - OD4594


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"912222222224","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"oqsha_supervisor_alert_work_injury_incident","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"Derek Cope"},{"type":"text","text":"OD4594"},{"type":"text","text":"Deonta Soukup"},{"type":"text","text":"04-Nov-2025 06:41:26 PM"},{"type":"text","text":"Washoe Valley"},{"type":"text","text":"This is incident supervisor Lalit for pending incident mailLocation: bihar"},{"type":"text","text":"https://qa-staging-2.oqsha.com/#/incident-management/report-incident/view/251/240?dlType=viewIncidentReport"},{"type":"text","text":"EHS Department - TTK Clone"}]}]}}}


Message : {"EventName":"SUPERVISOR_ALERT_WORKPLACE_INJURY_INCIDENT","EventArgs":[{"Key":"UserId","Value":"5698"},{"Key":"OrgId","Value":"251"},{"Key":"IncidentId","Value":"248"}]}


Pending Work Injury Incident Submission Reminder - 65BAZS


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"912222222224","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"oqsha_supervisor_alert_work_injury_incident","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"Derek Cope"},{"type":"text","text":"65BAZS"},{"type":"text","text":"Derek Cope"},{"type":"text","text":"06-Nov-2025 01:26:34 PM"},{"type":"text","text":"Washoe Valley"},{"type":"text","text":"TestLocation: "},{"type":"text","text":"https://qa-staging-2.oqsha.com/#/incident-management/report-incident/view/251/248?dlType=viewIncidentReport"},{"type":"text","text":"EHS Department - TTK Clone"}]}]}}}


Message : {"EventName":"SUPERVISOR_ALERT_WORKPLACE_INJURY_INCIDENT","EventArgs":[{"Key":"UserId","Value":"5698"},{"Key":"OrgId","Value":"251"},{"Key":"IncidentId","Value":"249"}]}


Initializing Email Service Client


Generating Email Request


Pending Work Injury Incident Submission Reminder - IKYZNT


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


--- Email response from Osmo-x is 201


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"912222222224","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"oqsha_supervisor_alert_work_injury_incident","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"Derek Cope"},{"type":"text","text":"IKYZNT"},{"type":"text","text":"Derek Cope"},{"type":"text","text":"06-Nov-2025 01:26:34 PM"},{"type":"text","text":"Washoe Valley"},{"type":"text","text":"TestLocation: "},{"type":"text","text":"https://qa-staging-2.oqsha.com/#/incident-management/report-incident/view/251/249?dlType=viewIncidentReport"},{"type":"text","text":"EHS Department - TTK Clone"}]}]}}}


### Ended processing supervisor alert workplace injury  ###


Message : {"EventName":"SUPERVISOR_ALERT_WORKPLACE_INJURY_INCIDENT","EventArgs":[{"Key":"UserId","Value":"5698"},{"Key":"OrgId","Value":"251"},{"Key":"IncidentId","Value":"250"}]}


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


### Started processing supervisor alert workplace injury ###


Executing email alert to supervisor about the Workplace injury incident


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"912222222224","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"oqsha_supervisor_alert_work_injury_incident","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"Derek Cope"},{"type":"text","text":"IKYZNT"},{"type":"text","text":"Derek Cope"},{"type":"text","text":"06-Nov-2025 01:26:34 PM"},{"type":"text","text":"Washoe Valley"},{"type":"text","text":"TestLocation: "},{"type":"text","text":"https://qa-staging-2.oqsha.com/#/incident-management/report-incident/view/251/250?dlType=viewIncidentReport"},{"type":"text","text":"EHS Department - TTK Clone"}]}]}}}


Osmo-x WhatsApp Message has been Sent


### End Event Execution ###


### Start Event Execution ###


Message : {"EventName":"SUPERVISOR_ALERT_WORKPLACE_INJURY_INCIDENT","EventArgs":[{"Key":"UserId","Value":"5698"},{"Key":"OrgId","Value":"251"},{"Key":"IncidentId","Value":"253"}]}


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


Reading and binding data to Email Template


Initializing Email Service Client


Generating Email Request


Pending Work Injury Incident Submission Reminder - 64LWEJ


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


--- Email response from Osmo-x is 201


Executing whatsapp alert to supervisor about the Workplace injury incident


Sending WhatsApp Notification for workplace injury incident to User: 5698


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"912222222224","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"oqsha_supervisor_alert_work_injury_incident","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"Derek Cope"},{"type":"text","text":"64LWEJ"},{"type":"text","text":"Deonta Soukup"},{"type":"text","text":"10-Nov-2025 11:57:45 AM"},{"type":"text","text":"Washoe Valley"},{"type":"text","text":"zzzLocation: "},{"type":"text","text":"https://qa-staging-2.oqsha.com/#/incident-management/report-incident/view/251/253?dlType=viewIncidentReport"},{"type":"text","text":"EHS Department - TTK Clone"}]}]}}}


Message : {"EventName":"SUPERVISOR_ALERT_WORKPLACE_INJURY_INCIDENT","EventArgs":[{"Key":"UserId","Value":"5698"},{"Key":"OrgId","Value":"251"},{"Key":"IncidentId","Value":"434"}]}


Pending Work Injury Incident Submission Reminder - 5UYS8U


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"912222222224","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"oqsha_supervisor_alert_work_injury_incident","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"Derek Cope"},{"type":"text","text":"5UYS8U"},{"type":"text","text":"Derek Cope"},{"type":"text","text":"30-Dec-2025 01:59:55 PM"},{"type":"text","text":"Washoe Valley"},{"type":"text","text":"bruise Location: Hyderabad"},{"type":"text","text":"https://qa-staging-2.oqsha.com/#/incident-management/report-incident/view/251/434?dlType=viewIncidentReport"},{"type":"text","text":"EHS Department - TTK Clone"}]}]}}}


Osmo-x WhatsApp Message has been Sent


### End Event Execution ###


### Start Event Execution ###


Message : {"EventName":"SUPERVISOR_ALERT_WORKPLACE_INJURY_INCIDENT","EventArgs":[{"Key":"UserId","Value":"5698"},{"Key":"OrgId","Value":"251"},{"Key":"IncidentId","Value":"707"}]}


Pending Work Injury Incident Submission Reminder - KXY6TC


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"912222222224","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"oqsha_supervisor_alert_work_injury_incident","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"Derek Cope"},{"type":"text","text":"KXY6TC"},{"type":"text","text":"Derek Cope"},{"type":"text","text":"12-Feb-2026 12:47:13 PM"},{"type":"text","text":"Washoe Valley"},{"type":"text","text":"Location: "},{"type":"text","text":"https://qa-staging-2.oqsha.com/#/incident-management/report-incident/view/251/707?dlType=viewIncidentReport"},{"type":"text","text":"EHS Department - TTK Clone"}]}]}}}


Message : {"EventName":"SUPERVISOR_ALERT_WORKPLACE_INJURY_INCIDENT","EventArgs":[{"Key":"UserId","Value":"7631"},{"Key":"OrgId","Value":"251"},{"Key":"IncidentId","Value":"550"}]}


Initializing Email Service Client


Generating Email Request


Pending Work Injury Incident Submission Reminder - 808536


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


--- Email response from Osmo-x is 201


Sending WhatsApp Notification for workplace injury incident to User: 7631


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"912000002355","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"oqsha_supervisor_alert_work_injury_incident","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"Trey Mcclintock"},{"type":"text","text":"808536"},{"type":"text","text":"Trey Mcclintock"},{"type":"text","text":"16-Jan-2026 06:41:12 PM"},{"type":"text","text":"Washoe Valley"},{"type":"text","text":"Heavy stone fell on chestLocation: Jaipur"},{"type":"text","text":"https://qa-staging-2.oqsha.com/#/incident-management/report-incident/view/251/550?dlType=viewIncidentReport"},{"type":"text","text":"EHS Department - TTK Clone"}]}]}}}


### Ended processing supervisor alert workplace injury  ###


Message : {"EventName":"SUPERVISOR_ALERT_WORKPLACE_INJURY_INCIDENT","EventArgs":[{"Key":"UserId","Value":"7631"},{"Key":"OrgId","Value":"251"},{"Key":"IncidentId","Value":"650"}]}


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


### Started processing supervisor alert workplace injury ###


Executing email alert to supervisor about the Workplace injury incident


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


Reading and binding data to Email Template


Pending Work Injury Incident Submission Reminder - 0O67PI


Executing whatsapp alert to supervisor about the Workplace injury incident


Osmo-x WhatsApp Message has been Sent


### End Event Execution ###


### Start Event Execution ###


Message : {"EventName":"SUPERVISOR_ALERT_WORKPLACE_INJURY_INCIDENT","EventArgs":[{"Key":"UserId","Value":"7631"},{"Key":"OrgId","Value":"251"},{"Key":"IncidentId","Value":"761"}]}


Initializing Email Service Client


Generating Email Request


Pending Work Injury Incident Submission Reminder - 75FEVO


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


--- Email response from Osmo-x is 201


Message : {"EventName":"WHATSAPP_TO_BATCH_PARTICIPANTS","EventArgs":[{"Key":"BatchParticipantIds","Value":"[25343,25344]"},{"Key":"BatchId","Value":1785}]}


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


# Calling SendNotificationToBatchParticipants function for  whatsapp notification #


Executing completed course notification function to batch participants


Executing planned/Inprogress notification function to batch participants


Sending notification to batch participant for planned and in progress status5790


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"912000005418","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"oqsha_planned_batch_latest_v1","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"Adrianna Pollak"},{"type":"text","text":"hehe"},{"type":"text","text":"7 Safety Fundamentals"},{"type":"text","text":"Falcon's Beyond Global Inc. Warrants"},{"type":"text","text":"0 Week(s) 0 Day(s) 5 Hour(s)"},{"type":"text","text":"No faculty"},{"type":"text","text":"June 24, 2026  10:55:00 AM"},{"type":"text","text":"PLANNED"},{"type":"text","text":"https://qa-staging-2.oqsha.com/#/batches/view/248/200/1785?dlType=viewBatch"}]}]}}}


Message : {"EventName":"INFORM_TO_INCIDENT_CREATION_NOTIFICATION","EventArgs":[{"Key":"IncidentId","Value":75629},{"Key":"InformToUserId","Value":11701}]}


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


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"915555557660","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":"Leota Meltzer"},{"type":"text","text":"Safety Alert"},{"type":"text","text":"T/FBYDW/NMM/26/00025"},{"type":"text","text":"Testing "},{"type":"text","text":"Elmore City"},{"type":"text","text":"Near Misses"},{"type":"text","text":"Sal Eaton"},{"type":"text","text":"Falcon's Beyond Global Inc. Warrants"},{"type":"text","text":"Open"},{"type":"text","text":"https://qa-staging-2.oqsha.com/#/incidents/view/248/75629?dlType=viewTicket"},{"type":"text","text":"EHS Department - TTK Prestige Limited"}]}]}}}


Osmo-x WhatsApp Message has been Sent


Generating Safety Alert report.


Output File Path: D:\App-Data\iis\api-qa-staging.oqsha.com\api-qa-staging.oqsha.com\attachments\incidents\exports\OQSHA_Safety_Alert_T_FBYDW_NMM_26_00025.pdf


Converted to byte file


## Safety Alert Email Sent to Leota Meltzer##


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


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


Reading and binding data to Email Template


Initializing Email Service Client


Generating Email Request


Safety Alert T/FBYDW/NMM/26/00025 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_FOR_NOMINATIONS_SUBMITTED ###


# Calling SendNominationsSubmittedNotification for nominationId=1032 tniId=136 orgId=264 #


Using org-specific template for Org 264: Templates\OrgTemplates\264\Templates\NominationsSubmittedTemplate.html


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


kulsrestha.j@osmosys.co, lalit.k.shriwas@abc.co, sudesh.selkar@abc.co, shreya.v@osmosys.co, ishwar.sonkar@abc.co, manjeet65949@abc.co, jatin.g@osmosys.co, lomeshchandraker@abc.co, kishoreverma1976@abc.co

Review Required: Nominations Submitted for PTW-TNI ECD


## Bulk Nominations Submitted Email Sent to 9 Safety Officers ##


### 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: TTK_Admin@oqsha.com


Initializing Email Service Client


Generating Email Request


New Work Permit Assigned


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


--- Email response from Osmo-x is 201


Sending WorkPermit creation WhatsApp message to: 912000001875


Osmo-x WhatsApp Message has been Sent


# Preparing notification body #


### End Event Execution ###


### Start Event Execution ###


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


# Calling SendDepartmentInchargeNotificationForWorkPermitCreation function for email/WhatsApp #


### 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":11,"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 Eaton"},{"type":"text","text":"Action Tracker"},{"type":"text","text":"AT/FBYDW/KAR/TTT/26/00005"},{"type":"text","text":"Testing "},{"type":"text","text":"Safety Alert"},{"type":"text","text":"https://qa-staging-2.oqsha.com/#/tasks/edit/14481?dlType=viewTask&orgID=248"},{"type":"text","text":"EHS Department - TTK Prestige Limited"}]}]}}}


Message : {"EventName":"ASSIGNED_TO_NOTIFICATION","EventArgs":[{"Key":"AssignedIncidentID","Value":75629},{"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 #


Generating report.


Sending Task Assignment Email for TaskId: 14481, 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/KAR/TTT/26/00005


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


--- Email response from Osmo-x is 201


# Preparing notification body #


### End Event Execution ###


Output File Path: D:\App-Data\iis\api-qa-staging.oqsha.com\api-qa-staging.oqsha.com\attachments\incidents\exports\OQSHA_Safety_Alert_T_FBYDW_NMM_26_00025.pdf


Converted to byte file


PDF generation successfull


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


Sending Assigned To Email for IncidentId:75629


A Safety Alert T/FBYDW/NMM/26/00025 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:75629


Osmo-x WhatsApp payload: {"providerId":11,"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 Eaton"},{"type":"text","text":"Safety Alert"},{"type":"text","text":"T/FBYDW/NMM/26/00025"},{"type":"text","text":"Testing "},{"type":"text","text":"Elmore City"},{"type":"text","text":"Near Misses"},{"type":"text","text":"Sal Eaton"},{"type":"text","text":"Falcon's Beyond Global Inc. Warrants"},{"type":"text","text":"Assigned"},{"type":"text","text":"https://qa-staging-2.oqsha.com/#/incidents/view/248/75629?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 ###


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


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


Initializing Email Service Client


Generating Email Request


Sal Eaton 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


# Preparing notification body #


# Checking for device existence #


# User device exists #


Sending Approved Notification for Work Permit Id:2862


Inside SendAppNotification Device Type: GCM


Generating AWS SNS Request


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Test/77e5972e-b907-3d20-8d92-831c6745a6c2


Work Permit Approved

Sal Eaton has approved your Work Permit (UID: WP/SAIL/RIG/CWP/26/00001).


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


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


Push notification was sent to device with id 21461.


# Push notification sent #


### End Event Execution ###


### Start Event Execution ###


Message : {"EventName":"INCIDENT_CLOSURE_NOTIFICATION_VALIDATION_1","EventArgs":[{"Key":"IncidentId","Value":75629},{"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: [11701]


## Sending email to Leota Meltzer, UserId : 11701 for Incident Closure Validation notification ##


Output File Path: D:\App-Data\iis\api-qa-staging.oqsha.com\api-qa-staging.oqsha.com\attachments\incidents\exports\OQSHA_Tickets_T_FBYDW_NMM_26_00025.pdf


Converted to byte file


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


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


Reading and binding data to Email Template


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:75629


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"915555557660","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"oqsha_ticket_validation_level_1_whatsapp_template_ttk_v2","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"Leota Meltzer"},{"type":"text","text":"Sal Eaton"},{"type":"text","text":"T/FBYDW/NMM/26/00025"},{"type":"text","text":"24-Jun-2026 11:00:16 AM"},{"type":"text","text":"Near Misses"},{"type":"text","text":"Elmore City"},{"type":"text","text":"Elmore City"},{"type":"text","text":"Testing "},{"type":"text","text":"Sal Eaton"},{"type":"text","text":"https://qa-staging-2.oqsha.com/#/incidents/view/248/75629?dlType=viewTicket"},{"type":"text","text":"EHS Department - TTK Prestige Limited"}]}]}}}


Osmo-x WhatsApp Message has been Sent


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


### End Event Execution ###


### Start Event Execution ###


Message : {"EventName":"INCIDENT_CLOSURE_NOTIFICATION_VALIDATION_2","EventArgs":[{"Key":"IncidentId","Value":75629},{"Key":"ClosedById","Value":267}]}


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


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


Generating report.


## Sending notification to EHS head user ##


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


## Sending email to Mozell Heaton, UserId : 5538 for Incident Closure Validation notification ##


Sending Incident Closure Validation Email for IncidentId:75629


Initializing Email Service Client


Generating Email Request


Safety Alert Validation For Closure


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


--- Email response from Osmo-x is 201


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"912000002528","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"oqsha_ticket_validation_level_2_whatsapp_template_ttk_v2","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"Mozell Heaton"},{"type":"text","text":"Sal Eaton"},{"type":"text","text":"T/FBYDW/NMM/26/00025"},{"type":"text","text":"24-Jun-2026 11:00:16 AM"},{"type":"text","text":"Near Misses"},{"type":"text","text":"Elmore City"},{"type":"text","text":"Elmore City"},{"type":"text","text":"Testing "},{"type":"text","text":"Sal Eaton"},{"type":"text","text":"https://qa-staging-2.oqsha.com/#/incidents/view/248/75629?dlType=viewTicket"},{"type":"text","text":"EHS Department - TTK Prestige Limited"}]}]}}}


Osmo-x WhatsApp Message has been Sent


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


### End Event Execution ###


### Start Event Execution ###


Message : {"EventName":"INCIDENT_REOPEN_NOTIFICATION","EventArgs":[{"Key":"IncidentId","Value":75629},{"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 Eaton, UserId : 267 for reopen notification ##


Sending Assigned To Email for IncidentId:75629


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


Reading and binding data to Email Template


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:75629


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"912000001875","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":"Sal Eaton"},{"type":"text","text":"T/FBYDW/NMM/26/00025"},{"type":"text","text":"24-Jun-2026 11:00:16 AM"},{"type":"text","text":"Near Misses"},{"type":"text","text":"Elmore City"},{"type":"text","text":"Elmore City"},{"type":"text","text":"Testing "},{"type":"text","text":"Sal Eaton"},{"type":"text","text":"https://qa-staging-2.oqsha.com/#/incidents/view/248/75629?dlType=viewTicket"},{"type":"text","text":"EHS Department - TTK Prestige Limited"}]}]}}}


Osmo-x WhatsApp Message has been Sent


Sending Reopen Push Notification for IncidentId:75629


Inside SendAppNotification Device Type: GCM


Generating AWS SNS Request


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Test/77e5972e-b907-3d20-8d92-831c6745a6c2


Safety Alert Reopened - T/FBYDW/NMM/26/00025

This safety alert has been reopened and requires further action.


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


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


Push notification was sent to device with id 21461.


### Ended processing Incident Reopen Event ###


### End Event Execution ###


### Start Event Execution ###


Message : {"EventName":"INCIDENT_CLOSURE_NOTIFICATION_VALIDATION_1","EventArgs":[{"Key":"IncidentId","Value":75629},{"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: [11701]


## Sending email to Leota Meltzer, UserId : 11701 for Incident Closure Validation notification ##


Output File Path: D:\App-Data\iis\api-qa-staging.oqsha.com\api-qa-staging.oqsha.com\attachments\incidents\exports\OQSHA_Tickets_T_FBYDW_NMM_26_00025.pdf


Converted to byte file


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


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


Reading and binding data to Email Template


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:75629


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"915555557660","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"oqsha_ticket_validation_level_1_whatsapp_template_ttk_v2","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"Leota Meltzer"},{"type":"text","text":"Sal Eaton"},{"type":"text","text":"T/FBYDW/NMM/26/00025"},{"type":"text","text":"24-Jun-2026 11:00:16 AM"},{"type":"text","text":"Near Misses"},{"type":"text","text":"Elmore City"},{"type":"text","text":"Elmore City"},{"type":"text","text":"Testing "},{"type":"text","text":"Sal Eaton"},{"type":"text","text":"https://qa-staging-2.oqsha.com/#/incidents/view/248/75629?dlType=viewTicket"},{"type":"text","text":"EHS Department - TTK Prestige Limited"}]}]}}}


Osmo-x WhatsApp Message has been Sent


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


### End Event Execution ###


### Start Event Execution ###


Message : {"EventName":"INCIDENT_CLOSURE_NOTIFICATION_VALIDATION_2","EventArgs":[{"Key":"IncidentId","Value":75629},{"Key":"ClosedById","Value":267}]}


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


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


Generating report.


## Sending notification to EHS head user ##


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


## Sending email to Mozell Heaton, UserId : 5538 for Incident Closure Validation notification ##


Sending Incident Closure Validation Email for IncidentId:75629


Initializing Email Service Client


Generating Email Request


Safety Alert Validation For Closure


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


--- Email response from Osmo-x is 201


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"912000002528","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"oqsha_ticket_validation_level_2_whatsapp_template_ttk_v2","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"Mozell Heaton"},{"type":"text","text":"Sal Eaton"},{"type":"text","text":"T/FBYDW/NMM/26/00025"},{"type":"text","text":"24-Jun-2026 11:00:16 AM"},{"type":"text","text":"Near Misses"},{"type":"text","text":"Elmore City"},{"type":"text","text":"Elmore City"},{"type":"text","text":"Testing "},{"type":"text","text":"Sal Eaton"},{"type":"text","text":"https://qa-staging-2.oqsha.com/#/incidents/view/248/75629?dlType=viewTicket"},{"type":"text","text":"EHS Department - TTK Prestige Limited"}]}]}}}


Osmo-x WhatsApp Message has been Sent


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


### End Event Execution ###


### Start Event Execution ###


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


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


# Calling SendNominationsSubmittedNotification for nominationId=1032 tniId=136 orgId=264 #


Using org-specific template for Org 264: Templates\OrgTemplates\264\Templates\NominationsSubmittedTemplate.html


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


Reading and binding data to Email Template


## Bulk Nominations Submitted Email Sent to 9 Safety Officers ##


Message : {"EventName":"WORK_PERMIT_APPROVED_INFORM_TO_CREATOR_NOTIFICATION","EventArgs":[{"Key":"CreatorId","Value":"267"},{"Key":"ApproverName","Value":"Adelbert Miley"},{"Key":"WorkPermitId","Value":"2861"},{"Key":"WorkPermitUid","Value":"WP/FBYDW/ROO/EWP/26/00001"},{"Key":"SiteName","Value":"Colver"},{"Key":"OrganisationName","Value":"Falcon's Beyond Global Inc. Warrants"},{"Key":"StatusPastTenseName","Value":"Approved"},{"Key":"ApprovedOn","Value":"24-Jun-2026 11:10:59 AM"},{"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


Initializing Email Service Client


Generating Email Request


Adelbert Miley 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":11,"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":"Sal Eaton"},{"type":"text","text":"Adelbert Miley"},{"type":"text","text":"Approved"},{"type":"text","text":"WP/FBYDW/ROO/EWP/26/00001"},{"type":"text","text":"Colver"},{"type":"text","text":"Falcon's Beyond Global Inc. Warrants"},{"type":"text","text":"24-Jun-2026 11:10:59 AM"},{"type":"text","text":"https://qa-staging-2.oqsha.com/#/permit-to-work/view-work-permit/248/2861?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_INFORM_TO_CREATOR_NOTIFICATION","EventArgs":[{"Key":"CreatorId","Value":"267"},{"Key":"ApproverName","Value":"Sal Eaton"},{"Key":"WorkPermitId","Value":"2861"},{"Key":"WorkPermitUid","Value":"WP/FBYDW/ROO/EWP/26/00001"},{"Key":"SiteName","Value":"Colver"},{"Key":"OrganisationName","Value":"Falcon's Beyond Global Inc. Warrants"},{"Key":"StatusPastTenseName","Value":"Approved"},{"Key":"ApprovedOn","Value":"24-Jun-2026 11:12:16 AM"},{"Key":"OrgId","Value":248}]}


Sal Eaton has Approved your Work Permit


Osmo-x WhatsApp payload: {"providerId":11,"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":"Sal Eaton"},{"type":"text","text":"Sal Eaton"},{"type":"text","text":"Approved"},{"type":"text","text":"WP/FBYDW/ROO/EWP/26/00001"},{"type":"text","text":"Colver"},{"type":"text","text":"Falcon's Beyond Global Inc. Warrants"},{"type":"text","text":"24-Jun-2026 11:12:16 AM"},{"type":"text","text":"https://qa-staging-2.oqsha.com/#/permit-to-work/view-work-permit/248/2861?dlType=viewWorkPermitV2"},{"type":"text","text":"EHS Department - TTK Prestige Limited"}]}]}}}


# Checking for device existence #


# User device exists #


Sending Approved Notification for Work Permit Id:2861


Inside SendAppNotification Device Type: GCM


Generating AWS SNS Request


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Test/77e5972e-b907-3d20-8d92-831c6745a6c2


Work Permit Approved

Sal Eaton has approved your Work Permit (UID: WP/FBYDW/ROO/EWP/26/00001).


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


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


Push notification was sent to device with id 21464.


# Push notification sent #


Message : {"EventName":"WORK_PERMIT_APPROVED_CONTRACTOR_SUPERVISOR_NOTIFICATION","EventArgs":[{"Key":"WorkPermitId","Value":"2861"},{"Key":"WorkPermitUid","Value":"WP/FBYDW/ROO/EWP/26/00001"},{"Key":"SiteName","Value":"Colver"},{"Key":"OrganisationName","Value":"Falcon's Beyond Global Inc. Warrants"},{"Key":"ApprovedOn","Value":"24-Jun-2026 11:12:16 AM"},{"Key":"OrgId","Value":248}]}


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


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


### End Event Execution ###


### Start Event Execution ###


Message : {"EventName":"WORK_PERMIT_EXTENSION_INFORMATION_NOTIFICATION","EventArgs":[{"Key":"UserIds","Value":"[267,6717]"},{"Key":"InitiatorName","Value":"Sal Eaton"},{"Key":"ExtensionHours","Value":2},{"Key":"WorkPermitUid","Value":"WP/FBYDW/ROO/EWP/26/00001"},{"Key":"SiteName","Value":"Colver"},{"Key":"OrganisationName","Value":"Falcon's Beyond Global Inc. Warrants"},{"Key":"ExtensionTakenOn","Value":"24-Jun-2026 11:12:46 AM"},{"Key":"WorkPermitId","Value":"2861"},{"Key":"OrgId","Value":248}]}


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


# Calling SendWorkPermitApprovalInvitationNotification function for email/WhatsApp #


Executing email notifications to WorkPermit Approvers about the Extension Information


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


Reading and binding data to Email Template


Initializing Email Service Client


Generating Email Request


Work Permit has been Extended


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


--- Email response from Osmo-x is 201


Executing whatsapp notifications to WorkPermit Approvers about the Extension Information


Sending WhatsApp for WorkPermit to user: 267


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"912000001875","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"oqsha_workpermit_approver_notification","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"Sal Eaton"},{"type":"text","text":"Sal Eaton"},{"type":"text","text":"2"},{"type":"text","text":"WP/FBYDW/ROO/EWP/26/00001"},{"type":"text","text":"Colver"},{"type":"text","text":"Falcon's Beyond Global Inc. Warrants"},{"type":"text","text":"24-Jun-2026 11:12:46 AM"},{"type":"text","text":"https://qa-staging-2.oqsha.com/#/permit-to-work/view-work-permit/248/2861?dlType=viewWorkPermitV2"},{"type":"text","text":"EHS Department - TTK Prestige Limited"}]}]}}}


Osmo-x WhatsApp Message has been Sent


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 WhatsApp for WorkPermit to user: 6717


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"912000003962","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"oqsha_workpermit_approver_notification","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"Adelbert Miley"},{"type":"text","text":"Sal Eaton"},{"type":"text","text":"2"},{"type":"text","text":"WP/FBYDW/ROO/EWP/26/00001"},{"type":"text","text":"Colver"},{"type":"text","text":"Falcon's Beyond Global Inc. Warrants"},{"type":"text","text":"24-Jun-2026 11:12:46 AM"},{"type":"text","text":"https://qa-staging-2.oqsha.com/#/permit-to-work/view-work-permit/248/2861?dlType=viewWorkPermitV2"},{"type":"text","text":"EHS Department - TTK Prestige Limited"}]}]}}}


# Preparing notification body #


# Checking for device existence #


# User device exists #


Sending Extension Information Notification for Work Permit Id:2861


Inside SendAppNotification Device Type: GCM


Generating AWS SNS Request


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Test/77e5972e-b907-3d20-8d92-831c6745a6c2


Work Permit has been Extended

The Work Permit (UID: WP/FBYDW/ROO/EWP/26/00001) has been extended by 2 hour(s).


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


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


Push notification was sent to device with id 21464.


# Push notification sent #


### End Event Execution ###


### Start Event Execution ###


Message : {"EventName":"WORK_PERMIT_EXTENSION_HANDOVER_NOTIFICATION","EventArgs":[{"Key":"UserId","Value":5532},{"Key":"WorkPermitId","Value":"2861"},{"Key":"WorkPermitUid","Value":"WP/FBYDW/ROO/EWP/26/00001"},{"Key":"SiteName","Value":"Colver"},{"Key":"OrganisationName","Value":"Falcon's Beyond Global Inc. Warrants"},{"Key":"ExtensionTakenOn","Value":"24-Jun-2026 11:12:46 AM"},{"Key":"OrgId","Value":248}]}


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


# Calling SendWorkPermitApprovedInformToCreatorNotification function for email #


Executing email notifications to WorkPermit Extension Handover


Sending WorkPermit Extension Handover email: osm06983@osmosys.co


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


Reading and binding data to Email Template


Initializing Email Service Client


Generating Email Request


Work Permit Extension Assigned to You – WP/FBYDW/ROO/EWP/26/00001


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


--- Email response from Osmo-x is 201


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


Sending WhatsApp for WorkPermit Extension to user: 5532


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"912000008275","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"oqsha_work_permit_handover_template","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"Test Safety Officer"},{"type":"text","text":"WP/FBYDW/ROO/EWP/26/00001"},{"type":"text","text":"Colver"},{"type":"text","text":"Falcon's Beyond Global Inc. Warrants"},{"type":"text","text":"24-Jun-2026 11:12:46 AM"},{"type":"text","text":"https://qa-staging-2.oqsha.com/#/permit-to-work/view-work-permit/248/2861?dlType=viewWorkPermitV2"},{"type":"text","text":"EHS Department - TTK Prestige Limited"}]}]}}}


Osmo-x WhatsApp Message has been Sent


# Preparing notification body #


# Checking for device existence #


# User device exists #


Sending Extension Handover Notification for Work Permit Id:2861


Inside SendAppNotification Device Type: APNS_SANDBOX


Generating AWS SNS Request


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/APNS_SANDBOX/Oqsha-IOS-Sandbox-Test/76f8b298-8560-3bbe-b228-412b4b8cabbd


Work Permit Extension Assigned

You have been assigned a Work Permit Extension (UID: WP/FBYDW/ROO/EWP/26/00001).


Push notification was sent to device with id 21453.


# Push notification sent #


### End Event Execution ###


### Start Event Execution ###


Message : {"EventName":"WORK_PERMIT_STATUS_CHANGE_TO_APPROVERS","EventArgs":[{"Key":"WorkPermitId","Value":"2861"},{"Key":"NewStatus","Value":"Closed"},{"Key":"ApproverIds","Value":"[267,6717]"},{"Key":"ChangedByName","Value":"Sal Eaton"},{"Key":"SiteName","Value":"Colver"},{"Key":"CreatedBy","Value":"Sal Eaton"},{"Key":"WorkPermitUid","Value":"WP/FBYDW/ROO/EWP/26/00001"},{"Key":"OrgId","Value":248},{"Key":"OrganisationName","Value":"Falcon's Beyond Global Inc. Warrants"}]}


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


# Calling SendNotificationToApproversForWorkPermitStatusChange function for email/WhatsApp #


Executing email and WhatsApp notifications to WorkPermit approvers


Sending WorkPermit status change email to: TTK_Admin@oqsha.com


Initializing Email Service Client


Generating Email Request


Work Permit Status Updated


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


--- Email response from Osmo-x is 201


Sending WorkPermit status change WhatsApp message to: 912000001875


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"912000001875","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"oqsha_work_permit_status_update_template","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"Sal Eaton"},{"type":"text","text":"WP/FBYDW/ROO/EWP/26/00001"},{"type":"text","text":"Colver"},{"type":"text","text":"Falcon's Beyond Global Inc. Warrants"},{"type":"text","text":"Closed"},{"type":"text","text":"Sal Eaton"},{"type":"text","text":"https://qa-staging-2.oqsha.com/#/permit-to-work/view-work-permit/248/2861?dlType=viewWorkPermitV2"},{"type":"text","text":"EHS Department - TTK Prestige Limited"}]}]}}}


Osmo-x WhatsApp Message has been Sent


Sending WorkPermit status change email to:


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


Error occurred while sending email using Osmo-x.


Object reference not set to an instance of an object.


Sending WorkPermit status change WhatsApp message to: 912000003962


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"912000003962","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"oqsha_work_permit_status_update_template","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/EWP/26/00001"},{"type":"text","text":"Colver"},{"type":"text","text":"Falcon's Beyond Global Inc. Warrants"},{"type":"text","text":"Closed"},{"type":"text","text":"Sal Eaton"},{"type":"text","text":"https://qa-staging-2.oqsha.com/#/permit-to-work/view-work-permit/248/2861?dlType=viewWorkPermitV2"},{"type":"text","text":"EHS Department - TTK Prestige Limited"}]}]}}}


# Preparing notification body #


# Checking for device existence #


# User device exists #


Sending Status Update Notification for Work Permit Id:2861


Inside SendAppNotification Device Type: GCM


Generating AWS SNS Request


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Test/77e5972e-b907-3d20-8d92-831c6745a6c2


Work Permit Status Updated

The status of Work Permit (UID: WP/FBYDW/ROO/EWP/26/00001) has been updated to Closed.


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


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


Push notification was sent to device with id 21464.


# Push notification sent #


### End Event Execution ###


### Start Event Execution ###


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


Message : {"EventName":"NOTIFICATION_FOR_WORK_PERMIT_CREATION","EventArgs":[{"Key":"WorkPermitId","Value":"2864"},{"Key":"ApproverIds","Value":"[5538]"},{"Key":"SiteName","Value":"Elmore City"},{"Key":"CreatedBy","Value":"Sal Eaton"},{"Key":"WorkPermitUid","Value":"WP/FBYDW/KAR/CWP/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: TTK_EHS@oqsha.com


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


Reading and binding data to Email Template


Initializing Email Service Client


Generating Email Request


New Work Permit Assigned


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


--- Email response from Osmo-x is 201


Sending WorkPermit creation WhatsApp message to: 912000002528


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"912000002528","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":"Mozell Heaton"},{"type":"text","text":"WP/FBYDW/KAR/CWP/26/00001"},{"type":"text","text":"Elmore City"},{"type":"text","text":"Falcon's Beyond Global Inc. Warrants"},{"type":"text","text":"Sal Eaton"},{"type":"text","text":"https://qa-staging-2.oqsha.com/#/permit-to-work/view-work-permit/248/2864?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":"DEPARTMENT_INCHARGE_NOTIFICATION_FOR_WORK_PERMIT_CREATION","EventArgs":[{"Key":"WorkPermitId","Value":"2864"},{"Key":"UserIds","Value":"[]"},{"Key":"SiteName","Value":"Elmore City"},{"Key":"CreatedBy","Value":"Sal Eaton"},{"Key":"WorkPermitUid","Value":"WP/FBYDW/KAR/CWP/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 #


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


# Calling SendBatchSchedulingCompletedNotification for tniId=136 organisationId=264 #


Using org-specific template for Org 264: Templates\OrgTemplates\264\Templates\TniBatchScheduledTemplate.html


Initializing Email Service Client


Generating Email Request


Batch Scheduling Completed for PTW-TNI ECD


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


--- Email response from Osmo-x is 201


## Bulk Batch Scheduling Email Sent to 9 Safety Heads ##


Message : {"EventName":"WORK_PERMIT_APPROVED_INFORM_TO_CREATOR_NOTIFICATION","EventArgs":[{"Key":"CreatorId","Value":"267"},{"Key":"ApproverName","Value":"Mozell Heaton"},{"Key":"WorkPermitId","Value":"2864"},{"Key":"WorkPermitUid","Value":"WP/FBYDW/KAR/CWP/26/00001"},{"Key":"SiteName","Value":"Elmore City"},{"Key":"OrganisationName","Value":"Falcon's Beyond Global Inc. Warrants"},{"Key":"StatusPastTenseName","Value":"Approved"},{"Key":"ApprovedOn","Value":"24-Jun-2026 11:17:46 AM"},{"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


Mozell Heaton 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":11,"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":"Sal Eaton"},{"type":"text","text":"Mozell Heaton"},{"type":"text","text":"Approved"},{"type":"text","text":"WP/FBYDW/KAR/CWP/26/00001"},{"type":"text","text":"Elmore City"},{"type":"text","text":"Falcon's Beyond Global Inc. Warrants"},{"type":"text","text":"24-Jun-2026 11:17:46 AM"},{"type":"text","text":"https://qa-staging-2.oqsha.com/#/permit-to-work/view-work-permit/248/2864?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":"2864"},{"Key":"WorkPermitUid","Value":"WP/FBYDW/KAR/CWP/26/00001"},{"Key":"SiteName","Value":"Elmore City"},{"Key":"OrganisationName","Value":"Falcon's Beyond Global Inc. Warrants"},{"Key":"ApprovedOn","Value":"24-Jun-2026 11:17:46 AM"},{"Key":"OrgId","Value":248}]}


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


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


Message : {"EventName":"WORK_PERMIT_STATUS_CHANGE_TO_APPROVERS","EventArgs":[{"Key":"WorkPermitId","Value":"2864"},{"Key":"NewStatus","Value":"Cancelled"},{"Key":"ApproverIds","Value":"[5538]"},{"Key":"ChangedByName","Value":"Mozell Heaton"},{"Key":"SiteName","Value":"Elmore City"},{"Key":"CreatedBy","Value":"Sal Eaton"},{"Key":"WorkPermitUid","Value":"WP/FBYDW/KAR/CWP/26/00001"},{"Key":"OrgId","Value":248},{"Key":"OrganisationName","Value":"Falcon's Beyond Global Inc. Warrants"}]}


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


# Calling SendNotificationToApproversForWorkPermitStatusChange function for email/WhatsApp #


Executing email and WhatsApp notifications to WorkPermit approvers


Sending WorkPermit status change email to: TTK_EHS@oqsha.com


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


Reading and binding data to Email Template


Initializing Email Service Client


Generating Email Request


Work Permit Status Updated


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


--- Email response from Osmo-x is 201


Sending WorkPermit status change WhatsApp message to: 912000002528


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"912000002528","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"oqsha_work_permit_status_update_template","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"Mozell Heaton"},{"type":"text","text":"WP/FBYDW/KAR/CWP/26/00001"},{"type":"text","text":"Elmore City"},{"type":"text","text":"Falcon's Beyond Global Inc. Warrants"},{"type":"text","text":"Cancelled"},{"type":"text","text":"Mozell Heaton"},{"type":"text","text":"https://qa-staging-2.oqsha.com/#/permit-to-work/view-work-permit/248/2864?dlType=viewWorkPermitV2"},{"type":"text","text":"EHS Department - TTK Prestige Limited"}]}]}}}


Osmo-x WhatsApp Message has been Sent


# Preparing notification body #


# Checking for device existence #


# User device exists #


Sending Status Update Notification for Work Permit Id:2864


Inside SendAppNotification Device Type: GCM


Generating AWS SNS Request


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Test/77e5972e-b907-3d20-8d92-831c6745a6c2


Work Permit Status Updated

The status of Work Permit (UID: WP/FBYDW/KAR/CWP/26/00001) has been updated to Cancelled.


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


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


Push notification was sent to device with id 21466.


# Push notification sent #


### End Event Execution ###


### Start Event Execution ###


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


Message : {"EventName":"NOTIFICATION_FOR_WORK_PERMIT_CREATION","EventArgs":[{"Key":"WorkPermitId","Value":"2865"},{"Key":"ApproverIds","Value":"[267]"},{"Key":"SiteName","Value":"Colver"},{"Key":"CreatedBy","Value":"Sal Eaton"},{"Key":"WorkPermitUid","Value":"WP/FBYDW/ROO/CSE/26/00005"},{"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 #


Sending WorkPermit creation email to: TTK_Admin@oqsha.com


Initializing Email Service Client


Generating Email Request


New Work Permit Assigned


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


--- Email response from Osmo-x is 201


Sending WorkPermit creation WhatsApp message to: 912000001875


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"912000001875","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":"Sal Eaton"},{"type":"text","text":"WP/FBYDW/ROO/CSE/26/00005"},{"type":"text","text":"Colver"},{"type":"text","text":"Falcon's Beyond Global Inc. Warrants"},{"type":"text","text":"Sal Eaton"},{"type":"text","text":"https://qa-staging-2.oqsha.com/#/permit-to-work/view-work-permit/248/2865?dlType=viewWorkPermitV2"},{"type":"text","text":"EHS Department - TTK Prestige Limited"}]}]}}}


Osmo-x WhatsApp Message has been Sent


# Preparing notification body #


# Checking for device existence #


# User device exists #


Sending Assigned To Notification for Work Permit Id:2865


Generating AWS SNS Request


New Work Permit Assigned

A new Work Permit (UID: WP/FBYDW/ROO/CSE/26/00005) has been created and assigned to you for site Colver.


Push notification was sent to device with id 21467.


# Push notification sent #


### End Event Execution ###


### Start Event Execution ###


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


Executing email and WhatsApp notifications to WorkPermit approvers


Message : {"EventName":"WORK_PERMIT_APPROVED_INFORM_TO_CREATOR_NOTIFICATION","EventArgs":[{"Key":"CreatorId","Value":"267"},{"Key":"ApproverName","Value":"Sal Eaton"},{"Key":"WorkPermitId","Value":"2865"},{"Key":"WorkPermitUid","Value":"WP/FBYDW/ROO/CSE/26/00005"},{"Key":"SiteName","Value":"Colver"},{"Key":"OrganisationName","Value":"Falcon's Beyond Global Inc. Warrants"},{"Key":"StatusPastTenseName","Value":"Approved"},{"Key":"ApprovedOn","Value":"24-Jun-2026 11:22:14 AM"},{"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


Sal Eaton 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":11,"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":"Sal Eaton"},{"type":"text","text":"Sal Eaton"},{"type":"text","text":"Approved"},{"type":"text","text":"WP/FBYDW/ROO/CSE/26/00005"},{"type":"text","text":"Colver"},{"type":"text","text":"Falcon's Beyond Global Inc. Warrants"},{"type":"text","text":"24-Jun-2026 11:22:14 AM"},{"type":"text","text":"https://qa-staging-2.oqsha.com/#/permit-to-work/view-work-permit/248/2865?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 ###


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


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":11,"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":"Test Safety Officer"},{"type":"text","text":"Approval"},{"type":"text","text":"WP/FBYDW/ROO/CSE/26/00005"},{"type":"text","text":"Colver"},{"type":"text","text":"Falcon's Beyond Global Inc. Warrants"},{"type":"text","text":"Sal Eaton"},{"type":"text","text":"https://qa-staging-2.oqsha.com/#/permit-to-work/view-work-permit/248/2865?dlType=viewWorkPermitV2"},{"type":"text","text":"EHS Department - TTK Prestige Limited"}]}]}}}


# Checking for device existence #


# User device exists #


Sending Approval Invitation Notification for Work Permit Id:2865


Inside SendAppNotification Device Type: APNS_SANDBOX


Generating AWS SNS Request


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/APNS_SANDBOX/Oqsha-IOS-Sandbox-Test/76f8b298-8560-3bbe-b228-412b4b8cabbd


Work Permit Approval Required

A Work Permit (UID: WP/FBYDW/ROO/CSE/26/00005) is awaiting your approval.


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


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


Push notification was sent to device with id 21453.


# Push notification sent #


### End Event Execution ###


### Start Event Execution ###


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


Message : {"EventName":"WORK_PERMIT_APPROVED_INFORM_TO_CREATOR_NOTIFICATION","EventArgs":[{"Key":"CreatorId","Value":"267"},{"Key":"ApproverName","Value":"Test Safety Officer"},{"Key":"WorkPermitId","Value":"2865"},{"Key":"WorkPermitUid","Value":"WP/FBYDW/ROO/CSE/26/00005"},{"Key":"SiteName","Value":"Colver"},{"Key":"OrganisationName","Value":"Falcon's Beyond Global Inc. Warrants"},{"Key":"StatusPastTenseName","Value":"Approved"},{"Key":"ApprovedOn","Value":"24-Jun-2026 11:25:21 AM"},{"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


Test Safety Officer 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":11,"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":"Sal Eaton"},{"type":"text","text":"Test Safety Officer"},{"type":"text","text":"Approved"},{"type":"text","text":"WP/FBYDW/ROO/CSE/26/00005"},{"type":"text","text":"Colver"},{"type":"text","text":"Falcon's Beyond Global Inc. Warrants"},{"type":"text","text":"24-Jun-2026 11:25:21 AM"},{"type":"text","text":"https://qa-staging-2.oqsha.com/#/permit-to-work/view-work-permit/248/2865?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 ###


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


A Work Permit is awaiting your Approval


Executing whatsapp notifications to WorkPermit Approvers about the Pending approval


Sending WhatsApp for WorkPermit to user: 5889


Osmo-x WhatsApp payload: {"providerId":11,"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/00005"},{"type":"text","text":"Colver"},{"type":"text","text":"Falcon's Beyond Global Inc. Warrants"},{"type":"text","text":"Sal Eaton"},{"type":"text","text":"https://qa-staging-2.oqsha.com/#/permit-to-work/view-work-permit/248/2865?dlType=viewWorkPermitV2"},{"type":"text","text":"EHS Department - TTK Prestige Limited"}]}]}}}


Message : {"EventName":"WORK_PERMIT_APPROVED_INFORM_TO_CREATOR_NOTIFICATION","EventArgs":[{"Key":"CreatorId","Value":"267"},{"Key":"ApproverName","Value":"Cato Kwon"},{"Key":"WorkPermitId","Value":"2865"},{"Key":"WorkPermitUid","Value":"WP/FBYDW/ROO/CSE/26/00005"},{"Key":"SiteName","Value":"Colver"},{"Key":"OrganisationName","Value":"Falcon's Beyond Global Inc. Warrants"},{"Key":"StatusPastTenseName","Value":"Approved"},{"Key":"ApprovedOn","Value":"24-Jun-2026 11:26:41 AM"},{"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":11,"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":"Sal Eaton"},{"type":"text","text":"Cato Kwon"},{"type":"text","text":"Approved"},{"type":"text","text":"WP/FBYDW/ROO/CSE/26/00005"},{"type":"text","text":"Colver"},{"type":"text","text":"Falcon's Beyond Global Inc. Warrants"},{"type":"text","text":"24-Jun-2026 11:26:41 AM"},{"type":"text","text":"https://qa-staging-2.oqsha.com/#/permit-to-work/view-work-permit/248/2865?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":"2865"},{"Key":"WorkPermitUid","Value":"WP/FBYDW/ROO/CSE/26/00005"},{"Key":"SiteName","Value":"Colver"},{"Key":"OrganisationName","Value":"Falcon's Beyond Global Inc. Warrants"},{"Key":"ApprovedOn","Value":"24-Jun-2026 11:26:41 AM"},{"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


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


Message : {"EventName":"NOTIFICATION_FOR_WORK_PERMIT_CREATION","EventArgs":[{"Key":"WorkPermitId","Value":"2866"},{"Key":"ApproverIds","Value":"[267]"},{"Key":"SiteName","Value":"Colver"},{"Key":"CreatedBy","Value":"Sal Eaton"},{"Key":"WorkPermitUid","Value":"WP/FBYDW/ROO/CSE/26/00006"},{"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: TTK_Admin@oqsha.com


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


Reading and binding data to Email Template


Initializing Email Service Client


Generating Email Request


New Work Permit Assigned


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


--- Email response from Osmo-x is 201


Sending WorkPermit creation WhatsApp message to: 912000001875


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"912000001875","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":"Sal Eaton"},{"type":"text","text":"WP/FBYDW/ROO/CSE/26/00006"},{"type":"text","text":"Colver"},{"type":"text","text":"Falcon's Beyond Global Inc. Warrants"},{"type":"text","text":"Sal Eaton"},{"type":"text","text":"https://qa-staging-2.oqsha.com/#/permit-to-work/view-work-permit/248/2866?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":"DEPARTMENT_INCHARGE_NOTIFICATION_FOR_WORK_PERMIT_CREATION","EventArgs":[{"Key":"WorkPermitId","Value":"2866"},{"Key":"UserIds","Value":"[]"},{"Key":"SiteName","Value":"Colver"},{"Key":"CreatedBy","Value":"Sal Eaton"},{"Key":"WorkPermitUid","Value":"WP/FBYDW/ROO/CSE/26/00006"},{"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 #


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


# Calling SendAttendeeAllocationCompletedNotification for tniId=136 organisationId=264 #


Using org-specific template for Org 264: Templates\OrgTemplates\264\Templates\TniAttendeeAllocationTemplate.html


Initializing Email Service Client


Generating Email Request


kulsrestha.j@osmosys.co, lalit.k.shriwas@abc.co, sudesh.selkar@abc.co, shreya.v@osmosys.co, ishwar.sonkar@abc.co, jatin.g@osmosys.co, manjeet65949@abc.co, jatin.g@osmosys.co, lomeshchandraker@abc.co, girish.srambical@abc.co, kishoreverma1976@abc.co

Action Required: Review Team Allocations for PTW-TNI ECD


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


--- Email response from Osmo-x is 201


## Bulk Email Sent to 11 Role Users ##


Starting Execution for grouped participant notifications.


Using org-specific template for Org 264: Templates\OrgTemplates\264\Templates\TniParticipantAllocationTemplate.html


Inside SendAppNotification Device Type: GCM


Generating AWS SNS Request


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Test/33f6fefc-5c4c-363d-91ee-2a402fef1ecf


New Training: PTW-TNI ECD

You have been allocated to a training batch for Industrial Gas Safety - Contract Worker. Tap to view.


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


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


Push notification was sent to device with id 21471.


Inside SendAppNotification Device Type: APNS_SANDBOX


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/APNS_SANDBOX/Oqsha-IOS-Sandbox-Test/f5b7902e-c32c-3c87-bfb5-12c9d052d5ed


New Training: PTW-TNI ECD


Push notification was sent to device with id 21469.


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Test/2366184f-768c-3dc1-99a4-30bc1548a70e


Push notification was sent to device with id 21470.


## Grouped Notifications processed for 14 Unique Participants ##


### End Event Execution ###


### Start Event Execution ###


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


Message : {"EventName":"WORK_PERMIT_EXTENSION_INFORMATION_NOTIFICATION","EventArgs":[{"Key":"UserIds","Value":"[267,5532,5889]"},{"Key":"InitiatorName","Value":"Sal Eaton"},{"Key":"ExtensionHours","Value":5},{"Key":"WorkPermitUid","Value":"WP/FBYDW/ROO/CSE/26/00005"},{"Key":"SiteName","Value":"Colver"},{"Key":"OrganisationName","Value":"Falcon's Beyond Global Inc. Warrants"},{"Key":"ExtensionTakenOn","Value":"24-Jun-2026 11:43:39 AM"},{"Key":"WorkPermitId","Value":"2865"},{"Key":"OrgId","Value":248}]}


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


# Calling SendWorkPermitApprovalInvitationNotification function for email/WhatsApp #


Executing email notifications to WorkPermit Approvers about the Extension Information


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


Reading and binding data to Email Template


Initializing Email Service Client


Generating Email Request


Work Permit has been Extended


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


--- Email response from Osmo-x is 201


Executing whatsapp notifications to WorkPermit Approvers about the Extension Information


Sending WhatsApp for WorkPermit to user: 267


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"912000001875","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"oqsha_workpermit_approver_notification","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"Sal Eaton"},{"type":"text","text":"Sal Eaton"},{"type":"text","text":"5"},{"type":"text","text":"WP/FBYDW/ROO/CSE/26/00005"},{"type":"text","text":"Colver"},{"type":"text","text":"Falcon's Beyond Global Inc. Warrants"},{"type":"text","text":"24-Jun-2026 11:43:39 AM"},{"type":"text","text":"https://qa-staging-2.oqsha.com/#/permit-to-work/view-work-permit/248/2865?dlType=viewWorkPermitV2"},{"type":"text","text":"EHS Department - TTK Prestige Limited"}]}]}}}


Osmo-x WhatsApp Message has been Sent


Sending WhatsApp for WorkPermit to user: 5532


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"912000008275","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"oqsha_workpermit_approver_notification","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"Test Safety Officer"},{"type":"text","text":"Sal Eaton"},{"type":"text","text":"5"},{"type":"text","text":"WP/FBYDW/ROO/CSE/26/00005"},{"type":"text","text":"Colver"},{"type":"text","text":"Falcon's Beyond Global Inc. Warrants"},{"type":"text","text":"24-Jun-2026 11:43:39 AM"},{"type":"text","text":"https://qa-staging-2.oqsha.com/#/permit-to-work/view-work-permit/248/2865?dlType=viewWorkPermitV2"},{"type":"text","text":"EHS Department - TTK Prestige Limited"}]}]}}}


Sending WhatsApp for WorkPermit to user: 5889


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"912000003104","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"oqsha_workpermit_approver_notification","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"Cato Kwon"},{"type":"text","text":"Sal Eaton"},{"type":"text","text":"5"},{"type":"text","text":"WP/FBYDW/ROO/CSE/26/00005"},{"type":"text","text":"Colver"},{"type":"text","text":"Falcon's Beyond Global Inc. Warrants"},{"type":"text","text":"24-Jun-2026 11:43:39 AM"},{"type":"text","text":"https://qa-staging-2.oqsha.com/#/permit-to-work/view-work-permit/248/2865?dlType=viewWorkPermitV2"},{"type":"text","text":"EHS Department - TTK Prestige Limited"}]}]}}}


# Preparing notification body #


### End Event Execution ###


### Start Event Execution ###


Message : {"EventName":"WORK_PERMIT_EXTENSION_HANDOVER_NOTIFICATION","EventArgs":[{"Key":"UserId","Value":267},{"Key":"WorkPermitId","Value":"2865"},{"Key":"WorkPermitUid","Value":"WP/FBYDW/ROO/CSE/26/00005"},{"Key":"SiteName","Value":"Colver"},{"Key":"OrganisationName","Value":"Falcon's Beyond Global Inc. Warrants"},{"Key":"ExtensionTakenOn","Value":"24-Jun-2026 11:43:39 AM"},{"Key":"OrgId","Value":248}]}


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


# Calling SendWorkPermitApprovedInformToCreatorNotification function for email #


Executing email notifications to WorkPermit Extension Handover


Sending WorkPermit Extension Handover email: TTK_Admin@oqsha.com


Initializing Email Service Client


Generating Email Request


Work Permit Extension Assigned to You – WP/FBYDW/ROO/CSE/26/00005


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


--- Email response from Osmo-x is 201


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


Sending WhatsApp for WorkPermit Extension to user: 267


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"912000001875","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"oqsha_work_permit_handover_template","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"Sal Eaton"},{"type":"text","text":"WP/FBYDW/ROO/CSE/26/00005"},{"type":"text","text":"Colver"},{"type":"text","text":"Falcon's Beyond Global Inc. Warrants"},{"type":"text","text":"24-Jun-2026 11:43:39 AM"},{"type":"text","text":"https://qa-staging-2.oqsha.com/#/permit-to-work/view-work-permit/248/2865?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 ###


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


Message : {"EventName":"WORK_PERMIT_STATUS_CHANGE_TO_APPROVERS","EventArgs":[{"Key":"WorkPermitId","Value":"2864"},{"Key":"NewStatus","Value":"Closed"},{"Key":"ApproverIds","Value":"[5538]"},{"Key":"ChangedByName","Value":"Sal Eaton"},{"Key":"SiteName","Value":"Elmore City"},{"Key":"CreatedBy","Value":"Sal Eaton"},{"Key":"WorkPermitUid","Value":"WP/FBYDW/KAR/CWP/26/00001"},{"Key":"OrgId","Value":248},{"Key":"OrganisationName","Value":"Falcon's Beyond Global Inc. Warrants"}]}


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


# Calling SendNotificationToApproversForWorkPermitStatusChange function for email/WhatsApp #


Executing email and WhatsApp notifications to WorkPermit approvers


Sending WorkPermit status change email to: TTK_EHS@oqsha.com


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


Reading and binding data to Email Template


Initializing Email Service Client


Generating Email Request


Work Permit Status Updated


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


--- Email response from Osmo-x is 201


Sending WorkPermit status change WhatsApp message to: 912000002528


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"912000002528","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"oqsha_work_permit_status_update_template","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"Mozell Heaton"},{"type":"text","text":"WP/FBYDW/KAR/CWP/26/00001"},{"type":"text","text":"Elmore City"},{"type":"text","text":"Falcon's Beyond Global Inc. Warrants"},{"type":"text","text":"Closed"},{"type":"text","text":"Sal Eaton"},{"type":"text","text":"https://qa-staging-2.oqsha.com/#/permit-to-work/view-work-permit/248/2864?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 ###


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


### Started processing for Incident Submitted Event ###


Using default template for Org 248: Templates\IncidentSubmittedNotificationEmailTemplate.html


Executing email notifications to Incident Approvers about the Pending approval


A new incident IMF/FBYDW/KAR/FAO/26/00001 has been reported


Executing whatsapp notifications to Incident Approvers about the Pending approval


Sending WhatsApp Notification for Incident Approval to User: 5538


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"912000002528","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"oqsha_incident_submitted_v2","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"Mozell Heaton"},{"type":"text","text":"IMF/FBYDW/KAR/FAO/26/00001"},{"type":"text","text":"Sal Eaton"},{"type":"text","text":"23-Jun-2026 06:30:00 AM"},{"type":"text","text":"Elmore City"},{"type":"text","text":"Test FIR Submit"},{"type":"text","text":"0"},{"type":"text","text":"https://qa-staging-2.oqsha.com/#/incident-management/report-incident/view/248/1274?dlType=viewIncidentReport"},{"type":"text","text":"EHS Department - TTK Prestige Limited"}]}]}}}


### Ended processing Incident Submitted Event ###


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


Message : {"EventName":"COMPLETED_BATCH","EventArgs":[{"Key":"BatchId","Value":1786}]}


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


# Calling SendNotificationToBatchParticipantsForCompletedStatus function for  whatsapp notification #


Executing completed notification function to batch participants


Generating certificate.


System.ArgumentNullException: Value cannot be null.
Parameter name: path4
   at System.IO.Path.Combine(String path1, String path2, String path3, String path4)
   at IncidentReporter.API.Helpers.ExportTrainingCertificateHelper.ExportCertificate(TrainingCertificateDTO participant, String outputAbsoluteFilePath, Int32 orgId) in C:\GitLab-Runner\builds\27n6lYj0J\0\incident-reporter\incident-reporter-api\IncidentReporter\IncidentReporter.API\Helpers\ExportTrainingCertificateHelper.cs:line 25
   at IncidentReporter.API.Helpers.ExportTrainingCertificateHelper.ExportCertificatePDFAsByteArray(TrainingCertificateDTO participant, Int32 orgId, Int32 batchId, Int32 participantId) in C:\GitLab-Runner\builds\27n6lYj0J\0\incident-reporter\incident-reporter-api\IncidentReporter\IncidentReporter.API\Helpers\ExportTrainingCertificateHelper.cs:line 115
   at IncidentReporter.NotificationSender.DAL.Events.Notifier.SendNotificationToBatchParticipantsForCompletedStatus(Int64 batchId) in C:\GitLab-Runner\builds\27n6lYj0J\0\incident-reporter\incident-reporter-api\IncidentReporter\IncidentReporter.NotificationSender\DAL\Events\Notifier.cs:line 3416
   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 515


### End Event Execution ###


### Start Event Execution ###


Message : {"EventName":"SUPERVISOR_ALERT_WORKPLACE_INJURY_INCIDENT","EventArgs":[{"Key":"UserId","Value":"5618"},{"Key":"OrgId","Value":"248"},{"Key":"IncidentId","Value":"1250"}]}


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


### Started processing supervisor alert workplace injury ###


Executing email alert to supervisor about the Workplace injury incident


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


Reading and binding data to Email Template


Initializing Email Service Client


Generating Email Request


Pending Work Injury Incident Submission Reminder - 86VC9S


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


--- Email response from Osmo-x is 201


Executing whatsapp alert to supervisor about the Workplace injury incident


Sending WhatsApp Notification for workplace injury incident to User: 5618


Osmo-x WhatsApp Message has been Sent


### Ended processing supervisor alert workplace injury  ###


### End Event Execution ###


### Start Event Execution ###


Message : {"EventName":"SUPERVISOR_ALERT_WORKPLACE_INJURY_INCIDENT","EventArgs":[{"Key":"UserId","Value":"5781"},{"Key":"OrgId","Value":"248"},{"Key":"IncidentId","Value":"1249"}]}


Pending Work Injury Incident Submission Reminder - L1LM6P


Sending WhatsApp Notification for workplace injury incident to User: 5781


Message : {"EventName":"SUPERVISOR_ALERT_WORKPLACE_INJURY_INCIDENT","EventArgs":[{"Key":"UserId","Value":"5786"},{"Key":"OrgId","Value":"248"},{"Key":"IncidentId","Value":"1253"}]}


Pending Work Injury Incident Submission Reminder - KLXMM3


Sending WhatsApp Notification for workplace injury incident to User: 5786


Message : {"EventName":"SUPERVISOR_ALERT_WORKPLACE_INJURY_INCIDENT","EventArgs":[{"Key":"UserId","Value":"1322"},{"Key":"OrgId","Value":"251"},{"Key":"IncidentId","Value":"583"}]}


Initializing Email Service Client


Generating Email Request


Pending Work Injury Incident Submission Reminder - 1BXSNV


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


--- Email response from Osmo-x is 201


Sending WhatsApp Notification for workplace injury incident to User: 1322


Osmo-x WhatsApp Message has been Sent


Message : {"EventName":"SUPERVISOR_ALERT_WORKPLACE_INJURY_INCIDENT","EventArgs":[{"Key":"UserId","Value":"1327"},{"Key":"OrgId","Value":"251"},{"Key":"IncidentId","Value":"247"}]}


Pending Work Injury Incident Submission Reminder - 01P2MW


Sending WhatsApp Notification for workplace injury incident to User: 1327


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"912000009420","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"oqsha_supervisor_alert_work_injury_incident","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"Aja Walden"},{"type":"text","text":"01P2MW"},{"type":"text","text":"Onnie Hixon"},{"type":"text","text":"06-Nov-2025 11:10:15 AM"},{"type":"text","text":"Washoe Valley"},{"type":"text","text":"safety Location: "},{"type":"text","text":"https://qa-staging-2.oqsha.com/#/incident-management/report-incident/view/251/247?dlType=viewIncidentReport"},{"type":"text","text":"EHS Department - TTK Clone"}]}]}}}


### End Event Execution ###


### Start Event Execution ###


Message : {"EventName":"SUPERVISOR_ALERT_WORKPLACE_INJURY_INCIDENT","EventArgs":[{"Key":"UserId","Value":"5596"},{"Key":"OrgId","Value":"251"},{"Key":"IncidentId","Value":"283"}]}


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


### Started processing supervisor alert workplace injury ###


Executing email alert to supervisor about the Workplace injury incident


Message : {"EventName":"SUPERVISOR_ALERT_WORKPLACE_INJURY_INCIDENT","EventArgs":[{"Key":"UserId","Value":"5698"},{"Key":"OrgId","Value":"251"},{"Key":"IncidentId","Value":"238"}]}


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


Reading and binding data to Email Template


Initializing Email Service Client


Generating Email Request


Pending Work Injury Incident Submission Reminder - D6N4KM


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


--- Email response from Osmo-x is 201


Executing whatsapp alert to supervisor about the Workplace injury incident


Sending WhatsApp Notification for workplace injury incident to User: 5698


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"912222222224","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"oqsha_supervisor_alert_work_injury_incident","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"Derek Cope"},{"type":"text","text":"D6N4KM"},{"type":"text","text":"Deonta Soukup"},{"type":"text","text":"04-Nov-2025 05:40:36 PM"},{"type":"text","text":"Washoe Valley"},{"type":"text","text":"One hand needs to be amputatedLocation: "},{"type":"text","text":"https://qa-staging-2.oqsha.com/#/incident-management/report-incident/view/251/238?dlType=viewIncidentReport"},{"type":"text","text":"EHS Department - TTK Clone"}]}]}}}


Osmo-x WhatsApp Message has been Sent


### Ended processing supervisor alert workplace injury  ###


### End Event Execution ###


### Start Event Execution ###


Message : {"EventName":"SUPERVISOR_ALERT_WORKPLACE_INJURY_INCIDENT","EventArgs":[{"Key":"UserId","Value":"5698"},{"Key":"OrgId","Value":"251"},{"Key":"IncidentId","Value":"240"}]}


Pending Work Injury Incident Submission Reminder - OD4594


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"912222222224","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"oqsha_supervisor_alert_work_injury_incident","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"Derek Cope"},{"type":"text","text":"OD4594"},{"type":"text","text":"Deonta Soukup"},{"type":"text","text":"04-Nov-2025 06:41:26 PM"},{"type":"text","text":"Washoe Valley"},{"type":"text","text":"This is incident supervisor Lalit for pending incident mailLocation: bihar"},{"type":"text","text":"https://qa-staging-2.oqsha.com/#/incident-management/report-incident/view/251/240?dlType=viewIncidentReport"},{"type":"text","text":"EHS Department - TTK Clone"}]}]}}}


Message : {"EventName":"SUPERVISOR_ALERT_WORKPLACE_INJURY_INCIDENT","EventArgs":[{"Key":"UserId","Value":"5698"},{"Key":"OrgId","Value":"251"},{"Key":"IncidentId","Value":"248"}]}


Pending Work Injury Incident Submission Reminder - 65BAZS


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"912222222224","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"oqsha_supervisor_alert_work_injury_incident","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"Derek Cope"},{"type":"text","text":"65BAZS"},{"type":"text","text":"Derek Cope"},{"type":"text","text":"06-Nov-2025 01:26:34 PM"},{"type":"text","text":"Washoe Valley"},{"type":"text","text":"TestLocation: "},{"type":"text","text":"https://qa-staging-2.oqsha.com/#/incident-management/report-incident/view/251/248?dlType=viewIncidentReport"},{"type":"text","text":"EHS Department - TTK Clone"}]}]}}}


Message : {"EventName":"SUPERVISOR_ALERT_WORKPLACE_INJURY_INCIDENT","EventArgs":[{"Key":"UserId","Value":"5698"},{"Key":"OrgId","Value":"251"},{"Key":"IncidentId","Value":"249"}]}


Initializing Email Service Client


Generating Email Request


Pending Work Injury Incident Submission Reminder - IKYZNT


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


--- Email response from Osmo-x is 201


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"912222222224","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"oqsha_supervisor_alert_work_injury_incident","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"Derek Cope"},{"type":"text","text":"IKYZNT"},{"type":"text","text":"Derek Cope"},{"type":"text","text":"06-Nov-2025 01:26:34 PM"},{"type":"text","text":"Washoe Valley"},{"type":"text","text":"TestLocation: "},{"type":"text","text":"https://qa-staging-2.oqsha.com/#/incident-management/report-incident/view/251/249?dlType=viewIncidentReport"},{"type":"text","text":"EHS Department - TTK Clone"}]}]}}}


Osmo-x WhatsApp Message has been Sent


Message : {"EventName":"SUPERVISOR_ALERT_WORKPLACE_INJURY_INCIDENT","EventArgs":[{"Key":"UserId","Value":"5698"},{"Key":"OrgId","Value":"251"},{"Key":"IncidentId","Value":"250"}]}


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


### Started processing supervisor alert workplace injury ###


Executing email alert to supervisor about the Workplace injury incident


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"912222222224","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"oqsha_supervisor_alert_work_injury_incident","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"Derek Cope"},{"type":"text","text":"IKYZNT"},{"type":"text","text":"Derek Cope"},{"type":"text","text":"06-Nov-2025 01:26:34 PM"},{"type":"text","text":"Washoe Valley"},{"type":"text","text":"TestLocation: "},{"type":"text","text":"https://qa-staging-2.oqsha.com/#/incident-management/report-incident/view/251/250?dlType=viewIncidentReport"},{"type":"text","text":"EHS Department - TTK Clone"}]}]}}}


### End Event Execution ###


### Start Event Execution ###


Message : {"EventName":"SUPERVISOR_ALERT_WORKPLACE_INJURY_INCIDENT","EventArgs":[{"Key":"UserId","Value":"5698"},{"Key":"OrgId","Value":"251"},{"Key":"IncidentId","Value":"253"}]}


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


Reading and binding data to Email Template


Initializing Email Service Client


Generating Email Request


Pending Work Injury Incident Submission Reminder - 64LWEJ


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


--- Email response from Osmo-x is 201


Executing whatsapp alert to supervisor about the Workplace injury incident


Sending WhatsApp Notification for workplace injury incident to User: 5698


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"912222222224","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"oqsha_supervisor_alert_work_injury_incident","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"Derek Cope"},{"type":"text","text":"64LWEJ"},{"type":"text","text":"Deonta Soukup"},{"type":"text","text":"10-Nov-2025 11:57:45 AM"},{"type":"text","text":"Washoe Valley"},{"type":"text","text":"zzzLocation: "},{"type":"text","text":"https://qa-staging-2.oqsha.com/#/incident-management/report-incident/view/251/253?dlType=viewIncidentReport"},{"type":"text","text":"EHS Department - TTK Clone"}]}]}}}


Osmo-x WhatsApp Message has been Sent


### Ended processing supervisor alert workplace injury  ###


Message : {"EventName":"SUPERVISOR_ALERT_WORKPLACE_INJURY_INCIDENT","EventArgs":[{"Key":"UserId","Value":"5698"},{"Key":"OrgId","Value":"251"},{"Key":"IncidentId","Value":"434"}]}


Pending Work Injury Incident Submission Reminder - 5UYS8U


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"912222222224","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"oqsha_supervisor_alert_work_injury_incident","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"Derek Cope"},{"type":"text","text":"5UYS8U"},{"type":"text","text":"Derek Cope"},{"type":"text","text":"30-Dec-2025 01:59:55 PM"},{"type":"text","text":"Washoe Valley"},{"type":"text","text":"bruise Location: Hyderabad"},{"type":"text","text":"https://qa-staging-2.oqsha.com/#/incident-management/report-incident/view/251/434?dlType=viewIncidentReport"},{"type":"text","text":"EHS Department - TTK Clone"}]}]}}}


### End Event Execution ###


### Start Event Execution ###


Message : {"EventName":"SUPERVISOR_ALERT_WORKPLACE_INJURY_INCIDENT","EventArgs":[{"Key":"UserId","Value":"5698"},{"Key":"OrgId","Value":"251"},{"Key":"IncidentId","Value":"707"}]}