Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"919160948627","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":"Raj Kumar Pativada"},{"type":"text","text":"Lalit Aditya Kola"},{"type":"text","text":"T/TTK/SAB/25/00033"},{"type":"text","text":"11-Sep-2025 07:30:04 PM"},{"type":"text","text":"Unsafe Act"},{"type":"text","text":"Coimbatore"},{"type":"text","text":"Coimbatore"},{"type":"text","text":"Lopper"},{"type":"text","text":"Lalit Aditya Kola"},{"type":"text","text":"https://qa-staging.oqsha.com/#/incidents/view/387/21294?dlType=viewTicket"},{"type":"text","text":"EHS Department - TTK Private Limited"}]}]}}}


Osmo-x WhatsApp Message has been Sent


## Sending email to Kumar Samarjeet, UserId : 1482 for Incident Closure Validation notification ##


Sending Incident Closure Validation Email for IncidentId:21294


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


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"918249683426","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":"Kumar Samarjeet"},{"type":"text","text":"Lalit Aditya Kola"},{"type":"text","text":"T/TTK/SAB/25/00033"},{"type":"text","text":"11-Sep-2025 07:30:04 PM"},{"type":"text","text":"Unsafe Act"},{"type":"text","text":"Coimbatore"},{"type":"text","text":"Coimbatore"},{"type":"text","text":"Lopper"},{"type":"text","text":"Lalit Aditya Kola"},{"type":"text","text":"https://qa-staging.oqsha.com/#/incidents/view/387/21294?dlType=viewTicket"},{"type":"text","text":"EHS Department - TTK Private Limited"}]}]}}}


## Sending email to Mounika Consent, UserId : 916 for Incident Closure Validation notification ##


Safety Alert Validation For Closure

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


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"9145454545454","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":"Mounika Consent"},{"type":"text","text":"Lalit Aditya Kola"},{"type":"text","text":"T/TTK/SAB/25/00033"},{"type":"text","text":"11-Sep-2025 07:30:04 PM"},{"type":"text","text":"Unsafe Act"},{"type":"text","text":"Coimbatore"},{"type":"text","text":"Coimbatore"},{"type":"text","text":"Lopper"},{"type":"text","text":"Lalit Aditya Kola"},{"type":"text","text":"https://qa-staging.oqsha.com/#/incidents/view/387/21294?dlType=viewTicket"},{"type":"text","text":"EHS Department - TTK Private Limited"}]}]}}}


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


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/00033"},{"type":"text","text":"11-Sep-2025 07:30:04 PM"},{"type":"text","text":"Unsafe Act"},{"type":"text","text":"Coimbatore"},{"type":"text","text":"Coimbatore"},{"type":"text","text":"Lopper"},{"type":"text","text":"Lalit Aditya Kola"},{"type":"text","text":"https://qa-staging.oqsha.com/#/incidents/view/387/21294?dlType=viewTicket"},{"type":"text","text":"EHS Department - TTK Private Limited"}]}]}}}


Osmo-x WhatsApp Message has been Sent


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


### End Event Execution ###


### Start Event Execution ###


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


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


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


Initializing Email Service Client


Generating Email Request


A Incident - IMF/TTK/COI/III/25/00079 created for a OHC - HT/TTK/COI/OWW/25/00010


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


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"9145454545454","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":"Mounika Consent"},{"type":"text","text":"ADITYA CHAKRABORTY"},{"type":"text","text":"IMF/TTK/COI/III/25/00079"},{"type":"text","text":"Raj Kumar Pativada"},{"type":"text","text":"11-Sep-2025 07:33:32 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/345"},{"type":"text","text":"EHS Department - TTK Private Limited"}]}]}}}


Sending WhatsApp for Heath incident creation 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_health_incident_creation_notification","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"Lalit Aditya Kola"},{"type":"text","text":"ADITYA CHAKRABORTY"},{"type":"text","text":"IMF/TTK/COI/III/25/00079"},{"type":"text","text":"Raj Kumar Pativada"},{"type":"text","text":"11-Sep-2025 07:33:32 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/345"},{"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 Event Execution ###


Message : {"EventName":"WHATSAPP_TO_BATCH_PARTICIPANTS","EventArgs":[{"Key":"BatchParticipantIds","Value":"[50776]"},{"Key":"BatchId","Value":6202}]}


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


# Calling SendNotificationToBatchParticipants function for  whatsapp notification #


Executing completed course notification function to batch participants


Executing planned/Inprogress notification function to batch participants


Sending notification to batch participant for planned and in progress status1


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"919160948627","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"oqsha_planned_batch_latest_v1","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"Raj Kumar Pativada"},{"type":"text","text":"asdfasdfasdfasdfasfd"},{"type":"text","text":"Alphabet learning"},{"type":"text","text":"Aparna Constructions"},{"type":"text","text":"2 Week(s) 2 Day(s) 2 Hour(s)"},{"type":"text","text":"No faculty"},{"type":"text","text":"September 11, 2025  08:00:00 PM"},{"type":"text","text":"PLANNED"},{"type":"text","text":"https://qa-staging.oqsha.com/#/batches/view/310/125/6202?dlType=viewBatch"}]}]}}}


Message : {"EventName":"WHATSAPP_TO_BATCH_PARTICIPANTS","EventArgs":[{"Key":"BatchParticipantIds","Value":"[50777,50778,50779]"},{"Key":"BatchId","Value":6203}]}


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"919160948627","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"oqsha_planned_batch_latest_v1","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"Raj Kumar Pativada"},{"type":"text","text":"qwerqwerqwer"},{"type":"text","text":"Course on 10th Sept"},{"type":"text","text":"Aparna Constructions"},{"type":"text","text":"0 Week(s) 0 Day(s) 1 Hour(s)"},{"type":"text","text":"No faculty"},{"type":"text","text":"September 11, 2025  08:01:00 PM"},{"type":"text","text":"PLANNED"},{"type":"text","text":"https://qa-staging.oqsha.com/#/batches/view/310/399/6203?dlType=viewBatch"}]}]}}}


Sending notification to batch participant for planned and in progress status1597


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"918967697371","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"oqsha_planned_batch_latest_v1","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"Sayan Mondal"},{"type":"text","text":"qwerqwerqwer"},{"type":"text","text":"Course on 10th Sept"},{"type":"text","text":"Aparna Constructions"},{"type":"text","text":"0 Week(s) 0 Day(s) 1 Hour(s)"},{"type":"text","text":"No faculty"},{"type":"text","text":"September 11, 2025  08:01:00 PM"},{"type":"text","text":"PLANNED"},{"type":"text","text":"https://qa-staging.oqsha.com/#/batches/view/310/399/6203?dlType=viewBatch"}]}]}}}


Sending notification to batch participant for planned and in progress status1475


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"917735901811","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"oqsha_planned_batch_latest_v1","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"Sayan Mondal"},{"type":"text","text":"qwerqwerqwer"},{"type":"text","text":"Course on 10th Sept"},{"type":"text","text":"Aparna Constructions"},{"type":"text","text":"0 Week(s) 0 Day(s) 1 Hour(s)"},{"type":"text","text":"No faculty"},{"type":"text","text":"September 11, 2025  08:01:00 PM"},{"type":"text","text":"PLANNED"},{"type":"text","text":"https://qa-staging.oqsha.com/#/batches/view/310/399/6203?dlType=viewBatch"}]}]}}}


Osmo-x WhatsApp Message has been Sent


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, Hosur, Khadri, Regression, Roorkee, SamarSite, site - 2, Sshristi, Testing site, TTK Beta"},{"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


*--- 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":"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, Hosur, Khadri, Regression, Roorkee, SamarSite, site - 2, Sshristi, Testing site, TTK Beta"},{"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 ###


Message : {"EventName":"Update_USER","EventArgs":[{"Key":"DisplayName","Value":"Bishal Mondal"},{"Key":"Password","Value":""},{"Key":"OrganisationName","Value":"TTK Beta - QA"},{"Key":"UserDivisions","Value":"Near Miss, Observation, Unsafe Act, Unsafe Condition"},{"Key":"UserIncidentSites","Value":"Coimbatore"},{"Key":"OldEmail","Value":""},{"Key":"Email","Value":"bishal.m@osmosys.co"}]}


Message : {"EventName":"Update_APP_USER","EventArgs":[{"Key":"DisplayName","Value":"Bishal Mondal"},{"Key":"Password","Value":""},{"Key":"OrganisationName","Value":"TTK Beta - QA"},{"Key":"UserUid","Value":"7003236045"},{"Key":"UserDivisions","Value":"Near Miss, Observation, Unsafe Act, Unsafe Condition"},{"Key":"UserIncidentSites","Value":"Coimbatore"},{"Key":"Email","Value":"bishal.m@osmosys.co"},{"Key":"MobileNumber","Value":"+917003236045"}]}


Message : {"EventName":"Update_USER","EventArgs":[{"Key":"DisplayName","Value":"Lalit Aditya Kola"},{"Key":"Password","Value":""},{"Key":"OrganisationName","Value":"TTK Beta - QA"},{"Key":"UserDivisions","Value":"Unsafe Act, Near Miss, Unsafe Condition"},{"Key":"UserIncidentSites","Value":"Coimbatore"},{"Key":"OldEmail","Value":""},{"Key":"Email","Value":"lalit.a@osmosys.co"}]}


Message : {"EventName":"Update_APP_USER","EventArgs":[{"Key":"DisplayName","Value":"Lalit Aditya Kola"},{"Key":"Password","Value":""},{"Key":"OrganisationName","Value":"TTK Beta - QA"},{"Key":"UserUid","Value":""},{"Key":"UserDivisions","Value":"Unsafe Act, Near Miss, Unsafe Condition"},{"Key":"UserIncidentSites","Value":"Coimbatore"},{"Key":"Email","Value":"lalit.a@osmosys.co"},{"Key":"MobileNumber","Value":"+919989248964"}]}


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, Hosur, Khadri, Regression, Roorkee, SamarSite, site - 2, Sshristi, Testing site, TTK Beta"},{"Key":"OldEmail","Value":""},{"Key":"Email","Value":"rajkumar.p@osmosys.co"}]}


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, Hosur, Khadri, Regression, Roorkee, SamarSite, site - 2, Sshristi, Testing site, TTK Beta"},{"Key":"Email","Value":"rajkumar.p@osmosys.co"},{"Key":"MobileNumber","Value":"+919160948627"}]}


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


Initializing Email Service Client


Generating Email Request


A Incident - IMF/TTK/COI/III/25/00080 created for a OHC - HT/TTK/COI/OWI/25/00003


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


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"918919110596","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":"lakshman P"},{"type":"text","text":"Abhinav Srivastava"},{"type":"text","text":"IMF/TTK/COI/III/25/00080"},{"type":"text","text":"Raj Kumar Pativada"},{"type":"text","text":"11-Sep-2025 08:48:43 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/346"},{"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 Event Execution ###


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


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


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/00034"},{"type":"text","text":" "},{"type":"text","text":"Coimbatore"},{"type":"text","text":"Unsafe Act"},{"type":"text","text":"Lalit Aditya Kola"},{"type":"text","text":"TTK Beta - QA"},{"type":"text","text":"Open"},{"type":"text","text":"https://qa-staging.oqsha.com/#/incidents/view/387/21295?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":21295},{"Key":"InformToUserId","Value":916}]}


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"9145454545454","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":"Mounika Consent"},{"type":"text","text":"Safety Alert"},{"type":"text","text":"T/TTK/SAB/25/00034"},{"type":"text","text":" "},{"type":"text","text":"Coimbatore"},{"type":"text","text":"Unsafe Act"},{"type":"text","text":"Lalit Aditya Kola"},{"type":"text","text":"TTK Beta - QA"},{"type":"text","text":"Open"},{"type":"text","text":"https://qa-staging.oqsha.com/#/incidents/view/387/21295?dlType=viewTicket"},{"type":"text","text":"EHS Department - TTK Private Limited"}]}]}}}


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


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


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


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"9145454545454","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":"Mounika Consent"},{"type":"text","text":"Safety Alert"},{"type":"text","text":"T/TTK/SAB/25/00034"},{"type":"text","text":" "},{"type":"text","text":"Coimbatore"},{"type":"text","text":"Unsafe Act"},{"type":"text","text":"Lalit Aditya Kola"},{"type":"text","text":"TTK Beta - QA"},{"type":"text","text":"Assigned"},{"type":"text","text":"https://qa-staging.oqsha.com/#/incidents/view/387/21295?dlType=viewTicket"},{"type":"text","text":"EHS Department - TTK Private Limited"}]}]}}}


Osmo-x WhatsApp Message has been Sent


Sending Task Assignment Email for TaskId: 3547, UserId: 1482


*--- 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/SAT/25/00209


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


--- Email response from Osmo-x is 201


### End Event Execution ###


### Start Event Execution ###


Message : {"EventName":"ASSIGNED_TO_NOTIFICATION","EventArgs":[{"Key":"AssignedIncidentID","Value":21295},{"Key":"AssignedToID","Value":1482}]}


### 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 Kumar Samarjeet, UserId : 1482 for assigned to notification ##


Sending Assigned To Email for IncidentId:21295


A Safety Alert T/TTK/SAB/25/00034 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:21295


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"918249683426","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":"Kumar Samarjeet"},{"type":"text","text":"Safety Alert"},{"type":"text","text":"T/TTK/SAB/25/00034"},{"type":"text","text":" "},{"type":"text","text":"Coimbatore"},{"type":"text","text":"Unsafe Act"},{"type":"text","text":"Lalit Aditya Kola"},{"type":"text","text":"TTK Beta - QA"},{"type":"text","text":"Assigned"},{"type":"text","text":"https://qa-staging.oqsha.com/#/incidents/view/387/21295?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 ###


### End Event Execution ###


### Start Event Execution ###


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


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":"919989248964","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":"Lalit Aditya Kola"},{"type":"text","text":"Safety Alert"},{"type":"text","text":"T/TTK/SAB/25/00034"},{"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":"Lalit Aditya Kola"},{"type":"text","text":"TTK Beta - QA"},{"type":"text","text":"Assigned"},{"type":"text","text":"https://qa-staging.oqsha.com/#/incidents/view/387/21295?dlType=viewTicket"},{"type":"text","text":"EHS Department - TTK Private Limited"}]}]}}}


### Ended processing Update incident Event ###


Message : {"EventName":"TASK_CREATE_EHS_NOTIFICATION","EventArgs":[{"Key":"TaskId","Value":3549},{"Key":"OrgId","Value":387}]}


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


### Started processing for Task Creation Notification to site EHS Event ###


### End Event Execution ###


### Start Event Execution ###


Message : {"EventName":"TASK_CREATE_EHS_NOTIFICATION","EventArgs":[{"Key":"TaskId","Value":3550},{"Key":"OrgId","Value":387}]}


Message : {"EventName":"TASK_CREATE_EHS_NOTIFICATION","EventArgs":[{"Key":"TaskId","Value":3552},{"Key":"OrgId","Value":387}]}


Message : {"EventName":"TASK_CREATE_EHS_NOTIFICATION","EventArgs":[{"Key":"TaskId","Value":3553},{"Key":"OrgId","Value":387}]}


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


Sending Email for IncidentId:21295


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


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"919989248964","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":"Lalit Aditya Kola"},{"type":"text","text":"Safety Alert"},{"type":"text","text":"T/TTK/SAB/25/00034"},{"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":"Lalit Aditya Kola"},{"type":"text","text":"TTK Beta - QA"},{"type":"text","text":"Resolved"},{"type":"text","text":"https://qa-staging.oqsha.com/#/incidents/view/387/21295?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":"918249683426","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":"Kumar Samarjeet"},{"type":"text","text":"Safety Alert"},{"type":"text","text":"T/TTK/SAB/25/00034"},{"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":"Lalit Aditya Kola"},{"type":"text","text":"TTK Beta - QA"},{"type":"text","text":"Resolved"},{"type":"text","text":"https://qa-staging.oqsha.com/#/incidents/view/387/21295?dlType=viewTicket"},{"type":"text","text":"EHS Department - TTK Private Limited"}]}]}}}


### End Event Execution ###


### Start Event Execution ###


Message : {"EventName":"INCIDENT_CLOSURE_NOTIFICATION_VALIDATION_1","EventArgs":[{"Key":"IncidentId","Value":21295},{"Key":"ClosedById","Value":1482}]}


### 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: [1326,916]


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


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


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


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":"Kumar Samarjeet"},{"type":"text","text":"T/TTK/SAB/25/00034"},{"type":"text","text":"11-Sep-2025 08:49:46 PM"},{"type":"text","text":"Unsafe Act"},{"type":"text","text":"Coimbatore"},{"type":"text","text":"Coimbatore"},{"type":"text","text":""},{"type":"text","text":"Lalit Aditya Kola"},{"type":"text","text":"https://qa-staging.oqsha.com/#/incidents/view/387/21295?dlType=viewTicket"},{"type":"text","text":"EHS Department - TTK Private Limited"}]}]}}}


Osmo-x WhatsApp Message has been Sent


## Sending email to Mounika Consent, UserId : 916 for Incident Closure Validation notification ##


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"9145454545454","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":"Mounika Consent"},{"type":"text","text":"Kumar Samarjeet"},{"type":"text","text":"T/TTK/SAB/25/00034"},{"type":"text","text":"11-Sep-2025 08:49:46 PM"},{"type":"text","text":"Unsafe Act"},{"type":"text","text":"Coimbatore"},{"type":"text","text":"Coimbatore"},{"type":"text","text":""},{"type":"text","text":"Lalit Aditya Kola"},{"type":"text","text":"https://qa-staging.oqsha.com/#/incidents/view/387/21295?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":21295},{"Key":"IncidentHistoryId","Value":8620},{"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:21295


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


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"919989248964","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":"Lalit Aditya Kola"},{"type":"text","text":"Safety Alert"},{"type":"text","text":"T/TTK/SAB/25/00034"},{"type":"text","text":"Safety Alert status updated to Validated_1., Comments are added as validated 1"},{"type":"text","text":"Safety Alert"},{"type":"text","text":" "},{"type":"text","text":"Coimbatore"},{"type":"text","text":"Unsafe Act"},{"type":"text","text":"Lalit Aditya Kola"},{"type":"text","text":"TTK Beta - QA"},{"type":"text","text":"Validated_1"},{"type":"text","text":"https://qa-staging.oqsha.com/#/incidents/view/387/21295?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":"918249683426","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":"Kumar Samarjeet"},{"type":"text","text":"Safety Alert"},{"type":"text","text":"T/TTK/SAB/25/00034"},{"type":"text","text":"Safety Alert status updated to Validated_1., Comments are added as validated 1"},{"type":"text","text":"Safety Alert"},{"type":"text","text":" "},{"type":"text","text":"Coimbatore"},{"type":"text","text":"Unsafe Act"},{"type":"text","text":"Lalit Aditya Kola"},{"type":"text","text":"TTK Beta - QA"},{"type":"text","text":"Validated_1"},{"type":"text","text":"https://qa-staging.oqsha.com/#/incidents/view/387/21295?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":21295},{"Key":"ClosedById","Value":1326}]}


### 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: [1482,916,1403]


## Sending email to Kumar Samarjeet, UserId : 1482 for Incident Closure Validation notification ##


Sending Incident Closure Validation Email for IncidentId:21295


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


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"918249683426","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":"Kumar Samarjeet"},{"type":"text","text":"Bishal Mondal"},{"type":"text","text":"T/TTK/SAB/25/00034"},{"type":"text","text":"11-Sep-2025 08:49:46 PM"},{"type":"text","text":"Unsafe Act"},{"type":"text","text":"Coimbatore"},{"type":"text","text":"Coimbatore"},{"type":"text","text":""},{"type":"text","text":"Lalit Aditya Kola"},{"type":"text","text":"https://qa-staging.oqsha.com/#/incidents/view/387/21295?dlType=viewTicket"},{"type":"text","text":"EHS Department - TTK Private Limited"}]}]}}}


Osmo-x WhatsApp Message has been Sent


## Sending email to Mounika Consent, UserId : 916 for Incident Closure Validation notification ##


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"9145454545454","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":"Mounika Consent"},{"type":"text","text":"Bishal Mondal"},{"type":"text","text":"T/TTK/SAB/25/00034"},{"type":"text","text":"11-Sep-2025 08:49:46 PM"},{"type":"text","text":"Unsafe Act"},{"type":"text","text":"Coimbatore"},{"type":"text","text":"Coimbatore"},{"type":"text","text":""},{"type":"text","text":"Lalit Aditya Kola"},{"type":"text","text":"https://qa-staging.oqsha.com/#/incidents/view/387/21295?dlType=viewTicket"},{"type":"text","text":"EHS Department - TTK Private Limited"}]}]}}}


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


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


Reading and binding data to Email Template


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":"Bishal Mondal"},{"type":"text","text":"T/TTK/SAB/25/00034"},{"type":"text","text":"11-Sep-2025 08:49:46 PM"},{"type":"text","text":"Unsafe Act"},{"type":"text","text":"Coimbatore"},{"type":"text","text":"Coimbatore"},{"type":"text","text":""},{"type":"text","text":"Lalit Aditya Kola"},{"type":"text","text":"https://qa-staging.oqsha.com/#/incidents/view/387/21295?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":21295},{"Key":"IncidentHistoryId","Value":8621},{"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:21295


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


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"919989248964","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":"Lalit Aditya Kola"},{"type":"text","text":"Safety Alert"},{"type":"text","text":"T/TTK/SAB/25/00034"},{"type":"text","text":"Safety Alert status updated to Closed"},{"type":"text","text":"Safety Alert"},{"type":"text","text":" "},{"type":"text","text":"Coimbatore"},{"type":"text","text":"Unsafe Act"},{"type":"text","text":"Lalit Aditya Kola"},{"type":"text","text":"TTK Beta - QA"},{"type":"text","text":"Closed"},{"type":"text","text":"https://qa-staging.oqsha.com/#/incidents/view/387/21295?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":"918249683426","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":"Kumar Samarjeet"},{"type":"text","text":"Safety Alert"},{"type":"text","text":"T/TTK/SAB/25/00034"},{"type":"text","text":"Safety Alert status updated to Closed"},{"type":"text","text":"Safety Alert"},{"type":"text","text":" "},{"type":"text","text":"Coimbatore"},{"type":"text","text":"Unsafe Act"},{"type":"text","text":"Lalit Aditya Kola"},{"type":"text","text":"TTK Beta - QA"},{"type":"text","text":"Closed"},{"type":"text","text":"https://qa-staging.oqsha.com/#/incidents/view/387/21295?dlType=viewTicket"},{"type":"text","text":"EHS Department - TTK Private Limited"}]}]}}}


### Ended processing Update incident Event ###


### End Event Execution ###


### Start Event Execution ###


Message : {"EventName":"WHATSAPP_TO_BATCH_PARTICIPANTS","EventArgs":[{"Key":"BatchParticipantIds","Value":"[50786]"},{"Key":"BatchId","Value":6206}]}


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


# Calling SendNotificationToBatchParticipants function for  whatsapp notification #


Executing completed course notification function to batch participants


Executing planned/Inprogress notification function to batch participants


Sending notification to batch participant for planned and in progress status1


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"919160948627","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"oqsha_planned_batch_latest_v1","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"Raj Kumar Pativada"},{"type":"text","text":"werwer"},{"type":"text","text":"Alphabet learning"},{"type":"text","text":"Aparna Constructions"},{"type":"text","text":"2 Week(s) 2 Day(s) 2 Hour(s)"},{"type":"text","text":"No faculty"},{"type":"text","text":"September 11, 2025  09:01:00 PM"},{"type":"text","text":"PLANNED"},{"type":"text","text":"https://qa-staging.oqsha.com/#/batches/view/310/125/6206?dlType=viewBatch"}]}]}}}


Message : {"EventName":"WHATSAPP_TO_BATCH_PARTICIPANTS","EventArgs":[{"Key":"BatchParticipantIds","Value":"[50787]"},{"Key":"BatchId","Value":6207}]}


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"919160948627","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"oqsha_planned_batch_latest_v1","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"Raj Kumar Pativada"},{"type":"text","text":"serser"},{"type":"text","text":"Course on 10th Sept"},{"type":"text","text":"Aparna Constructions"},{"type":"text","text":"0 Week(s) 0 Day(s) 1 Hour(s)"},{"type":"text","text":"No faculty"},{"type":"text","text":"September 11, 2025  09:02:00 PM"},{"type":"text","text":"PLANNED"},{"type":"text","text":"https://qa-staging.oqsha.com/#/batches/view/310/399/6207?dlType=viewBatch"}]}]}}}


Message : {"EventName":"NOTIFICATION_FOR_MOC_CREATION","EventArgs":[{"Key":"MocId","Value":"732"},{"Key":"ApproverIds","Value":"[898]"},{"Key":"SiteName","Value":"Coimbatore"},{"Key":"CreatedBy","Value":"Raj Kumar Pativada"},{"Key":"MocUid","Value":"M/TTK/COI/NMT/25/00031"},{"Key":"OrgId","Value":387},{"Key":"OrganisationName","Value":"TTK Beta - QA"}]}


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


# Calling SendNotificationForMocCreation function for email/WhatsApp #


Executing email and WhatsApp notifications to MOC approvers


Sending MOC creation email to: sephali.k@osmosys.co


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


Reading and binding data to Email Template


Initializing Email Service Client


Generating Email Request


New MOC Assigned


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


--- Email response from Osmo-x is 201


Sending MOC creation WhatsApp message to: 917488126002


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"917488126002","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"oqsha_moc_creation_alert_v4","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"sephali kumari"},{"type":"text","text":"M/TTK/COI/NMT/25/00031"},{"type":"text","text":"Coimbatore"},{"type":"text","text":"TTK Beta - QA"},{"type":"text","text":"Raj Kumar Pativada"},{"type":"text","text":"https://qa-staging.oqsha.com/#/moc/edit-moc/387?orgID=732&dlType=viewMOC"},{"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_MOC_CREATION","EventArgs":[{"Key":"MocId","Value":"733"},{"Key":"ApproverIds","Value":"[1954]"},{"Key":"SiteName","Value":"Coimbatore"},{"Key":"CreatedBy","Value":"Lalit Aditya Kola"},{"Key":"MocUid","Value":"M/TTK/COI/SSS/25/00001"},{"Key":"OrgId","Value":387},{"Key":"OrganisationName","Value":"TTK Beta - QA"}]}


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


Sending MOC 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_moc_creation_alert_v4","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"Lalit Aditya Kola"},{"type":"text","text":"M/TTK/COI/SSS/25/00001"},{"type":"text","text":"Coimbatore"},{"type":"text","text":"TTK Beta - QA"},{"type":"text","text":"Lalit Aditya Kola"},{"type":"text","text":"https://qa-staging.oqsha.com/#/moc/edit-moc/387?orgID=733&dlType=viewMOC"},{"type":"text","text":"EHS Department - TTK Private Limited"}]}]}}}


Message : {"EventName":"MOC_APPROVED_INFORM_TO_CREATOR_NOTIFICATION","EventArgs":[{"Key":"CreatorId","Value":"1954"},{"Key":"ApproverName","Value":"Lalit Aditya Kola"},{"Key":"MocId","Value":"733"},{"Key":"MocUid","Value":"M/TTK/COI/SSS/25/00001"},{"Key":"SiteName","Value":"Coimbatore"},{"Key":"OrganisationName","Value":"TTK Beta - QA"},{"Key":"ApprovedOn","Value":"11-Sep-2025 09:29:05 PM"},{"Key":"OrgId","Value":387}]}


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


# Calling SendMOCApprovedInformToCreatorNotification function for email #


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


Sending MOC Approver Clarification email to MOC Creator: lalit.a@osmosys.co


Initializing Email Service Client


Generating Email Request


An Approver has Approved your MOC


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


--- Email response from Osmo-x is 201


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


Sending WhatsApp for MOC to user: 1954


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"919989248964","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"oqsha_moc_approved_inform_to_template_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":"M/TTK/COI/SSS/25/00001"},{"type":"text","text":"Coimbatore"},{"type":"text","text":"TTK Beta - QA"},{"type":"text","text":"11-Sep-2025 09:29:05 PM"},{"type":"text","text":"https://qa-staging.oqsha.com/#/moc/edit-moc/387?orgID=733&dlType=viewMOC"},{"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_MOC_CREATION","EventArgs":[{"Key":"MocId","Value":"734"},{"Key":"ApproverIds","Value":"[898]"},{"Key":"SiteName","Value":"Coimbatore"},{"Key":"CreatedBy","Value":"Raj Kumar Pativada"},{"Key":"MocUid","Value":"M/TTK/COI/NMT/25/00032"},{"Key":"OrgId","Value":387},{"Key":"OrganisationName","Value":"TTK Beta - QA"}]}


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


# Calling SendNotificationForMocCreation function for email/WhatsApp #


Executing email and WhatsApp notifications to MOC approvers


Sending MOC creation email to: sephali.k@osmosys.co


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


Reading and binding data to Email Template


Initializing Email Service Client


Generating Email Request


New MOC Assigned


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


--- Email response from Osmo-x is 201


Sending MOC creation WhatsApp message to: 917488126002


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"917488126002","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"oqsha_moc_creation_alert_v4","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"sephali kumari"},{"type":"text","text":"M/TTK/COI/NMT/25/00032"},{"type":"text","text":"Coimbatore"},{"type":"text","text":"TTK Beta - QA"},{"type":"text","text":"Raj Kumar Pativada"},{"type":"text","text":"https://qa-staging.oqsha.com/#/moc/edit-moc/387?orgID=734&dlType=viewMOC"},{"type":"text","text":"EHS Department - TTK Private Limited"}]}]}}}


Osmo-x WhatsApp Message has been Sent


### End Event Execution ###


### Start Event Execution ###


Message : {"EventName":"HIRA_APPROVAL_INVITATION_NOTIFICATION","EventArgs":[{"Key":"UserIds","Value":"[2114]"},{"Key":"HIRAId","Value":"455"},{"Key":"HIRAUid","Value":"H/TTK/COI/HHH/25/00026"},{"Key":"SiteName","Value":"Coimbatore"},{"Key":"InitiatorName","Value":"Raj Kumar Pativada"},{"Key":"OrganisationName","Value":"TTK Beta - QA"},{"Key":"OrgId","Value":387}]}


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


# Calling SendHIRAApprovalInvitationNotification function for email/WhatsApp #


Executing email notifications to HIRA Approvers about the Pending approval


Risk Assessment H/TTK/COI/HHH/25/00026 is awaiting your approval


Executing whatsapp notifications to HIRA Approvers about the Pending approval


Sending WhatsApp Notification for HIRA Approval to user: 2114


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"919268041051","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"oqsha_risk_approval_invitation_v2","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"Jeevanshu Goel"},{"type":"text","text":"H/TTK/COI/HHH/25/00026"},{"type":"text","text":"Coimbatore"},{"type":"text","text":"TTK Beta - QA"},{"type":"text","text":"Raj Kumar Pativada"},{"type":"text","text":"https://qa-staging.oqsha.com/#/risk-assessment/view/455"},{"type":"text","text":"EHS Department - TTK Private Limited"}]}]}}}


Message : {"EventName":"INVESTIGATION_SUBMITTED_NOTIFICATION","EventArgs":[{"Key":"UserId","Value":"1761"},{"Key":"IncidentId","Value":"242"},{"Key":"OrgId","Value":"387"}]}


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


### Started processing for Investigation Submitted Event ###


Executing email notifications to Investigation Approvers about the Pending approval


Initializing Email Service Client


Generating Email Request


You have been assigned to investigate an incident {0} IMF/TTK/COI/III/25/00043


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


--- Email response from Osmo-x is 201


Executing whatsapp notifications to Investigation Approvers about the Pending approval


Sending WhatsApp for Investigation Approval 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_investigation_submission_v2","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"Abhinav Srivastava"},{"type":"text","text":"IMF/TTK/COI/III/25/00043"},{"type":"text","text":"Raj Kumar Pativada"},{"type":"text","text":"03-Sep-2025 12:00:00 AM"},{"type":"text","text":"Coimbatore"},{"type":"text","text":"incident description"},{"type":"text","text":"0"},{"type":"text","text":"https://oqsha.com/#/incident-management/report-investigation/view/104"},{"type":"text","text":"EHS Department - TTK Private Limited"}]}]}}}


Osmo-x WhatsApp Message has been Sent


### Ended processing Investigation Submitted 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, Hosur, Khadri, Regression, Roorkee, SamarSite, site - 2, Sshristi, Testing site, TTK Beta"},{"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


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, Hosur, Khadri, Regression, Roorkee, SamarSite, site - 2, Sshristi, Testing site, TTK Beta"},{"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_MOC_CREATION","EventArgs":[{"Key":"MocId","Value":"735"},{"Key":"ApproverIds","Value":"[1815]"},{"Key":"SiteName","Value":"16 july 2025"},{"Key":"CreatedBy","Value":"Sayan Mondal"},{"Key":"MocUid","Value":"M/APR/16J/NSM/25/00009"},{"Key":"OrgId","Value":310},{"Key":"OrganisationName","Value":"Aparna Constructions"}]}


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


# Calling SendNotificationForMocCreation function for email/WhatsApp #


Executing email and WhatsApp notifications to MOC approvers


Sending MOC creation email to: test@test.com


New MOC Assigned


Sending MOC creation WhatsApp message to: 919999999999


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"919999999999","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"oqsha_moc_creation_alert_v4","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"Some User"},{"type":"text","text":"M/APR/16J/NSM/25/00009"},{"type":"text","text":"16 july 2025"},{"type":"text","text":"Aparna Constructions"},{"type":"text","text":"Sayan Mondal"},{"type":"text","text":"https://qa-staging.oqsha.com/#/moc/edit-moc/310?orgID=735&dlType=viewMOC"},{"type":"text","text":"EHS Department - Aparna Constructions"}]}]}}}


Osmo-x WhatsApp Message has been Sent


### End Event Execution ###


### Start Event Execution ###


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_USER","EventArgs":[{"Key":"DisplayName","Value":"Abhinav Srivastava"},{"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":"as9801233442@gmail.com"}]}


Message : {"EventName":"Update_APP_USER","EventArgs":[{"Key":"DisplayName","Value":"Abhinav Srivastava"},{"Key":"Password","Value":""},{"Key":"OrganisationName","Value":"TTK Beta - QA"},{"Key":"UserUid","Value":"7273883504"},{"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":"as9801233442@gmail.com"},{"Key":"MobileNumber","Value":"+917273883504"}]}


Message : {"EventName":"WORK_PERMIT_APPROVED_INFORM_TO_CREATOR_NOTIFICATION","EventArgs":[{"Key":"CreatorId","Value":"1"},{"Key":"ApproverName","Value":"Bishal Mondal"},{"Key":"WorkPermitId","Value":"66"},{"Key":"WorkPermitUid","Value":"WP/TTK/COI/HWK/25/00016"},{"Key":"SiteName","Value":"Coimbatore"},{"Key":"OrganisationName","Value":"TTK Beta - QA"},{"Key":"ApprovedOn","Value":"11-Sep-2025 11:37:26 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


Message : {"EventName":"WORK_PERMIT_APPROVAL_INVITATION_NOTIFICATION","EventArgs":[{"Key":"UserIds","Value":"[2407]"},{"Key":"WorkPermitId","Value":"66"},{"Key":"WorkPermitUid","Value":"WP/TTK/COI/HWK/25/00016"},{"Key":"SiteName","Value":"Coimbatore"},{"Key":"InitiatorName","Value":"Raj Kumar Pativada"},{"Key":"OrganisationName","Value":"TTK Beta - QA"},{"Key":"OrgId","Value":387}]}


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


# Calling SendWorkPermitApprovalInvitationNotification function for email/WhatsApp #


Executing email notifications to WorkPermit Approvers about the Pending approval


### End Event Execution ###


### Start Event Execution ###


Message : {"EventName":"WORK_PERMIT_APPROVED_INFORM_TO_CREATOR_NOTIFICATION","EventArgs":[{"Key":"CreatorId","Value":"1"},{"Key":"ApproverName","Value":"Mounika Laisetti"},{"Key":"WorkPermitId","Value":"66"},{"Key":"WorkPermitUid","Value":"WP/TTK/COI/HWK/25/00016"},{"Key":"SiteName","Value":"Coimbatore"},{"Key":"OrganisationName","Value":"TTK Beta - QA"},{"Key":"ApprovedOn","Value":"11-Sep-2025 11:37:35 PM"},{"Key":"OrgId","Value":387}]}


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


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


Message : {"EventName":"HIRA_APPROVAL_INVITATION_NOTIFICATION","EventArgs":[{"Key":"UserIds","Value":"[1954]"},{"Key":"HIRAId","Value":"457"},{"Key":"HIRAUid","Value":"H/TTK/COI/AFF/25/00019"},{"Key":"SiteName","Value":"Coimbatore"},{"Key":"InitiatorName","Value":"Lalit Aditya Kola"},{"Key":"OrganisationName","Value":"TTK Beta - QA"},{"Key":"OrgId","Value":387}]}


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


# Calling SendHIRAApprovalInvitationNotification function for email/WhatsApp #


Executing email notifications to HIRA Approvers about the Pending approval


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


Reading and binding data to Email Template


Initializing Email Service Client


Generating Email Request


Risk Assessment H/TTK/COI/AFF/25/00019 is awaiting your approval


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


--- Email response from Osmo-x is 201


Executing whatsapp notifications to HIRA Approvers about the Pending approval


Sending WhatsApp Notification for HIRA 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_risk_approval_invitation_v2","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"Lalit Aditya Kola"},{"type":"text","text":"H/TTK/COI/AFF/25/00019"},{"type":"text","text":"Coimbatore"},{"type":"text","text":"TTK Beta - QA"},{"type":"text","text":"Lalit Aditya Kola"},{"type":"text","text":"https://qa-staging.oqsha.com/#/risk-assessment/view/457"},{"type":"text","text":"EHS Department - TTK Private Limited"}]}]}}}


Osmo-x WhatsApp Message has been Sent


### End Event Execution ###


### Start Event Execution ###


Message : {"EventName":"HIRA_APPROVED_INFORM_TO_CREATOR_NOTIFICATION","EventArgs":[{"Key":"CreatorId","Value":"1954"},{"Key":"ApproverName","Value":"Lalit Aditya Kola"},{"Key":"HIRAId","Value":"457"},{"Key":"HIRAUid","Value":"H/TTK/COI/AFF/25/00019"},{"Key":"SiteName","Value":"Coimbatore"},{"Key":"OrganisationName","Value":"TTK Beta - QA"},{"Key":"ApprovedOn","Value":"11-Sep-2025 11:58:37 PM"},{"Key":"OrgId","Value":387}]}


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


# Calling SendHIRAApprovedInformToCreatorNotification function for email #


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


Sending HIRA Approval email to HIRA Creator: lalit.a@osmosys.co


An Approver has Approved Risk Assessment H/TTK/COI/AFF/25/00019


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


Sending WhatsApp for HIRA Approval to creator 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_risk_approval_notification_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":"H/TTK/COI/AFF/25/00019"},{"type":"text","text":"Coimbatore"},{"type":"text","text":"TTK Beta - QA"},{"type":"text","text":"11-Sep-2025 11:58:37 PM"},{"type":"text","text":"https://qa-staging.oqsha.com/#/risk-assessment/view/457"},{"type":"text","text":"EHS Department - TTK Private Limited"}]}]}}}


Message : {"EventName":"HIRA_APPROVAL_INVITATION_NOTIFICATION","EventArgs":[{"Key":"UserIds","Value":"[1326]"},{"Key":"HIRAId","Value":"457"},{"Key":"HIRAUid","Value":"H/TTK/COI/AFF/25/00019"},{"Key":"SiteName","Value":"Coimbatore"},{"Key":"InitiatorName","Value":"Lalit Aditya Kola"},{"Key":"OrganisationName","Value":"TTK Beta - QA"},{"Key":"OrgId","Value":387}]}


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


# Calling SendHIRAApprovalInvitationNotification function for email/WhatsApp #


Executing email notifications to HIRA Approvers about the Pending approval


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


Reading and binding data to Email Template


Initializing Email Service Client


Generating Email Request


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


--- Email response from Osmo-x is 201


Executing whatsapp notifications to HIRA Approvers about the Pending approval


Sending WhatsApp Notification for HIRA Approval to user: 1326


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"917003236045","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"oqsha_risk_approval_invitation_v2","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"Bishal Mondal"},{"type":"text","text":"H/TTK/COI/AFF/25/00019"},{"type":"text","text":"Coimbatore"},{"type":"text","text":"TTK Beta - QA"},{"type":"text","text":"Lalit Aditya Kola"},{"type":"text","text":"https://qa-staging.oqsha.com/#/risk-assessment/view/457"},{"type":"text","text":"EHS Department - TTK Private Limited"}]}]}}}


Osmo-x WhatsApp Message has been Sent


### End Event Execution ###


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


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


### Start Event Execution ###


Message : {"EventName":"INCIDENT_SUBMITTED_NOTIFICATION","EventArgs":[{"Key":"UserId","Value":"1482"},{"Key":"IncidentId","Value":"348"},{"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


A new incident has been reported


Executing whatsapp notifications to Incident Approvers about the Pending approval


Sending WhatsApp Notification for Incident Approval 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_incident_submitted_v2","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"Kumar Samarjeet"},{"type":"text","text":"IMF/TTK/COI/III/25/00081"},{"type":"text","text":"Raj Kumar Pativada"},{"type":"text","text":"13-Aug-2025 02:10:00 AM"},{"type":"text","text":"Coimbatore"},{"type":"text","text":"NA"},{"type":"text","text":"0"},{"type":"text","text":"https://oqsha.com/#/incident-management/report-incident/view/348"},{"type":"text","text":"EHS Department - TTK Private Limited"}]}]}}}


### Ended processing Incident Submitted Event ###


Message : {"EventName":"INCIDENT_VALIDATED_NOTIFICATION","EventArgs":[{"Key":"UserId","Value":"2407"},{"Key":"IncidentId","Value":"348"},{"Key":"OrgId","Value":"387"},{"Key":"PreviousApproverName","Value":"Raj Kumar Pativada"}]}


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


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


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


Reading and binding data to Email Template


Initializing Email Service Client


Generating Email Request


Incident IMF/TTK/COI/III/25/00081 has been validated


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


--- Email response from Osmo-x is 201


Sending WhatsApp for Incident Validation to User: 2407


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"917273883504","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"oqsha_incident_validate_v2","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"Mounika Laisetti"},{"type":"text","text":"Raj Kumar Pativada"},{"type":"text","text":"IMF/TTK/COI/III/25/00081"},{"type":"text","text":"Raj Kumar Pativada"},{"type":"text","text":"13-Aug-2025 02:10:00 AM"},{"type":"text","text":"Coimbatore"},{"type":"text","text":"NA"},{"type":"text","text":"0"},{"type":"text","text":"https://oqsha.com/#/incident-management/report-incident/view/348"},{"type":"text","text":"EHS Department - TTK Private Limited"}]}]}}}


Osmo-x WhatsApp Message has been Sent


### Ended processing Incident Validated Event ###


### End Event Execution ###


### Start Event Execution ###


Message : {"EventName":"INCIDENT_FIRRELEASED_NOTIFICATION","EventArgs":[{"Key":"UserId","Value":"1326"},{"Key":"IncidentId","Value":"348"},{"Key":"OrgId","Value":"387"},{"Key":"PreviousApproverName","Value":"Raj Kumar Pativada"}]}


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


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


Incident IMF/TTK/COI/III/25/00081 FIR has been released


Sending WhatsApp for Incident Approval to User: 1326


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"917003236045","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"oqsha_incident_fir_release_v2","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"Bishal Mondal"},{"type":"text","text":"Raj Kumar Pativada"},{"type":"text","text":"IMF/TTK/COI/III/25/00081"},{"type":"text","text":"Raj Kumar Pativada"},{"type":"text","text":"13-Aug-2025 02:10:00 AM"},{"type":"text","text":"Coimbatore"},{"type":"text","text":"NA"},{"type":"text","text":"0"},{"type":"text","text":"https://oqsha.com/#/incident-management/report-incident/view/348"},{"type":"text","text":"EHS Department - TTK Private Limited"}]}]}}}


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


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


Message : {"EventName":"Update_USER","EventArgs":[{"Key":"DisplayName","Value":"Prashanth Kona"},{"Key":"Password","Value":""},{"Key":"OrganisationName","Value":"TTK Beta - QA"},{"Key":"UserDivisions","Value":"Near Miss, Observation, Unsafe Act, Unsafe Condition"},{"Key":"UserIncidentSites","Value":"Coimbatore"},{"Key":"OldEmail","Value":""},{"Key":"Email","Value":"saiprashanth.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


### End Event Execution ###


### Start Event Execution ###


Message : {"EventName":"Update_APP_USER","EventArgs":[{"Key":"DisplayName","Value":"Prashanth Kona"},{"Key":"Password","Value":""},{"Key":"OrganisationName","Value":"TTK Beta - QA"},{"Key":"UserUid","Value":""},{"Key":"UserDivisions","Value":"Near Miss, Observation, Unsafe Act, Unsafe Condition"},{"Key":"UserIncidentSites","Value":"Coimbatore"},{"Key":"Email","Value":"saiprashanth.k@osmosys.co"},{"Key":"MobileNumber","Value":"+917993748762"}]}


### 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":"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, Hosur, Khadri, Regression, Roorkee, SamarSite, site - 2, Sshristi, Testing site, TTK Beta, Ttk Pwa Site"},{"Key":"OldEmail","Value":""},{"Key":"Email","Value":"rajkumar.p@osmosys.co"}]}


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, Hosur, Khadri, Regression, Roorkee, SamarSite, site - 2, Sshristi, Testing site, TTK Beta, Ttk Pwa Site"},{"Key":"Email","Value":"rajkumar.p@osmosys.co"},{"Key":"MobileNumber","Value":"+919160948627"}]}


Message : {"EventName":"Update_USER","EventArgs":[{"Key":"DisplayName","Value":"Lalit Aditya Kola"},{"Key":"Password","Value":""},{"Key":"OrganisationName","Value":"TTK Beta - QA"},{"Key":"UserDivisions","Value":"Near Miss, Unsafe Act, Unsafe Condition"},{"Key":"UserIncidentSites","Value":"Coimbatore"},{"Key":"OldEmail","Value":""},{"Key":"Email","Value":"lalit.a@osmosys.co"}]}


Message : {"EventName":"Update_APP_USER","EventArgs":[{"Key":"DisplayName","Value":"Lalit Aditya Kola"},{"Key":"Password","Value":""},{"Key":"OrganisationName","Value":"TTK Beta - QA"},{"Key":"UserUid","Value":""},{"Key":"UserDivisions","Value":"Near Miss, Unsafe Act, Unsafe Condition"},{"Key":"UserIncidentSites","Value":"Coimbatore"},{"Key":"Email","Value":"lalit.a@osmosys.co"},{"Key":"MobileNumber","Value":"+919989248964"}]}


Message : {"EventName":"Update_USER","EventArgs":[{"Key":"DisplayName","Value":"Abhinav Srivastava"},{"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":"as9801233442@gmail.com"}]}


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":"Abhinav Srivastava"},{"Key":"Password","Value":""},{"Key":"OrganisationName","Value":"TTK Beta - QA"},{"Key":"UserUid","Value":"7273883504"},{"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":"as9801233442@gmail.com"},{"Key":"MobileNumber","Value":"+917273883504"}]}


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


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


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/00080"},{"type":"text","text":"Testing"},{"type":"text","text":"Coimbatore"},{"type":"text","text":"Near Miss"},{"type":"text","text":"Abhinav Srivastava"},{"type":"text","text":"TTK Beta - QA"},{"type":"text","text":"Open"},{"type":"text","text":"https://qa-staging.oqsha.com/#/incidents/view/387/21296?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":21296},{"Key":"InformToUserId","Value":916}]}


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"9145454545454","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":"Mounika Consent"},{"type":"text","text":"Safety Alert"},{"type":"text","text":"T/TTK/NMM/25/00080"},{"type":"text","text":"Testing"},{"type":"text","text":"Coimbatore"},{"type":"text","text":"Near Miss"},{"type":"text","text":"Abhinav Srivastava"},{"type":"text","text":"TTK Beta - QA"},{"type":"text","text":"Open"},{"type":"text","text":"https://qa-staging.oqsha.com/#/incidents/view/387/21296?dlType=viewTicket"},{"type":"text","text":"EHS Department - TTK Private Limited"}]}]}}}


Message : {"EventName":"INFORM_TO_INCIDENT_CREATION_NOTIFICATION","EventArgs":[{"Key":"IncidentId","Value":21296},{"Key":"InformToUserId","Value":1931}]}


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"917993748762","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":"Prashanth Kona"},{"type":"text","text":"Safety Alert"},{"type":"text","text":"T/TTK/NMM/25/00080"},{"type":"text","text":"Testing"},{"type":"text","text":"Coimbatore"},{"type":"text","text":"Near Miss"},{"type":"text","text":"Abhinav Srivastava"},{"type":"text","text":"TTK Beta - QA"},{"type":"text","text":"Open"},{"type":"text","text":"https://qa-staging.oqsha.com/#/incidents/view/387/21296?dlType=viewTicket"},{"type":"text","text":"EHS Department - TTK Private Limited"}]}]}}}


Message : {"EventName":"WORK_PERMIT_APPROVED_INFORM_TO_CREATOR_NOTIFICATION","EventArgs":[{"Key":"CreatorId","Value":"1"},{"Key":"ApproverName","Value":"Bishal Mondal"},{"Key":"WorkPermitId","Value":"68"},{"Key":"WorkPermitUid","Value":"WP/TTK/COI/HWK/25/00017"},{"Key":"SiteName","Value":"Coimbatore"},{"Key":"OrganisationName","Value":"TTK Beta - QA"},{"Key":"ApprovedOn","Value":"12-Sep-2025 01:31:25 AM"},{"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


### End Event Execution ###


### Start Event Execution ###


Message : {"EventName":"WORK_PERMIT_APPROVAL_INVITATION_NOTIFICATION","EventArgs":[{"Key":"UserIds","Value":"[2407]"},{"Key":"WorkPermitId","Value":"68"},{"Key":"WorkPermitUid","Value":"WP/TTK/COI/HWK/25/00017"},{"Key":"SiteName","Value":"Coimbatore"},{"Key":"InitiatorName","Value":"Raj Kumar Pativada"},{"Key":"OrganisationName","Value":"TTK Beta - QA"},{"Key":"OrgId","Value":387}]}


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


# Calling SendWorkPermitApprovalInvitationNotification function for email/WhatsApp #


Executing email notifications to WorkPermit Approvers about the Pending approval


Message : {"EventName":"WORK_PERMIT_APPROVED_INFORM_TO_CREATOR_NOTIFICATION","EventArgs":[{"Key":"CreatorId","Value":"1"},{"Key":"ApproverName","Value":"Mounika Laisetti"},{"Key":"WorkPermitId","Value":"68"},{"Key":"WorkPermitUid","Value":"WP/TTK/COI/HWK/25/00017"},{"Key":"SiteName","Value":"Coimbatore"},{"Key":"OrganisationName","Value":"TTK Beta - QA"},{"Key":"ApprovedOn","Value":"12-Sep-2025 01:31:33 AM"},{"Key":"OrgId","Value":387}]}


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


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


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


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


Osmo-x WhatsApp Message has been Sent


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


Initializing Email Service Client


Generating Email Request


PDF generation successfull


## Sending email to Abhinav Srivastava, UserId : 1761 for assigned to notification ##


Sending Assigned To Email for IncidentId:21296


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


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


--- Email response from Osmo-x is 201


### End Event Execution ###


A Safety Alert T/TTK/NMM/25/00080 is assigned to you related to 'Near Miss'


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


Sending Assigned To Whatsapp for IncidentId:21296


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/NMM/25/00080"},{"type":"text","text":"Testing"},{"type":"text","text":"Coimbatore"},{"type":"text","text":"Near Miss"},{"type":"text","text":"Abhinav Srivastava"},{"type":"text","text":"TTK Beta - QA"},{"type":"text","text":"Assigned"},{"type":"text","text":"https://qa-staging.oqsha.com/#/incidents/view/387/21296?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":21296},{"Key":"IncidentHistoryId","Value":8626},{"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:21296


*--- 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":"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/NMM/25/00080"},{"type":"text","text":"Safety Alert status updated to Assigned., Comments are added as Testing Late night"},{"type":"text","text":"Safety Alert"},{"type":"text","text":"Testing"},{"type":"text","text":"Coimbatore"},{"type":"text","text":"Near Miss"},{"type":"text","text":"Abhinav Srivastava"},{"type":"text","text":"TTK Beta - QA"},{"type":"text","text":"Assigned"},{"type":"text","text":"https://qa-staging.oqsha.com/#/incidents/view/387/21296?dlType=viewTicket"},{"type":"text","text":"EHS Department - TTK Private Limited"}]}]}}}


Osmo-x WhatsApp Message has been Sent


# Preparing notification body #


### Ended processing Update incident Event ###


### End Event Execution ###


### Start Event Execution ###


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


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/NMM/25/00080"},{"type":"text","text":"Safety Alert status updated to Resolved., Comments are added as Resolving the alert"},{"type":"text","text":"Safety Alert"},{"type":"text","text":"Testing"},{"type":"text","text":"Coimbatore"},{"type":"text","text":"Near Miss"},{"type":"text","text":"Abhinav Srivastava"},{"type":"text","text":"TTK Beta - QA"},{"type":"text","text":"Resolved"},{"type":"text","text":"https://qa-staging.oqsha.com/#/incidents/view/387/21296?dlType=viewTicket"},{"type":"text","text":"EHS Department - TTK Private Limited"}]}]}}}


Message : {"EventName":"INCIDENT_CLOSURE_NOTIFICATION_VALIDATION_1","EventArgs":[{"Key":"IncidentId","Value":21296},{"Key":"ClosedById","Value":1761}]}


### 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: [1326,916,1597,1931]


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


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


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


Osmo-x WhatsApp Message has been Sent


## Sending email to Mounika Consent, UserId : 916 for Incident Closure Validation notification ##


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


## Sending email to Prashanth Kona, UserId : 1931 for Incident Closure Validation notification ##


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


Reading and binding data to Email Template


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


### End Event Execution ###


### Start Event Execution ###


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


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


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/NMM/25/00080"},{"type":"text","text":"Safety Alert status updated to Assigned"},{"type":"text","text":"Safety Alert"},{"type":"text","text":"Testing"},{"type":"text","text":"Coimbatore"},{"type":"text","text":"Near Miss"},{"type":"text","text":"Abhinav Srivastava"},{"type":"text","text":"TTK Beta - QA"},{"type":"text","text":"Assigned"},{"type":"text","text":"https://qa-staging.oqsha.com/#/incidents/view/387/21296?dlType=viewTicket"},{"type":"text","text":"EHS Department - TTK Private Limited"}]}]}}}


Osmo-x WhatsApp Message has been Sent


# Preparing notification body #


### Ended processing Update incident Event ###


### End Event Execution ###


### Start Event Execution ###


Message : {"EventName":"INCIDENT_REOPEN_NOTIFICATION","EventArgs":[{"Key":"IncidentId","Value":21296},{"Key":"ClosedById","Value":1761}]}


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


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


Generating report.


## Sending email to Abhinav Srivastava, UserId : 1761 for reopen notification ##


Sending Assigned To Email for IncidentId:21296


Initializing Email Service Client


Generating Email Request


Safety Alert Reopened


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


--- Email response from Osmo-x is 201


Sending Inform-To Update WhatsApp for IncidentId:21296


Osmo-x WhatsApp Message has been Sent


### Ended processing Incident Reopen Event ###


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


Sending Email for IncidentId:21296


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


Reading and binding data to Email Template


Ticket Safety Alert has been updated


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/NMM/25/00080"},{"type":"text","text":"Safety Alert status updated to Resolved., Comments are added as Resolving the alerts as its reopened"},{"type":"text","text":"Safety Alert"},{"type":"text","text":"Testing"},{"type":"text","text":"Coimbatore"},{"type":"text","text":"Near Miss"},{"type":"text","text":"Abhinav Srivastava"},{"type":"text","text":"TTK Beta - QA"},{"type":"text","text":"Resolved"},{"type":"text","text":"https://qa-staging.oqsha.com/#/incidents/view/387/21296?dlType=viewTicket"},{"type":"text","text":"EHS Department - TTK Private Limited"}]}]}}}


# Preparing notification body #


### End Event Execution ###


### Start Event Execution ###


Message : {"EventName":"INCIDENT_CLOSURE_NOTIFICATION_VALIDATION_1","EventArgs":[{"Key":"IncidentId","Value":21296},{"Key":"ClosedById","Value":1761}]}


### 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: [1326,916,1597,1931]


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


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


Initializing Email Service Client


Generating Email Request


Safety Alert Validation Level 1


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


--- Email response from Osmo-x is 201


Osmo-x WhatsApp Message has been Sent


## Sending email to Mounika Consent, UserId : 916 for Incident Closure Validation notification ##


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


## Sending email to Prashanth Kona, UserId : 1931 for Incident Closure Validation notification ##


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


### End Event Execution ###


### Start Event Execution ###


Message : {"EventName":"Update_USER","EventArgs":[{"Key":"DisplayName","Value":"Mounika Laisetti"},{"Key":"Password","Value":""},{"Key":"OrganisationName","Value":"TTK Beta - QA"},{"Key":"UserDivisions","Value":"Near Miss, Observation, Unsafe Act, Unsafe Condition"},{"Key":"UserIncidentSites","Value":"Coimbatore"},{"Key":"OldEmail","Value":""},{"Key":"Email","Value":"mounika.l@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


Message : {"EventName":"Update_APP_USER","EventArgs":[{"Key":"DisplayName","Value":"Mounika Laisetti"},{"Key":"Password","Value":""},{"Key":"OrganisationName","Value":"TTK Beta - QA"},{"Key":"UserUid","Value":""},{"Key":"UserDivisions","Value":"Near Miss, Observation, Unsafe Act, Unsafe Condition"},{"Key":"UserIncidentSites","Value":"Coimbatore"},{"Key":"Email","Value":"mounika.l@osmosys.co"},{"Key":"MobileNumber","Value":"+918179415544"}]}


### 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":21296},{"Key":"IncidentHistoryId","Value":8630},{"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:21296


Ticket Safety Alert has been updated


Sending Assigned To Whatsapp for IncidentId:21296


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/NMM/25/00080"},{"type":"text","text":"Safety Alert status updated to Validated_1., Comments are added as Validated"},{"type":"text","text":"Safety Alert"},{"type":"text","text":"Testing"},{"type":"text","text":"Coimbatore"},{"type":"text","text":"Near Miss"},{"type":"text","text":"Abhinav Srivastava"},{"type":"text","text":"TTK Beta - QA"},{"type":"text","text":"Validated_1"},{"type":"text","text":"https://qa-staging.oqsha.com/#/incidents/view/387/21296?dlType=viewTicket"},{"type":"text","text":"EHS Department - TTK Private Limited"}]}]}}}


Osmo-x WhatsApp Message has been Sent


# Preparing notification body #


### Ended processing Update incident Event ###


### End Event Execution ###


### Start Event Execution ###


Message : {"EventName":"INCIDENT_CLOSURE_NOTIFICATION_VALIDATION_2","EventArgs":[{"Key":"IncidentId","Value":21296},{"Key":"ClosedById","Value":1597}]}


### 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: [1,1482,916,1403]


## Sending email to Raj Kumar Pativada, UserId : 1 for Incident Closure Validation notification ##


Sending Incident Closure Validation Email for IncidentId:21296


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


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"919160948627","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":"Raj Kumar Pativada"},{"type":"text","text":"Sayan Mondal"},{"type":"text","text":"T/TTK/NMM/25/00080"},{"type":"text","text":"12-Sep-2025 01:28:19 AM"},{"type":"text","text":"Near Miss"},{"type":"text","text":"Coimbatore"},{"type":"text","text":"Coimbatore"},{"type":"text","text":"Testing"},{"type":"text","text":"Abhinav Srivastava"},{"type":"text","text":"https://qa-staging.oqsha.com/#/incidents/view/387/21296?dlType=viewTicket"},{"type":"text","text":"EHS Department - TTK Private Limited"}]}]}}}


Osmo-x WhatsApp Message has been Sent


## Sending email to Kumar Samarjeet, UserId : 1482 for Incident Closure Validation notification ##


## Sending email to Mounika Consent, UserId : 916 for Incident Closure Validation notification ##


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


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


### End Event Execution ###


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


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


Message : {"EventName":"Update_USER","EventArgs":[{"Key":"DisplayName","Value":"Mounika Laisetti"},{"Key":"Password","Value":""},{"Key":"OrganisationName","Value":"TTK Beta - QA"},{"Key":"UserDivisions","Value":"Near Miss, Observation, Unsafe Act, Unsafe Condition"},{"Key":"UserIncidentSites","Value":"Coimbatore"},{"Key":"OldEmail","Value":""},{"Key":"Email","Value":"mounika.l@osmosys.co"}]}