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 Boatman"},{"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"}]}]}}}


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":"248"}]}


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

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 Message has been Sent


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


Pending Work Injury Incident Submission Reminder - IKYZNT


### 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":"250"}]}


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


Pending Work Injury Incident Submission Reminder - 64LWEJ


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 Boatman"},{"type":"text","text":"5UYS8U"},{"type":"text","text":"Derek Boatman"},{"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"}]}]}}}


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


Initializing Email Service Client


Generating Email Request


Pending Work Injury Incident Submission Reminder - KXY6TC


--- 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 Boatman"},{"type":"text","text":"KXY6TC"},{"type":"text","text":"Derek Boatman"},{"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"}]}]}}}


Osmo-x WhatsApp Message has been Sent


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


Pending Work Injury Incident Submission Reminder - 808536


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


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


Initializing Email Service Client


Generating Email Request


Pending Work Injury Incident Submission Reminder - 0O67PI


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


--- Email response from Osmo-x is 201


Executing whatsapp alert to supervisor about the Workplace injury incident


Osmo-x WhatsApp Message has been Sent


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


Pending Work Injury Incident Submission Reminder - 75FEVO


### End Event Execution ###


### Start Event Execution ###


Message : {"EventName":"HIRA_APPROVAL_INVITATION_NOTIFICATION","EventArgs":[{"Key":"UserIds","Value":"[267]"},{"Key":"HIRAId","Value":"431"},{"Key":"HIRAUid","Value":"H/FBYDW/ROO/EUU/26/00003"},{"Key":"SiteName","Value":"Colver"},{"Key":"InitiatorName","Value":"Hebert Eaton"},{"Key":"InitiatedById","Value":267},{"Key":"OrganisationName","Value":"Falcon's Beyond Global Inc. Warrants"},{"Key":"OrgId","Value":248}]}


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


# Calling SendHIRAApprovalInvitationNotification function for email/WhatsApp #


Executing email notifications to HIRA Approvers about the Pending approval


Risk Assessment H/FBYDW/ROO/EUU/26/00003 is awaiting your approval


Executing whatsapp notifications to HIRA Approvers about the Pending approval


Sending WhatsApp Notification for HIRA Approval 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_risk_approval_invitation_v2","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"Hebert Eaton"},{"type":"text","text":"H/FBYDW/ROO/EUU/26/00003"},{"type":"text","text":"Colver"},{"type":"text","text":"Falcon's Beyond Global Inc. Warrants"},{"type":"text","text":"Hebert Eaton"},{"type":"text","text":"https://qa-staging-2.oqsha.com/#/hira/view/431?dlType=viewHIRA&orgId=248"},{"type":"text","text":"EHS Department - TTK Prestige Limited"}]}]}}}


# Preparing notification body #


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


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


### Started processing for Incident FIR Released Event - External User ###


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


Executing email notifications to Incident Approvers about the Pending approval


### Ended processing Incident Validated Event ###


### End Event Execution ###


### Start Event Execution ###


Message : {"EventName":"AUDIT_CREATION_NOTIFICATION","EventArgs":[{"Key":"AuditorsUserIds","Value":"[6558]"},{"Key":"AuditId","Value":"303"},{"Key":"OrgId","Value":"248"}]}


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


### Started processing for Audit Creation Event ###


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


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


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


RequestBody: {  "providerId": 11,  "data": {    "to": "912000006818",    "messaging_product": "whatsapp",    "type": "template",    "template": {        "namespace": "d8bcb6bd_2ab2_439c_9d9e_947501266c77",        "name": "oqsha_audit_creation_template_v1",        "language": {            "code": "en",            "policy": "deterministic"        },        "components": [{"type":"body","parameters":[{"type":"text","text":"A/FBYDW/ROO/TTA/26/00003","image":null,"document":null,"video":null},{"type":"text","text":"123","image":null,"document":null,"video":null},{"type":"text","text":"18-Jun-2026 12:00:00 AM","image":null,"document":null,"video":null},{"type":"text","text":"https://qa-staging-2.oqsha.com/#/audit/edit-audit/248/303","image":null,"document":null,"video":null},{"type":"text","text":"EHS Department - TTK Prestige Limited","image":null,"document":null,"video":null}]}]    }   }}


Osmo-x WhatsApp Message has been Sent


# Preparing notification body #


### Ended processing Investigation Creator Status Update Event ###


Message : {"EventName":"AUDIT_CREATION_NOTIFICATION_SUBMIT","EventArgs":[{"Key":"AuditorsUserIds","Value":"[6558]"},{"Key":"AuditId","Value":"303"},{"Key":"OrgId","Value":"248"}]}


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


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


RequestBody: {  "providerId": 11,  "data": {    "to": "912000006818",    "messaging_product": "whatsapp",    "type": "template",    "template": {        "namespace": "d8bcb6bd_2ab2_439c_9d9e_947501266c77",        "name": "oqsha_audit_submitted_template",        "language": {            "code": "en",            "policy": "deterministic"        },        "components": [{"type":"body","parameters":[{"type":"text","text":"A/FBYDW/ROO/TTA/26/00003","image":null,"document":null,"video":null},{"type":"text","text":"123","image":null,"document":null,"video":null},{"type":"text","text":"18-Jun-2026 12:00:00 AM","image":null,"document":null,"video":null},{"type":"text","text":"https://qa-staging-2.oqsha.com/#/audit/edit-audit/248/303","image":null,"document":null,"video":null},{"type":"text","text":"EHS Department - TTK Prestige Limited","image":null,"document":null,"video":null}]}]    }   }}


### Ended processing InvestigationCreator Status Update Event ###


### End Event Execution ###


### Start Event Execution ###


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


Message : {"EventName":"HIRA_APPROVED_INFORM_TO_CREATOR_NOTIFICATION","EventArgs":[{"Key":"CreatorId","Value":"267"},{"Key":"ApproverName","Value":"Hebert Eaton"},{"Key":"HIRAId","Value":"431"},{"Key":"HIRAUid","Value":"H/FBYDW/ROO/EUU/26/00003"},{"Key":"SiteName","Value":"Colver"},{"Key":"OrganisationName","Value":"Falcon's Beyond Global Inc. Warrants"},{"Key":"ApprovedOn","Value":"18-Jun-2026 11:43:43 AM"},{"Key":"OrgId","Value":248}]}


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


# Calling SendHIRAApprovedInformToCreatorNotification function for email #


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


Sending HIRA Approval email to HIRA Creator: TTK_Admin@oqsha.com


Reading and binding data to Email Template


Initializing Email Service Client


Generating Email Request


An Approver has Approved Risk Assessment H/FBYDW/ROO/EUU/26/00003


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


--- Email response from Osmo-x is 201


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


Sending WhatsApp for HIRA Approval to creator 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_risk_approval_notification_v2","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"Hebert Eaton"},{"type":"text","text":"Hebert Eaton"},{"type":"text","text":"H/FBYDW/ROO/EUU/26/00003"},{"type":"text","text":"Colver"},{"type":"text","text":"Falcon's Beyond Global Inc. Warrants"},{"type":"text","text":"18-Jun-2026 11:43:43 AM"},{"type":"text","text":"https://qa-staging-2.oqsha.com/#/hira/view/431?dlType=viewHIRA&orgId=248"},{"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":"AUDIT_CREATION_NOTIFICATION","EventArgs":[{"Key":"AuditorsUserIds","Value":"[267]"},{"Key":"AuditId","Value":"304"},{"Key":"OrgId","Value":"248"}]}


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


### Started processing for Audit Creation Event ###


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


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


Initializing Email Service Client


Generating Email Request


An Audit has been created


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


--- Email response from Osmo-x is 201


RequestBody: {  "providerId": 11,  "data": {    "to": "912000001875",    "messaging_product": "whatsapp",    "type": "template",    "template": {        "namespace": "d8bcb6bd_2ab2_439c_9d9e_947501266c77",        "name": "oqsha_audit_creation_template_v1",        "language": {            "code": "en",            "policy": "deterministic"        },        "components": [{"type":"body","parameters":[{"type":"text","text":"A/FBYDW/ROO/CH_/26/00003","image":null,"document":null,"video":null},{"type":"text","text":"ssd","image":null,"document":null,"video":null},{"type":"text","text":"18-Jun-2026 12:00:00 AM","image":null,"document":null,"video":null},{"type":"text","text":"https://qa-staging-2.oqsha.com/#/audit/edit-audit/248/304","image":null,"document":null,"video":null},{"type":"text","text":"EHS Department - TTK Prestige Limited","image":null,"document":null,"video":null}]}]    }   }}


### Ended processing Investigation Creator Status Update Event ###


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


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


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


Pending Work Injury Incident Submission Reminder - 1BXSNV


Executing whatsapp alert to supervisor about the Workplace injury incident


Sending WhatsApp Notification for workplace injury incident to User: 1322


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":"1327"},{"Key":"OrgId","Value":"251"},{"Key":"IncidentId","Value":"247"}]}


Reading and binding data to Email Template


Initializing Email Service Client


Generating Email Request


Pending Work Injury Incident Submission Reminder - 01P2MW


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


--- Email response from Osmo-x is 201


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":"Nikolaus Correia"},{"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"}]}]}}}


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


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


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


Pending Work Injury Incident Submission Reminder - D6N4KM


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 Boatman"},{"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"}]}


Initializing Email Service Client


Generating Email Request


Pending Work Injury Incident Submission Reminder - OD4594


--- 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 Boatman"},{"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"}]}


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


Executing whatsapp alert to supervisor about the Workplace injury incident


### 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":"249"}]}


Reading and binding data to Email Template


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":"250"}]}


Initializing Email Service Client


Generating Email Request


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


--- Email response from Osmo-x is 201


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


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


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 Boatman"},{"type":"text","text":"5UYS8U"},{"type":"text","text":"Derek Boatman"},{"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"}]}]}}}


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


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


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 Boatman"},{"type":"text","text":"KXY6TC"},{"type":"text","text":"Derek Boatman"},{"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"}]}


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"}]}]}}}


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


Initializing Email Service Client


Generating Email Request


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


--- Email response from Osmo-x is 201


Executing whatsapp alert to supervisor about the Workplace injury incident


### 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":"761"}]}


Reading and binding data to Email Template


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


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


# Calling SendNotificationToIssuerForCreatingPermitToWork function for whatsapp and push notification #


Executing sending notification to issuers through whatsapp


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


Osmo-x WhatsApp Message has been Sent


### End Event Execution ###


### Start Event Execution ###


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


# Calling SendNotificationForPTWHistory function for whatsapp and push notification #


Executing sending notification to reviewer through whatsapp


Sending whatsapp message:


RequestBody: {  "providerId": 11,  "data": {    "to": "912000000583",    "messaging_product": "whatsapp",    "type": "template",    "template": {        "namespace": "d8bcb6bd_2ab2_439c_9d9e_947501266c77",        "name": "oqsha_ptw_history_image_v2",        "language": {            "code": "en",            "policy": "deterministic"        },        "components": [{"type":"header","parameters":[{"type":"image","text":null,"image":{"link":"https://api-qa-staging-2.oqsha.com/attachments\\211\\permit-to-work-history\\image1781766679051_957ec34a-3497-4859-8828-55aa8ae5ecf1.jpeg"},"document":null,"video":null}]},{"type":"body","parameters":[{"type":"text","text":"P/GLTO/VIP/UFPI/BL/26/00001","image":null,"document":null,"video":null},{"type":"text","text":"18-Jun-2026","image":null,"document":null,"video":null},{"type":"text","text":"Blasting Work","image":null,"document":null,"video":null},{"type":"text","text":"Vinings","image":null,"document":null,"video":null},{"type":"text","text":" ","image":null,"document":null,"video":null},{"type":"text","text":"approved.","image":null,"document":null,"video":null},{"type":"text","text":"Leala Avila at 18-Jun-2026 12:41:22 PM","image":null,"document":null,"video":null},{"type":"text","text":"https://qa-staging-2.oqsha.com/#/work-permit/view/366228?orgID=211&dlType=viewWorkPermit","image":null,"document":null,"video":null}]}]    }   }}


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


# Calling SendNotificationToEitherReviewerOrApprover function for  whatsapp and push notification #


Starting Execution for whatsapp notification for users


Executing sending notification to users through whatsapp


Sending notification to approver of the comapny regarding permit to work 366228


System.NullReferenceException: Object reference not set to an instance of an object.
   at IncidentReporter.NotificationSender.DAL.Events.Notifier.SendNotificationToEitherReviewerOrApprover(Int64 ptwId, Int64 orgId, String stringUserIds, String workPermitStatus, String jobType, String statusChangeUserDisplayName, String permitToWorkUId, String startDate, String statusChangedTime, String workLocation, String assignToUserDisplayName, String nextStatus, String siteName, String modeOfNotifications, String customStatusJson, String companyUsersEmails) in C:\GitLab-Runner\builds\27n6lYj0J\0\incident-reporter\incident-reporter-api\IncidentReporter\IncidentReporter.NotificationSender\DAL\Events\Notifier.cs:line 4052
   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 561


RequestBody: {  "providerId": 11,  "data": {    "to": "912000001115",    "messaging_product": "whatsapp",    "type": "template",    "template": {        "namespace": "d8bcb6bd_2ab2_439c_9d9e_947501266c77",        "name": "oqsha_ptw_history_image_v2",        "language": {            "code": "en",            "policy": "deterministic"        },        "components": [{"type":"header","parameters":[{"type":"image","text":null,"image":{"link":"https://api-qa-staging-2.oqsha.com/attachments\\211\\permit-to-work-history\\image1781766814578_ed563a85-d934-4dc8-9d2c-0351adddcc8c.jpeg"},"document":null,"video":null}]},{"type":"body","parameters":[{"type":"text","text":"P/GLTO/VIP/UFPI/BL/26/00001","image":null,"document":null,"video":null},{"type":"text","text":"18-Jun-2026","image":null,"document":null,"video":null},{"type":"text","text":"Blasting Work","image":null,"document":null,"video":null},{"type":"text","text":"Vinings","image":null,"document":null,"video":null},{"type":"text","text":" ","image":null,"document":null,"video":null},{"type":"text","text":"approved.","image":null,"document":null,"video":null},{"type":"text","text":"Adamaris Krall at 18-Jun-2026 12:43:37 PM","image":null,"document":null,"video":null},{"type":"text","text":"https://qa-staging-2.oqsha.com/#/work-permit/view/366228?orgID=211&dlType=viewWorkPermit","image":null,"document":null,"video":null}]}]    }   }}


RequestBody: {  "providerId": 11,  "data": {    "to": "912000007583",    "messaging_product": "whatsapp",    "type": "template",    "template": {        "namespace": "d8bcb6bd_2ab2_439c_9d9e_947501266c77",        "name": "oqsha_ptw_history_image_v2",        "language": {            "code": "en",            "policy": "deterministic"        },        "components": [{"type":"header","parameters":[{"type":"image","text":null,"image":{"link":"https://api-qa-staging-2.oqsha.com/attachments\\211\\permit-to-work-history\\image1781766814578_ed563a85-d934-4dc8-9d2c-0351adddcc8c.jpeg"},"document":null,"video":null}]},{"type":"body","parameters":[{"type":"text","text":"P/GLTO/VIP/UFPI/BL/26/00001","image":null,"document":null,"video":null},{"type":"text","text":"18-Jun-2026","image":null,"document":null,"video":null},{"type":"text","text":"Blasting Work","image":null,"document":null,"video":null},{"type":"text","text":"Vinings","image":null,"document":null,"video":null},{"type":"text","text":" ","image":null,"document":null,"video":null},{"type":"text","text":"approved.","image":null,"document":null,"video":null},{"type":"text","text":"Adamaris Krall at 18-Jun-2026 12:43:37 PM","image":null,"document":null,"video":null},{"type":"text","text":"https://qa-staging-2.oqsha.com/#/work-permit/view/366228?orgID=211&dlType=viewWorkPermit","image":null,"document":null,"video":null}]}]    }   }}


RequestBody: {  "providerId": 11,  "data": {    "to": "912000000583",    "messaging_product": "whatsapp",    "type": "template",    "template": {        "namespace": "d8bcb6bd_2ab2_439c_9d9e_947501266c77",        "name": "oqsha_ptw_history_image_v2",        "language": {            "code": "en",            "policy": "deterministic"        },        "components": [{"type":"header","parameters":[{"type":"image","text":null,"image":{"link":"https://api-qa-staging-2.oqsha.com/attachments\\211\\permit-to-work-history\\image1781766814578_ed563a85-d934-4dc8-9d2c-0351adddcc8c.jpeg"},"document":null,"video":null}]},{"type":"body","parameters":[{"type":"text","text":"P/GLTO/VIP/UFPI/BL/26/00001","image":null,"document":null,"video":null},{"type":"text","text":"18-Jun-2026","image":null,"document":null,"video":null},{"type":"text","text":"Blasting Work","image":null,"document":null,"video":null},{"type":"text","text":"Vinings","image":null,"document":null,"video":null},{"type":"text","text":" ","image":null,"document":null,"video":null},{"type":"text","text":"approved.","image":null,"document":null,"video":null},{"type":"text","text":"Adamaris Krall at 18-Jun-2026 12:43:37 PM","image":null,"document":null,"video":null},{"type":"text","text":"https://qa-staging-2.oqsha.com/#/work-permit/view/366228?orgID=211&dlType=viewWorkPermit","image":null,"document":null,"video":null}]}]    }   }}


Osmo-x WhatsApp Message has been Sent


### End Event Execution ###


### Start Event Execution ###


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


# Calling SendNotificationToAllExceptReviewer function for whatsapp and push notification #


User Ids for notification: [3521,3589,3768]


Starting Execution for whatsapp notification for all


Sending notification to requester regarding permit to work 366228


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"912000001115","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"ptw_generic_status_template_v4","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"P/GLTO/VIP/UFPI/BL/26/00001"},{"type":"text","text":"18-Jun-2026"},{"type":"text","text":"Blasting Work"},{"type":"text","text":"Vinings"},{"type":"text","text":" "},{"type":"text","text":"Authorized by Acie Dandrea at 18-Jun-2026 12:44:37 PM"},{"type":"text","text":"Start Work"},{"type":"text","text":"https://qa-staging-2.oqsha.com/#/work-permit/view/366228?orgID=211&dlType=viewWorkPermit"}]}]}}}


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"912000007583","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"ptw_generic_status_template_v4","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"P/GLTO/VIP/UFPI/BL/26/00001"},{"type":"text","text":"18-Jun-2026"},{"type":"text","text":"Blasting Work"},{"type":"text","text":"Vinings"},{"type":"text","text":" "},{"type":"text","text":"Authorized by Acie Dandrea at 18-Jun-2026 12:44:37 PM"},{"type":"text","text":"Start Work"},{"type":"text","text":"https://qa-staging-2.oqsha.com/#/work-permit/view/366228?orgID=211&dlType=viewWorkPermit"}]}]}}}


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"912000000583","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"ptw_generic_status_template_v4","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"P/GLTO/VIP/UFPI/BL/26/00001"},{"type":"text","text":"18-Jun-2026"},{"type":"text","text":"Blasting Work"},{"type":"text","text":"Vinings"},{"type":"text","text":" "},{"type":"text","text":"Authorized by Acie Dandrea at 18-Jun-2026 12:44:37 PM"},{"type":"text","text":"Start Work"},{"type":"text","text":"https://qa-staging-2.oqsha.com/#/work-permit/view/366228?orgID=211&dlType=viewWorkPermit"}]}]}}}


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


# Calling SendNotificationForPTWHistory function for whatsapp and push notification #


Executing sending notification to reviewer through whatsapp


Sending whatsapp message:


RequestBody: {  "providerId": 11,  "data": {    "to": "912000004353",    "messaging_product": "whatsapp",    "type": "template",    "template": {        "namespace": "d8bcb6bd_2ab2_439c_9d9e_947501266c77",        "name": "oqsha_ptw_history_image_v2",        "language": {            "code": "en",            "policy": "deterministic"        },        "components": [{"type":"header","parameters":[{"type":"image","text":null,"image":{"link":"https://api-qa-staging-2.oqsha.com/attachments\\211\\permit-to-work-history\\image1781766897834_3bf657db-2076-44bd-8cd9-d9d72fe22255.jpeg"},"document":null,"video":null}]},{"type":"body","parameters":[{"type":"text","text":"P/GLTO/VIP/UFPI/BL/26/00001","image":null,"document":null,"video":null},{"type":"text","text":"18-Jun-2026","image":null,"document":null,"video":null},{"type":"text","text":"Blasting Work","image":null,"document":null,"video":null},{"type":"text","text":"Vinings","image":null,"document":null,"video":null},{"type":"text","text":" ","image":null,"document":null,"video":null},{"type":"text","text":"authorized .","image":null,"document":null,"video":null},{"type":"text","text":"Acie Dandrea at 18-Jun-2026 12:45:01 PM","image":null,"document":null,"video":null},{"type":"text","text":"https://qa-staging-2.oqsha.com/#/work-permit/view/366228?orgID=211&dlType=viewWorkPermit","image":null,"document":null,"video":null}]}]    }   }}


RequestBody: {  "providerId": 11,  "data": {    "to": "912000001115",    "messaging_product": "whatsapp",    "type": "template",    "template": {        "namespace": "d8bcb6bd_2ab2_439c_9d9e_947501266c77",        "name": "oqsha_ptw_history_image_v2",        "language": {            "code": "en",            "policy": "deterministic"        },        "components": [{"type":"header","parameters":[{"type":"image","text":null,"image":{"link":"https://api-qa-staging-2.oqsha.com/attachments\\211\\permit-to-work-history\\image1781766897834_3bf657db-2076-44bd-8cd9-d9d72fe22255.jpeg"},"document":null,"video":null}]},{"type":"body","parameters":[{"type":"text","text":"P/GLTO/VIP/UFPI/BL/26/00001","image":null,"document":null,"video":null},{"type":"text","text":"18-Jun-2026","image":null,"document":null,"video":null},{"type":"text","text":"Blasting Work","image":null,"document":null,"video":null},{"type":"text","text":"Vinings","image":null,"document":null,"video":null},{"type":"text","text":" ","image":null,"document":null,"video":null},{"type":"text","text":"authorized .","image":null,"document":null,"video":null},{"type":"text","text":"Acie Dandrea at 18-Jun-2026 12:45:01 PM","image":null,"document":null,"video":null},{"type":"text","text":"https://qa-staging-2.oqsha.com/#/work-permit/view/366228?orgID=211&dlType=viewWorkPermit","image":null,"document":null,"video":null}]}]    }   }}


Osmo-x WhatsApp Message has been Sent


RequestBody: {  "providerId": 11,  "data": {    "to": "912000007583",    "messaging_product": "whatsapp",    "type": "template",    "template": {        "namespace": "d8bcb6bd_2ab2_439c_9d9e_947501266c77",        "name": "oqsha_ptw_history_image_v2",        "language": {            "code": "en",            "policy": "deterministic"        },        "components": [{"type":"header","parameters":[{"type":"image","text":null,"image":{"link":"https://api-qa-staging-2.oqsha.com/attachments\\211\\permit-to-work-history\\image1781766897834_3bf657db-2076-44bd-8cd9-d9d72fe22255.jpeg"},"document":null,"video":null}]},{"type":"body","parameters":[{"type":"text","text":"P/GLTO/VIP/UFPI/BL/26/00001","image":null,"document":null,"video":null},{"type":"text","text":"18-Jun-2026","image":null,"document":null,"video":null},{"type":"text","text":"Blasting Work","image":null,"document":null,"video":null},{"type":"text","text":"Vinings","image":null,"document":null,"video":null},{"type":"text","text":" ","image":null,"document":null,"video":null},{"type":"text","text":"authorized .","image":null,"document":null,"video":null},{"type":"text","text":"Acie Dandrea at 18-Jun-2026 12:45:01 PM","image":null,"document":null,"video":null},{"type":"text","text":"https://qa-staging-2.oqsha.com/#/work-permit/view/366228?orgID=211&dlType=viewWorkPermit","image":null,"document":null,"video":null}]}]    }   }}


RequestBody: {  "providerId": 11,  "data": {    "to": "912000000583",    "messaging_product": "whatsapp",    "type": "template",    "template": {        "namespace": "d8bcb6bd_2ab2_439c_9d9e_947501266c77",        "name": "oqsha_ptw_history_image_v2",        "language": {            "code": "en",            "policy": "deterministic"        },        "components": [{"type":"header","parameters":[{"type":"image","text":null,"image":{"link":"https://api-qa-staging-2.oqsha.com/attachments\\211\\permit-to-work-history\\image1781766897834_3bf657db-2076-44bd-8cd9-d9d72fe22255.jpeg"},"document":null,"video":null}]},{"type":"body","parameters":[{"type":"text","text":"P/GLTO/VIP/UFPI/BL/26/00001","image":null,"document":null,"video":null},{"type":"text","text":"18-Jun-2026","image":null,"document":null,"video":null},{"type":"text","text":"Blasting Work","image":null,"document":null,"video":null},{"type":"text","text":"Vinings","image":null,"document":null,"video":null},{"type":"text","text":" ","image":null,"document":null,"video":null},{"type":"text","text":"authorized .","image":null,"document":null,"video":null},{"type":"text","text":"Acie Dandrea at 18-Jun-2026 12:45:01 PM","image":null,"document":null,"video":null},{"type":"text","text":"https://qa-staging-2.oqsha.com/#/work-permit/view/366228?orgID=211&dlType=viewWorkPermit","image":null,"document":null,"video":null}]}]    }   }}


### End Event Execution ###


### Start Event Execution ###


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


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


### Started processing Safety Alert Escalation Notification ###


# Calling SendSafetyAlertEscalationNotification for incident UZ3EYC#


[SafetyAlertEscalation] Starting notification for incident UZ3EYC


[SafetyAlertEscalation] Sending email to Brittnee Sweatt


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


Reading and binding data to Email Template


Initializing Email Service Client


Generating Email Request


Ticket Escalation - UZ3EYC


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


--- Email response from Osmo-x is 201


[SafetyAlertEscalation] Email sent successfully to osm00546@osmosys.co


[SafetyAlertEscalation] Sending WhatsApp to Brittnee Sweatt, Number: 912000002330


Osmo-x WhatsApp Message has been Sent


[SafetyAlertEscalation] WhatsApp sent successfully to 912000002330


### Ended processing Safety Alert Escalation Notification ###


### End Event Execution ###


### Start Event Execution ###


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


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


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


# Calling SendNotificationToIssuerForCreatingPermitToWork function for whatsapp and push notification #


Executing sending notification to issuers through whatsapp


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


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


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


# Calling SendNotificationForPTWHistory function for whatsapp and push notification #


Executing sending notification to reviewer through whatsapp


Sending notification to reviewer of the comapny regarding permit to work 366229


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


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


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


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":"1327"},{"Key":"OrgId","Value":"251"},{"Key":"IncidentId","Value":"247"}]}


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":"Nikolaus Correia"},{"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"}]}]}}}


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


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


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 Boatman"},{"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"}]}]}}}


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


Initializing Email Service Client


Generating Email Request


--- 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 Boatman"},{"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"}]}]}}}


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":"248"}]}


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


Executing whatsapp alert to supervisor about the Workplace injury incident


### 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":"249"}]}


Initializing Email Service Client


Generating Email Request


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


--- Email response from Osmo-x is 201


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


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":"253"}]}


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


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 Boatman"},{"type":"text","text":"5UYS8U"},{"type":"text","text":"Derek Boatman"},{"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"}]}]}}}


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


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 Boatman"},{"type":"text","text":"KXY6TC"},{"type":"text","text":"Derek Boatman"},{"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"}]}


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"}]}]}}}


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


Initializing Email Service Client


Generating Email Request


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


--- Email response from Osmo-x is 201


Executing whatsapp alert to supervisor about the Workplace injury incident


Osmo-x WhatsApp Message has been Sent


### 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":"761"}]}


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


### End Event Execution ###


### Start Event Execution ###


### 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: osm07940@osmosys.co


New Work Permit Assigned


Sending WorkPermit creation WhatsApp message to: 912000007478


# Preparing notification body #


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


# Calling SendNotificationToEitherReviewerOrApprover function for  whatsapp and push notification #


Starting Execution for whatsapp notification for users


Executing sending notification to users through whatsapp


Sending notification to approver of the comapny regarding permit to work 366229


Osmo-x WhatsApp Message has been Sent


Object reference not set to an instance of an object.


### End Event Execution ###


### Start Event Execution ###


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


### Started processing Asset Maintenance Inspection Creation Notification ###


# Calling SendNotificationForInspectionCreation function for whatsapp and push notification #


Sending notifications for inspection creation to associated user267


Sending Inspection Asset creation email notification to user: TTK_Admin@oqsha.com


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


Reading and binding data to Email Template


Initializing Email Service Client


Generating Email Request


A new Inspection - I/FBYDW/ROO/AAA/26/00002 has been created from Asset Schedule Maintenance


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


--- Email response from Osmo-x is 201


Sending notifications for inspection creation to associated user13212


Osmo-x WhatsApp Message has been Sent


Sending Inspection Asset creation email notification to user: john.d@falcon.co.in


# Preparing notification body #


# Checking for device existence #


# User device exists #


Sending Assigned To Notification for Inspection Id:26047


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/20062628-e721-38ff-9b76-5165d4044662


Inspection Created: Asset Scheduled Maintenance Inspection

A new Inspection - I/FBYDW/ROO/AAA/26/00002 has been created from Asset Schedule Maintenance


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


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


Push notification was sent to device with id 20087.


# Push notification sent #


### Ended processing Asset Maintenance Inspection Creation Notification ###


### End Event Execution ###


### Start Event Execution ###


Sending notifications for inspection creation to associated user13065


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


### Started processing Safety Alert Escalation Notification ###


# Calling SendSafetyAlertEscalationNotification for incident 13V0JI#


[SafetyAlertEscalation] Starting notification for incident 13V0JI


Osmo-x WhatsApp Message has been Sent


Sending Inspection Asset creation email notification to user: lakhan.b@osmosys.co


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


Reading and binding data to Email Template


Initializing Email Service Client


Generating Email Request


[SafetyAlertEscalation] Sending email to Ursula Barnette


A new Inspection - I/FBYDW/ROO/DDD/26/00001 has been created from Asset Schedule Maintenance


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


--- Email response from Osmo-x is 201


# Preparing notification body #


### End Event Execution ###


Ticket Escalation - 13V0JI


[SafetyAlertEscalation] Email sent successfully to osm01236@osmosys.co


[SafetyAlertEscalation] Sending WhatsApp to Ursula Barnette, Number: 912000000530


[SafetyAlertEscalation] WhatsApp sent successfully to 912000000530


### Ended processing Safety Alert Escalation Notification ###


### Start Event Execution ###


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


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


# Calling SendNotificationToAllExceptReviewer function for whatsapp and push notification #


User Ids for notification: [3248,3589,3768]


Starting Execution for whatsapp notification for all


Sending notification to requester regarding permit to work 366229


Osmo-x WhatsApp Message has been Sent


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


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


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


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


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


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


### End Event Execution ###


### Start Event Execution ###


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


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":"Nikolaus Correia"},{"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


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


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


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 Boatman"},{"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"}]}]}}}


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


Initializing Email Service Client


Generating Email Request


--- 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 Boatman"},{"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"}]}


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


Executing whatsapp alert to supervisor about the Workplace injury incident


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":"249"}]}


Initializing Email Service Client


Generating Email Request


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


--- Email response from Osmo-x is 201


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


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


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


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 Boatman"},{"type":"text","text":"5UYS8U"},{"type":"text","text":"Derek Boatman"},{"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"}]}]}}}


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


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 Boatman"},{"type":"text","text":"KXY6TC"},{"type":"text","text":"Derek Boatman"},{"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"}]}


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"}]}]}}}


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


Initializing Email Service Client


Generating Email Request


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


--- Email response from Osmo-x is 201


Executing whatsapp alert to supervisor about the Workplace injury incident


### 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":"761"}]}


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


Aimée Burleson has Issued your Work Permit


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


Sending WhatsApp for WorkPermit to user: 10313


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


Initializing Email Service Client


Generating Email Request


A Work Permit is awaiting your Review


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


--- Email response from Osmo-x is 201


Executing whatsapp notifications to WorkPermit Approvers about the Pending approval


Sending WhatsApp for WorkPermit to user: 11139


# Checking for device existence #


# User device exists #


Sending Approval Invitation Notification for Work Permit Id:2364


Inside SendAppNotification Device Type: GCM


Generating AWS SNS Request


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/0675b795-f420-3121-9417-0cea2cac8f5e


Work Permit Approval Required

A Work Permit (UID: WP/KURA/FD2/CSS/26/00001) 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 17138.


# Push notification sent #


### End Event Execution ###


### Start Event Execution ###


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


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


### Started processing Asset Maintenance Inspection Creation Notification ###


# Calling SendNotificationForInspectionCreation function for whatsapp and push notification #


Sending notifications for inspection creation to associated user267


Osmo-x WhatsApp Message has been Sent


Sending Inspection Asset creation email notification to user: TTK_Admin@oqsha.com


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


Reading and binding data to Email Template


Initializing Email Service Client


Generating Email Request


A new Inspection - I/FBYDW/ROO/BBB/26/00001 has been created from Asset Schedule Maintenance


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


--- Email response from Osmo-x is 201


# Preparing notification body #


### Ended processing Asset Maintenance Inspection Creation Notification ###


### End Event Execution ###


### Start Event Execution ###


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


# Calling SendPtwPendingWithReminderPushNotification function for push notification #


PTW LYTJ7H: no registered devices for user 4206; skipping push notification.


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


Pending Work Injury Incident Submission Reminder - 86VC9S


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


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


Initializing Email Service Client


Generating Email Request


Pending Work Injury Incident Submission Reminder - L1LM6P


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


--- Email response from Osmo-x is 201


Sending WhatsApp Notification for workplace injury incident to User: 5781


### End Event Execution ###


### Start Event Execution ###


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"}]}


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


Reading and binding data to Email Template


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"}]}


Initializing Email Service Client


Generating Email Request


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"}]}]}}}


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


### 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":"238"}]}


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


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


Initializing Email Service Client


Generating Email Request


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"}]}


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


Reading and binding data to Email Template


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"}]}]}}}


### 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":"249"}]}


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


Initializing Email Service Client


Generating Email Request


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"}]}]}}}


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


Pending Work Injury Incident Submission Reminder - 64LWEJ


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"}]}]}}}


### 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":"434"}]}


Pending Work Injury Incident Submission Reminder - 5UYS8U


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


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


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


Reading and binding data to Email Template


Initializing Email Service Client


Generating Email Request


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"}]}


Pending Work Injury Incident Submission Reminder - 808536


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"}]}]}}}


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


Pending Work Injury Incident Submission Reminder - 0O67PI


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


--- Email response from Osmo-x is 201


Executing whatsapp alert to supervisor about the Workplace injury incident


Osmo-x WhatsApp Message has been Sent


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


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


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


# Calling SendPtwPendingWithReminderPushNotification function for push notification #


PTW LYTJ7H: no registered devices for user 4206; skipping push notification.


### End Event Execution ###


### Start Event Execution ###


### 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: osm07940@osmosys.co


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


Reading and binding data to Email Template


New Work Permit Assigned


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


--- Email response from Osmo-x is 201


Sending WorkPermit creation WhatsApp message to: 912000007478


Osmo-x WhatsApp Message has been Sent


# Preparing notification body #


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


# Calling SendDepartmentInchargeNotificationForWorkPermitCreation function for email/WhatsApp #


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


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


### Start Event Execution ###


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


# Calling SendNotificationToIssuerForCreatingPermitToWork function for whatsapp and push notification #


Executing sending notification to issuers through whatsapp


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


### End Event Execution ###


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


# Calling SendNotificationForPTWHistory function for whatsapp and push notification #


Executing sending notification to reviewer through whatsapp


Sending notification to reviewer of the comapny regarding permit to work 387350


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


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


Reading and binding data to Email Template


Initializing Email Service Client


Generating Email Request


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


--- Email response from Osmo-x is 201


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


Sending WhatsApp for WorkPermit to user: 10313


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 Review


Executing whatsapp notifications to WorkPermit Approvers about the Pending approval


Sending WhatsApp for WorkPermit to user: 11139


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


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


# Calling SendNotificationForPTWRejectedStatus function for whatsapp and push notification #


Executing sending notification for rejection status through whatsapp


Sending notification for rejection status regarding permit to work with Id: 387350


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"912000010330","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"ptw_generic_status_template_v4","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"P/GLTO/GRA/TXG/EL/26/00001"},{"type":"text","text":"18-Jun-2026"},{"type":"text","text":"Electrical Work"},{"type":"text","text":"Leeper"},{"type":"text","text":"demo"},{"type":"text","text":"Rejected by Abram Olivas at 18-Jun-2026 03:07:07 PM. Reason- Reject "},{"type":"text","text":"Request Again"},{"type":"text","text":"https://qa-staging-2.oqsha.com/#/work-permit/view/387350?orgID=211&dlType=viewWorkPermit"}]}]}}}


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


# Calling SendNotificationForPTWHistory function for whatsapp and push notification #


Executing sending notification to reviewer through whatsapp


Sending notification to reviewer of the comapny regarding permit to work 387350


Osmo-x WhatsApp Message has been Sent


### End Event Execution ###


### Start Event Execution ###


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


# Calling SendPtwPendingWithReminderPushNotification function for push notification #


PTW LYTJ7H: no registered devices for user 4206; skipping push 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: TITAGARH_ADMIN@oqsha.com


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


Reading and binding data to Email Template


Initializing Email Service Client


Generating Email Request


Oskar Roden has Reviewed 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: 10313


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":"2841"},{"Key":"WorkPermitUid","Value":"WP/KURA/FD2/CL&/26/00001"},{"Key":"SiteName","Value":"Carson Valley"},{"Key":"OrganisationName","Value":"Kura Oncology Inc."},{"Key":"ApprovedOn","Value":"18-Jun-2026 03:08:52 PM"},{"Key":"OrgId","Value":258}]}


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


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


# Calling SendNotificationToIssuerForCreatingPermitToWork function for whatsapp and push notification #


Executing sending notification to issuers through whatsapp


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


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


# Calling SendNotificationForPTWHistory function for whatsapp and push notification #


Executing sending notification to reviewer through whatsapp


Sending notification to reviewer of the comapny regarding permit to work 387350


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


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


# Calling SendPtwPendingWithReminderPushNotification function for push notification #


PTW LYTJ7H: no registered devices for user 4206; skipping push notification.


### End Event Execution ###


### Start Event Execution ###


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


# Calling SendNotificationToEitherReviewerOrApprover function for  whatsapp and push notification #


Starting Execution for whatsapp notification for users


Executing sending notification to users through whatsapp


Sending notification to approver of the comapny regarding permit to work 387350


Osmo-x WhatsApp Message has been Sent


### 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: osm07940@osmosys.co


*--- 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: 912000007478


Sending WorkPermit status change email to: osm06994@osmosys.co


Sending WorkPermit status change WhatsApp message to: 912000007195


# Preparing notification body #


### End Event Execution ###


### Start Event Execution ###


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


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


# Calling SendPtwPendingWithReminderPushNotification function for push notification #


PTW LYTJ7H: no registered devices for user 4206; skipping push notification.


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


# Calling SendNotificationForPTWHistory function for whatsapp and push notification #


Executing sending notification to reviewer through whatsapp


Sending notification to reviewer of the comapny regarding permit to work 387350


Osmo-x WhatsApp Message has been Sent


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


# Calling SendNotificationToAllExceptReviewer function for whatsapp and push notification #


User Ids for notification: [1978,13342]


Starting Execution for whatsapp notification for all


Sending notification to requester regarding permit to work 387350