Message : {"EventName":"NOTIFICATION_TO_ISSUER","EventArgs":[{"Key":"PtwId","Value":3258},{"Key":"OrganisationId","Value":387},{"Key":"CompanyId","Value":537},{"Key":"StringIssuerIds","Value":"[1954]"},{"Key":"PermitToWorkUID","Value":"P/TTK/COI/ABCCON/SU/EL/25/00001"},{"Key":"JobType","Value":"Subsection checks, Electrical Work"},{"Key":"StatusChangeByUserDisplayName","Value":"Raj Kumar Pativada"},{"Key":"RequestedOnTime","Value":"25-Sep-2025 11:30:33 AM"},{"Key":"SiteName","Value":"Coimbatore"},{"Key":"StartDate","Value":"25-Sep-2025"},{"Key":"WorkLocation","Value":""},{"Key":"AssignedUserDisplayName","Value":"Lalit Aditya Kola"},{"Key":"ModeOfNotifications","Value":""},{"Key":"NextStatus","Value":"Issued"},{"Key":"CustomStatusNames","Value":"[{\"StatusId\":1,\"PresentTenseName\":\"Approve -1\",\"PastTenseName\":\"Approved -1\"},{\"StatusId\":2,\"PresentTenseName\":\"Issue -2\",\"PastTenseName\":\"Issued -2\"},{\"StatusId\":3,\"PresentTenseName\":\"Request -3\",\"PastTenseName\":\"Requested -3\"},{\"StatusId\":4,\"PresentTenseName\":\"Review -4\",\"PastTenseName\":\"Reviewed -4\"},{\"StatusId\":5,\"PresentTenseName\":\"Reject -5\",\"PastTenseName\":\"Rejected -5\"},{\"StatusId\":6,\"PresentTenseName\":\"Close -6\",\"PastTenseName\":\"Closed -6\"},{\"StatusId\":7,\"PresentTenseName\":\"Cancel -7\",\"PastTenseName\":\"Cancelled -7\"},{\"StatusId\":8,\"PresentTenseName\":\"Re-Approve -8\",\"PastTenseName\":\"Re-Approved -8\"},{\"StatusId\":9,\"PresentTenseName\":\"Extension Request -9\",\"PastTenseName\":\"Extension Requested -9\"},{\"StatusId\":10,\"PresentTenseName\":\"Extension Issue -10\",\"PastTenseName\":\"Extension Issued -10\"},{\"StatusId\":11,\"PresentTenseName\":\"Extension Review -11\",\"PastTenseName\":\"Extension Reviewed -11\"},{\"StatusId\":12,\"PresentTenseName\":\"Extension Approve -12\",\"PastTenseName\":\"Extension Approved -12\"},{\"StatusId\":13,\"PresentTenseName\":\"Extension Reject -13\",\"PastTenseName\":\"Extension Rejected -13\"},{\"StatusId\":14,\"PresentTenseName\":\"Validation Request -14\",\"PastTenseName\":\"Validation Requested -14\"},{\"StatusId\":15,\"PresentTenseName\":\"Validation Reject -15\",\"PastTenseName\":\"Validation Rejected -15\"},{\"StatusId\":16,\"PresentTenseName\":\"Suspend -16\",\"PastTenseName\":\"Suspended -16\"},{\"StatusId\":17,\"PresentTenseName\":\"Validation Issue -17\",\"PastTenseName\":\"Validation Issued -17\"},{\"StatusId\":18,\"PresentTenseName\":\"Validation Approve -18\",\"PastTenseName\":\"Validation Approved -18\"},{\"StatusId\":19,\"PresentTenseName\":\"Pending Closure -19\",\"PastTenseName\":\"Pending Closure -19\"},{\"StatusId\":20,\"PresentTenseName\":\"Start Work -20\",\"PastTenseName\":\"Start Work -20\"},{\"StatusId\":21,\"PresentTenseName\":\"Request Again -21\",\"PastTenseName\":\"Request Again -21\"},{\"StatusId\":22,\"PresentTenseName\":\"Abandon\",\"PastTenseName\":\"Abandoned\"}]"}]}


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


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"919989248964","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"ptw_assigned_to_generic_template_v4","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"P/TTK/COI/ABCCON/SU/EL/25/00001"},{"type":"text","text":"25-Sep-2025"},{"type":"text","text":"Subsection checks, Electrical Work"},{"type":"text","text":"Coimbatore"},{"type":"text","text":" "},{"type":"text","text":"Requested -3 by Raj Kumar Pativada at 25-Sep-2025 11:30:33 AM"},{"type":"text","text":"Issue -2"},{"type":"text","text":"Lalit Aditya Kola"},{"type":"text","text":"https://qa-staging-2.oqsha.com/#/work-permit/view/3258?orgID=387&dlType=viewWorkPermit"}]}]}}}


Osmo-x WhatsApp Message has been Sent


### End Event Execution ###


### Start Event Execution ###


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


# Calling SendNotificationToAskUserConsent function for asking user consent #


Message : {"EventName":"NOTIFICATION_FOR_INSPECTION_CREATION","EventArgs":[{"Key":"UserIds","Value":"[898]"},{"Key":"InspectionUID","Value":"I/APR/abd/ATI/25/00042"},{"Key":"Name","Value":"ISO 27000"},{"Key":"Type","Value":"Assigned to inspection"},{"Key":"Organisation","Value":"Aparna Constructions"},{"Key":"Site","Value":"Aparna New Site"},{"Key":"Department","Value":" "},{"Key":"Asset","Value":""},{"Key":"Status","Value":"Inspect"},{"Key":"CreatedBy","Value":"Raj Kumar Pativada"},{"Key":"CreatedOn","Value":"25-Sep-2025 11:31:16 AM"},{"Key":"OrganisationId","Value":310}]}


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


# Calling SendNotificationForInspectionCreation function for whatsapp and push notification #


Executing sending notification to associated user through whatsapp


Sending notifications for inspection creation to associated user898


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"917488126002","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"oqsha_inspection_template","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"sephali kumari"},{"type":"text","text":"I/APR/abd/ATI/25/00042"},{"type":"text","text":"ISO 27000"},{"type":"text","text":"Assigned to inspection"},{"type":"text","text":"Aparna Constructions"},{"type":"text","text":"Aparna New Site"},{"type":"text","text":" "},{"type":"text","text":""},{"type":"text","text":"Inspect"},{"type":"text","text":"Raj Kumar Pativada"},{"type":"text","text":"25-Sep-2025 11:31:16 AM"}]}]}}}


Executing email notifications to Users about inspection creation


Sending Inspection creation email to user: sephali.k@osmosys.co


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


Reading and binding data to Email Template


Initializing Email Service Client


Generating Email Request


New Inspection Created: I/APR/abd/ATI/25/00042


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


--- Email response from Osmo-x is 201


### End Event Execution ###


### Start Event Execution ###


Message : {"EventName":"NOTIFICATION_FOR_INSPECTION_UPDATE","EventArgs":[{"Key":"StringIssuerIds","Value":"[898]"},{"Key":"InspectionUID","Value":"I/APR/abd/ATI/25/00042"},{"Key":"Name","Value":"ISO 27000"},{"Key":"Site","Value":"Aparna New Site"},{"Key":"InspectedBy","Value":"Raj Kumar Pativada"},{"Key":"InspectedOn","Value":"25-Sep-2025 11:31:16 AM"},{"Key":"InspectionId","Value":"1514"},{"Key":"OrganisationId","Value":310}]}


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


# Calling SendNotificationForInspectionUpdate function for whatsapp and push notification #


Sending notifications for inspection status update to associated user898


Osmo-x WhatsApp Message has been Sent


Executing email notifications to Users about inspection update


Sending Inspection update email to user: sephali.k@osmosys.co


Inspection Update: I/APR/abd/ATI/25/00042


Message : {"EventName":"AUDIT_CREATION_NOTIFICATION","EventArgs":[{"Key":"AuditorsUserIds","Value":"[1]"},{"Key":"AuditId","Value":"301"},{"Key":"OrgId","Value":"387"}]}


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


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


PDF generation successfull


Executing email notifications to Auditors about Audit


Initializing Email Service Client


Generating Email Request


An Audit has been created


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


--- Email response from Osmo-x is 201


Executing whatsapp notifications to Auditors about Audit creation


Sending whatsapp message:


RequestBody: {  "providerId": 11,  "data": {    "to": "919160948627",    "messaging_product": "whatsapp",    "type": "template",    "template": {        "namespace": "d8bcb6bd_2ab2_439c_9d9e_947501266c77",        "name": "oqsha_audit_creation_template",        "language": {            "code": "en",            "policy": "deterministic"        },        "components": [{"type":"header","parameters":[{"type":"document","text":null,"image":null,"document":{"filename":"doc.pdf","link":"https://api-qa-staging-2.oqsha.com/attachments/temp/Audit_A_TTK_COI_ANN_25_00006_835c5db5-e1df-479f-96d4-c1822c7e0048.pdf"},"video":null}]},{"type":"body","parameters":[{"type":"text","text":"dsfsd","image":null,"document":null,"video":null},{"type":"text","text":"27-Sep-2025 04:54:29 PM","image":null,"document":null,"video":null},{"type":"text","text":"EHS Department - TTK Private Limited","image":null,"document":null,"video":null}]}]    }   }}


Osmo-x WhatsApp Message has been Sent


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


### End Event Execution ###


### Start Event Execution ###


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


# Calling SendNotificationForInspectionCreation function for whatsapp and push notification #


Executing sending notification to associated user through whatsapp


Sending notifications for inspection creation to associated user898


Executing email notifications to Assignee Users about inspection creation


Sending Inspection Assignee creation email to user: sephali.k@osmosys.co


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


Reading and binding data to Email Template


Initializing Email Service Client


Generating Email Request


Inspection Assigned: I/TTK/COI/WTT/25/00005 - A new inspection has been assigned to you


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


--- Email response from Osmo-x is 201


Osmo-x WhatsApp Message has been Sent


Inspection Assigned: I/TTK/COI/WTT/25/00006 - A new inspection has been assigned to you


### End Event Execution ###


### Start Event Execution ###


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


# Calling SendNotificationToTaskAssignees function for WhatsApp notification #


Sending WhatsApp notification for task assignment to user ID: 1597


Message : {"EventName":"ASSIGNED_TO_NOTIFICATION","EventArgs":[{"Key":"AssignedIncidentID","Value":21341},{"Key":"AssignedToID","Value":1597}]}


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


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


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


Generating report.


Sending Task Assignment Email for TaskId: 3940, UserId: 1597


Initializing Email Service Client


Generating Email Request


PDF generation successfull


## Sending email to Sayan Mondal, UserId : 1597 for assigned to notification ##


Sending Assigned To Email for IncidentId:21341


New Action Tracker Assigned - TA/TTK/COI/SAT/25/00228

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


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


--- Email response from Osmo-x is 201


### End Event Execution ###


A Safety Alert T/TTK/TTA/25/00056 is assigned to you related to 'Unsafe Condition'


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


Sending Assigned To Whatsapp for IncidentId:21341


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"918967697371","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"oqsha_assigned_to_whatsapp_template_v3","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"Sayan Mondal"},{"type":"text","text":"Safety Alert"},{"type":"text","text":"T/TTK/TTA/25/00056"},{"type":"text","text":"stores"},{"type":"text","text":"Coimbatore"},{"type":"text","text":"Unsafe Condition"},{"type":"text","text":"Shreya V"},{"type":"text","text":"TTK Beta - QA"},{"type":"text","text":"Assigned"},{"type":"text","text":"https://qa-staging-2.oqsha.com/#/incidents/view/387/21341?dlType=viewTicket"},{"type":"text","text":"EHS Department - TTK Private Limited"}]}]}}}


Osmo-x WhatsApp Message has been Sent


# Preparing notification body #


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


### Start Event Execution ###


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


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


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


# Calling  SendNotification function for  all types of notification #


Sending Email for IncidentId:21341


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


Reading and binding data to Email Template


Initializing Email Service Client


Generating Email Request


Ticket Safety Alert has been updated


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


--- Email response from Osmo-x is 201


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"917717731269","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"oqsha_ticket_update_whatsapp_template_v4","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"Shreya V"},{"type":"text","text":"Safety Alert"},{"type":"text","text":"T/TTK/TTA/25/00056"},{"type":"text","text":"Safety Alert status updated to Assigned"},{"type":"text","text":"Safety Alert"},{"type":"text","text":"stores"},{"type":"text","text":"Coimbatore"},{"type":"text","text":"Unsafe Condition"},{"type":"text","text":"Shreya V"},{"type":"text","text":"TTK Beta - QA"},{"type":"text","text":"Assigned"},{"type":"text","text":"https://qa-staging-2.oqsha.com/#/incidents/view/387/21341?dlType=viewTicket"},{"type":"text","text":"EHS Department - TTK Private Limited"}]}]}}}


Osmo-x WhatsApp Message has been Sent


# Preparing notification body #


Sending email for incident closure


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"91434342231232","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"oqsha_ticket_update_whatsapp_template_v4","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"Test Consent"},{"type":"text","text":"Safety Alert"},{"type":"text","text":"T/TTK/TTA/25/00056"},{"type":"text","text":"Safety Alert status updated to Assigned"},{"type":"text","text":"Safety Alert"},{"type":"text","text":"stores"},{"type":"text","text":"Coimbatore"},{"type":"text","text":"Unsafe Condition"},{"type":"text","text":"Shreya V"},{"type":"text","text":"TTK Beta - QA"},{"type":"text","text":"Assigned"},{"type":"text","text":"https://qa-staging-2.oqsha.com/#/incidents/view/387/21341?dlType=viewTicket"},{"type":"text","text":"EHS Department - TTK Private Limited"}]}]}}}


### Ended processing Update incident Event ###


### End Event Execution ###


### Start Event Execution ###


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


Sending Email for IncidentId:21341


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"917717731269","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"oqsha_ticket_update_whatsapp_template_v4","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"Shreya V"},{"type":"text","text":"Safety Alert"},{"type":"text","text":"T/TTK/TTA/25/00056"},{"type":"text","text":"Safety Alert status updated to Resolved., Comments are added as resplving it"},{"type":"text","text":"Safety Alert"},{"type":"text","text":"stores"},{"type":"text","text":"Coimbatore"},{"type":"text","text":"Unsafe Condition"},{"type":"text","text":"Shreya V"},{"type":"text","text":"TTK Beta - QA"},{"type":"text","text":"Resolved"},{"type":"text","text":"https://qa-staging-2.oqsha.com/#/incidents/view/387/21341?dlType=viewTicket"},{"type":"text","text":"EHS Department - TTK Private Limited"}]}]}}}


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"918967697371","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"oqsha_ticket_update_whatsapp_template_v4","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"Sayan Mondal"},{"type":"text","text":"Safety Alert"},{"type":"text","text":"T/TTK/TTA/25/00056"},{"type":"text","text":"Safety Alert status updated to Resolved., Comments are added as resplving it"},{"type":"text","text":"Safety Alert"},{"type":"text","text":"stores"},{"type":"text","text":"Coimbatore"},{"type":"text","text":"Unsafe Condition"},{"type":"text","text":"Shreya V"},{"type":"text","text":"TTK Beta - QA"},{"type":"text","text":"Resolved"},{"type":"text","text":"https://qa-staging-2.oqsha.com/#/incidents/view/387/21341?dlType=viewTicket"},{"type":"text","text":"EHS Department - TTK Private Limited"}]}]}}}


Initializing Email Service Client


Generating Email Request


Ticket Safety Alert has been updated


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


--- Email response from Osmo-x is 201


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"91434342231232","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"oqsha_ticket_update_whatsapp_template_v4","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"Test Consent"},{"type":"text","text":"Safety Alert"},{"type":"text","text":"T/TTK/TTA/25/00056"},{"type":"text","text":"Safety Alert status updated to Resolved., Comments are added as resplving it"},{"type":"text","text":"Safety Alert"},{"type":"text","text":"stores"},{"type":"text","text":"Coimbatore"},{"type":"text","text":"Unsafe Condition"},{"type":"text","text":"Shreya V"},{"type":"text","text":"TTK Beta - QA"},{"type":"text","text":"Resolved"},{"type":"text","text":"https://qa-staging-2.oqsha.com/#/incidents/view/387/21341?dlType=viewTicket"},{"type":"text","text":"EHS Department - TTK Private Limited"}]}]}}}


Osmo-x WhatsApp Message has been Sent


Message : {"EventName":"INCIDENT_CLOSURE_NOTIFICATION_VALIDATION_1","EventArgs":[{"Key":"IncidentId","Value":21341},{"Key":"ClosedById","Value":1597}]}


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


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


Generating report.


## Sending notification to Site EHS user ##


## Notification to be send for these users: [1954,2547,1326]


## Sending email to Lalit Aditya Kola, UserId : 1954 for Incident Closure Validation notification ##


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


Safety Alert Validation Level 1


Sending Inform-To Update WhatsApp for IncidentId:21341


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"919989248964","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"oqsha_ticket_validation_level_1_whatsapp_template_ttk_v2","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"Lalit Aditya Kola"},{"type":"text","text":"Sayan Mondal"},{"type":"text","text":"T/TTK/TTA/25/00056"},{"type":"text","text":"25-Sep-2025 11:21:23 AM"},{"type":"text","text":"Unsafe Condition"},{"type":"text","text":"Coimbatore"},{"type":"text","text":"Coimbatore"},{"type":"text","text":"stores"},{"type":"text","text":"Shreya V"},{"type":"text","text":"https://qa-staging-2.oqsha.com/#/incidents/view/387/21341?dlType=viewTicket"},{"type":"text","text":"EHS Department - TTK Private Limited"}]}]}}}


## Sending email to Sagar Aswar, UserId : 2547 for Incident Closure Validation notification ##


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


Osmo-x WhatsApp Message has been Sent


## Sending email to Bishal Mondal, UserId : 1326 for Incident Closure Validation notification ##


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


### End Event Execution ###


### Start Event Execution ###


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


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


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


# Calling  SendNotification function for  all types of notification #


Sending Email for IncidentId:21341


Ticket Safety Alert has been updated


Sending Assigned To Whatsapp for IncidentId:21341


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"917717731269","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"oqsha_ticket_update_whatsapp_template_v4","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"Shreya V"},{"type":"text","text":"Safety Alert"},{"type":"text","text":"T/TTK/TTA/25/00056"},{"type":"text","text":"Safety Alert status updated to Validated., Comments are added as validating it"},{"type":"text","text":"Safety Alert"},{"type":"text","text":"stores"},{"type":"text","text":"Coimbatore"},{"type":"text","text":"Unsafe Condition"},{"type":"text","text":"Shreya V"},{"type":"text","text":"TTK Beta - QA"},{"type":"text","text":"Validated"},{"type":"text","text":"https://qa-staging-2.oqsha.com/#/incidents/view/387/21341?dlType=viewTicket"},{"type":"text","text":"EHS Department - TTK Private Limited"}]}]}}}


# Preparing notification body #


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":"918967697371","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"oqsha_ticket_update_whatsapp_template_v4","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"Sayan Mondal"},{"type":"text","text":"Safety Alert"},{"type":"text","text":"T/TTK/TTA/25/00056"},{"type":"text","text":"Safety Alert status updated to Validated., Comments are added as validating it"},{"type":"text","text":"Safety Alert"},{"type":"text","text":"stores"},{"type":"text","text":"Coimbatore"},{"type":"text","text":"Unsafe Condition"},{"type":"text","text":"Shreya V"},{"type":"text","text":"TTK Beta - QA"},{"type":"text","text":"Validated"},{"type":"text","text":"https://qa-staging-2.oqsha.com/#/incidents/view/387/21341?dlType=viewTicket"},{"type":"text","text":"EHS Department - TTK Private Limited"}]}]}}}


Osmo-x WhatsApp Message has been Sent


Sending email for incident closure


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"91434342231232","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"oqsha_ticket_update_whatsapp_template_v4","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"Test Consent"},{"type":"text","text":"Safety Alert"},{"type":"text","text":"T/TTK/TTA/25/00056"},{"type":"text","text":"Safety Alert status updated to Validated., Comments are added as validating it"},{"type":"text","text":"Safety Alert"},{"type":"text","text":"stores"},{"type":"text","text":"Coimbatore"},{"type":"text","text":"Unsafe Condition"},{"type":"text","text":"Shreya V"},{"type":"text","text":"TTK Beta - QA"},{"type":"text","text":"Validated"},{"type":"text","text":"https://qa-staging-2.oqsha.com/#/incidents/view/387/21341?dlType=viewTicket"},{"type":"text","text":"EHS Department - TTK Private Limited"}]}]}}}


### Ended processing Update incident Event ###


### End Event Execution ###


### Start Event Execution ###


Message : {"EventName":"INCIDENT_CLOSURE_NOTIFICATION_VALIDATION_2","EventArgs":[{"Key":"IncidentId","Value":21341},{"Key":"ClosedById","Value":1954}]}


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


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


Generating report.


## Sending notification to EHS head user ##


## Notification to be send for these users: [1403,898]


## Sending email to Lakhan TTK, UserId : 1403 for Incident Closure Validation notification ##


Sending Incident Closure Validation Email for IncidentId:21341


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


Reading and binding data to Email Template


Initializing Email Service Client


Generating Email Request


Safety Alert Validation For Closure


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


--- Email response from Osmo-x is 201


Sending Inform-To Update WhatsApp for IncidentId:21341


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"918885857714","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"oqsha_ticket_validation_level_2_whatsapp_template_ttk_v2","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"Lakhan TTK"},{"type":"text","text":"Lalit Aditya Kola"},{"type":"text","text":"T/TTK/TTA/25/00056"},{"type":"text","text":"25-Sep-2025 11:21:23 AM"},{"type":"text","text":"Unsafe Condition"},{"type":"text","text":"Coimbatore"},{"type":"text","text":"Coimbatore"},{"type":"text","text":"stores"},{"type":"text","text":"Shreya V"},{"type":"text","text":"https://qa-staging-2.oqsha.com/#/incidents/view/387/21341?dlType=viewTicket"},{"type":"text","text":"EHS Department - TTK Private Limited"}]}]}}}


Osmo-x WhatsApp Message has been Sent


## Sending email to sephali kumari, UserId : 898 for Incident Closure Validation notification ##


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"917488126002","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"oqsha_ticket_validation_level_2_whatsapp_template_ttk_v2","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"sephali kumari"},{"type":"text","text":"Lalit Aditya Kola"},{"type":"text","text":"T/TTK/TTA/25/00056"},{"type":"text","text":"25-Sep-2025 11:21:23 AM"},{"type":"text","text":"Unsafe Condition"},{"type":"text","text":"Coimbatore"},{"type":"text","text":"Coimbatore"},{"type":"text","text":"stores"},{"type":"text","text":"Shreya V"},{"type":"text","text":"https://qa-staging-2.oqsha.com/#/incidents/view/387/21341?dlType=viewTicket"},{"type":"text","text":"EHS Department - TTK Private Limited"}]}]}}}


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


### End Event Execution ###


### Start Event Execution ###


Message : {"EventName":"NOTIFICATION_FOR_INSPECTION_CREATION","EventArgs":[{"Key":"UserIds","Value":"[2]"},{"Key":"InspectionUID","Value":"I/TTK/COI/ICT/25/00017"},{"Key":"Name","Value":"001"},{"Key":"Type","Value":"Inspection Checks Type"},{"Key":"Organisation","Value":"TTK Beta - QA"},{"Key":"Site","Value":"Coimbatore"},{"Key":"Department","Value":" "},{"Key":"Asset","Value":""},{"Key":"Status","Value":"Draft"},{"Key":"CreatedBy","Value":"Raj Kumar Pativada"},{"Key":"CreatedOn","Value":"25-Sep-2025 11:49:48 AM"},{"Key":"OrganisationId","Value":387}]}


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


# Calling SendNotificationForInspectionCreation function for whatsapp and push notification #


Executing sending notification to associated user through whatsapp


Sending notifications for inspection creation to associated user2


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"919848676679","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"oqsha_inspection_template","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"Srinivas Medida"},{"type":"text","text":"I/TTK/COI/ICT/25/00017"},{"type":"text","text":"001"},{"type":"text","text":"Inspection Checks Type"},{"type":"text","text":"TTK Beta - QA"},{"type":"text","text":"Coimbatore"},{"type":"text","text":" "},{"type":"text","text":""},{"type":"text","text":"Draft"},{"type":"text","text":"Raj Kumar Pativada"},{"type":"text","text":"25-Sep-2025 11:49:48 AM"}]}]}}}


Executing email notifications to Users about inspection creation


Sending Inspection creation email to user: srinivas.m@osmosys.co


Initializing Email Service Client


Generating Email Request


New Inspection Created: I/TTK/COI/ICT/25/00017


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


--- Email response from Osmo-x is 201


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


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


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


# Calling  SendNotification function for  all types of notification #


Sending Email for IncidentId:21341


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


Reading and binding data to Email Template


Ticket Safety Alert has been updated


Sending Assigned To Whatsapp for IncidentId:21341


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"917717731269","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"oqsha_ticket_update_whatsapp_template_v4","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"Shreya V"},{"type":"text","text":"Safety Alert"},{"type":"text","text":"T/TTK/TTA/25/00056"},{"type":"text","text":"Safety Alert status updated to Closed., Comments are added as closing it"},{"type":"text","text":"Safety Alert"},{"type":"text","text":"stores"},{"type":"text","text":"Coimbatore"},{"type":"text","text":"Unsafe Condition"},{"type":"text","text":"Shreya V"},{"type":"text","text":"TTK Beta - QA"},{"type":"text","text":"Closed"},{"type":"text","text":"https://qa-staging-2.oqsha.com/#/incidents/view/387/21341?dlType=viewTicket"},{"type":"text","text":"EHS Department - TTK Private Limited"}]}]}}}


Osmo-x WhatsApp Message has been Sent


# Preparing notification body #


Initializing Email Service Client


Generating Email Request


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"918967697371","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"oqsha_ticket_update_whatsapp_template_v4","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"Sayan Mondal"},{"type":"text","text":"Safety Alert"},{"type":"text","text":"T/TTK/TTA/25/00056"},{"type":"text","text":"Safety Alert status updated to Closed., Comments are added as closing it"},{"type":"text","text":"Safety Alert"},{"type":"text","text":"stores"},{"type":"text","text":"Coimbatore"},{"type":"text","text":"Unsafe Condition"},{"type":"text","text":"Shreya V"},{"type":"text","text":"TTK Beta - QA"},{"type":"text","text":"Closed"},{"type":"text","text":"https://qa-staging-2.oqsha.com/#/incidents/view/387/21341?dlType=viewTicket"},{"type":"text","text":"EHS Department - TTK Private Limited"}]}]}}}


Sending email for incident closure


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


--- Email response from Osmo-x is 201


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"91434342231232","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"oqsha_ticket_update_whatsapp_template_v4","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"Test Consent"},{"type":"text","text":"Safety Alert"},{"type":"text","text":"T/TTK/TTA/25/00056"},{"type":"text","text":"Safety Alert status updated to Closed., Comments are added as closing it"},{"type":"text","text":"Safety Alert"},{"type":"text","text":"stores"},{"type":"text","text":"Coimbatore"},{"type":"text","text":"Unsafe Condition"},{"type":"text","text":"Shreya V"},{"type":"text","text":"TTK Beta - QA"},{"type":"text","text":"Closed"},{"type":"text","text":"https://qa-staging-2.oqsha.com/#/incidents/view/387/21341?dlType=viewTicket"},{"type":"text","text":"EHS Department - TTK Private Limited"}]}]}}}


### Ended processing Update incident Event ###


### End Event Execution ###


### Start Event Execution ###


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


Message : {"EventName":"INFORM_TO_INCIDENT_CREATION_NOTIFICATION","EventArgs":[{"Key":"IncidentId","Value":21342},{"Key":"InformToUserId","Value":1954}]}


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


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


Calling SendInformToNotification function for ticket creation


Sending Inform-To WhatsApp for IncidentId: 21342


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"919989248964","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"oqsha_ticket_inform_to_template_v3","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"Lalit Aditya Kola"},{"type":"text","text":"Safety Alert"},{"type":"text","text":"T/TTK/NMM/25/00112"},{"type":"text","text":"Testing rejection flow"},{"type":"text","text":"Coimbatore"},{"type":"text","text":"Near Miss"},{"type":"text","text":"Shreya V"},{"type":"text","text":"TTK Beta - QA"},{"type":"text","text":"Open"},{"type":"text","text":"https://qa-staging-2.oqsha.com/#/incidents/view/387/21342?dlType=viewTicket"},{"type":"text","text":"EHS Department - TTK Private Limited"}]}]}}}


Osmo-x WhatsApp Message has been Sent


Generating Safety Alert report.


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


Message : {"EventName":"INFORM_TO_INCIDENT_CREATION_NOTIFICATION","EventArgs":[{"Key":"IncidentId","Value":21342},{"Key":"InformToUserId","Value":2547}]}


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"917223964170","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"oqsha_ticket_inform_to_template_v3","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"Sagar Aswar"},{"type":"text","text":"Safety Alert"},{"type":"text","text":"T/TTK/NMM/25/00112"},{"type":"text","text":"Testing rejection flow"},{"type":"text","text":"Coimbatore"},{"type":"text","text":"Near Miss"},{"type":"text","text":"Shreya V"},{"type":"text","text":"TTK Beta - QA"},{"type":"text","text":"Open"},{"type":"text","text":"https://qa-staging-2.oqsha.com/#/incidents/view/387/21342?dlType=viewTicket"},{"type":"text","text":"EHS Department - TTK Private Limited"}]}]}}}


Message : {"EventName":"INFORM_TO_INCIDENT_CREATION_NOTIFICATION","EventArgs":[{"Key":"IncidentId","Value":21342},{"Key":"InformToUserId","Value":1326}]}


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"917003236045","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"oqsha_ticket_inform_to_template_v3","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"Bishal Mondal"},{"type":"text","text":"Safety Alert"},{"type":"text","text":"T/TTK/NMM/25/00112"},{"type":"text","text":"Testing rejection flow"},{"type":"text","text":"Coimbatore"},{"type":"text","text":"Near Miss"},{"type":"text","text":"Shreya V"},{"type":"text","text":"TTK Beta - QA"},{"type":"text","text":"Open"},{"type":"text","text":"https://qa-staging-2.oqsha.com/#/incidents/view/387/21342?dlType=viewTicket"},{"type":"text","text":"EHS Department - TTK Private Limited"}]}]}}}


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


### Started processing for Notification Execution ###


# Immediate Notification flag for the event: ESCALATE_NOTIFICATION is set to Yes#


### Started processing  PUSH Notification Execution ###


#  Added  PUSH Notification of IncidentUID: T/TTK/NMM/25/00112#


# Calling  SendCronNotifcationsToUsers function for  push notification #


# Started  SendCronNotifcationsToUsers Execution #


# Fetching details from escalate_cron table for escalate_cron id 22524 #


# Preparing notification body #


# Fetching user of id:2562devices #


# User devices count #0


Updating escalte_cron to failed for id 22524


### End  Push notification Event Execution ###


### Ended processing  for Notification Execution ###


### Started processing  Email Notification Execution ###


#  Added Email Notification of IncidentUID: T/TTK/NMM/25/00112#


# Incident Attachments Count: 0#


# Calling  SendCronEmail function for  email notification #


# Fetching details from escalate_cron table for escalate_cron id 22525 #


Generating report.


Logging user id - 2562


Logging user  - IncidentReporter.DAL.Models.UserDBO


## Sending email to Test Consent##


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


Reading and binding data to Email Template


Initializing Email Service Client


Generating Email Request


A new Ticket T/TTK/NMM/25/00112 is Reported related to 'Near Miss'


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


--- Email response from Osmo-x is 201


## Email Sent to Test Consent##


# Updating escalate_cron : 22525 Status to Passed #


### Ended processing  Email Notification Execution ###


### Started processing  Whatsapp Notification Execution ###


#  Added  WhatsApp Notification of IncidentUID: T/TTK/NMM/25/00112#


# Calling  SendCronWhatsAppNotifcations function for  whatsapp notification #


# Fetching details from escalate_cron table for escalate_cron id 22526 #


Osmo-x WhatsApp Message has been Sent


# Updating escalate cron : 22526 Status to Passed #


### Ended processing  Whatsapp Notification Execution ###


### End Event Execution ###


### Start Event Execution ###


Message : {"EventName":"INFORM_TO_INCIDENT_CREATION_NOTIFICATION","EventArgs":[{"Key":"IncidentId","Value":21343},{"Key":"InformToUserId","Value":1954}]}


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


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


Calling SendInformToNotification function for ticket creation


Sending Inform-To WhatsApp for IncidentId: 21343


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"919989248964","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"oqsha_ticket_inform_to_template_v3","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"Lalit Aditya Kola"},{"type":"text","text":"Safety Alert"},{"type":"text","text":"T/TTK/SAB/25/00039"},{"type":"text","text":"testing re open flow"},{"type":"text","text":"Coimbatore"},{"type":"text","text":"Unsafe Act"},{"type":"text","text":"Shreya V"},{"type":"text","text":"TTK Beta - QA"},{"type":"text","text":"Open"},{"type":"text","text":"https://qa-staging-2.oqsha.com/#/incidents/view/387/21343?dlType=viewTicket"},{"type":"text","text":"EHS Department - TTK Private Limited"}]}]}}}


Generating Safety Alert report.


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


Message : {"EventName":"INFORM_TO_INCIDENT_CREATION_NOTIFICATION","EventArgs":[{"Key":"IncidentId","Value":21343},{"Key":"InformToUserId","Value":2547}]}


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"917223964170","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"oqsha_ticket_inform_to_template_v3","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"Sagar Aswar"},{"type":"text","text":"Safety Alert"},{"type":"text","text":"T/TTK/SAB/25/00039"},{"type":"text","text":"testing re open flow"},{"type":"text","text":"Coimbatore"},{"type":"text","text":"Unsafe Act"},{"type":"text","text":"Shreya V"},{"type":"text","text":"TTK Beta - QA"},{"type":"text","text":"Open"},{"type":"text","text":"https://qa-staging-2.oqsha.com/#/incidents/view/387/21343?dlType=viewTicket"},{"type":"text","text":"EHS Department - TTK Private Limited"}]}]}}}


Message : {"EventName":"INFORM_TO_INCIDENT_CREATION_NOTIFICATION","EventArgs":[{"Key":"IncidentId","Value":21343},{"Key":"InformToUserId","Value":1326}]}


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"917003236045","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"oqsha_ticket_inform_to_template_v3","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"Bishal Mondal"},{"type":"text","text":"Safety Alert"},{"type":"text","text":"T/TTK/SAB/25/00039"},{"type":"text","text":"testing re open flow"},{"type":"text","text":"Coimbatore"},{"type":"text","text":"Unsafe Act"},{"type":"text","text":"Shreya V"},{"type":"text","text":"TTK Beta - QA"},{"type":"text","text":"Open"},{"type":"text","text":"https://qa-staging-2.oqsha.com/#/incidents/view/387/21343?dlType=viewTicket"},{"type":"text","text":"EHS Department - TTK Private Limited"}]}]}}}


Osmo-x WhatsApp Message has been Sent


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


### Started processing for Notification Execution ###


# Immediate Notification flag for the event: ESCALATE_NOTIFICATION is set to Yes#


### Started processing  PUSH Notification Execution ###


#  Added  PUSH Notification of IncidentUID: T/TTK/SAB/25/00039#


# Calling  SendCronNotifcationsToUsers function for  push notification #


# Started  SendCronNotifcationsToUsers Execution #


# Fetching details from escalate_cron table for escalate_cron id 22527 #


# Preparing notification body #


# Fetching user of id:2562devices #


# User devices count #0


Updating escalte_cron to failed for id 22527


### End  Push notification Event Execution ###


### Ended processing  for Notification Execution ###


### Started processing  Email Notification Execution ###


#  Added Email Notification of IncidentUID: T/TTK/SAB/25/00039#


# Incident Attachments Count: 0#


# Calling  SendCronEmail function for  email notification #


# Fetching details from escalate_cron table for escalate_cron id 22528 #


Generating report.


Logging user id - 2562


Logging user  - IncidentReporter.DAL.Models.UserDBO


## Sending email to Test Consent##


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


Reading and binding data to Email Template


Initializing Email Service Client


Generating Email Request


A new Ticket T/TTK/SAB/25/00039 is Reported related to 'Unsafe Act'


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


--- Email response from Osmo-x is 201


## Email Sent to Test Consent##


# Updating escalate_cron : 22528 Status to Passed #


### Ended processing  Email Notification Execution ###


### Started processing  Whatsapp Notification Execution ###


#  Added  WhatsApp Notification of IncidentUID: T/TTK/SAB/25/00039#


# Calling  SendCronWhatsAppNotifcations function for  whatsapp notification #


# Fetching details from escalate_cron table for escalate_cron id 22529 #


Osmo-x WhatsApp Message has been Sent


# Updating escalate cron : 22529 Status to Passed #


### Ended processing  Whatsapp Notification Execution ###


### End Event Execution ###


### Start Event Execution ###


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


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


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


# Calling  SendNotification function for  all types of notification #


Sending Email for IncidentId:21342


Initializing Email Service Client


Generating Email Request


Ticket Safety Alert has been updated


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


--- Email response from Osmo-x is 201


Sending Assigned To Whatsapp for IncidentId:21342


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"917717731269","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"oqsha_ticket_update_whatsapp_template_v4","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"Shreya V"},{"type":"text","text":"Safety Alert"},{"type":"text","text":"T/TTK/NMM/25/00112"},{"type":"text","text":"Safety Alert status updated to Rejected"},{"type":"text","text":"Safety Alert"},{"type":"text","text":"Testing rejection flow"},{"type":"text","text":"Coimbatore"},{"type":"text","text":"Near Miss"},{"type":"text","text":"Shreya V"},{"type":"text","text":"TTK Beta - QA"},{"type":"text","text":"Rejected"},{"type":"text","text":"https://qa-staging-2.oqsha.com/#/incidents/view/387/21342?dlType=viewTicket"},{"type":"text","text":"EHS Department - TTK Private Limited"}]}]}}}


Osmo-x WhatsApp Message has been Sent


# Preparing notification body #


Sending email for incident closure


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"91434342231232","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"oqsha_ticket_update_whatsapp_template_v4","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"Test Consent"},{"type":"text","text":"Safety Alert"},{"type":"text","text":"T/TTK/NMM/25/00112"},{"type":"text","text":"Safety Alert status updated to Rejected"},{"type":"text","text":"Safety Alert"},{"type":"text","text":"Testing rejection flow"},{"type":"text","text":"Coimbatore"},{"type":"text","text":"Near Miss"},{"type":"text","text":"Shreya V"},{"type":"text","text":"TTK Beta - QA"},{"type":"text","text":"Rejected"},{"type":"text","text":"https://qa-staging-2.oqsha.com/#/incidents/view/387/21342?dlType=viewTicket"},{"type":"text","text":"EHS Department - TTK Private Limited"}]}]}}}


### Ended processing Update incident Event ###


### End Event Execution ###


### Start Event Execution ###


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


# Calling SendNotificationToTaskAssignees function for WhatsApp notification #


Sending WhatsApp notification for task assignment to user ID: 1597


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"918967697371","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"oqsha_task_assigned_to_notification_v2","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"Sayan Mondal"},{"type":"text","text":"TA/TTK/COI/SAT/25/00229"},{"type":"text","text":"Medium"},{"type":"text","text":"testing re open flow"},{"type":"text","text":"29-Sep-2025"},{"type":"text","text":"https://qa-staging-2.oqsha.com/#/tasks/edit/3941?dlType=viewTask"},{"type":"text","text":"Action Tracker"},{"type":"text","text":"EHS Department - TTK Private Limited"}]}]}}}


Message : {"EventName":"ASSIGNED_TO_NOTIFICATION","EventArgs":[{"Key":"AssignedIncidentID","Value":21343},{"Key":"AssignedToID","Value":1597}]}


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


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


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


Generating report.


PDF generation successfull


## Sending email to Sayan Mondal, UserId : 1597 for assigned to notification ##


Sending Assigned To Email for IncidentId:21343


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


Reading and binding data to Email Template


Initializing Email Service Client


Generating Email Request


Osmo-x WhatsApp Message has been Sent


Sending Task Assignment Email for TaskId: 3941, UserId: 1597


New Action Tracker Assigned - TA/TTK/COI/SAT/25/00229


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


--- Email response from Osmo-x is 201


### End Event Execution ###


A Safety Alert T/TTK/SAB/25/00039 is assigned to you related to 'Unsafe Act'


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


Sending Assigned To Whatsapp for IncidentId:21343


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"918967697371","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"oqsha_assigned_to_whatsapp_template_v3","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"Sayan Mondal"},{"type":"text","text":"Safety Alert"},{"type":"text","text":"T/TTK/SAB/25/00039"},{"type":"text","text":"testing re open flow"},{"type":"text","text":"Coimbatore"},{"type":"text","text":"Unsafe Act"},{"type":"text","text":"Shreya V"},{"type":"text","text":"TTK Beta - QA"},{"type":"text","text":"Assigned"},{"type":"text","text":"https://qa-staging-2.oqsha.com/#/incidents/view/387/21343?dlType=viewTicket"},{"type":"text","text":"EHS Department - TTK Private Limited"}]}]}}}


# Preparing notification body #


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


### Start Event Execution ###


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


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


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


# Calling  SendNotification function for  all types of notification #


Sending Email for IncidentId:21343


Initializing Email Service Client


Generating Email Request


Ticket Safety Alert has been updated


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


--- Email response from Osmo-x is 201


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"917717731269","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"oqsha_ticket_update_whatsapp_template_v4","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"Shreya V"},{"type":"text","text":"Safety Alert"},{"type":"text","text":"T/TTK/SAB/25/00039"},{"type":"text","text":"Safety Alert status updated to Assigned"},{"type":"text","text":"Safety Alert"},{"type":"text","text":"testing re open flow"},{"type":"text","text":"Coimbatore"},{"type":"text","text":"Unsafe Act"},{"type":"text","text":"Shreya V"},{"type":"text","text":"TTK Beta - QA"},{"type":"text","text":"Assigned"},{"type":"text","text":"https://qa-staging-2.oqsha.com/#/incidents/view/387/21343?dlType=viewTicket"},{"type":"text","text":"EHS Department - TTK Private Limited"}]}]}}}


Osmo-x WhatsApp Message has been Sent


Sending email for incident closure


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"91434342231232","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"oqsha_ticket_update_whatsapp_template_v4","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"Test Consent"},{"type":"text","text":"Safety Alert"},{"type":"text","text":"T/TTK/SAB/25/00039"},{"type":"text","text":"Safety Alert status updated to Assigned"},{"type":"text","text":"Safety Alert"},{"type":"text","text":"testing re open flow"},{"type":"text","text":"Coimbatore"},{"type":"text","text":"Unsafe Act"},{"type":"text","text":"Shreya V"},{"type":"text","text":"TTK Beta - QA"},{"type":"text","text":"Assigned"},{"type":"text","text":"https://qa-staging-2.oqsha.com/#/incidents/view/387/21343?dlType=viewTicket"},{"type":"text","text":"EHS Department - TTK Private Limited"}]}]}}}


### Ended processing Update incident Event ###


### End Event Execution ###


### Start Event Execution ###


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


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"917717731269","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"oqsha_ticket_update_whatsapp_template_v4","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"Shreya V"},{"type":"text","text":"Safety Alert"},{"type":"text","text":"T/TTK/SAB/25/00039"},{"type":"text","text":"Safety Alert status updated to Resolved., Comments are added as resolving"},{"type":"text","text":"Safety Alert"},{"type":"text","text":"testing re open flow"},{"type":"text","text":"Coimbatore"},{"type":"text","text":"Unsafe Act"},{"type":"text","text":"Shreya V"},{"type":"text","text":"TTK Beta - QA"},{"type":"text","text":"Resolved"},{"type":"text","text":"https://qa-staging-2.oqsha.com/#/incidents/view/387/21343?dlType=viewTicket"},{"type":"text","text":"EHS Department - TTK Private Limited"}]}]}}}


# Preparing notification body #


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"918967697371","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"oqsha_ticket_update_whatsapp_template_v4","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"Sayan Mondal"},{"type":"text","text":"Safety Alert"},{"type":"text","text":"T/TTK/SAB/25/00039"},{"type":"text","text":"Safety Alert status updated to Resolved., Comments are added as resolving"},{"type":"text","text":"Safety Alert"},{"type":"text","text":"testing re open flow"},{"type":"text","text":"Coimbatore"},{"type":"text","text":"Unsafe Act"},{"type":"text","text":"Shreya V"},{"type":"text","text":"TTK Beta - QA"},{"type":"text","text":"Resolved"},{"type":"text","text":"https://qa-staging-2.oqsha.com/#/incidents/view/387/21343?dlType=viewTicket"},{"type":"text","text":"EHS Department - TTK Private Limited"}]}]}}}


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


Reading and binding data to Email Template


Initializing Email Service Client


Generating Email Request


Ticket Safety Alert has been updated


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


--- Email response from Osmo-x is 201


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"91434342231232","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"oqsha_ticket_update_whatsapp_template_v4","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"Test Consent"},{"type":"text","text":"Safety Alert"},{"type":"text","text":"T/TTK/SAB/25/00039"},{"type":"text","text":"Safety Alert status updated to Resolved., Comments are added as resolving"},{"type":"text","text":"Safety Alert"},{"type":"text","text":"testing re open flow"},{"type":"text","text":"Coimbatore"},{"type":"text","text":"Unsafe Act"},{"type":"text","text":"Shreya V"},{"type":"text","text":"TTK Beta - QA"},{"type":"text","text":"Resolved"},{"type":"text","text":"https://qa-staging-2.oqsha.com/#/incidents/view/387/21343?dlType=viewTicket"},{"type":"text","text":"EHS Department - TTK Private Limited"}]}]}}}


Osmo-x WhatsApp Message has been Sent


Message : {"EventName":"INCIDENT_CLOSURE_NOTIFICATION_VALIDATION_1","EventArgs":[{"Key":"IncidentId","Value":21343},{"Key":"ClosedById","Value":1597}]}


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


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


Generating report.


## Sending notification to Site EHS user ##


## Notification to be send for these users: [1954,2547,1326]


## Sending email to Lalit Aditya Kola, UserId : 1954 for Incident Closure Validation notification ##


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


Safety Alert Validation Level 1


Sending Inform-To Update WhatsApp for IncidentId:21343


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"919989248964","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"oqsha_ticket_validation_level_1_whatsapp_template_ttk_v2","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"Lalit Aditya Kola"},{"type":"text","text":"Sayan Mondal"},{"type":"text","text":"T/TTK/SAB/25/00039"},{"type":"text","text":"25-Sep-2025 11:56:34 AM"},{"type":"text","text":"Unsafe Act"},{"type":"text","text":"Coimbatore"},{"type":"text","text":"Coimbatore"},{"type":"text","text":"testing re open flow"},{"type":"text","text":"Shreya V"},{"type":"text","text":"https://qa-staging-2.oqsha.com/#/incidents/view/387/21343?dlType=viewTicket"},{"type":"text","text":"EHS Department - TTK Private Limited"}]}]}}}


## Sending email to Sagar Aswar, UserId : 2547 for Incident Closure Validation notification ##


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":"917223964170","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"oqsha_ticket_validation_level_1_whatsapp_template_ttk_v2","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"Sagar Aswar"},{"type":"text","text":"Sayan Mondal"},{"type":"text","text":"T/TTK/SAB/25/00039"},{"type":"text","text":"25-Sep-2025 11:56:34 AM"},{"type":"text","text":"Unsafe Act"},{"type":"text","text":"Coimbatore"},{"type":"text","text":"Coimbatore"},{"type":"text","text":"testing re open flow"},{"type":"text","text":"Shreya V"},{"type":"text","text":"https://qa-staging-2.oqsha.com/#/incidents/view/387/21343?dlType=viewTicket"},{"type":"text","text":"EHS Department - TTK Private Limited"}]}]}}}


Osmo-x WhatsApp Message has been Sent


## Sending email to Bishal Mondal, UserId : 1326 for Incident Closure Validation notification ##


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"917003236045","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"oqsha_ticket_validation_level_1_whatsapp_template_ttk_v2","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"Bishal Mondal"},{"type":"text","text":"Sayan Mondal"},{"type":"text","text":"T/TTK/SAB/25/00039"},{"type":"text","text":"25-Sep-2025 11:56:34 AM"},{"type":"text","text":"Unsafe Act"},{"type":"text","text":"Coimbatore"},{"type":"text","text":"Coimbatore"},{"type":"text","text":"testing re open flow"},{"type":"text","text":"Shreya V"},{"type":"text","text":"https://qa-staging-2.oqsha.com/#/incidents/view/387/21343?dlType=viewTicket"},{"type":"text","text":"EHS Department - TTK Private Limited"}]}]}}}


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


### End Event Execution ###


### Start Event Execution ###


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


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


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


# Calling  SendNotification function for  all types of notification #


Sending Email for IncidentId:21343


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


Reading and binding data to Email Template


Initializing Email Service Client


Generating Email Request


Ticket Safety Alert has been updated


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


--- Email response from Osmo-x is 201


Sending Assigned To Whatsapp for IncidentId:21343


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"917717731269","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"oqsha_ticket_update_whatsapp_template_v4","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"Shreya V"},{"type":"text","text":"Safety Alert"},{"type":"text","text":"T/TTK/SAB/25/00039"},{"type":"text","text":"Safety Alert status updated to Validated., Comments are added as validate to check reopening"},{"type":"text","text":"Safety Alert"},{"type":"text","text":"testing re open flow"},{"type":"text","text":"Coimbatore"},{"type":"text","text":"Unsafe Act"},{"type":"text","text":"Shreya V"},{"type":"text","text":"TTK Beta - QA"},{"type":"text","text":"Validated"},{"type":"text","text":"https://qa-staging-2.oqsha.com/#/incidents/view/387/21343?dlType=viewTicket"},{"type":"text","text":"EHS Department - TTK Private Limited"}]}]}}}


Osmo-x WhatsApp Message has been Sent


# Preparing notification body #


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"918967697371","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"oqsha_ticket_update_whatsapp_template_v4","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"Sayan Mondal"},{"type":"text","text":"Safety Alert"},{"type":"text","text":"T/TTK/SAB/25/00039"},{"type":"text","text":"Safety Alert status updated to Validated., Comments are added as validate to check reopening"},{"type":"text","text":"Safety Alert"},{"type":"text","text":"testing re open flow"},{"type":"text","text":"Coimbatore"},{"type":"text","text":"Unsafe Act"},{"type":"text","text":"Shreya V"},{"type":"text","text":"TTK Beta - QA"},{"type":"text","text":"Validated"},{"type":"text","text":"https://qa-staging-2.oqsha.com/#/incidents/view/387/21343?dlType=viewTicket"},{"type":"text","text":"EHS Department - TTK Private Limited"}]}]}}}


Sending email for incident closure


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"91434342231232","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"oqsha_ticket_update_whatsapp_template_v4","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"Test Consent"},{"type":"text","text":"Safety Alert"},{"type":"text","text":"T/TTK/SAB/25/00039"},{"type":"text","text":"Safety Alert status updated to Validated., Comments are added as validate to check reopening"},{"type":"text","text":"Safety Alert"},{"type":"text","text":"testing re open flow"},{"type":"text","text":"Coimbatore"},{"type":"text","text":"Unsafe Act"},{"type":"text","text":"Shreya V"},{"type":"text","text":"TTK Beta - QA"},{"type":"text","text":"Validated"},{"type":"text","text":"https://qa-staging-2.oqsha.com/#/incidents/view/387/21343?dlType=viewTicket"},{"type":"text","text":"EHS Department - TTK Private Limited"}]}]}}}


### Ended processing Update incident Event ###


### End Event Execution ###


### Start Event Execution ###


Message : {"EventName":"INCIDENT_CLOSURE_NOTIFICATION_VALIDATION_2","EventArgs":[{"Key":"IncidentId","Value":21343},{"Key":"ClosedById","Value":1954}]}


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


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


Generating report.


## Sending notification to EHS head user ##


## Notification to be send for these users: [1403,898]


## Sending email to Lakhan TTK, UserId : 1403 for Incident Closure Validation notification ##


Sending Incident Closure Validation Email for IncidentId:21343


Initializing Email Service Client


Generating Email Request


Safety Alert Validation For Closure


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


--- Email response from Osmo-x is 201


Sending Inform-To Update WhatsApp for IncidentId:21343


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"918885857714","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"oqsha_ticket_validation_level_2_whatsapp_template_ttk_v2","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"Lakhan TTK"},{"type":"text","text":"Lalit Aditya Kola"},{"type":"text","text":"T/TTK/SAB/25/00039"},{"type":"text","text":"25-Sep-2025 11:56:34 AM"},{"type":"text","text":"Unsafe Act"},{"type":"text","text":"Coimbatore"},{"type":"text","text":"Coimbatore"},{"type":"text","text":"testing re open flow"},{"type":"text","text":"Shreya V"},{"type":"text","text":"https://qa-staging-2.oqsha.com/#/incidents/view/387/21343?dlType=viewTicket"},{"type":"text","text":"EHS Department - TTK Private Limited"}]}]}}}


Osmo-x WhatsApp Message has been Sent


## Sending email to sephali kumari, UserId : 898 for Incident Closure Validation notification ##


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


Reading and binding data to Email Template


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"917488126002","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"oqsha_ticket_validation_level_2_whatsapp_template_ttk_v2","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"sephali kumari"},{"type":"text","text":"Lalit Aditya Kola"},{"type":"text","text":"T/TTK/SAB/25/00039"},{"type":"text","text":"25-Sep-2025 11:56:34 AM"},{"type":"text","text":"Unsafe Act"},{"type":"text","text":"Coimbatore"},{"type":"text","text":"Coimbatore"},{"type":"text","text":"testing re open flow"},{"type":"text","text":"Shreya V"},{"type":"text","text":"https://qa-staging-2.oqsha.com/#/incidents/view/387/21343?dlType=viewTicket"},{"type":"text","text":"EHS Department - TTK Private Limited"}]}]}}}


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


### End Event Execution ###


### Start Event Execution ###


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


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


Executing email notifications to Incident Approvers about the Pending approval


Initializing Email Service Client


Generating Email Request


A new incident has been reported


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


--- Email response from Osmo-x is 201


Executing whatsapp notifications to Incident Approvers about the Pending approval


Sending WhatsApp Notification for Incident Approval to User: 898


Osmo-x WhatsApp Message has been Sent


### Ended processing Incident Submitted Event ###


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


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


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


# Calling  SendNotification function for  all types of notification #


Sending Email for IncidentId:21343


Ticket Safety Alert has been updated


Sending Assigned To Whatsapp for IncidentId:21343


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"917717731269","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"oqsha_ticket_update_whatsapp_template_v4","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"Shreya V"},{"type":"text","text":"Safety Alert"},{"type":"text","text":"T/TTK/SAB/25/00039"},{"type":"text","text":"Safety Alert status updated to Open., Comments are added as reopening the SA"},{"type":"text","text":"Safety Alert"},{"type":"text","text":"testing re open flow"},{"type":"text","text":"Coimbatore"},{"type":"text","text":"Unsafe Act"},{"type":"text","text":"Shreya V"},{"type":"text","text":"TTK Beta - QA"},{"type":"text","text":"Open"},{"type":"text","text":"https://qa-staging-2.oqsha.com/#/incidents/view/387/21343?dlType=viewTicket"},{"type":"text","text":"EHS Department - TTK Private Limited"}]}]}}}


# Preparing notification body #


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":"918967697371","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"oqsha_ticket_update_whatsapp_template_v4","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"Sayan Mondal"},{"type":"text","text":"Safety Alert"},{"type":"text","text":"T/TTK/SAB/25/00039"},{"type":"text","text":"Safety Alert status updated to Open., Comments are added as reopening the SA"},{"type":"text","text":"Safety Alert"},{"type":"text","text":"testing re open flow"},{"type":"text","text":"Coimbatore"},{"type":"text","text":"Unsafe Act"},{"type":"text","text":"Shreya V"},{"type":"text","text":"TTK Beta - QA"},{"type":"text","text":"Open"},{"type":"text","text":"https://qa-staging-2.oqsha.com/#/incidents/view/387/21343?dlType=viewTicket"},{"type":"text","text":"EHS Department - TTK Private Limited"}]}]}}}


Sending email for incident closure


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


Reading and binding data to Email Template


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"91434342231232","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"oqsha_ticket_update_whatsapp_template_v4","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"Test Consent"},{"type":"text","text":"Safety Alert"},{"type":"text","text":"T/TTK/SAB/25/00039"},{"type":"text","text":"Safety Alert status updated to Open., Comments are added as reopening the SA"},{"type":"text","text":"Safety Alert"},{"type":"text","text":"testing re open flow"},{"type":"text","text":"Coimbatore"},{"type":"text","text":"Unsafe Act"},{"type":"text","text":"Shreya V"},{"type":"text","text":"TTK Beta - QA"},{"type":"text","text":"Open"},{"type":"text","text":"https://qa-staging-2.oqsha.com/#/incidents/view/387/21343?dlType=viewTicket"},{"type":"text","text":"EHS Department - TTK Private Limited"}]}]}}}


Osmo-x WhatsApp Message has been Sent


### Ended processing Update incident Event ###


### End Event Execution ###


### Start Event Execution ###


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


### Started processing for Incident Validated Event ###


Executing email notifications to Incident Approvers about the Pending approval


Incident IMF/TTK/COI/IAP/25/00026 has been validated


Executing whatsapp notifications to Incident Approvers about the Pending approval


Sending WhatsApp for Incident Validation to User: 1597


### Ended processing Incident Validated Event ###


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


### Started processing for Incident FIR Released Event ###


Initializing Email Service Client


Generating Email Request


Incident IMF/TTK/COI/IAP/25/00026 FIR has been released


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


--- Email response from Osmo-x is 201


Sending WhatsApp for Incident Approval to User: 1326


Osmo-x WhatsApp Message has been Sent


### End Event Execution ###


### Start Event Execution ###


Message : {"EventName":"INFORM_TO_INCIDENT_CREATION_NOTIFICATION","EventArgs":[{"Key":"IncidentId","Value":21344},{"Key":"InformToUserId","Value":1954}]}


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


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


Calling SendInformToNotification function for ticket creation


Sending Inform-To WhatsApp for IncidentId: 21344


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"919989248964","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"oqsha_ticket_inform_to_template_v3","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"Lalit Aditya Kola"},{"type":"text","text":"Safety Alert"},{"type":"text","text":"T/TTK/SAB/25/00040"},{"type":"text","text":" "},{"type":"text","text":"Coimbatore"},{"type":"text","text":"Unsafe Act"},{"type":"text","text":"sephali kumari"},{"type":"text","text":"TTK Beta - QA"},{"type":"text","text":"Open"},{"type":"text","text":"https://qa-staging-2.oqsha.com/#/incidents/view/387/21344?dlType=viewTicket"},{"type":"text","text":"EHS Department - TTK Private Limited"}]}]}}}


Generating Safety Alert report.


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


Message : {"EventName":"INFORM_TO_INCIDENT_CREATION_NOTIFICATION","EventArgs":[{"Key":"IncidentId","Value":21344},{"Key":"InformToUserId","Value":2547}]}


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"917223964170","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"oqsha_ticket_inform_to_template_v3","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"Sagar Aswar"},{"type":"text","text":"Safety Alert"},{"type":"text","text":"T/TTK/SAB/25/00040"},{"type":"text","text":" "},{"type":"text","text":"Coimbatore"},{"type":"text","text":"Unsafe Act"},{"type":"text","text":"sephali kumari"},{"type":"text","text":"TTK Beta - QA"},{"type":"text","text":"Open"},{"type":"text","text":"https://qa-staging-2.oqsha.com/#/incidents/view/387/21344?dlType=viewTicket"},{"type":"text","text":"EHS Department - TTK Private Limited"}]}]}}}


Message : {"EventName":"INFORM_TO_INCIDENT_CREATION_NOTIFICATION","EventArgs":[{"Key":"IncidentId","Value":21344},{"Key":"InformToUserId","Value":1326}]}


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"917003236045","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"oqsha_ticket_inform_to_template_v3","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"Bishal Mondal"},{"type":"text","text":"Safety Alert"},{"type":"text","text":"T/TTK/SAB/25/00040"},{"type":"text","text":" "},{"type":"text","text":"Coimbatore"},{"type":"text","text":"Unsafe Act"},{"type":"text","text":"sephali kumari"},{"type":"text","text":"TTK Beta - QA"},{"type":"text","text":"Open"},{"type":"text","text":"https://qa-staging-2.oqsha.com/#/incidents/view/387/21344?dlType=viewTicket"},{"type":"text","text":"EHS Department - TTK Private Limited"}]}]}}}


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


### Started processing for Notification Execution ###


# Immediate Notification flag for the event: ESCALATE_NOTIFICATION is set to Yes#


### Started processing  PUSH Notification Execution ###


#  Added  PUSH Notification of IncidentUID: T/TTK/SAB/25/00040#


# Calling  SendCronNotifcationsToUsers function for  push notification #


# Started  SendCronNotifcationsToUsers Execution #


# Fetching details from escalate_cron table for escalate_cron id 22530 #


# Preparing notification body #


# Fetching user of id:2562devices #


# User devices count #0


Updating escalte_cron to failed for id 22530


### End  Push notification Event Execution ###


### Ended processing  for Notification Execution ###


### Started processing  Email Notification Execution ###


#  Added Email Notification of IncidentUID: T/TTK/SAB/25/00040#


# Incident Attachments Count: 0#


# Calling  SendCronEmail function for  email notification #


# Fetching details from escalate_cron table for escalate_cron id 22531 #


Generating report.


Logging user id - 2562


Logging user  - IncidentReporter.DAL.Models.UserDBO


## Sending email to Test Consent##


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


Reading and binding data to Email Template


Initializing Email Service Client


Generating Email Request


A new Ticket T/TTK/SAB/25/00040 is Reported related to 'Unsafe Act'


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


--- Email response from Osmo-x is 201


## Email Sent to Test Consent##


# Updating escalate_cron : 22531 Status to Passed #


### Ended processing  Email Notification Execution ###


### Started processing  Whatsapp Notification Execution ###


#  Added  WhatsApp Notification of IncidentUID: T/TTK/SAB/25/00040#


# Calling  SendCronWhatsAppNotifcations function for  whatsapp notification #


# Fetching details from escalate_cron table for escalate_cron id 22532 #


Osmo-x WhatsApp Message has been Sent


# Updating escalate cron : 22532 Status to Passed #


### Ended processing  Whatsapp Notification Execution ###


### End Event Execution ###


### Start Event Execution ###


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


# Calling SendNotificationToTaskAssignees function for WhatsApp notification #


Sending WhatsApp notification for task assignment to user ID: 1597


Message : {"EventName":"ASSIGNED_TO_NOTIFICATION","EventArgs":[{"Key":"AssignedIncidentID","Value":21344},{"Key":"AssignedToID","Value":1597}]}


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


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


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


Generating report.


Sending Task Assignment Email for TaskId: 3942, UserId: 1597


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


Reading and binding data to Email Template


Initializing Email Service Client


Generating Email Request


PDF generation successfull


## Sending email to Sayan Mondal, UserId : 1597 for assigned to notification ##


Sending Assigned To Email for IncidentId:21344


New Action Tracker Assigned - TA/TTK/COI/SAT/25/00230


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


--- Email response from Osmo-x is 201


### End Event Execution ###


A Safety Alert T/TTK/SAB/25/00040 is assigned to you related to 'Unsafe Act'


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


Sending Assigned To Whatsapp for IncidentId:21344


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"918967697371","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"oqsha_assigned_to_whatsapp_template_v3","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"Sayan Mondal"},{"type":"text","text":"Safety Alert"},{"type":"text","text":"T/TTK/SAB/25/00040"},{"type":"text","text":" "},{"type":"text","text":"Coimbatore"},{"type":"text","text":"Unsafe Act"},{"type":"text","text":"sephali kumari"},{"type":"text","text":"TTK Beta - QA"},{"type":"text","text":"Assigned"},{"type":"text","text":"https://qa-staging-2.oqsha.com/#/incidents/view/387/21344?dlType=viewTicket"},{"type":"text","text":"EHS Department - TTK Private Limited"}]}]}}}


Osmo-x WhatsApp Message has been Sent


# Preparing notification body #


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


### Start Event Execution ###


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


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


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


# Calling  SendNotification function for  all types of notification #


Sending Email for IncidentId:21344


Initializing Email Service Client


Generating Email Request


Ticket Safety Alert has been updated


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


--- Email response from Osmo-x is 201


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"917488126002","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"oqsha_ticket_update_whatsapp_template_v4","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"sephali kumari"},{"type":"text","text":"Safety Alert"},{"type":"text","text":"T/TTK/SAB/25/00040"},{"type":"text","text":"Safety Alert status updated to Assigned"},{"type":"text","text":"Safety Alert"},{"type":"text","text":" "},{"type":"text","text":"Coimbatore"},{"type":"text","text":"Unsafe Act"},{"type":"text","text":"sephali kumari"},{"type":"text","text":"TTK Beta - QA"},{"type":"text","text":"Assigned"},{"type":"text","text":"https://qa-staging-2.oqsha.com/#/incidents/view/387/21344?dlType=viewTicket"},{"type":"text","text":"EHS Department - TTK Private Limited"}]}]}}}


Sending email for incident closure


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"91434342231232","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"oqsha_ticket_update_whatsapp_template_v4","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"Test Consent"},{"type":"text","text":"Safety Alert"},{"type":"text","text":"T/TTK/SAB/25/00040"},{"type":"text","text":"Safety Alert status updated to Assigned"},{"type":"text","text":"Safety Alert"},{"type":"text","text":" "},{"type":"text","text":"Coimbatore"},{"type":"text","text":"Unsafe Act"},{"type":"text","text":"sephali kumari"},{"type":"text","text":"TTK Beta - QA"},{"type":"text","text":"Assigned"},{"type":"text","text":"https://qa-staging-2.oqsha.com/#/incidents/view/387/21344?dlType=viewTicket"},{"type":"text","text":"EHS Department - TTK Private Limited"}]}]}}}


Osmo-x WhatsApp Message has been Sent


### Ended processing Update incident Event ###


### End Event Execution ###


### Start Event Execution ###


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


### Started processing for Incident Investigation In Progress Event ###


Executing email notifications to Incident Approvers about the Pending approval


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


Reading and binding data to Email Template


Initializing Email Service Client


Generating Email Request


Incident IMF/TTK/COI/IAP/25/00026 has been validated, form a team to investigate


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


--- Email response from Osmo-x is 201


Executing whatsapp notifications to Incident Approvers about the Pending approval


Sending WhatsApp for Incident Approval to User: 898


Sending WhatsApp for Incident Approval to User: 1597


Osmo-x WhatsApp Message has been Sent


Sending WhatsApp for Incident Approval to User: 1954


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"919989248964","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"oqsha_incident_investigation_v2","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"Lalit Aditya Kola"},{"type":"text","text":"IMF/TTK/COI/IAP/25/00026"},{"type":"text","text":"sephali kumari"},{"type":"text","text":"23-Sep-2025 12:00:00 AM"},{"type":"text","text":"Coimbatore"},{"type":"text","text":"NA"},{"type":"text","text":"0"},{"type":"text","text":"https://oqsha.com/#/incident-management/report-investigation/view/190"},{"type":"text","text":"EHS Department - TTK Private Limited"}]}]}}}


### Ended processing Incident Investigation In Progress Event ###


### End Event Execution ###


### Start Event Execution ###


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


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


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


# Calling  SendNotification function for  all types of notification #


Sending Email for IncidentId:21344


Initializing Email Service Client


Generating Email Request


Ticket Safety Alert has been updated


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


--- Email response from Osmo-x is 201


Sending Assigned To Whatsapp for IncidentId:21344


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"917488126002","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"oqsha_ticket_update_whatsapp_template_v4","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"sephali kumari"},{"type":"text","text":"Safety Alert"},{"type":"text","text":"T/TTK/SAB/25/00040"},{"type":"text","text":"Safety Alert status updated to Resolved., Comments are added as Resolved"},{"type":"text","text":"Safety Alert"},{"type":"text","text":" "},{"type":"text","text":"Coimbatore"},{"type":"text","text":"Unsafe Act"},{"type":"text","text":"sephali kumari"},{"type":"text","text":"TTK Beta - QA"},{"type":"text","text":"Resolved"},{"type":"text","text":"https://qa-staging-2.oqsha.com/#/incidents/view/387/21344?dlType=viewTicket"},{"type":"text","text":"EHS Department - TTK Private Limited"}]}]}}}


Osmo-x WhatsApp Message has been Sent


# Preparing notification body #


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"918967697371","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"oqsha_ticket_update_whatsapp_template_v4","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"Sayan Mondal"},{"type":"text","text":"Safety Alert"},{"type":"text","text":"T/TTK/SAB/25/00040"},{"type":"text","text":"Safety Alert status updated to Resolved., Comments are added as Resolved"},{"type":"text","text":"Safety Alert"},{"type":"text","text":" "},{"type":"text","text":"Coimbatore"},{"type":"text","text":"Unsafe Act"},{"type":"text","text":"sephali kumari"},{"type":"text","text":"TTK Beta - QA"},{"type":"text","text":"Resolved"},{"type":"text","text":"https://qa-staging-2.oqsha.com/#/incidents/view/387/21344?dlType=viewTicket"},{"type":"text","text":"EHS Department - TTK Private Limited"}]}]}}}


Sending email for incident closure


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"91434342231232","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"oqsha_ticket_update_whatsapp_template_v4","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"Test Consent"},{"type":"text","text":"Safety Alert"},{"type":"text","text":"T/TTK/SAB/25/00040"},{"type":"text","text":"Safety Alert status updated to Resolved., Comments are added as Resolved"},{"type":"text","text":"Safety Alert"},{"type":"text","text":" "},{"type":"text","text":"Coimbatore"},{"type":"text","text":"Unsafe Act"},{"type":"text","text":"sephali kumari"},{"type":"text","text":"TTK Beta - QA"},{"type":"text","text":"Resolved"},{"type":"text","text":"https://qa-staging-2.oqsha.com/#/incidents/view/387/21344?dlType=viewTicket"},{"type":"text","text":"EHS Department - TTK Private Limited"}]}]}}}


### Ended processing Update incident Event ###


### End Event Execution ###


### Start Event Execution ###


Message : {"EventName":"INCIDENT_CLOSURE_NOTIFICATION_VALIDATION_1","EventArgs":[{"Key":"IncidentId","Value":21344},{"Key":"ClosedById","Value":1597}]}


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


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


Generating report.


## Sending notification to Site EHS user ##


## Notification to be send for these users: [1954,2547,1326]


## Sending email to Lalit Aditya Kola, UserId : 1954 for Incident Closure Validation notification ##


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


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


Reading and binding data to Email Template


Initializing Email Service Client


Generating Email Request


Safety Alert Validation Level 1


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


--- Email response from Osmo-x is 201


Sending Inform-To Update WhatsApp for IncidentId:21344


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"919989248964","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"oqsha_ticket_validation_level_1_whatsapp_template_ttk_v2","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"Lalit Aditya Kola"},{"type":"text","text":"Sayan Mondal"},{"type":"text","text":"T/TTK/SAB/25/00040"},{"type":"text","text":"25-Sep-2025 12:14:19 PM"},{"type":"text","text":"Unsafe Act"},{"type":"text","text":"Coimbatore"},{"type":"text","text":"Coimbatore"},{"type":"text","text":""},{"type":"text","text":"sephali kumari"},{"type":"text","text":"https://qa-staging-2.oqsha.com/#/incidents/view/387/21344?dlType=viewTicket"},{"type":"text","text":"EHS Department - TTK Private Limited"}]}]}}}


Osmo-x WhatsApp Message has been Sent


## Sending email to Sagar Aswar, UserId : 2547 for Incident Closure Validation notification ##


## Sending email to Bishal Mondal, UserId : 1326 for Incident Closure Validation notification ##


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


### End Event Execution ###


### Start Event Execution ###


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


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


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


# Calling  SendNotification function for  all types of notification #


Sending Email for IncidentId:21344


Initializing Email Service Client


Generating Email Request


Ticket Safety Alert has been updated


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


--- Email response from Osmo-x is 201


Sending Assigned To Whatsapp for IncidentId:21344


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"917488126002","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"oqsha_ticket_update_whatsapp_template_v4","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"sephali kumari"},{"type":"text","text":"Safety Alert"},{"type":"text","text":"T/TTK/SAB/25/00040"},{"type":"text","text":"Safety Alert status updated to Validated., Comments are added as validated"},{"type":"text","text":"Safety Alert"},{"type":"text","text":" "},{"type":"text","text":"Coimbatore"},{"type":"text","text":"Unsafe Act"},{"type":"text","text":"sephali kumari"},{"type":"text","text":"TTK Beta - QA"},{"type":"text","text":"Validated"},{"type":"text","text":"https://qa-staging-2.oqsha.com/#/incidents/view/387/21344?dlType=viewTicket"},{"type":"text","text":"EHS Department - TTK Private Limited"}]}]}}}


Osmo-x WhatsApp Message has been Sent


# Preparing notification body #


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"918967697371","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"oqsha_ticket_update_whatsapp_template_v4","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"Sayan Mondal"},{"type":"text","text":"Safety Alert"},{"type":"text","text":"T/TTK/SAB/25/00040"},{"type":"text","text":"Safety Alert status updated to Validated., Comments are added as validated"},{"type":"text","text":"Safety Alert"},{"type":"text","text":" "},{"type":"text","text":"Coimbatore"},{"type":"text","text":"Unsafe Act"},{"type":"text","text":"sephali kumari"},{"type":"text","text":"TTK Beta - QA"},{"type":"text","text":"Validated"},{"type":"text","text":"https://qa-staging-2.oqsha.com/#/incidents/view/387/21344?dlType=viewTicket"},{"type":"text","text":"EHS Department - TTK Private Limited"}]}]}}}


Sending email for incident closure


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"91434342231232","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"oqsha_ticket_update_whatsapp_template_v4","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"Test Consent"},{"type":"text","text":"Safety Alert"},{"type":"text","text":"T/TTK/SAB/25/00040"},{"type":"text","text":"Safety Alert status updated to Validated., Comments are added as validated"},{"type":"text","text":"Safety Alert"},{"type":"text","text":" "},{"type":"text","text":"Coimbatore"},{"type":"text","text":"Unsafe Act"},{"type":"text","text":"sephali kumari"},{"type":"text","text":"TTK Beta - QA"},{"type":"text","text":"Validated"},{"type":"text","text":"https://qa-staging-2.oqsha.com/#/incidents/view/387/21344?dlType=viewTicket"},{"type":"text","text":"EHS Department - TTK Private Limited"}]}]}}}


### Ended processing Update incident Event ###


### End Event Execution ###


### Start Event Execution ###


Message : {"EventName":"INCIDENT_CLOSURE_NOTIFICATION_VALIDATION_2","EventArgs":[{"Key":"IncidentId","Value":21344},{"Key":"ClosedById","Value":1954}]}


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


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


Generating report.


## Sending notification to EHS head user ##


## Notification to be send for these users: [1403,898]


## Sending email to Lakhan TTK, UserId : 1403 for Incident Closure Validation notification ##


Sending Incident Closure Validation Email for IncidentId:21344


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


Reading and binding data to Email Template


Initializing Email Service Client


Generating Email Request


Safety Alert Validation For Closure


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


--- Email response from Osmo-x is 201


Sending Inform-To Update WhatsApp for IncidentId:21344


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"918885857714","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"oqsha_ticket_validation_level_2_whatsapp_template_ttk_v2","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"Lakhan TTK"},{"type":"text","text":"Lalit Aditya Kola"},{"type":"text","text":"T/TTK/SAB/25/00040"},{"type":"text","text":"25-Sep-2025 12:14:19 PM"},{"type":"text","text":"Unsafe Act"},{"type":"text","text":"Coimbatore"},{"type":"text","text":"Coimbatore"},{"type":"text","text":""},{"type":"text","text":"sephali kumari"},{"type":"text","text":"https://qa-staging-2.oqsha.com/#/incidents/view/387/21344?dlType=viewTicket"},{"type":"text","text":"EHS Department - TTK Private Limited"}]}]}}}


Osmo-x WhatsApp Message has been Sent


## Sending email to sephali kumari, UserId : 898 for Incident Closure Validation notification ##


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"917488126002","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"oqsha_ticket_validation_level_2_whatsapp_template_ttk_v2","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"sephali kumari"},{"type":"text","text":"Lalit Aditya Kola"},{"type":"text","text":"T/TTK/SAB/25/00040"},{"type":"text","text":"25-Sep-2025 12:14:19 PM"},{"type":"text","text":"Unsafe Act"},{"type":"text","text":"Coimbatore"},{"type":"text","text":"Coimbatore"},{"type":"text","text":""},{"type":"text","text":"sephali kumari"},{"type":"text","text":"https://qa-staging-2.oqsha.com/#/incidents/view/387/21344?dlType=viewTicket"},{"type":"text","text":"EHS Department - TTK Private Limited"}]}]}}}


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


### End Event Execution ###


### Start Event Execution ###


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


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


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


# Calling  SendNotification function for  all types of notification #


Sending Email for IncidentId:21344


Initializing Email Service Client


Generating Email Request


Ticket Safety Alert has been updated


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


--- Email response from Osmo-x is 201


Sending Assigned To Whatsapp for IncidentId:21344