### Start Event Execution ###


Message : {"EventName":"Update_USER","EventArgs":[{"Key":"DisplayName","Value":"Sayan Mondal"},{"Key":"Password","Value":""},{"Key":"OrganisationName","Value":"TTK Beta - QA"},{"Key":"UserDivisions","Value":"Near Miss, Observation, Unsafe Act, Unsafe Condition"},{"Key":"UserIncidentSites","Value":"Delhi"},{"Key":"OldEmail","Value":""},{"Key":"Email","Value":"sayanm2807@gmail.com"}]}


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


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


Calling Send Email Function for Update User Email


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


Reading and binding data to Email Template


Initializing Email Service Client


Generating Email Request


Your OQSHA Access Has Been Updated

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


Message : {"EventName":"Update_APP_USER","EventArgs":[{"Key":"DisplayName","Value":"Sayan Mondal"},{"Key":"Password","Value":""},{"Key":"OrganisationName","Value":"TTK Beta - QA"},{"Key":"UserUid","Value":"8967697371"},{"Key":"UserDivisions","Value":"Near Miss, Observation, Unsafe Act, Unsafe Condition"},{"Key":"UserIncidentSites","Value":"Delhi"},{"Key":"Email","Value":"sayanm2807@gmail.com"},{"Key":"MobileNumber","Value":"+918967697371"}]}


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


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


Your OQSHA Access Has Been Updated


### Start Event Execution ###


Message : {"EventName":"Update_USER","EventArgs":[{"Key":"DisplayName","Value":"Sayan Mondal"},{"Key":"Password","Value":""},{"Key":"OrganisationName","Value":"TTK Beta - QA"},{"Key":"UserDivisions","Value":"Near Miss, Unsafe Act, Unsafe Condition"},{"Key":"UserIncidentSites","Value":"Coimbatore, Delhi, Hosur, Khadri, Regression, Roorkee, SamarSite, site - 2, Sshristi, Testing site, TTK Beta, TTK PWA, Ttk Pwa Site"},{"Key":"OldEmail","Value":""},{"Key":"Email","Value":"sayanm2807@gmail.com"}]}


Message : {"EventName":"Update_APP_USER","EventArgs":[{"Key":"DisplayName","Value":"Sayan Mondal"},{"Key":"Password","Value":""},{"Key":"OrganisationName","Value":"TTK Beta - QA"},{"Key":"UserUid","Value":"8967697371"},{"Key":"UserDivisions","Value":"Near Miss, Unsafe Act, Unsafe Condition"},{"Key":"UserIncidentSites","Value":"Coimbatore, Delhi, Hosur, Khadri, Regression, Roorkee, SamarSite, site - 2, Sshristi, Testing site, TTK Beta, TTK PWA, Ttk Pwa Site"},{"Key":"Email","Value":"sayanm2807@gmail.com"},{"Key":"MobileNumber","Value":"+918967697371"}]}


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


### Started processing for Health Incident Creation Event ###


Executing email notifications to Supervisor/Site EHS for incident creation for OHC


A Incident - IMF/TTK/COI/III/25/00118 created for a OHC - HT/TTK/COI/WII/25/00013


Executing whatsapp notifications to Supervisor/Site EHS for incident creation for OHC


Sending WhatsApp for Heath incident creation to User: 1482


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"918249683426","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"oqsha_health_incident_creation_notification","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"Kumar Samarjeet"},{"type":"text","text":"Abhinav Srivastava"},{"type":"text","text":"IMF/TTK/COI/III/25/00118"},{"type":"text","text":"Raj Kumar Pativada"},{"type":"text","text":"19-Sep-2025 01:35:53 PM"},{"type":"text","text":"Coimbatore"},{"type":"text","text":"Create Incident from Health module. Location: "},{"type":"text","text":"https://oqsha.com/#/incident-management/report-incident/view/425"},{"type":"text","text":"EHS Department - TTK Private Limited"}]}]}}}


Osmo-x WhatsApp Message has been Sent


### Ended processing Health Incident Creation Event ###


### End Event Execution ###


Initializing Email Service Client


Generating Email Request


A Incident - IMF/TTK/COI/III/25/00119 created for a OHC - HT/TTK/COI/WII/25/00014


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


--- Email response from Osmo-x is 201


Sending WhatsApp for Heath incident creation to User: 1


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"919160948627","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"oqsha_health_incident_creation_notification","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"Raj Kumar Pativada"},{"type":"text","text":"Abhinav Srivastava"},{"type":"text","text":"IMF/TTK/COI/III/25/00119"},{"type":"text","text":"Raj Kumar Pativada"},{"type":"text","text":"19-Sep-2025 01:37:45 PM"},{"type":"text","text":"Coimbatore"},{"type":"text","text":"Create Incident from Health module. Location: Hyderabad"},{"type":"text","text":"https://oqsha.com/#/incident-management/report-incident/view/426"},{"type":"text","text":"EHS Department - TTK Private Limited"}]}]}}}


### Start Event Execution ###


Message : {"EventName":"INCIDENT_SUBMITTED_NOTIFICATION","EventArgs":[{"Key":"UserId","Value":"1403"},{"Key":"IncidentId","Value":"426"},{"Key":"OrgId","Value":"387"}]}


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


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


Reading and binding data to Email Template


A new incident has been reported


Executing whatsapp notifications to Incident Approvers about the Pending approval


Sending WhatsApp Notification for Incident Approval to User: 1403


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"918885857714","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"oqsha_incident_submitted_v2","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"Lakhan TTK"},{"type":"text","text":"IMF/TTK/COI/III/25/00119"},{"type":"text","text":"Raj Kumar Pativada"},{"type":"text","text":"19-Sep-2025 01:37:00 PM"},{"type":"text","text":"Coimbatore"},{"type":"text","text":"Create Incident from Health module. Location: Hyderabad"},{"type":"text","text":"0"},{"type":"text","text":"https://oqsha.com/#/incident-management/report-incident/view/426"},{"type":"text","text":"EHS Department - TTK Private Limited"}]}]}}}


Osmo-x WhatsApp Message has been Sent


### Ended processing Incident Submitted Event ###


### End Event Execution ###


Message : {"EventName":"INCIDENT_SUBMITTED_NOTIFICATION","EventArgs":[{"Key":"UserId","Value":"1403"},{"Key":"IncidentId","Value":"425"},{"Key":"OrgId","Value":"387"}]}


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":"918885857714","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"oqsha_incident_submitted_v2","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"Lakhan TTK"},{"type":"text","text":"IMF/TTK/COI/III/25/00118"},{"type":"text","text":"Raj Kumar Pativada"},{"type":"text","text":"19-Sep-2025 01:35:00 PM"},{"type":"text","text":"Coimbatore"},{"type":"text","text":"Create Incident from Health module. Location: "},{"type":"text","text":"0"},{"type":"text","text":"https://oqsha.com/#/incident-management/report-incident/view/425"},{"type":"text","text":"EHS Department - TTK Private Limited"}]}]}}}


### Start Event Execution ###


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


### Started processing for Health Incident Creation Event ###


Executing email notifications to Supervisor/Site EHS for incident creation for OHC


A Incident - IMF/TTK/COI/III/25/00120 created for a OHC - HT/TTK/COI/WII/25/00015


Executing whatsapp notifications to Supervisor/Site EHS for incident creation for OHC


Sending WhatsApp for Heath incident creation to User: 1


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"919160948627","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"oqsha_health_incident_creation_notification","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"Raj Kumar Pativada"},{"type":"text","text":""},{"type":"text","text":"IMF/TTK/COI/III/25/00120"},{"type":"text","text":"Raj Kumar Pativada"},{"type":"text","text":"19-Sep-2025 02:02:24 PM"},{"type":"text","text":"Coimbatore"},{"type":"text","text":"Create Incident from Health module. Location: "},{"type":"text","text":"https://oqsha.com/#/incident-management/report-incident/view/427"},{"type":"text","text":"EHS Department - TTK Private Limited"}]}]}}}


Osmo-x WhatsApp Message has been Sent


### Ended processing Health Incident Creation Event ###


### End Event Execution ###


Message : {"EventName":"Update_USER","EventArgs":[{"Key":"DisplayName","Value":"ADITYA CHAKRABORTY"},{"Key":"Password","Value":""},{"Key":"OrganisationName","Value":"TTK Beta - QA"},{"Key":"UserDivisions","Value":"Near Miss, Observation, Unsafe Act, Unsafe Condition"},{"Key":"UserIncidentSites","Value":"Coimbatore, Hosur, Khadri, Regression, Roorkee, SamarSite, site - 2, Sshristi, Testing site, TTK Beta"},{"Key":"OldEmail","Value":""},{"Key":"Email","Value":"aditya.c@osmosys.co"}]}


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


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


Calling Send Email Function for Update User Email


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


Reading and binding data to Email Template


Initializing Email Service Client


Generating Email Request


Your OQSHA Access Has Been Updated


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


--- Email response from Osmo-x is 201


### Start Event Execution ###


Message : {"EventName":"Update_APP_USER","EventArgs":[{"Key":"DisplayName","Value":"ADITYA CHAKRABORTY"},{"Key":"Password","Value":""},{"Key":"OrganisationName","Value":"TTK Beta - QA"},{"Key":"UserUid","Value":"7439381194"},{"Key":"UserDivisions","Value":"Near Miss, Observation, Unsafe Act, Unsafe Condition"},{"Key":"UserIncidentSites","Value":"Coimbatore, Hosur, Khadri, Regression, Roorkee, SamarSite, site - 2, Sshristi, Testing site, TTK Beta"},{"Key":"Email","Value":"aditya.c@osmosys.co"},{"Key":"MobileNumber","Value":"+917439381194"}]}


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


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


A Incident - IMF/TTK/COI/III/25/00121 created for a OHC - HT/TTK/COI/WII/25/00013


Sending WhatsApp for Heath incident creation to User: 1761


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"917273883504","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"oqsha_health_incident_creation_notification","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"Abhinav Srivastava"},{"type":"text","text":"Abhinav Srivastava"},{"type":"text","text":"IMF/TTK/COI/III/25/00121"},{"type":"text","text":"Raj Kumar Pativada"},{"type":"text","text":"19-Sep-2025 02:39:20 PM"},{"type":"text","text":"Coimbatore"},{"type":"text","text":"Create Incident from Health module. Location: "},{"type":"text","text":"https://oqsha.com/#/incident-management/report-incident/view/428"},{"type":"text","text":"EHS Department - TTK Private Limited"}]}]}}}


Osmo-x WhatsApp Message has been Sent


### End Event Execution ###


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


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/TCL/25/00020"},{"type":"text","text":" "},{"type":"text","text":"Coimbatore"},{"type":"text","text":"Observation"},{"type":"text","text":"Raj Kumar Pativada"},{"type":"text","text":"TTK Beta - QA"},{"type":"text","text":"Open"},{"type":"text","text":"https://qa-staging-2.oqsha.com/#/incidents/view/387/21327?dlType=viewTicket"},{"type":"text","text":"EHS Department - TTK Private Limited"}]}]}}}


Generating Safety Alert report.


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


### Start Event Execution ###


Message : {"EventName":"INFORM_TO_INCIDENT_CREATION_NOTIFICATION","EventArgs":[{"Key":"IncidentId","Value":21327},{"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/TCL/25/00020"},{"type":"text","text":" "},{"type":"text","text":"Coimbatore"},{"type":"text","text":"Observation"},{"type":"text","text":"Raj Kumar Pativada"},{"type":"text","text":"TTK Beta - QA"},{"type":"text","text":"Open"},{"type":"text","text":"https://qa-staging-2.oqsha.com/#/incidents/view/387/21327?dlType=viewTicket"},{"type":"text","text":"EHS Department - TTK Private Limited"}]}]}}}


Message : {"EventName":"INFORM_TO_INCIDENT_CREATION_NOTIFICATION","EventArgs":[{"Key":"IncidentId","Value":21327},{"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/TCL/25/00020"},{"type":"text","text":" "},{"type":"text","text":"Coimbatore"},{"type":"text","text":"Observation"},{"type":"text","text":"Raj Kumar Pativada"},{"type":"text","text":"TTK Beta - QA"},{"type":"text","text":"Open"},{"type":"text","text":"https://qa-staging-2.oqsha.com/#/incidents/view/387/21327?dlType=viewTicket"},{"type":"text","text":"EHS Department - TTK Private Limited"}]}]}}}


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


### Started processing for Health Incident Creation Event ###


Executing email notifications to Supervisor/Site EHS for incident creation for OHC


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


Reading and binding data to Email Template


Initializing Email Service Client


Generating Email Request


A Incident - IMF/TTK/COI/III/25/00122 created for a OHC - HT/TTK/COI/WII/25/00015


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


--- Email response from Osmo-x is 201


Executing whatsapp notifications to Supervisor/Site EHS for incident creation for OHC


Sending WhatsApp for Heath incident creation to User: 1761


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"917273883504","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"oqsha_health_incident_creation_notification","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"Abhinav Srivastava"},{"type":"text","text":"Abhinav Srivastava"},{"type":"text","text":"IMF/TTK/COI/III/25/00122"},{"type":"text","text":"Raj Kumar Pativada"},{"type":"text","text":"19-Sep-2025 02:49:08 PM"},{"type":"text","text":"Coimbatore"},{"type":"text","text":"Create Incident from Health module. Location: Hyderabad India"},{"type":"text","text":"https://oqsha.com/#/incident-management/report-incident/view/429"},{"type":"text","text":"EHS Department - TTK Private Limited"}]}]}}}


Osmo-x WhatsApp Message has been Sent


### Ended processing Health Incident Creation Event ###


### End Event Execution ###


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


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


### Start Event Execution ###


Message : {"EventName":"NOTIFICATION_FOR_WORK_PERMIT_CREATION","EventArgs":[{"Key":"WorkPermitId","Value":"276"},{"Key":"ApproverIds","Value":"[1954]"},{"Key":"SiteName","Value":"Coimbatore"},{"Key":"CreatedBy","Value":"Raj Kumar Pativada"},{"Key":"WorkPermitUid","Value":"WP/TTK/COI/CWW/25/00040"},{"Key":"OrgId","Value":387},{"Key":"OrganisationName","Value":"TTK Beta - QA"}]}


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


# Calling SendNotificationForWorkPermitCreation function for email/WhatsApp #


Executing email and WhatsApp notifications to WorkPermit approvers


Sending WorkPermit creation email to: lalit.a@osmosys.co


Initializing Email Service Client


Generating Email Request


New Work Permit Assigned


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


--- Email response from Osmo-x is 201


Sending WorkPermit creation WhatsApp message to: 919989248964


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"919989248964","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"oqsha_work_permit_creation_alert","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"Lalit Aditya Kola"},{"type":"text","text":"WP/TTK/COI/CWW/25/00040"},{"type":"text","text":"Coimbatore"},{"type":"text","text":"TTK Beta - QA"},{"type":"text","text":"Raj Kumar Pativada"},{"type":"text","text":"https://qa-staging-2.oqsha.com//#/work-permit/view/387/276&dlType=viewWorkPermit"},{"type":"text","text":"EHS Department - TTK Private Limited"}]}]}}}


Osmo-x WhatsApp Message has been Sent


### End 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: 1761


### Start Event Execution ###


Message : {"EventName":"ASSIGNED_TO_NOTIFICATION","EventArgs":[{"Key":"AssignedIncidentID","Value":21327},{"Key":"AssignedToID","Value":1761}]}


### 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 Abhinav Srivastava, UserId : 1761 for assigned to notification ##


Sending Assigned To Email for IncidentId:21327


*--- 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: 3809, UserId: 1761


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


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


--- Email response from Osmo-x is 201


### End Event Execution ###


A Safety Alert T/TTK/TCL/25/00020 is assigned to you related to 'Observation'


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


Sending Assigned To Whatsapp for IncidentId:21327


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"917273883504","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":"Abhinav Srivastava"},{"type":"text","text":"Safety Alert"},{"type":"text","text":"T/TTK/TCL/25/00020"},{"type":"text","text":" "},{"type":"text","text":"Coimbatore"},{"type":"text","text":"Observation"},{"type":"text","text":"Raj Kumar Pativada"},{"type":"text","text":"TTK Beta - QA"},{"type":"text","text":"Assigned"},{"type":"text","text":"https://qa-staging-2.oqsha.com/#/incidents/view/387/21327?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":21327},{"Key":"IncidentHistoryId","Value":8744},{"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:21327


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":"919160948627","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":"Raj Kumar Pativada"},{"type":"text","text":"Safety Alert"},{"type":"text","text":"T/TTK/TCL/25/00020"},{"type":"text","text":"Safety Alert status updated to Assigned"},{"type":"text","text":"Safety Alert"},{"type":"text","text":" "},{"type":"text","text":"Coimbatore"},{"type":"text","text":"Observation"},{"type":"text","text":"Raj Kumar Pativada"},{"type":"text","text":"TTK Beta - QA"},{"type":"text","text":"Assigned"},{"type":"text","text":"https://qa-staging-2.oqsha.com/#/incidents/view/387/21327?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 ###


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


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"919160948627","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":"Raj Kumar Pativada"},{"type":"text","text":"Safety Alert"},{"type":"text","text":"T/TTK/TCL/25/00020"},{"type":"text","text":"Safety Alert status updated to Resolved., Comments are added as Resolving it"},{"type":"text","text":"Safety Alert"},{"type":"text","text":" "},{"type":"text","text":"Coimbatore"},{"type":"text","text":"Observation"},{"type":"text","text":"Raj Kumar Pativada"},{"type":"text","text":"TTK Beta - QA"},{"type":"text","text":"Resolved"},{"type":"text","text":"https://qa-staging-2.oqsha.com/#/incidents/view/387/21327?dlType=viewTicket"},{"type":"text","text":"EHS Department - TTK Private Limited"}]}]}}}


# Preparing notification body #


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"917273883504","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":"Abhinav Srivastava"},{"type":"text","text":"Safety Alert"},{"type":"text","text":"T/TTK/TCL/25/00020"},{"type":"text","text":"Safety Alert status updated to Resolved., Comments are added as Resolving it"},{"type":"text","text":"Safety Alert"},{"type":"text","text":" "},{"type":"text","text":"Coimbatore"},{"type":"text","text":"Observation"},{"type":"text","text":"Raj Kumar Pativada"},{"type":"text","text":"TTK Beta - QA"},{"type":"text","text":"Resolved"},{"type":"text","text":"https://qa-staging-2.oqsha.com/#/incidents/view/387/21327?dlType=viewTicket"},{"type":"text","text":"EHS Department - TTK Private Limited"}]}]}}}


### Start Event Execution ###


Message : {"EventName":"INCIDENT_CLOSURE_NOTIFICATION_VALIDATION_1","EventArgs":[{"Key":"IncidentId","Value":21327},{"Key":"ClosedById","Value":1954}]}


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


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


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


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


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":"Lalit Aditya Kola"},{"type":"text","text":"T/TTK/TCL/25/00020"},{"type":"text","text":"19-Sep-2025 02:41:27 PM"},{"type":"text","text":"Observation"},{"type":"text","text":"Coimbatore"},{"type":"text","text":"Coimbatore"},{"type":"text","text":""},{"type":"text","text":"Raj Kumar Pativada"},{"type":"text","text":"https://qa-staging-2.oqsha.com/#/incidents/view/387/21327?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 ##


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":"Lalit Aditya Kola"},{"type":"text","text":"T/TTK/TCL/25/00020"},{"type":"text","text":"19-Sep-2025 02:41:27 PM"},{"type":"text","text":"Observation"},{"type":"text","text":"Coimbatore"},{"type":"text","text":"Coimbatore"},{"type":"text","text":""},{"type":"text","text":"Raj Kumar Pativada"},{"type":"text","text":"https://qa-staging-2.oqsha.com/#/incidents/view/387/21327?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":21327},{"Key":"IncidentHistoryId","Value":8747},{"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:21327


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


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"919160948627","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":"Raj Kumar Pativada"},{"type":"text","text":"Safety Alert"},{"type":"text","text":"T/TTK/TCL/25/00020"},{"type":"text","text":"Safety Alert status updated to Validated., Comments are added as Validating it"},{"type":"text","text":"Safety Alert"},{"type":"text","text":" "},{"type":"text","text":"Coimbatore"},{"type":"text","text":"Observation"},{"type":"text","text":"Raj Kumar Pativada"},{"type":"text","text":"TTK Beta - QA"},{"type":"text","text":"Validated"},{"type":"text","text":"https://qa-staging-2.oqsha.com/#/incidents/view/387/21327?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":"917273883504","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":"Abhinav Srivastava"},{"type":"text","text":"Safety Alert"},{"type":"text","text":"T/TTK/TCL/25/00020"},{"type":"text","text":"Safety Alert status updated to Validated., Comments are added as Validating it"},{"type":"text","text":"Safety Alert"},{"type":"text","text":" "},{"type":"text","text":"Coimbatore"},{"type":"text","text":"Observation"},{"type":"text","text":"Raj Kumar Pativada"},{"type":"text","text":"TTK Beta - QA"},{"type":"text","text":"Validated"},{"type":"text","text":"https://qa-staging-2.oqsha.com/#/incidents/view/387/21327?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":21327},{"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,1597]


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


Sending Incident Closure Validation Email for IncidentId:21327


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


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/TCL/25/00020"},{"type":"text","text":"19-Sep-2025 02:41:27 PM"},{"type":"text","text":"Observation"},{"type":"text","text":"Coimbatore"},{"type":"text","text":"Coimbatore"},{"type":"text","text":""},{"type":"text","text":"Raj Kumar Pativada"},{"type":"text","text":"https://qa-staging-2.oqsha.com/#/incidents/view/387/21327?dlType=viewTicket"},{"type":"text","text":"EHS Department - TTK Private Limited"}]}]}}}


Osmo-x WhatsApp Message has been Sent


## Sending email to Sayan Mondal, UserId : 1597 for Incident Closure Validation notification ##


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"918967697371","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":"Sayan Mondal"},{"type":"text","text":"Lalit Aditya Kola"},{"type":"text","text":"T/TTK/TCL/25/00020"},{"type":"text","text":"19-Sep-2025 02:41:27 PM"},{"type":"text","text":"Observation"},{"type":"text","text":"Coimbatore"},{"type":"text","text":"Coimbatore"},{"type":"text","text":""},{"type":"text","text":"Raj Kumar Pativada"},{"type":"text","text":"https://qa-staging-2.oqsha.com/#/incidents/view/387/21327?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_USER","EventArgs":[{"Key":"DisplayName","Value":"Raj Kumar Pativada"},{"Key":"Password","Value":""},{"Key":"OrganisationName","Value":"TTK Beta - QA"},{"Key":"UserDivisions","Value":"Near Miss, Observation, Unsafe Act, Unsafe Condition"},{"Key":"UserIncidentSites","Value":"Coimbatore, Delhi, Hosur, Khadri, Regression, Roorkee, SamarSite, site - 2, Sshristi, Testing site, TTK Beta, TTK PWA, Ttk Pwa Site"},{"Key":"OldEmail","Value":""},{"Key":"Email","Value":"rajkumar.p@osmosys.co"}]}


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


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


Calling Send Email Function for Update User Email


Initializing Email Service Client


Generating Email Request


Your OQSHA Access Has Been Updated


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


--- Email response from Osmo-x is 201


Message : {"EventName":"Update_APP_USER","EventArgs":[{"Key":"DisplayName","Value":"Raj Kumar Pativada"},{"Key":"Password","Value":""},{"Key":"OrganisationName","Value":"TTK Beta - QA"},{"Key":"UserUid","Value":"9160948627"},{"Key":"UserDivisions","Value":"Near Miss, Observation, Unsafe Act, Unsafe Condition"},{"Key":"UserIncidentSites","Value":"Coimbatore, Delhi, Hosur, Khadri, Regression, Roorkee, SamarSite, site - 2, Sshristi, Testing site, TTK Beta, TTK PWA, Ttk Pwa Site"},{"Key":"Email","Value":"rajkumar.p@osmosys.co"},{"Key":"MobileNumber","Value":"+919160948627"}]}


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


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


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


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


Reading and binding data to Email Template


Ticket Safety Alert has been updated


Sending Assigned To Whatsapp for IncidentId:21327


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"919160948627","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":"Raj Kumar Pativada"},{"type":"text","text":"Safety Alert"},{"type":"text","text":"T/TTK/TCL/25/00020"},{"type":"text","text":"Safety Alert status updated to Closed., Comments are added as Closing it"},{"type":"text","text":"Safety Alert"},{"type":"text","text":" "},{"type":"text","text":"Coimbatore"},{"type":"text","text":"Observation"},{"type":"text","text":"Raj Kumar Pativada"},{"type":"text","text":"TTK Beta - QA"},{"type":"text","text":"Closed"},{"type":"text","text":"https://qa-staging-2.oqsha.com/#/incidents/view/387/21327?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


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


--- Email response from Osmo-x is 201


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"917273883504","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":"Abhinav Srivastava"},{"type":"text","text":"Safety Alert"},{"type":"text","text":"T/TTK/TCL/25/00020"},{"type":"text","text":"Safety Alert status updated to Closed., Comments are added as Closing it"},{"type":"text","text":"Safety Alert"},{"type":"text","text":" "},{"type":"text","text":"Coimbatore"},{"type":"text","text":"Observation"},{"type":"text","text":"Raj Kumar Pativada"},{"type":"text","text":"TTK Beta - QA"},{"type":"text","text":"Closed"},{"type":"text","text":"https://qa-staging-2.oqsha.com/#/incidents/view/387/21327?dlType=viewTicket"},{"type":"text","text":"EHS Department - TTK Private Limited"}]}]}}}


### Ended processing Update incident Event ###


### End Event Execution ###


### Start Event Execution ###


Message : {"EventName":"Update_USER","EventArgs":[{"Key":"DisplayName","Value":"Raj Kumar Pativada"},{"Key":"Password","Value":""},{"Key":"OrganisationName","Value":"TTK Beta - QA"},{"Key":"UserDivisions","Value":"Near Miss, Observation, Unsafe Act, Unsafe Condition"},{"Key":"UserIncidentSites","Value":"Coimbatore, Delhi, Hosur, Khadri, Regression, Roorkee, SamarSite, site - 2, Sshristi, Testing site, TTK Beta, TTK PWA, Ttk Pwa Site"},{"Key":"OldEmail","Value":""},{"Key":"Email","Value":"rajkumar.p@osmosys.co"}]}


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


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


Calling Send Email Function for Update User Email


Your OQSHA Access Has Been Updated


Message : {"EventName":"Update_APP_USER","EventArgs":[{"Key":"DisplayName","Value":"Raj Kumar Pativada"},{"Key":"Password","Value":""},{"Key":"OrganisationName","Value":"TTK Beta - QA"},{"Key":"UserUid","Value":"9160948627"},{"Key":"UserDivisions","Value":"Near Miss, Observation, Unsafe Act, Unsafe Condition"},{"Key":"UserIncidentSites","Value":"Coimbatore, Delhi, Hosur, Khadri, Regression, Roorkee, SamarSite, site - 2, Sshristi, Testing site, TTK Beta, TTK PWA, Ttk Pwa Site"},{"Key":"Email","Value":"rajkumar.p@osmosys.co"},{"Key":"MobileNumber","Value":"+919160948627"}]}


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


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


Message : {"EventName":"WORK_PERMIT_APPROVED_INFORM_TO_CREATOR_NOTIFICATION","EventArgs":[{"Key":"CreatorId","Value":"1"},{"Key":"ApproverName","Value":"Lalit Aditya Kola"},{"Key":"WorkPermitId","Value":"276"},{"Key":"WorkPermitUid","Value":"WP/TTK/COI/CWW/25/00040"},{"Key":"SiteName","Value":"Coimbatore"},{"Key":"OrganisationName","Value":"TTK Beta - QA"},{"Key":"ApprovedOn","Value":"19-Sep-2025 03:50:46 PM"},{"Key":"OrgId","Value":387}]}


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


# Calling SendWorkPermitApprovedInformToCreatorNotification function for email #


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


Sending WorkPermit Approver Clarification email to WorkPermit Creator: rajkumar.p@osmosys.co


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


Reading and binding data to Email Template


Initializing Email Service Client


Generating Email Request


Lalit Aditya Kola has Approved your Work Permit


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


--- Email response from Osmo-x is 201


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


Sending WhatsApp for WorkPermit to user: 1


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"919160948627","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"oqsha_work_permit_approved_inform_to","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"Raj Kumar Pativada"},{"type":"text","text":"Lalit Aditya Kola"},{"type":"text","text":"WP/TTK/COI/CWW/25/00040"},{"type":"text","text":"Coimbatore"},{"type":"text","text":"TTK Beta - QA"},{"type":"text","text":"19-Sep-2025 03:50:46 PM"},{"type":"text","text":"https://qa-staging-2.oqsha.com//#/work-permit/view/387/276&dlType=viewWorkPermit"},{"type":"text","text":"EHS Department - TTK Private Limited"}]}]}}}


Osmo-x WhatsApp Message has been Sent


### End Event Execution ###


### Start Event Execution ###


Message : {"EventName":"NOTIFICATION_FOR_WORK_PERMIT_CREATION","EventArgs":[{"Key":"WorkPermitId","Value":"277"},{"Key":"ApproverIds","Value":"[1954]"},{"Key":"SiteName","Value":"Coimbatore"},{"Key":"CreatedBy","Value":"Raj Kumar Pativada"},{"Key":"WorkPermitUid","Value":"WP/TTK/COI/CWW/25/00041"},{"Key":"OrgId","Value":387},{"Key":"OrganisationName","Value":"TTK Beta - QA"}]}


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


# Calling SendNotificationForWorkPermitCreation function for email/WhatsApp #


Executing email and WhatsApp notifications to WorkPermit approvers


Sending WorkPermit creation email to: lalit.a@osmosys.co


New Work Permit Assigned


Sending WorkPermit creation WhatsApp message to: 919989248964


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"919989248964","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"oqsha_work_permit_creation_alert","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"Lalit Aditya Kola"},{"type":"text","text":"WP/TTK/COI/CWW/25/00041"},{"type":"text","text":"Coimbatore"},{"type":"text","text":"TTK Beta - QA"},{"type":"text","text":"Raj Kumar Pativada"},{"type":"text","text":"https://qa-staging-2.oqsha.com//#/work-permit/view/387/277&dlType=viewWorkPermit"},{"type":"text","text":"EHS Department - TTK Private Limited"}]}]}}}


Message : {"EventName":"Update_USER","EventArgs":[{"Key":"DisplayName","Value":"Raj Kumar Pativada"},{"Key":"Password","Value":""},{"Key":"OrganisationName","Value":"TTK Beta - QA"},{"Key":"UserDivisions","Value":"Near Miss, Observation, Unsafe Act, Unsafe Condition"},{"Key":"UserIncidentSites","Value":"Coimbatore, Delhi, Hosur, Khadri, Regression, Roorkee, SamarSite, site - 2, Sshristi, Testing site, TTK Beta, TTK PWA, Ttk Pwa Site"},{"Key":"OldEmail","Value":""},{"Key":"Email","Value":"rajkumar.p@osmosys.co"}]}


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


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


Calling Send Email Function for Update User Email


Initializing Email Service Client


Generating Email Request


Your OQSHA Access Has Been Updated


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


--- Email response from Osmo-x is 201


### End Event Execution ###


### Start Event Execution ###


Message : {"EventName":"Update_APP_USER","EventArgs":[{"Key":"DisplayName","Value":"Raj Kumar Pativada"},{"Key":"Password","Value":""},{"Key":"OrganisationName","Value":"TTK Beta - QA"},{"Key":"UserUid","Value":"9160948627"},{"Key":"UserDivisions","Value":"Near Miss, Observation, Unsafe Act, Unsafe Condition"},{"Key":"UserIncidentSites","Value":"Coimbatore, Delhi, Hosur, Khadri, Regression, Roorkee, SamarSite, site - 2, Sshristi, Testing site, TTK Beta, TTK PWA, Ttk Pwa Site"},{"Key":"Email","Value":"rajkumar.p@osmosys.co"},{"Key":"MobileNumber","Value":"+919160948627"}]}


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


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


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


Reading and binding data to Email Template


Message : {"EventName":"WORK_PERMIT_APPROVED_INFORM_TO_CREATOR_NOTIFICATION","EventArgs":[{"Key":"CreatorId","Value":"1"},{"Key":"ApproverName","Value":"Lalit Aditya Kola"},{"Key":"WorkPermitId","Value":"277"},{"Key":"WorkPermitUid","Value":"WP/TTK/COI/CWW/25/00041"},{"Key":"SiteName","Value":"Coimbatore"},{"Key":"OrganisationName","Value":"TTK Beta - QA"},{"Key":"ApprovedOn","Value":"19-Sep-2025 04:07:46 PM"},{"Key":"OrgId","Value":387}]}


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


# Calling SendWorkPermitApprovedInformToCreatorNotification function for email #


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


Sending WorkPermit Approver Clarification email to WorkPermit Creator: rajkumar.p@osmosys.co


Initializing Email Service Client


Generating Email Request


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


Sending WhatsApp for WorkPermit to user: 1


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"919160948627","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"oqsha_work_permit_approved_inform_to","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"Raj Kumar Pativada"},{"type":"text","text":"Lalit Aditya Kola"},{"type":"text","text":"WP/TTK/COI/CWW/25/00041"},{"type":"text","text":"Coimbatore"},{"type":"text","text":"TTK Beta - QA"},{"type":"text","text":"19-Sep-2025 04:07:46 PM"},{"type":"text","text":"https://qa-staging-2.oqsha.com//#/work-permit/view/387/277&dlType=viewWorkPermit"},{"type":"text","text":"EHS Department - TTK Private Limited"}]}]}}}


Osmo-x WhatsApp Message has been Sent


### End Event Execution ###


### Start Event Execution ###


Message : {"EventName":"NOTIFICATION_FOR_WORK_PERMIT_CREATION","EventArgs":[{"Key":"WorkPermitId","Value":"278"},{"Key":"ApproverIds","Value":"[1954]"},{"Key":"SiteName","Value":"Coimbatore"},{"Key":"CreatedBy","Value":"Raj Kumar Pativada"},{"Key":"WorkPermitUid","Value":"WP/TTK/COI/CWW/25/00042"},{"Key":"OrgId","Value":387},{"Key":"OrganisationName","Value":"TTK Beta - QA"}]}


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


# Calling SendNotificationForWorkPermitCreation function for email/WhatsApp #


Executing email and WhatsApp notifications to WorkPermit approvers


Sending WorkPermit creation email to: lalit.a@osmosys.co


New Work Permit Assigned


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


--- Email response from Osmo-x is 201


Sending WorkPermit creation WhatsApp message to: 919989248964


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"919989248964","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"oqsha_work_permit_creation_alert","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"Lalit Aditya Kola"},{"type":"text","text":"WP/TTK/COI/CWW/25/00042"},{"type":"text","text":"Coimbatore"},{"type":"text","text":"TTK Beta - QA"},{"type":"text","text":"Raj Kumar Pativada"},{"type":"text","text":"https://qa-staging-2.oqsha.com//#/work-permit/view/387/278&dlType=viewWorkPermit"},{"type":"text","text":"EHS Department - TTK Private Limited"}]}]}}}


Message : {"EventName":"Update_USER","EventArgs":[{"Key":"DisplayName","Value":"Raj Kumar Pativada"},{"Key":"Password","Value":""},{"Key":"OrganisationName","Value":"TTK Beta - QA"},{"Key":"UserDivisions","Value":""},{"Key":"UserIncidentSites","Value":"Coimbatore, Delhi, Hosur, Khadri, Regression, Roorkee, SamarSite, site - 2, Sshristi, Testing site, TTK Beta, TTK PWA, Ttk Pwa Site"},{"Key":"OldEmail","Value":""},{"Key":"Email","Value":"rajkumar.p@osmosys.co"}]}


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


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


Calling Send Email Function for Update User Email


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


Reading and binding data to Email Template


Initializing Email Service Client


Generating Email Request


Your OQSHA Access Has Been Updated


### End Event Execution ###


### Start Event Execution ###


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


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/00103"},{"type":"text","text":" "},{"type":"text","text":"Coimbatore"},{"type":"text","text":"Near Miss"},{"type":"text","text":"Sayan Mondal"},{"type":"text","text":"TTK Beta - QA"},{"type":"text","text":"Open"},{"type":"text","text":"https://qa-staging-2.oqsha.com/#/incidents/view/387/21328?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":21328},{"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/00103"},{"type":"text","text":" "},{"type":"text","text":"Coimbatore"},{"type":"text","text":"Near Miss"},{"type":"text","text":"Sayan Mondal"},{"type":"text","text":"TTK Beta - QA"},{"type":"text","text":"Open"},{"type":"text","text":"https://qa-staging-2.oqsha.com/#/incidents/view/387/21328?dlType=viewTicket"},{"type":"text","text":"EHS Department - TTK Private Limited"}]}]}}}


Message : {"EventName":"INFORM_TO_INCIDENT_CREATION_NOTIFICATION","EventArgs":[{"Key":"IncidentId","Value":21328},{"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/00103"},{"type":"text","text":" "},{"type":"text","text":"Coimbatore"},{"type":"text","text":"Near Miss"},{"type":"text","text":"Sayan Mondal"},{"type":"text","text":"TTK Beta - QA"},{"type":"text","text":"Open"},{"type":"text","text":"https://qa-staging-2.oqsha.com/#/incidents/view/387/21328?dlType=viewTicket"},{"type":"text","text":"EHS Department - TTK Private Limited"}]}]}}}


Message : {"EventName":"NOTIFICATION_FOR_INSPECTION_CREATION","EventArgs":[{"Key":"UserIds","Value":"[1]"},{"Key":"InspectionUID","Value":"I/SST//TTT/25/00007"},{"Key":"Name","Value":"ABDGYG"},{"Key":"Type","Value":"Testers Type"},{"Key":"Organisation","Value":"STEST1"},{"Key":"Site","Value":"STest 2"},{"Key":"Department","Value":" "},{"Key":"Asset","Value":""},{"Key":"Status","Value":"Inspect"},{"Key":"CreatedBy","Value":"Raj Kumar Pativada"},{"Key":"CreatedOn","Value":"19-Sep-2025 04:40:09 PM"}]}


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


### End Event Execution ###


### Start Event Execution ###


Message : {"EventName":"NOTIFICATION_FOR_INSPECTION_UPDATE","EventArgs":[{"Key":"StringIssuerIds","Value":"[1]"},{"Key":"InspectionUID","Value":"I/SST//TTT/25/00007"},{"Key":"Name","Value":"ABDGYG"},{"Key":"Site","Value":"STest 2"},{"Key":"InspectedBy","Value":"Raj Kumar Pativada"},{"Key":"InspectedOn","Value":"19-Sep-2025 04:40:09 PM"},{"Key":"InspectionId","Value":"1463"}]}


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


Osmo-x WhatsApp Message has been Sent


Message : {"EventName":"Update_USER","EventArgs":[{"Key":"DisplayName","Value":"Raj Kumar Pativada"},{"Key":"Password","Value":""},{"Key":"OrganisationName","Value":"TTK Beta - QA"},{"Key":"UserDivisions","Value":"Near Miss, Observation, Unsafe Act, Unsafe Condition"},{"Key":"UserIncidentSites","Value":"Coimbatore, Delhi, Hosur, Khadri, Regression, Roorkee, SamarSite, site - 2, Sshristi, Testing site, TTK Beta, TTK PWA, Ttk Pwa Site"},{"Key":"OldEmail","Value":""},{"Key":"Email","Value":"rajkumar.p@osmosys.co"}]}


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


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


Calling Send Email Function for Update User Email


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


Reading and binding data to Email Template


Initializing Email Service Client


Generating Email Request


Your OQSHA Access Has Been Updated


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


--- Email response from Osmo-x is 201


### End Event Execution ###


### Start Event Execution ###


Message : {"EventName":"Update_APP_USER","EventArgs":[{"Key":"DisplayName","Value":"Raj Kumar Pativada"},{"Key":"Password","Value":""},{"Key":"OrganisationName","Value":"TTK Beta - QA"},{"Key":"UserUid","Value":"9160948627"},{"Key":"UserDivisions","Value":"Near Miss, Observation, Unsafe Act, Unsafe Condition"},{"Key":"UserIncidentSites","Value":"Coimbatore, Delhi, Hosur, Khadri, Regression, Roorkee, SamarSite, site - 2, Sshristi, Testing site, TTK Beta, TTK PWA, Ttk Pwa Site"},{"Key":"Email","Value":"rajkumar.p@osmosys.co"},{"Key":"MobileNumber","Value":"+919160948627"}]}


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


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


Message : {"EventName":"NOTIFICATION_FOR_WORK_PERMIT_CREATION","EventArgs":[{"Key":"WorkPermitId","Value":"279"},{"Key":"ApproverIds","Value":"[1]"},{"Key":"SiteName","Value":"Coimbatore"},{"Key":"CreatedBy","Value":"Raj Kumar Pativada"},{"Key":"WorkPermitUid","Value":"WP/TTK/COI/EWW/25/00004"},{"Key":"OrgId","Value":387},{"Key":"OrganisationName","Value":"TTK Beta - QA"}]}


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


# Calling SendNotificationForWorkPermitCreation function for email/WhatsApp #


Executing email and WhatsApp notifications to WorkPermit approvers


Sending WorkPermit creation email to: rajkumar.p@osmosys.co


New Work Permit Assigned


Sending WorkPermit creation WhatsApp message to: 919160948627


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"919160948627","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"oqsha_work_permit_creation_alert","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"Raj Kumar Pativada"},{"type":"text","text":"WP/TTK/COI/EWW/25/00004"},{"type":"text","text":"Coimbatore"},{"type":"text","text":"TTK Beta - QA"},{"type":"text","text":"Raj Kumar Pativada"},{"type":"text","text":"https://qa-staging-2.oqsha.com//#/work-permit/view/387/279&dlType=viewWorkPermit"},{"type":"text","text":"EHS Department - TTK Private Limited"}]}]}}}


Osmo-x WhatsApp Message has been Sent


Message : {"EventName":"NOTIFICATION_FOR_INSPECTION_CREATION","EventArgs":[{"Key":"UserIds","Value":"[1]"},{"Key":"InspectionUID","Value":"I/SST//TTT/25/00008"},{"Key":"Name","Value":"Bar Cutting Machine "},{"Key":"Type","Value":"Testers Type"},{"Key":"Organisation","Value":"STEST1"},{"Key":"Site","Value":"STest 2"},{"Key":"Department","Value":" "},{"Key":"Asset","Value":""},{"Key":"Status","Value":"Inspect"},{"Key":"CreatedBy","Value":"Raj Kumar Pativada"},{"Key":"CreatedOn","Value":"19-Sep-2025 06:01:42 PM"}]}


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


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"919160948627","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":"Raj Kumar Pativada"},{"type":"text","text":"I/SST//TTT/25/00008"},{"type":"text","text":"Bar Cutting Machine "},{"type":"text","text":"Testers Type"},{"type":"text","text":"STEST1"},{"type":"text","text":"STest 2"},{"type":"text","text":" "},{"type":"text","text":""},{"type":"text","text":"Inspect"},{"type":"text","text":"Raj Kumar Pativada"},{"type":"text","text":"19-Sep-2025 06:01:42 PM"}]}]}}}


### End Event Execution ###


### Start Event Execution ###


Message : {"EventName":"NOTIFICATION_FOR_INSPECTION_UPDATE","EventArgs":[{"Key":"StringIssuerIds","Value":"[1]"},{"Key":"InspectionUID","Value":"I/SST//TTT/25/00008"},{"Key":"Name","Value":"Bar Cutting Machine "},{"Key":"Site","Value":"STest 2"},{"Key":"InspectedBy","Value":"Raj Kumar Pativada"},{"Key":"InspectedOn","Value":"19-Sep-2025 06:01:42 PM"},{"Key":"InspectionId","Value":"1464"}]}


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


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"919160948627","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"oqsha_inspection_assigned_template","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"Raj Kumar Pativada"},{"type":"text","text":"I/SST//TTT/25/00008"},{"type":"text","text":"Bar Cutting Machine "},{"type":"text","text":"STest 2"},{"type":"text","text":"Raj Kumar Pativada"},{"type":"text","text":"19-Sep-2025 06:01:42 PM"},{"type":"text","text":"https://qa-staging-2.oqsha.com/#/inspection/view/1464"}]}]}}}


Message : {"EventName":"NOTIFICATION_FOR_INSPECTION_CREATION","EventArgs":[{"Key":"UserIds","Value":"[1]"},{"Key":"InspectionUID","Value":"I/SST//TTT/25/00009"},{"Key":"Name","Value":"Bar Cutting Machine "},{"Key":"Type","Value":"Testers Type"},{"Key":"Organisation","Value":"STEST1"},{"Key":"Site","Value":"STest 2"},{"Key":"Department","Value":" "},{"Key":"Asset","Value":""},{"Key":"Status","Value":"Inspect"},{"Key":"CreatedBy","Value":"Raj Kumar Pativada"},{"Key":"CreatedOn","Value":"19-Sep-2025 06:06:07 PM"}]}


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"919160948627","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":"Raj Kumar Pativada"},{"type":"text","text":"I/SST//TTT/25/00009"},{"type":"text","text":"Bar Cutting Machine "},{"type":"text","text":"Testers Type"},{"type":"text","text":"STEST1"},{"type":"text","text":"STest 2"},{"type":"text","text":" "},{"type":"text","text":""},{"type":"text","text":"Inspect"},{"type":"text","text":"Raj Kumar Pativada"},{"type":"text","text":"19-Sep-2025 06:06:07 PM"}]}]}}}


Message : {"EventName":"NOTIFICATION_FOR_WORK_PERMIT_CREATION","EventArgs":[{"Key":"WorkPermitId","Value":"280"},{"Key":"ApproverIds","Value":"[1954]"},{"Key":"SiteName","Value":"Coimbatore"},{"Key":"CreatedBy","Value":"Raj Kumar Pativada"},{"Key":"WorkPermitUid","Value":"WP/TTK/COI/CWW/25/00043"},{"Key":"OrgId","Value":387},{"Key":"OrganisationName","Value":"TTK Beta - QA"}]}


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


# Calling SendNotificationForWorkPermitCreation function for email/WhatsApp #


Executing email and WhatsApp notifications to WorkPermit approvers


Sending WorkPermit creation email to: lalit.a@osmosys.co


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


Reading and binding data to Email Template


Initializing Email Service Client


Generating Email Request


New Work Permit Assigned


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


--- Email response from Osmo-x is 201


Sending WorkPermit creation WhatsApp message to: 919989248964


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"919989248964","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"oqsha_work_permit_creation_alert","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"Lalit Aditya Kola"},{"type":"text","text":"WP/TTK/COI/CWW/25/00043"},{"type":"text","text":"Coimbatore"},{"type":"text","text":"TTK Beta - QA"},{"type":"text","text":"Raj Kumar Pativada"},{"type":"text","text":"https://qa-staging-2.oqsha.com//#/work-permit/view/387/280&dlType=viewWorkPermit"},{"type":"text","text":"EHS Department - TTK Private Limited"}]}]}}}


Osmo-x WhatsApp Message has been Sent


### End Event Execution ###


### Start Event Execution ###


Message : {"EventName":"WORK_PERMIT_APPROVED_INFORM_TO_CREATOR_NOTIFICATION","EventArgs":[{"Key":"CreatorId","Value":"1"},{"Key":"ApproverName","Value":"Lalit Aditya Kola"},{"Key":"WorkPermitId","Value":"280"},{"Key":"WorkPermitUid","Value":"WP/TTK/COI/CWW/25/00043"},{"Key":"SiteName","Value":"Coimbatore"},{"Key":"OrganisationName","Value":"TTK Beta - QA"},{"Key":"ApprovedOn","Value":"19-Sep-2025 06:34:30 PM"},{"Key":"OrgId","Value":387}]}


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


# Calling SendWorkPermitApprovedInformToCreatorNotification function for email #


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


Sending WorkPermit Approver Clarification email to WorkPermit Creator: rajkumar.p@osmosys.co


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


Sending WhatsApp for WorkPermit to user: 1


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"919160948627","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"oqsha_work_permit_approved_inform_to","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"Raj Kumar Pativada"},{"type":"text","text":"Lalit Aditya Kola"},{"type":"text","text":"WP/TTK/COI/CWW/25/00043"},{"type":"text","text":"Coimbatore"},{"type":"text","text":"TTK Beta - QA"},{"type":"text","text":"19-Sep-2025 06:34:30 PM"},{"type":"text","text":"https://qa-staging-2.oqsha.com//#/work-permit/view/387/280&dlType=viewWorkPermit"},{"type":"text","text":"EHS Department - TTK Private Limited"}]}]}}}


Message : {"EventName":"NOTIFICATION_FOR_WORK_PERMIT_CREATION","EventArgs":[{"Key":"WorkPermitId","Value":"281"},{"Key":"ApproverIds","Value":"[1]"},{"Key":"SiteName","Value":"Coimbatore"},{"Key":"CreatedBy","Value":"Raj Kumar Pativada"},{"Key":"WorkPermitUid","Value":"WP/TTK/COI/RWW/25/00024"},{"Key":"OrgId","Value":387},{"Key":"OrganisationName","Value":"TTK Beta - QA"}]}


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


# Calling SendNotificationForWorkPermitCreation function for email/WhatsApp #


Executing email and WhatsApp notifications to WorkPermit approvers


Sending WorkPermit creation email to: rajkumar.p@osmosys.co


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


Reading and binding data to Email Template


Initializing Email Service Client


Generating Email Request


New Work Permit Assigned


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


--- Email response from Osmo-x is 201


Sending WorkPermit creation WhatsApp message to: 919160948627


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"919160948627","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"oqsha_work_permit_creation_alert","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"Raj Kumar Pativada"},{"type":"text","text":"WP/TTK/COI/RWW/25/00024"},{"type":"text","text":"Coimbatore"},{"type":"text","text":"TTK Beta - QA"},{"type":"text","text":"Raj Kumar Pativada"},{"type":"text","text":"https://qa-staging-2.oqsha.com//#/work-permit/view/387/281&dlType=viewWorkPermit"},{"type":"text","text":"EHS Department - TTK Private Limited"}]}]}}}


Osmo-x WhatsApp Message has been Sent


### End Event Execution ###


### Start Event Execution ###


Message : {"EventName":"WORK_PERMIT_APPROVED_INFORM_TO_CREATOR_NOTIFICATION","EventArgs":[{"Key":"CreatorId","Value":"1"},{"Key":"ApproverName","Value":"Raj Kumar Pativada"},{"Key":"WorkPermitId","Value":"281"},{"Key":"WorkPermitUid","Value":"WP/TTK/COI/RWW/25/00024"},{"Key":"SiteName","Value":"Coimbatore"},{"Key":"OrganisationName","Value":"TTK Beta - QA"},{"Key":"ApprovedOn","Value":"19-Sep-2025 06:39:33 PM"},{"Key":"OrgId","Value":387}]}


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


# Calling SendWorkPermitApprovedInformToCreatorNotification function for email #


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


Sending WorkPermit Approver Clarification email to WorkPermit Creator: rajkumar.p@osmosys.co


Raj Kumar Pativada has Approved your Work Permit


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


Sending WhatsApp for WorkPermit to user: 1


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"919160948627","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"oqsha_work_permit_approved_inform_to","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"Raj Kumar Pativada"},{"type":"text","text":"Raj Kumar Pativada"},{"type":"text","text":"WP/TTK/COI/RWW/25/00024"},{"type":"text","text":"Coimbatore"},{"type":"text","text":"TTK Beta - QA"},{"type":"text","text":"19-Sep-2025 06:39:33 PM"},{"type":"text","text":"https://qa-staging-2.oqsha.com//#/work-permit/view/387/281&dlType=viewWorkPermit"},{"type":"text","text":"EHS Department - TTK Private Limited"}]}]}}}


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


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


Message : {"EventName":"NOTIFICATION_FOR_WORK_PERMIT_CREATION","EventArgs":[{"Key":"WorkPermitId","Value":"282"},{"Key":"ApproverIds","Value":"[1761]"},{"Key":"SiteName","Value":"Coimbatore"},{"Key":"CreatedBy","Value":"Lalit Aditya Kola"},{"Key":"WorkPermitUid","Value":"WP/TTK/COI/EWW/25/00005"},{"Key":"OrgId","Value":387},{"Key":"OrganisationName","Value":"TTK Beta - QA"}]}


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


# Calling SendNotificationForWorkPermitCreation function for email/WhatsApp #


Executing email and WhatsApp notifications to WorkPermit approvers


Sending WorkPermit creation email to: as9801233442@gmail.com


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


Reading and binding data to Email Template


Initializing Email Service Client


Generating Email Request


New Work Permit Assigned


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


--- Email response from Osmo-x is 201


Sending WorkPermit creation WhatsApp message to: 917273883504


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"917273883504","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"oqsha_work_permit_creation_alert","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"Abhinav Srivastava"},{"type":"text","text":"WP/TTK/COI/EWW/25/00005"},{"type":"text","text":"Coimbatore"},{"type":"text","text":"TTK Beta - QA"},{"type":"text","text":"Lalit Aditya Kola"},{"type":"text","text":"https://qa-staging-2.oqsha.com//#/work-permit/view/387/282&dlType=viewWorkPermit"},{"type":"text","text":"EHS Department - TTK Private Limited"}]}]}}}


Osmo-x WhatsApp Message has been Sent


### End Event Execution ###


### Start Event Execution ###


Message : {"EventName":"ADD_USER","EventArgs":[{"Key":"DisplayName","Value":"sephali kumari"},{"Key":"Password","Value":"$2a$11$ffjrSMxA.I4FYVHokakLAupi8RzZevZ4ch/ufR7grdcWJbX7M0Ybe"},{"Key":"OrganisationName","Value":"TTK Beta - QA"},{"Key":"UserDivisions","Value":"Near Miss, Observation, Unsafe Act, Unsafe Condition"},{"Key":"UserIncidentSites","Value":"Coimbatore, Delhi, Hosur, Khadri, Regression, Roorkee, SamarSite, site - 2, Sshristi, Testing site, TTK Beta, TTK PWA, Ttk Pwa Site"},{"Key":"OldEmail","Value":null},{"Key":"Email","Value":"sephali.k@osmosys.co"}]}


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


### Started Event for Add User Email ###


Calling Send Email Function for Add User Email


Welcome to OQSHA


Message : {"EventName":"Update_USER","EventArgs":[{"Key":"DisplayName","Value":"sephali kumari"},{"Key":"Password","Value":""},{"Key":"OrganisationName","Value":"TTK Beta - QA"},{"Key":"UserDivisions","Value":"Near Miss, Observation, Unsafe Act, Unsafe Condition"},{"Key":"UserIncidentSites","Value":"Coimbatore, Delhi, Hosur, Khadri, Regression, Roorkee, SamarSite, site - 2, Sshristi, Testing site, TTK Beta, TTK PWA, Ttk Pwa Site"},{"Key":"OldEmail","Value":""},{"Key":"Email","Value":"sephali.k@osmosys.co"}]}


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


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


Calling Send Email Function for Update User Email


Initializing Email Service Client


Generating Email Request


Your OQSHA Access Has Been Updated


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


--- Email response from Osmo-x is 201


Message : {"EventName":"Update_APP_USER","EventArgs":[{"Key":"DisplayName","Value":"sephali kumari"},{"Key":"Password","Value":""},{"Key":"OrganisationName","Value":"TTK Beta - QA"},{"Key":"UserUid","Value":"7488126002"},{"Key":"UserDivisions","Value":"Near Miss, Observation, Unsafe Act, Unsafe Condition"},{"Key":"UserIncidentSites","Value":"Coimbatore, Delhi, Hosur, Khadri, Regression, Roorkee, SamarSite, site - 2, Sshristi, Testing site, TTK Beta, TTK PWA, Ttk Pwa Site"},{"Key":"Email","Value":"sephali.k@osmosys.co"},{"Key":"MobileNumber","Value":"+917488126002"}]}


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


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


### End Event Execution ###


### Start Event Execution ###


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


# Calling SendNotificationForWorkPermitCreation function for email/WhatsApp #


Executing email and WhatsApp notifications to WorkPermit approvers


Sending WorkPermit creation email to: lalit.a@osmosys.co


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


Reading and binding data to Email Template


New Work Permit Assigned


Sending WorkPermit creation WhatsApp message to: 919989248964


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"919989248964","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"oqsha_work_permit_creation_alert","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"Lalit Aditya Kola"},{"type":"text","text":"WP/TTK/COI/CWW/25/00044"},{"type":"text","text":"Coimbatore"},{"type":"text","text":"TTK Beta - QA"},{"type":"text","text":"sephali kumari"},{"type":"text","text":"https://qa-staging-2.oqsha.com//#/work-permit/view/387/283&dlType=viewWorkPermit"},{"type":"text","text":"EHS Department - TTK Private Limited"}]}]}}}


Osmo-x WhatsApp Message has been Sent


Sending WorkPermit creation email to: as9801233442@gmail.com


Initializing Email Service Client


Generating Email Request


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


--- Email response from Osmo-x is 201


Sending WorkPermit creation WhatsApp message to: 917273883504


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"917273883504","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"oqsha_work_permit_creation_alert","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"Abhinav Srivastava"},{"type":"text","text":"WP/TTK/COI/RWW/25/00025"},{"type":"text","text":"Coimbatore"},{"type":"text","text":"TTK Beta - QA"},{"type":"text","text":"sephali kumari"},{"type":"text","text":"https://qa-staging-2.oqsha.com//#/work-permit/view/387/284&dlType=viewWorkPermit"},{"type":"text","text":"EHS Department - TTK Private Limited"}]}]}}}


### End Event Execution ###


### Start Event Execution ###


Message : {"EventName":"NOTIFICATION_FOR_INSPECTION_CREATION","EventArgs":[{"Key":"UserIds","Value":"[1954]"},{"Key":"InspectionUID","Value":"I/APR/abd/ATI/25/00031"},{"Key":"Name","Value":"Inspection at 20th September"},{"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":"Lalit Aditya Kola"},{"Key":"CreatedOn","Value":"20-Sep-2025 12:23:17 AM"}]}


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


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"919989248964","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":"Lalit Aditya Kola"},{"type":"text","text":"I/APR/abd/ATI/25/00031"},{"type":"text","text":"Inspection at 20th September"},{"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":"Lalit Aditya Kola"},{"type":"text","text":"20-Sep-2025 12:23:17 AM"}]}]}}}


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


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/00037"},{"type":"text","text":" "},{"type":"text","text":"Coimbatore"},{"type":"text","text":"Unsafe Act"},{"type":"text","text":"Sayan Mondal"},{"type":"text","text":"TTK Beta - QA"},{"type":"text","text":"Open"},{"type":"text","text":"https://qa-staging-2.oqsha.com/#/incidents/view/387/21329?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 ###


### End Event Execution ###


### Start Event Execution ###


Message : {"EventName":"INFORM_TO_INCIDENT_CREATION_NOTIFICATION","EventArgs":[{"Key":"IncidentId","Value":21329},{"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/00037"},{"type":"text","text":" "},{"type":"text","text":"Coimbatore"},{"type":"text","text":"Unsafe Act"},{"type":"text","text":"Sayan Mondal"},{"type":"text","text":"TTK Beta - QA"},{"type":"text","text":"Open"},{"type":"text","text":"https://qa-staging-2.oqsha.com/#/incidents/view/387/21329?dlType=viewTicket"},{"type":"text","text":"EHS Department - TTK Private Limited"}]}]}}}


Message : {"EventName":"INFORM_TO_INCIDENT_CREATION_NOTIFICATION","EventArgs":[{"Key":"IncidentId","Value":21329},{"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/00037"},{"type":"text","text":" "},{"type":"text","text":"Coimbatore"},{"type":"text","text":"Unsafe Act"},{"type":"text","text":"Sayan Mondal"},{"type":"text","text":"TTK Beta - QA"},{"type":"text","text":"Open"},{"type":"text","text":"https://qa-staging-2.oqsha.com/#/incidents/view/387/21329?dlType=viewTicket"},{"type":"text","text":"EHS Department - TTK Private Limited"}]}]}}}


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


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"917273883504","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":"Abhinav Srivastava"},{"type":"text","text":"TA/TTK/COI/INR/25/00063"},{"type":"text","text":"Medium"},{"type":"text","text":"New test action tracker"},{"type":"text","text":"20-Sep-2025"},{"type":"text","text":"https://qa-staging-2.oqsha.com/#/tasks/edit/3811?dlType=viewTask"},{"type":"text","text":"Action Tracker"},{"type":"text","text":"EHS Department - TTK Private Limited"}]}]}}}


Sending Task Assignment Email for TaskId: 3811, UserId: 1761


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


Reading and binding data to Email Template


Initializing Email Service Client


Generating Email Request


New Action Tracker Assigned - TA/TTK/COI/INR/25/00063


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


--- Email response from Osmo-x is 201


### End Event Execution ###