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


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


### Start Event Execution ###


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


# Calling SendNotificationToTaskAssignees function for WhatsApp notification #


Sending WhatsApp notification for task assignment to user ID: 1761


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"917273883504","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"oqsha_task_assigned_to_notification_v2","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"Abhinav Srivastava"},{"type":"text","text":"TA/TTK/COI/25/00262"},{"type":"text","text":"Medium"},{"type":"text","text":"my test - Radios"},{"type":"text","text":"11-Sep-2025"},{"type":"text","text":"https://qa-staging.oqsha.com/#/tasks/edit/3542?dlType=viewTask"},{"type":"text","text":"Action Tracker"},{"type":"text","text":"EHS Department - TTK Private Limited"}]}]}}}


Osmo-x WhatsApp Message has been Sent


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


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


Reading and binding data to Email Template


Initializing Email Service Client


Generating Email Request


New Action Tracker Assigned - TA/TTK/COI/25/00262


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


--- Email response from Osmo-x is 201


### End Event Execution ###


Message : {"EventName":"WHATSAPP_TO_BATCH_PARTICIPANTS","EventArgs":[{"Key":"BatchParticipantIds","Value":"[50637]"},{"Key":"BatchId","Value":6187}]}


### 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":"Test 123456"},{"type":"text","text":"Offline Dot Net"},{"type":"text","text":"TTK Beta - QA"},{"type":"text","text":"0 Week(s) 0 Day(s) 4 Hour(s)"},{"type":"text","text":"No faculty"},{"type":"text","text":"September 11, 2025  04:09:00 PM"},{"type":"text","text":"PLANNED"},{"type":"text","text":"https://qa-staging.oqsha.com/#/batches/view/387/400/6187?dlType=viewBatch"}]}]}}}


Osmo-x WhatsApp Message has been Sent


### Start Event Execution ###


Message : {"EventName":"WORK_PERMIT_STATUS_CHANGE_TO_APPROVERS","EventArgs":[{"Key":"WorkPermitId","Value":"59"},{"Key":"NewStatus","Value":"Cancelled"},{"Key":"ApproverIds","Value":"[1597,1,1954]"},{"Key":"ChangedByName","Value":"Sayan Mondal"},{"Key":"SiteName","Value":"Coimbatore"},{"Key":"CreatedBy","Value":"Lalit Aditya Kola"},{"Key":"WorkPermitUid","Value":"WP/TTK/COI/HWK/25/00010"},{"Key":"OrgId","Value":387},{"Key":"OrganisationName","Value":"TTK Beta - QA"}]}


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


# Calling SendNotificationToApproversForWorkPermitStatusChange function for email/WhatsApp #


Executing email and WhatsApp notifications to WorkPermit approvers


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


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


Message : {"EventName":"NOTIFICATION_FOR_MOC_CREATION","EventArgs":[{"Key":"MocId","Value":"725"},{"Key":"ApproverIds","Value":"[1536]"},{"Key":"SiteName","Value":"16 july 2025"},{"Key":"CreatedBy","Value":"Sayan Mondal"},{"Key":"MocUid","Value":"M/APR/16J/NSM/25/00003"},{"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: sandeep.k@osmosys.co


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


Reading and binding data to Email Template


Initializing Email Service Client


Generating Email Request


New MOC Assigned

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


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


--- Email response from Osmo-x is 201


Sending MOC creation WhatsApp message to: 918209047368


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"918209047368","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":"Sandeep Kumar"},{"type":"text","text":"M/APR/16J/NSM/25/00003"},{"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=725&dlType=viewMOC"},{"type":"text","text":"EHS Department - Aparna Constructions"}]}]}}}


Osmo-x WhatsApp Message has been Sent


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


Your OQSHA Access Has Been Updated


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


Initializing Email Service Client


Generating Email Request


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


--- Email response from Osmo-x is 201


Message : {"EventName":"NOTIFICATION_FOR_MOC_CREATION","EventArgs":[{"Key":"MocId","Value":"726"},{"Key":"ApproverIds","Value":"[1536]"},{"Key":"SiteName","Value":"16 july 2025"},{"Key":"CreatedBy","Value":"Sayan Mondal"},{"Key":"MocUid","Value":"M/APR/16J/NSM/25/00004"},{"Key":"OrgId","Value":310},{"Key":"OrganisationName","Value":"Aparna Constructions"}]}


New MOC Assigned


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"918209047368","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":"Sandeep Kumar"},{"type":"text","text":"M/APR/16J/NSM/25/00004"},{"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=726&dlType=viewMOC"},{"type":"text","text":"EHS Department - Aparna Constructions"}]}]}}}


Osmo-x WhatsApp Message has been Sent


### End Event Execution ###


### Start Event Execution ###


Message : {"EventName":"NOTIFICATION_FOR_INSPECTION_CREATION","EventArgs":[{"Key":"UserIds","Value":"[1,916,1954,1597]"},{"Key":"InspectionUID","Value":"I/TTK/COI/TNF/25/00013"},{"Key":"Name","Value":"Bar bending inspection 2"},{"Key":"Type","Value":"Testing new flags"},{"Key":"Organisation","Value":"TTK Beta - QA"},{"Key":"Site","Value":"Coimbatore"},{"Key":"Department","Value":" "},{"Key":"Asset","Value":""},{"Key":"Status","Value":"Draft"},{"Key":"CreatedBy","Value":"Raj Kumar Pativada"},{"Key":"CreatedOn","Value":"11-Sep-2025 04:52:54 PM"}]}


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


# Calling SendNotificationForInspectionCreation function for whatsapp and push notification #


Executing sending notification to associated user through whatsapp


Sending notifications for inspection creation to associated user1


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"919160948627","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"oqsha_inspection_template","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"Raj Kumar Pativada"},{"type":"text","text":"I/TTK/COI/TNF/25/00013"},{"type":"text","text":"Bar bending inspection 2"},{"type":"text","text":"Testing new flags"},{"type":"text","text":"TTK Beta - QA"},{"type":"text","text":"Coimbatore"},{"type":"text","text":" "},{"type":"text","text":""},{"type":"text","text":"Draft"},{"type":"text","text":"Raj Kumar Pativada"},{"type":"text","text":"11-Sep-2025 04:52:54 PM"}]}]}}}


Sending notifications for inspection creation to associated user916


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"9145454545454","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"oqsha_inspection_template","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"Mounika Consent"},{"type":"text","text":"I/TTK/COI/TNF/25/00013"},{"type":"text","text":"Bar bending inspection 2"},{"type":"text","text":"Testing new flags"},{"type":"text","text":"TTK Beta - QA"},{"type":"text","text":"Coimbatore"},{"type":"text","text":" "},{"type":"text","text":""},{"type":"text","text":"Draft"},{"type":"text","text":"Raj Kumar Pativada"},{"type":"text","text":"11-Sep-2025 04:52:54 PM"}]}]}}}


Sending notifications for inspection creation to associated user1597


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"918967697371","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"oqsha_inspection_template","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"Sayan Mondal"},{"type":"text","text":"I/TTK/COI/TNF/25/00013"},{"type":"text","text":"Bar bending inspection 2"},{"type":"text","text":"Testing new flags"},{"type":"text","text":"TTK Beta - QA"},{"type":"text","text":"Coimbatore"},{"type":"text","text":" "},{"type":"text","text":""},{"type":"text","text":"Draft"},{"type":"text","text":"Raj Kumar Pativada"},{"type":"text","text":"11-Sep-2025 04:52:54 PM"}]}]}}}


Sending notifications for inspection creation to associated user1954


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"919989248964","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"oqsha_inspection_template","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"Lalit Aditya Kola"},{"type":"text","text":"I/TTK/COI/TNF/25/00013"},{"type":"text","text":"Bar bending inspection 2"},{"type":"text","text":"Testing new flags"},{"type":"text","text":"TTK Beta - QA"},{"type":"text","text":"Coimbatore"},{"type":"text","text":" "},{"type":"text","text":""},{"type":"text","text":"Draft"},{"type":"text","text":"Raj Kumar Pativada"},{"type":"text","text":"11-Sep-2025 04:52:54 PM"}]}]}}}


Message : {"EventName":"WHATSAPP_TO_BATCH_PARTICIPANTS","EventArgs":[{"Key":"BatchParticipantIds","Value":"[50644,50645,50646]"},{"Key":"BatchId","Value":6192}]}


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


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"919989248964","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":"Lalit Aditya Kola"},{"type":"text","text":"Rail_manual"},{"type":"text","text":"Railway TC offline"},{"type":"text","text":"TTK Beta - QA"},{"type":"text","text":"0 Week(s) 0 Day(s) 3 Hour(s)"},{"type":"text","text":"No faculty"},{"type":"text","text":"September 11, 2025  05:00:00 PM"},{"type":"text","text":"PLANNED"},{"type":"text","text":"https://qa-staging.oqsha.com/#/batches/view/387/412/6192?dlType=viewBatch"}]}]}}}


Osmo-x WhatsApp Message has been Sent


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":"Rail_manual"},{"type":"text","text":"Railway TC offline"},{"type":"text","text":"TTK Beta - QA"},{"type":"text","text":"0 Week(s) 0 Day(s) 3 Hour(s)"},{"type":"text","text":"No faculty"},{"type":"text","text":"September 11, 2025  05:00:00 PM"},{"type":"text","text":"PLANNED"},{"type":"text","text":"https://qa-staging.oqsha.com/#/batches/view/387/412/6192?dlType=viewBatch"}]}]}}}


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":"Rail_manual"},{"type":"text","text":"Railway TC offline"},{"type":"text","text":"TTK Beta - QA"},{"type":"text","text":"0 Week(s) 0 Day(s) 3 Hour(s)"},{"type":"text","text":"No faculty"},{"type":"text","text":"September 11, 2025  05:00:00 PM"},{"type":"text","text":"PLANNED"},{"type":"text","text":"https://qa-staging.oqsha.com/#/batches/view/387/412/6192?dlType=viewBatch"}]}]}}}


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


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


Reading and binding data to Email Template


Initializing Email Service Client


Generating Email Request


A Incident - IMF/TTK/COI/III/25/00076 created for a OHC - HT/TTK/COI/OWW/25/00007


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


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"917439381194","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":"ADITYA CHAKRABORTY"},{"type":"text","text":"Abhinav Srivastava"},{"type":"text","text":"IMF/TTK/COI/III/25/00076"},{"type":"text","text":"Raj Kumar Pativada"},{"type":"text","text":"11-Sep-2025 05:10:33 PM"},{"type":"text","text":"Coimbatore"},{"type":"text","text":"Create Incident from Health module. Location: Hyderabad, Andhra Pradesh"},{"type":"text","text":"https://oqsha.com/#/incident-management/report-incident/view/342"},{"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":"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"}]}


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


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


Calling Send Email Function for Update User Email


Your OQSHA Access Has Been Updated


Message : {"EventName":"Update_APP_USER","EventArgs":[{"Key":"DisplayName","Value":"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"}]}


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


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


Initializing Email Service Client


Generating Email Request


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


--- Email response from Osmo-x is 201


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


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


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


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


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


Reading and binding data to Email Template


### End Event Execution ###


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


Your OQSHA Access Has Been Updated


Message : {"EventName":"INFORM_TO_INCIDENT_CREATION_NOTIFICATION","EventArgs":[{"Key":"IncidentId","Value":21290},{"Key":"InformToUserId","Value":916}]}


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


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


Osmo-x WhatsApp Message has been Sent


Generating Safety Alert report.


The file path you provided is not Valid


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


### Start Event Execution ###


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


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


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


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


### End Event Execution ###


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


# Calling SendNotificationToTaskAssignees function for WhatsApp notification #


Sending WhatsApp notification for task assignment to user ID: 1326


Message : {"EventName":"ASSIGNED_TO_NOTIFICATION","EventArgs":[{"Key":"AssignedIncidentID","Value":21290},{"Key":"AssignedToID","Value":1326}]}


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


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


Osmo-x WhatsApp Message has been Sent


Sending Task Assignment Email for TaskId: 3543, UserId: 1326


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


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


--- Email response from Osmo-x is 201


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


Your OQSHA Access Has Been Updated


Message : {"EventName":"Update_APP_USER","EventArgs":[{"Key":"DisplayName","Value":"Raj Kumar Pativada"},{"Key":"Password","Value":""},{"Key":"OrganisationName","Value":"TTK Beta - QA"},{"Key":"UserUid","Value":"9160948627"},{"Key":"UserDivisions","Value":"Near Miss, Observation, Unsafe Act, Unsafe Condition"},{"Key":"UserIncidentSites","Value":"Coimbatore, 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":"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"}]}


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


Initializing Email Service Client


Generating Email Request


Message : {"EventName":"INCIDENT_CLOSURE_NOTIFICATION_VALIDATION_1","EventArgs":[{"Key":"IncidentId","Value":21290},{"Key":"ClosedById","Value":1326}]}


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


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


The file path you provided is not Valid


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


### End Event Execution ###


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


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


### Start Event Execution ###


Message : {"EventName":"NOTIFICATION_FOR_MOC_CREATION","EventArgs":[{"Key":"MocId","Value":"728"},{"Key":"ApproverIds","Value":"[1536]"},{"Key":"SiteName","Value":"16 july 2025"},{"Key":"CreatedBy","Value":"Sayan Mondal"},{"Key":"MocUid","Value":"M/APR/16J/NSM/25/00005"},{"Key":"OrgId","Value":310},{"Key":"OrganisationName","Value":"Aparna Constructions"}]}


Message : {"EventName":"NOTIFICATION_FOR_INSPECTION_CREATION","EventArgs":[{"Key":"UserIds","Value":"[916,1954]"},{"Key":"InspectionUID","Value":"I/TTK/COI/TNF/25/00014"},{"Key":"Name","Value":"QA inspection-2"},{"Key":"Type","Value":"Testing new flags"},{"Key":"Organisation","Value":"TTK Beta - QA"},{"Key":"Site","Value":"Coimbatore"},{"Key":"Department","Value":" "},{"Key":"Asset","Value":""},{"Key":"Status","Value":"Draft"},{"Key":"CreatedBy","Value":"Raj Kumar Pativada"},{"Key":"CreatedOn","Value":"11-Sep-2025 06:02:54 PM"}]}


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


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


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


# Calling SendNotificationForInspectionCreation function for whatsapp and push notification #


# Calling SendNotificationForMocCreation function for email/WhatsApp #


# Calling SendNotificationToTaskAssignees function for WhatsApp notification #


Executing email and WhatsApp notifications to MOC approvers


Executing sending notification to associated user through whatsapp


Sending notifications for inspection creation to associated user916


Sending WhatsApp notification for task assignment to user ID: 1597


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


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


Reading and binding data to Email Template


Initializing Email Service Client


Generating Email Request


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"9145454545454","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"oqsha_inspection_template","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"Mounika Consent"},{"type":"text","text":"I/TTK/COI/TNF/25/00014"},{"type":"text","text":"QA inspection-2"},{"type":"text","text":"Testing new flags"},{"type":"text","text":"TTK Beta - QA"},{"type":"text","text":"Coimbatore"},{"type":"text","text":" "},{"type":"text","text":""},{"type":"text","text":"Draft"},{"type":"text","text":"Raj Kumar Pativada"},{"type":"text","text":"11-Sep-2025 06:02:54 PM"}]}]}}}


Osmo-x WhatsApp Message has been Sent


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


Sending notifications for inspection creation to associated user1954


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"919989248964","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"oqsha_inspection_template","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"Lalit Aditya Kola"},{"type":"text","text":"I/TTK/COI/TNF/25/00014"},{"type":"text","text":"QA inspection-2"},{"type":"text","text":"Testing new flags"},{"type":"text","text":"TTK Beta - QA"},{"type":"text","text":"Coimbatore"},{"type":"text","text":" "},{"type":"text","text":""},{"type":"text","text":"Draft"},{"type":"text","text":"Raj Kumar Pativada"},{"type":"text","text":"11-Sep-2025 06:02:54 PM"}]}]}}}


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


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


--- Email response from Osmo-x is 201


### End Event Execution ###


New MOC Assigned


Sending MOC creation WhatsApp message to: 918209047368


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"918209047368","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":"Sandeep Kumar"},{"type":"text","text":"M/APR/16J/NSM/25/00005"},{"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=728&dlType=viewMOC"},{"type":"text","text":"EHS Department - Aparna Constructions"}]}]}}}


### Start Event Execution ###


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


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


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


Generating report.


## Sending notification to EHS head user ##


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


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


Sending Incident Closure Validation Email for IncidentId:21290


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


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/NMM/25/00079"},{"type":"text","text":"11-Sep-2025 05:43:45 PM"},{"type":"text","text":"Near Miss"},{"type":"text","text":"Coimbatore"},{"type":"text","text":"Coimbatore"},{"type":"text","text":""},{"type":"text","text":"Kumar Samarjeet"},{"type":"text","text":"https://qa-staging.oqsha.com/#/incidents/view/387/21290?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 ##


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


Reading and binding data to Email Template


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/NMM/25/00079"},{"type":"text","text":"11-Sep-2025 05:43:45 PM"},{"type":"text","text":"Near Miss"},{"type":"text","text":"Coimbatore"},{"type":"text","text":"Coimbatore"},{"type":"text","text":""},{"type":"text","text":"Kumar Samarjeet"},{"type":"text","text":"https://qa-staging.oqsha.com/#/incidents/view/387/21290?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/NMM/25/00079"},{"type":"text","text":"11-Sep-2025 05:43:45 PM"},{"type":"text","text":"Near Miss"},{"type":"text","text":"Coimbatore"},{"type":"text","text":"Coimbatore"},{"type":"text","text":""},{"type":"text","text":"Kumar Samarjeet"},{"type":"text","text":"https://qa-staging.oqsha.com/#/incidents/view/387/21290?dlType=viewTicket"},{"type":"text","text":"EHS Department - TTK Private Limited"}]}]}}}


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


### End Event Execution ###


### Start Event Execution ###


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


### Started processing for Inform-To update Event ###


Current Ticket Status: Validated_1


Sending notification to Site EHS or EHS Head for ticket status: Validated_1 to [1482,916,1403]


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"9145454545454","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":"Mounika Consent"},{"type":"text","text":"Safety Alert"},{"type":"text","text":"T/TTK/NMM/25/00079"},{"type":"text","text":"Safety Alert status updated to Validated_1.Comments: validated"},{"type":"text","text":"Safety Alert"},{"type":"text","text":" "},{"type":"text","text":"Coimbatore"},{"type":"text","text":"Near Miss"},{"type":"text","text":"Kumar Samarjeet"},{"type":"text","text":"TTK Beta - QA"},{"type":"text","text":"Validated_1"},{"type":"text","text":"https://qa-staging.oqsha.com/#/incidents/view/387/21290?dlType=viewTicket"},{"type":"text","text":"EHS Department - TTK Private Limited"}]}]}}}


Sending Inform-To Update Email for IncidentId:21290


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":"918885857714","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":"Lakhan TTK"},{"type":"text","text":"Safety Alert"},{"type":"text","text":"T/TTK/NMM/25/00079"},{"type":"text","text":"Safety Alert status updated to Validated_1.Comments: validated"},{"type":"text","text":"Safety Alert"},{"type":"text","text":" "},{"type":"text","text":"Coimbatore"},{"type":"text","text":"Near Miss"},{"type":"text","text":"Kumar Samarjeet"},{"type":"text","text":"TTK Beta - QA"},{"type":"text","text":"Validated_1"},{"type":"text","text":"https://qa-staging.oqsha.com/#/incidents/view/387/21290?dlType=viewTicket"},{"type":"text","text":"EHS Department - TTK Private Limited"}]}]}}}


Osmo-x WhatsApp Message has been Sent


### Ended processing Inform-To update Event ###


Message : {"EventName":"NOTIFICATION_FOR_MOC_CREATION","EventArgs":[{"Key":"MocId","Value":"729"},{"Key":"ApproverIds","Value":"[2456]"},{"Key":"SiteName","Value":"16 july 2025"},{"Key":"CreatedBy","Value":"Sayan Mondal"},{"Key":"MocUid","Value":"M/APR/16J/NSM/25/00006"},{"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: shreyaved2020@gmail.com


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


Reading and binding data to Email Template


New MOC Assigned


Sending MOC creation WhatsApp message to: 918143571809


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"918143571809","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":"Bhavana Arni"},{"type":"text","text":"M/APR/16J/NSM/25/00006"},{"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=729&dlType=viewMOC"},{"type":"text","text":"EHS Department - Aparna Constructions"}]}]}}}


### End Event Execution ###


### Start Event Execution ###


Message : {"EventName":"Update_USER","EventArgs":[{"Key":"DisplayName","Value":"Kumar Samarjeet"},{"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, Roorkee, SamarSite, site - 2, Sshristi, Testing site, TTK Beta"},{"Key":"OldEmail","Value":""},{"Key":"Email","Value":"kumarsamarjeet.19@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":"Kumar Samarjeet"},{"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, Hosur, Khadri, Roorkee, SamarSite, site - 2, Sshristi, Testing site, TTK Beta"},{"Key":"Email","Value":"kumarsamarjeet.19@gmail.com"},{"Key":"MobileNumber","Value":"+918249683426"}]}


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


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


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


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


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


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


### End Event Execution ###


### Start Event Execution ###


Message : {"EventName":"INFORM_TO_INCIDENT_CREATION_NOTIFICATION","EventArgs":[{"Key":"IncidentId","Value":21291},{"Key":"InformToUserId","Value":916}]}


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


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


Osmo-x WhatsApp Message has been Sent


Generating Safety Alert report.


The file path you provided is not Valid


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


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


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


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


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


Message : {"EventName":"INFORM_TO_INCIDENT_CREATION_NOTIFICATION","EventArgs":[{"Key":"IncidentId","Value":21292},{"Key":"InformToUserId","Value":916}]}


Sending Inform-To WhatsApp for IncidentId: 21292


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/00031"},{"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/21292?dlType=viewTicket"},{"type":"text","text":"EHS Department - TTK Private Limited"}]}]}}}


### End Event Execution ###


### Start Event Execution ###


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


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"917003236045","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"oqsha_ticket_inform_to_template_v3","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"Bishal Mondal"},{"type":"text","text":"Safety Alert"},{"type":"text","text":"T/TTK/SAB/25/00031"},{"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/21292?dlType=viewTicket"},{"type":"text","text":"EHS Department - TTK Private Limited"}]}]}}}


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


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


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


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


Generating report.


The file path you provided is not Valid


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


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


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


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


## Sending notification to Site EHS user ##


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


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


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


### End Event Execution ###


### Start Event Execution ###


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


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


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


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


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


Message : {"EventName":"NOTIFICATION_FOR_INSPECTION_ASSIGNEES","EventArgs":[{"Key":"UserIds","Value":"[1954]"},{"Key":"InspectionUID","Value":"I/TTK/COI/TNF/25/00014"},{"Key":"Name","Value":"QA inspection-2"},{"Key":"Type","Value":"Testing new flags"},{"Key":"Site","Value":"Coimbatore"},{"Key":"Status","Value":"Draft"},{"Key":"CreatedBy","Value":"Raj Kumar Pativada"},{"Key":"CreatedOn","Value":"11-Sep-2025 06:02:54 PM"},{"Key":"InspectionId","Value":1438}]}


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


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


### Started processing for Inform-To update Event ###


# Calling SendNotificationToTaskAssignees function for WhatsApp notification #


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


Sending WhatsApp notification for task assignment to user ID: 1326


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"917003236045","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"oqsha_task_assigned_to_notification_v2","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"Bishal Mondal"},{"type":"text","text":"TA/TTK/COI/SAT/25/00207"},{"type":"text","text":"Medium"},{"type":"text","text":"This is a ticket notification"},{"type":"text","text":"11-Sep-2025"},{"type":"text","text":"https://qa-staging.oqsha.com/#/tasks/edit/3545?dlType=viewTask"},{"type":"text","text":"Action Tracker"},{"type":"text","text":"EHS Department - TTK Private Limited"}]}]}}}


Current Ticket Status: Validated_1


Sending notification to Site EHS or EHS Head for ticket status: Validated_1 to [1,1482,916,1403]


Sending Inform-To Update WhatsApp for IncidentId:21292


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"919160948627","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"oqsha_ticket_update_whatsapp_template_v4","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"Raj Kumar Pativada"},{"type":"text","text":"Safety Alert"},{"type":"text","text":"T/TTK/SAB/25/00031"},{"type":"text","text":"Safety Alert status updated to Validated_1.Comments: validtae"},{"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/21292?dlType=viewTicket"},{"type":"text","text":"EHS Department - TTK Private Limited"}]}]}}}


Osmo-x WhatsApp Message has been Sent


Sending Task Assignment Email for TaskId: 3545, UserId: 1326


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


Reading and binding data to Email Template


Initializing Email Service Client


Generating Email Request


Sending Inform-To Update Email for IncidentId:21292


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":"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/00031"},{"type":"text","text":"Safety Alert status updated to Validated_1.Comments: validtae"},{"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/21292?dlType=viewTicket"},{"type":"text","text":"EHS Department - TTK Private Limited"}]}]}}}


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


### End Event Execution ###


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"9145454545454","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":"Mounika Consent"},{"type":"text","text":"Safety Alert"},{"type":"text","text":"T/TTK/SAB/25/00031"},{"type":"text","text":"Safety Alert status updated to Validated_1.Comments: validtae"},{"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/21292?dlType=viewTicket"},{"type":"text","text":"EHS Department - TTK Private Limited"}]}]}}}


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"918885857714","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":"Lakhan TTK"},{"type":"text","text":"Safety Alert"},{"type":"text","text":"T/TTK/SAB/25/00031"},{"type":"text","text":"Safety Alert status updated to Validated_1.Comments: validtae"},{"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/21292?dlType=viewTicket"},{"type":"text","text":"EHS Department - TTK Private Limited"}]}]}}}


### Ended processing Inform-To update Event ###


### Start Event Execution ###


Message : {"EventName":"NOTIFICATION_FOR_MOC_CREATION","EventArgs":[{"Key":"MocId","Value":"730"},{"Key":"ApproverIds","Value":"[1815]"},{"Key":"SiteName","Value":"16 july 2025"},{"Key":"CreatedBy","Value":"Sayan Mondal"},{"Key":"MocUid","Value":"M/APR/16J/NSM/25/00007"},{"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


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: 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/00007"},{"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=730&dlType=viewMOC"},{"type":"text","text":"EHS Department - Aparna Constructions"}]}]}}}


Osmo-x WhatsApp Message has been Sent


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


Your OQSHA Access Has Been Updated


### Start Event Execution ###


Message : {"EventName":"Update_APP_USER","EventArgs":[{"Key":"DisplayName","Value":"Raj Kumar Pativada"},{"Key":"Password","Value":""},{"Key":"OrganisationName","Value":"TTK Beta - QA"},{"Key":"UserUid","Value":"9160948627"},{"Key":"UserDivisions","Value":"Near Miss, Observation, Unsafe Act, Unsafe Condition"},{"Key":"UserIncidentSites","Value":"Coimbatore, 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 ###


Initializing Email Service Client


Generating Email Request


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


--- Email response from Osmo-x is 201


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


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


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


Generating report.


## Sending notification to EHS head user ##


## Notification to be send for these users: [1,1482,916,1403]


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


Sending Incident Closure Validation Email for IncidentId:21292


Safety Alert Validation For Closure


Sending Inform-To Update WhatsApp for IncidentId:21292


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/00031"},{"type":"text","text":"11-Sep-2025 05:58:16 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/21292?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 ##


Initializing Email Service Client


Generating Email Request


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


--- Email response from Osmo-x is 201


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"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/00031"},{"type":"text","text":"11-Sep-2025 05:58:16 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/21292?dlType=viewTicket"},{"type":"text","text":"EHS Department - TTK Private Limited"}]}]}}}


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


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


Reading and binding data to Email Template


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/00031"},{"type":"text","text":"11-Sep-2025 05:58:16 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/21292?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/00031"},{"type":"text","text":"11-Sep-2025 05:58:16 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/21292?dlType=viewTicket"},{"type":"text","text":"EHS Department - TTK Private Limited"}]}]}}}


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


### End Event Execution ###


### Start Event Execution ###


### Started process for Execution of Event : 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/00078 created for a OHC - HT/TTK/COI/OWW/25/00009


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


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"917439381194","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":"ADITYA CHAKRABORTY"},{"type":"text","text":"Abhinav Srivastava"},{"type":"text","text":"IMF/TTK/COI/III/25/00078"},{"type":"text","text":"Raj Kumar Pativada"},{"type":"text","text":"11-Sep-2025 06:20:00 PM"},{"type":"text","text":"Coimbatore"},{"type":"text","text":"Create Incident from Health module. Location: Line -2 , TTK Plant "},{"type":"text","text":"https://oqsha.com/#/incident-management/report-incident/view/344"},{"type":"text","text":"EHS Department - TTK Private Limited"}]}]}}}


Osmo-x WhatsApp Message has been Sent


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


Message : {"EventName":"NOTIFICATION_FOR_MOC_CREATION","EventArgs":[{"Key":"MocId","Value":"731"},{"Key":"ApproverIds","Value":"[2161]"},{"Key":"SiteName","Value":"16 july 2025"},{"Key":"CreatedBy","Value":"Sayan Mondal"},{"Key":"MocUid","Value":"M/APR/16J/NSM/25/00008"},{"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: xyz.p@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: 91123456789


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"91123456789","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":"testinguser portal"},{"type":"text","text":"M/APR/16J/NSM/25/00008"},{"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=731&dlType=viewMOC"},{"type":"text","text":"EHS Department - Aparna Constructions"}]}]}}}


### End Event Execution ###


### Start Event Execution ###


Message : {"EventName":"PORTAL_WHATSAPP_NOTIFICATION","EventArgs":[{"Key":"NotificationID","Value":1222},{"Key":"PetParentIDCount","Value":1},{"Key":"PetParentID1","Value":1482}]}


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


Obtaining notification details.


### Updating notification status as Processing ###


Sending whatsapp to mobile no 918249683426, Notification Id: 1222


Sending whatsapp message:


RequestBody: {  "providerId": 11,  "data": {    "to": "918249683426",    "messaging_product": "whatsapp",    "type": "template",    "template": {        "namespace": "d8bcb6bd_2ab2_439c_9d9e_947501266c77",        "name": "oqsha_notification",        "language": {            "code": "en",            "policy": "deterministic"        },        "components": [{"type":"body","parameters":[{"type":"text","text":"Kumar Samarjeet","image":null,"document":null,"video":null},{"type":"text","text":"TTK Beta - QA","image":null,"document":null,"video":null},{"type":"text","text":"Hi","image":null,"document":null,"video":null}]}]    }   }}


Osmo-x WhatsApp Message has been Sent


Message : {"EventName":"Update_USER","EventArgs":[{"Key":"DisplayName","Value":"Raj Kumar Pativada"},{"Key":"Password","Value":""},{"Key":"OrganisationName","Value":"TTK Beta - QA"},{"Key":"UserDivisions","Value":"Near Miss, Observation, Unsafe Act, Unsafe Condition"},{"Key":"UserIncidentSites","Value":"Coimbatore, 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


Initializing Email Service Client


Generating Email Request


Your OQSHA Access Has Been Updated


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


--- Email response from Osmo-x is 201


### End Event Execution ###


### Start Event Execution ###


Message : {"EventName":"Update_APP_USER","EventArgs":[{"Key":"DisplayName","Value":"Raj Kumar Pativada"},{"Key":"Password","Value":""},{"Key":"OrganisationName","Value":"TTK Beta - QA"},{"Key":"UserUid","Value":"9160948627"},{"Key":"UserDivisions","Value":"Near Miss, Observation, Unsafe Act, Unsafe Condition"},{"Key":"UserIncidentSites","Value":"Coimbatore, 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":"WHATSAPP_TO_BATCH_PARTICIPANTS","EventArgs":[{"Key":"BatchParticipantIds","Value":"[50647]"},{"Key":"BatchId","Value":6193}]}


### 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":"Test"},{"type":"text","text":"5.4.9.QA Testing"},{"type":"text","text":"Aparna Constructions"},{"type":"text","text":"2 Week(s) 2 Day(s) 2 Hour(s)"},{"type":"text","text":"Raj Kumar Pativada"},{"type":"text","text":"September 11, 2025  06:40:00 PM"},{"type":"text","text":"PLANNED"},{"type":"text","text":"https://qa-staging.oqsha.com/#/batches/view/310/145/6193?dlType=viewBatch"}]}]}}}


Osmo-x WhatsApp Message has been Sent


Message : {"EventName":"INFORM_TO_INCIDENT_CREATION_NOTIFICATION","EventArgs":[{"Key":"IncidentId","Value":21293},{"Key":"InformToUserId","Value":916}]}


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


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/00032"},{"type":"text","text":"This is a ticket notification"},{"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/21293?dlType=viewTicket"},{"type":"text","text":"EHS Department - TTK Private Limited"}]}]}}}


Generating Safety Alert report.


The file path you provided is not Valid


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


### End Event Execution ###


### Start Event Execution ###


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


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"917003236045","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"oqsha_ticket_inform_to_template_v3","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"Bishal Mondal"},{"type":"text","text":"Safety Alert"},{"type":"text","text":"T/TTK/SAB/25/00032"},{"type":"text","text":"This is a ticket notification"},{"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/21293?dlType=viewTicket"},{"type":"text","text":"EHS Department - TTK Private Limited"}]}]}}}


Message : {"EventName":"ASSIGNED_TO_NOTIFICATION","EventArgs":[{"Key":"AssignedIncidentID","Value":21293},{"Key":"AssignedToID","Value":1326}]}


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


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


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


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


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/00032"},{"type":"text","text":"Safety Alert status updated to Assigned"},{"type":"text","text":"Safety Alert"},{"type":"text","text":"This is a ticket notification"},{"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/21293?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":"WORK_PERMIT_APPROVED_INFORM_TO_CREATOR_NOTIFICATION","EventArgs":[{"Key":"CreatorId","Value":"1954"},{"Key":"ApproverName","Value":"Lalit Aditya Kola"},{"Key":"WorkPermitId","Value":"57"},{"Key":"WorkPermitUid","Value":"WP/TTK/COI/HWK/25/00009"},{"Key":"SiteName","Value":"Coimbatore"},{"Key":"OrganisationName","Value":"TTK Beta - QA"},{"Key":"ApprovedOn","Value":"11-Sep-2025 06:42:03 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":"UPDATE_INCIDENT_NOTIFICATION","EventArgs":[{"Key":"IncidentId","Value":21293},{"Key":"IncidentHistoryId","Value":8610},{"Key":"IsTicketAssigned","Value":false}]}


Sending Email for IncidentId:21293


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/00032"},{"type":"text","text":"Safety Alert status updated to Resolved., Comments are added as Resolved the ticket"},{"type":"text","text":"Safety Alert"},{"type":"text","text":"This is a ticket notification"},{"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/21293?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":"917003236045","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":"Bishal Mondal"},{"type":"text","text":"Safety Alert"},{"type":"text","text":"T/TTK/SAB/25/00032"},{"type":"text","text":"Safety Alert status updated to Resolved., Comments are added as Resolved the ticket"},{"type":"text","text":"Safety Alert"},{"type":"text","text":"This is a ticket notification"},{"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/21293?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":21293},{"Key":"ClosedById","Value":1326}]}


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


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


The file path you provided is not Valid


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


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


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


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


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


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


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


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


Your OQSHA Access Has Been Updated


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


--- Email response from Osmo-x is 201


### End Event Execution ###


Message : {"EventName":"INFORM_TO_INCIDENT_CREATION_NOTIFICATION","EventArgs":[{"Key":"IncidentId","Value":21294},{"Key":"InformToUserId","Value":916}]}


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


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/00033"},{"type":"text","text":"Lopper"},{"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/21294?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 ###


### Start Event Execution ###


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


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"917003236045","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"oqsha_ticket_inform_to_template_v3","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"Bishal Mondal"},{"type":"text","text":"Safety Alert"},{"type":"text","text":"T/TTK/SAB/25/00033"},{"type":"text","text":"Lopper"},{"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/21294?dlType=viewTicket"},{"type":"text","text":"EHS Department - TTK Private Limited"}]}]}}}


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


# Calling SendNotificationToTaskAssignees function for WhatsApp notification #


Sending WhatsApp notification for task assignment to user ID: 1326


Message : {"EventName":"ASSIGNED_TO_NOTIFICATION","EventArgs":[{"Key":"AssignedIncidentID","Value":21294},{"Key":"AssignedToID","Value":1326}]}


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


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


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


Generating report.


Sending Task Assignment Email for TaskId: 3546, UserId: 1326


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


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


--- Email response from Osmo-x is 201


### End Event Execution ###


PDF generation successfull


## Sending email to Bishal Mondal, UserId : 1326 for assigned to notification ##


Sending Assigned To Email for IncidentId:21294


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


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"917003236045","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":"Bishal Mondal"},{"type":"text","text":"Safety Alert"},{"type":"text","text":"T/TTK/SAB/25/00033"},{"type":"text","text":"Lopper"},{"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/21294?dlType=viewTicket"},{"type":"text","text":"EHS Department - TTK Private Limited"}]}]}}}


Osmo-x WhatsApp Message has been Sent


# Preparing notification body #


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


### Start Event Execution ###


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


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/00033"},{"type":"text","text":"Safety Alert status updated to Assigned"},{"type":"text","text":"Safety Alert"},{"type":"text","text":"Lopper"},{"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/21294?dlType=viewTicket"},{"type":"text","text":"EHS Department - TTK Private Limited"}]}]}}}


### Ended processing Update incident Event ###


### End Event Execution ###


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


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/00033"},{"type":"text","text":"Safety Alert status updated to Resolved., Comments are added as Resolved"},{"type":"text","text":"Safety Alert"},{"type":"text","text":"Lopper"},{"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/21294?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":"917003236045","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":"Bishal Mondal"},{"type":"text","text":"Safety Alert"},{"type":"text","text":"T/TTK/SAB/25/00033"},{"type":"text","text":"Safety Alert status updated to Resolved., Comments are added as Resolved"},{"type":"text","text":"Safety Alert"},{"type":"text","text":"Lopper"},{"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/21294?dlType=viewTicket"},{"type":"text","text":"EHS Department - TTK Private Limited"}]}]}}}


### Start Event Execution ###


Message : {"EventName":"INCIDENT_CLOSURE_NOTIFICATION_VALIDATION_1","EventArgs":[{"Key":"IncidentId","Value":21294},{"Key":"ClosedById","Value":1326}]}


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


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


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


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


Reading and binding data to Email Template


Initializing Email Service Client


Generating Email Request


Safety Alert Validation Level 1


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


--- Email response from Osmo-x is 201


Sending Inform-To Update WhatsApp for IncidentId:21294


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":"Bishal Mondal"},{"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 Lalit Aditya Kola, UserId : 1954 for Incident Closure Validation notification ##


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"919989248964","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"oqsha_ticket_validation_level_1_whatsapp_template_ttk_v2","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"Lalit Aditya Kola"},{"type":"text","text":"Bishal Mondal"},{"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"}]}]}}}


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


### End Event Execution ###


### Start Event Execution ###


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


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


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/00033"},{"type":"text","text":"Safety Alert status updated to Validated_1., Comments are added as This is validated"},{"type":"text","text":"Safety Alert"},{"type":"text","text":"Lopper"},{"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/21294?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":"917003236045","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":"Bishal Mondal"},{"type":"text","text":"Safety Alert"},{"type":"text","text":"T/TTK/SAB/25/00033"},{"type":"text","text":"Safety Alert status updated to Validated_1., Comments are added as This is validated"},{"type":"text","text":"Safety Alert"},{"type":"text","text":"Lopper"},{"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/21294?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":21294},{"Key":"ClosedById","Value":1954}]}


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


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


Generating report.


## Sending notification to EHS head user ##


## Notification to be send for these users: [1,1482,916,1403]


## Sending email to Raj Kumar Pativada, UserId : 1 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