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


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


### Start Event Execution ###


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


Message : {"EventName":"NOTIFICATION_FOR_INSPECTION_CREATION","EventArgs":[{"Key":"UserIds","Value":"[1954]"},{"Key":"InspectionUID","Value":"I/TTK/COI/DTT/25/00008"},{"Key":"Name","Value":"abc"},{"Key":"Type","Value":"Diesel Tanker"},{"Key":"Organisation","Value":"TTK Beta - QA"},{"Key":"Site","Value":"Coimbatore"},{"Key":"Department","Value":" "},{"Key":"Asset","Value":""},{"Key":"Status","Value":"Inspect"},{"Key":"CreatedBy","Value":"Shreya V"},{"Key":"CreatedOn","Value":"25-Sep-2025 11:23:55 PM"},{"Key":"OrganisationId","Value":387}]}


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


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


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


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


# Calling  SendNotification function for  all types of notification #


# Calling SendNotificationToTaskAssignees function for WhatsApp notification #


# Calling SendNotificationForInspectionCreation function for whatsapp and push notification #


Executing sending notification to associated user through whatsapp


Sending notifications for inspection creation to associated user1954


Sending WhatsApp notification for task assignment to user ID: 1597


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/DTT/25/00008"},{"type":"text","text":"abc"},{"type":"text","text":"Diesel Tanker"},{"type":"text","text":"TTK Beta - QA"},{"type":"text","text":"Coimbatore"},{"type":"text","text":" "},{"type":"text","text":""},{"type":"text","text":"Inspect"},{"type":"text","text":"Shreya V"},{"type":"text","text":"25-Sep-2025 11:23:55 PM"}]}]}}}


Sending Email for IncidentId:21353


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


Reading and binding data to Email Template


Initializing Email Service Client


Generating Email Request


Osmo-x WhatsApp Message has been Sent


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


Executing email notifications to Users about inspection creation


Sending Inspection creation email to user: lalit.a@osmosys.co


Ticket Safety Alert has been updated


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


--- Email response from Osmo-x is 201


Sending Assigned To Whatsapp for IncidentId:21353


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/NMM/25/00115"},{"type":"text","text":"Safety Alert status updated to Assigned., Comments are added as Reopen"},{"type":"text","text":"Safety Alert"},{"type":"text","text":" "},{"type":"text","text":"Coimbatore"},{"type":"text","text":"Near Miss"},{"type":"text","text":"Raj Kumar Pativada"},{"type":"text","text":"TTK Beta - QA"},{"type":"text","text":"Assigned"},{"type":"text","text":"https://qa-staging-2.oqsha.com/#/incidents/view/387/21353?dlType=viewTicket"},{"type":"text","text":"EHS Department - TTK Private Limited"}]}]}}}


New Inspection Created: I/TTK/COI/DTT/25/00008


### End Event Execution ###


### Start Event Execution ###


Message : {"EventName":"NOTIFICATION_FOR_INSPECTION_CREATION","EventArgs":[{"Key":"UserIds","Value":"[1954,2547,898,1326]"},{"Key":"InspectionUID","Value":"I/TTK/COI/DTT/25/00009"},{"Key":"Name","Value":"abc"},{"Key":"Type","Value":"Diesel Tanker"},{"Key":"Organisation","Value":"TTK Beta - QA"},{"Key":"Site","Value":"Coimbatore"},{"Key":"Department","Value":" "},{"Key":"Asset","Value":""},{"Key":"Status","Value":"Draft"},{"Key":"CreatedBy","Value":"Sayan Mondal"},{"Key":"CreatedOn","Value":"25-Sep-2025 11:24:40 PM"},{"Key":"OrganisationId","Value":387}]}


Sending notifications for inspection creation to associated user898


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

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


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


Sending notifications for inspection creation to associated user1326


Osmo-x WhatsApp Message has been Sent


# Preparing notification body #


Sending Email for IncidentId:21353


Initializing Email Service Client


Generating Email Request


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/DTT/25/00009"},{"type":"text","text":"abc"},{"type":"text","text":"Diesel Tanker"},{"type":"text","text":"TTK Beta - QA"},{"type":"text","text":"Coimbatore"},{"type":"text","text":" "},{"type":"text","text":""},{"type":"text","text":"Draft"},{"type":"text","text":"Sayan Mondal"},{"type":"text","text":"25-Sep-2025 11:24:40 PM"}]}]}}}


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


Sending notifications for inspection creation to associated user2547


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":"918967697371","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"oqsha_ticket_update_whatsapp_template_v4","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"Sayan Mondal"},{"type":"text","text":"Safety Alert"},{"type":"text","text":"T/TTK/NMM/25/00115"},{"type":"text","text":"Safety Alert status updated to Assigned., Comments are added as Reopen"},{"type":"text","text":"Safety Alert"},{"type":"text","text":" "},{"type":"text","text":"Coimbatore"},{"type":"text","text":"Near Miss"},{"type":"text","text":"Raj Kumar Pativada"},{"type":"text","text":"TTK Beta - QA"},{"type":"text","text":"Assigned"},{"type":"text","text":"https://qa-staging-2.oqsha.com/#/incidents/view/387/21353?dlType=viewTicket"},{"type":"text","text":"EHS Department - TTK Private Limited"}]}]}}}


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


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


### End Event Execution ###


### Start Event Execution ###


# Calling SendNotificationToTaskAssignees function for WhatsApp notification #


Sending WhatsApp notification for task assignment to user ID: 1597


New Inspection Created: I/TTK/COI/DTT/25/00009


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


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


Reading and binding data to Email Template


Initializing Email Service Client


Generating Email Request


Osmo-x WhatsApp Message has been Sent


# Preparing notification body #


Sending email for incident closure


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


--- Email response from Osmo-x is 201


Sending Inspection creation email to user: lalit.a@osmosys.co


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


Ticket Safety Alert has been updated


Sending Assigned To Whatsapp for IncidentId:21353


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


Sending Inspection creation email to user: SagarAswar001@gmail.com


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


### End Event Execution ###


### Start Event Execution ###


Message : {"EventName":"NOTIFICATION_FOR_INSPECTION_CREATION","EventArgs":[{"Key":"UserIds","Value":"[1954,2547,898,1326]"},{"Key":"InspectionUID","Value":"I/TTK/COI/DTT/25/00010"},{"Key":"Name","Value":"abcd"},{"Key":"Type","Value":"Diesel Tanker"},{"Key":"Organisation","Value":"TTK Beta - QA"},{"Key":"Site","Value":"Coimbatore"},{"Key":"Department","Value":" "},{"Key":"Asset","Value":""},{"Key":"Status","Value":"Planned"},{"Key":"CreatedBy","Value":"Shreya V"},{"Key":"CreatedOn","Value":"26-Sep-2025 04:40:08 AM"},{"Key":"OrganisationId","Value":387}]}


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


# Calling SendNotificationForInspectionCreation function for whatsapp and push notification #


Executing sending notification to associated user through whatsapp


Sending notifications for inspection creation to associated user898


Osmo-x WhatsApp Message has been Sent


### Ended processing Update incident Event ###


Message : {"EventName":"INCIDENT_REOPEN_NOTIFICATION","EventArgs":[{"Key":"IncidentId","Value":21353},{"Key":"ClosedById","Value":1597}]}


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


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


Generating report.


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


Sending Assigned To Email for IncidentId:21353


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


Reading and binding data to Email Template


Initializing Email Service Client


Generating Email Request


Sending notifications for inspection creation to associated user1326


Safety Alert Reopened


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


--- Email response from Osmo-x is 201


### Ended processing Incident Reopen Event ###


### End Event Execution ###


### Start Event Execution ###


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


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


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


Calling SendInformToNotification function for ticket creation


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


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


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


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


# Calling SendNotificationForInspectionCreation function for whatsapp and push notification #


Executing sending notification to associated user through whatsapp


Sending notifications for inspection creation to associated user1597


Sending Inform-To WhatsApp for IncidentId: 21354


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


Osmo-x WhatsApp Message has been Sent


Generating Safety Alert report.


Executing email notifications to Assignee Users about inspection creation


Sending Inspection Assignee creation email to user: sayanm2807@gmail.com


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


Reading and binding data to Email Template


Initializing Email Service Client


Generating Email Request


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


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


--- Email response from Osmo-x is 201


### End Event Execution ###


### Start Event Execution ###


Message : {"EventName":"NOTIFICATION_FOR_INSPECTION_CREATION","EventArgs":[{"Key":"UserIds","Value":"[1954]"},{"Key":"InspectionUID","Value":"I/TTK/COI/DTT/25/00011"},{"Key":"Name","Value":"abcd"},{"Key":"Type","Value":"Diesel Tanker"},{"Key":"Organisation","Value":"TTK Beta - QA"},{"Key":"Site","Value":"Coimbatore"},{"Key":"Department","Value":" "},{"Key":"Asset","Value":""},{"Key":"Status","Value":"Inspect"},{"Key":"CreatedBy","Value":"Shreya V"},{"Key":"CreatedOn","Value":"26-Sep-2025 05:02:21 AM"},{"Key":"OrganisationId","Value":387}]}


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


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/DTT/25/00011"},{"type":"text","text":"abcd"},{"type":"text","text":"Diesel Tanker"},{"type":"text","text":"TTK Beta - QA"},{"type":"text","text":"Coimbatore"},{"type":"text","text":" "},{"type":"text","text":""},{"type":"text","text":"Inspect"},{"type":"text","text":"Shreya V"},{"type":"text","text":"26-Sep-2025 05:02:21 AM"}]}]}}}


Osmo-x WhatsApp Message has been Sent


Executing email notifications to Users about inspection creation


Sending Inspection creation email to user: lalit.a@osmosys.co


New Inspection Created: I/TTK/COI/DTT/25/00011


Message : {"EventName":"NOTIFICATION_FOR_INSPECTION_CREATION","EventArgs":[{"Key":"UserIds","Value":"[2547]"},{"Key":"InspectionUID","Value":"I/TTK/COI/DTT/25/00012"},{"Key":"Name","Value":"abc"},{"Key":"Type","Value":"Diesel Tanker"},{"Key":"Organisation","Value":"TTK Beta - QA"},{"Key":"Site","Value":"Coimbatore"},{"Key":"Department","Value":" "},{"Key":"Asset","Value":""},{"Key":"Status","Value":"Inspect"},{"Key":"CreatedBy","Value":"Shreya V"},{"Key":"CreatedOn","Value":"26-Sep-2025 05:03:43 AM"},{"Key":"OrganisationId","Value":387}]}


Sending notifications for inspection creation to associated user2547


Sending Inspection creation email to user: SagarAswar001@gmail.com


Initializing Email Service Client


Generating Email Request


New Inspection Created: I/TTK/COI/DTT/25/00012


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


--- Email response from Osmo-x is 201


### End Event Execution ###


### Start Event Execution ###


Message : {"EventName":"NOTIFICATION_FOR_INSPECTION_CREATION","EventArgs":[{"Key":"UserIds","Value":"[1954,2547,898,1326]"},{"Key":"InspectionUID","Value":"I/TTK/COI/DTT/25/00010"},{"Key":"Name","Value":"abcd"},{"Key":"Type","Value":"Diesel Tanker"},{"Key":"Organisation","Value":"TTK Beta - QA"},{"Key":"Site","Value":"Coimbatore"},{"Key":"Department","Value":" "},{"Key":"Asset","Value":""},{"Key":"Status","Value":"Planned"},{"Key":"CreatedBy","Value":"Shreya V"},{"Key":"CreatedOn","Value":"26-Sep-2025 04:40:08 AM"},{"Key":"OrganisationId","Value":387}]}


# Calling SendNotificationForInspectionCreation function for whatsapp and push notification #


Executing sending notification to associated user through whatsapp


Sending notifications for inspection creation to associated user898


Osmo-x WhatsApp Message has been Sent


Sending notifications for inspection creation to associated user1326


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/DTT/25/00010"},{"type":"text","text":"abcd"},{"type":"text","text":"Diesel Tanker"},{"type":"text","text":"TTK Beta - QA"},{"type":"text","text":"Coimbatore"},{"type":"text","text":" "},{"type":"text","text":""},{"type":"text","text":"Planned"},{"type":"text","text":"Shreya V"},{"type":"text","text":"26-Sep-2025 04:40:08 AM"}]}]}}}


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


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


Reading and binding data to Email Template


Initializing Email Service Client


Generating Email Request


New Inspection Created: I/TTK/COI/DTT/25/00010


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


--- Email response from Osmo-x is 201


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


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


### End Event Execution ###


### Start Event Execution ###


Message : {"EventName":"INFORM_TO_INCIDENT_CREATION_NOTIFICATION","EventArgs":[{"Key":"IncidentId","Value":21354},{"Key":"InformToUserId","Value":898}]}


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


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"917488126002","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":"sephali kumari"},{"type":"text","text":"Safety Alert"},{"type":"text","text":"T/TTK/NMM/25/00116"},{"type":"text","text":" "},{"type":"text","text":"Coimbatore"},{"type":"text","text":"Near Miss"},{"type":"text","text":"Raj Kumar Pativada"},{"type":"text","text":"TTK Beta - QA"},{"type":"text","text":"Open"},{"type":"text","text":"https://qa-staging-2.oqsha.com/#/incidents/view/387/21354?dlType=viewTicket"},{"type":"text","text":"EHS Department - TTK Private Limited"}]}]}}}


Sending Inspection creation email to user: SagarAswar001@gmail.com


Osmo-x WhatsApp Message has been Sent


Generating Safety Alert report.


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


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


### Started processing for Notification Execution ###


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


### Started processing  PUSH Notification Execution ###


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


# Calling  SendCronNotifcationsToUsers function for  push notification #


# Started  SendCronNotifcationsToUsers Execution #


# Fetching details from escalate_cron table for escalate_cron id 22545 #


# Preparing notification body #


# Fetching user of id:2562devices #


# User devices count #0


Updating escalte_cron to failed for id 22545


### End  Push notification Event Execution ###


### Ended processing  for Notification Execution ###


### Started processing  Email Notification Execution ###


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


# Incident Attachments Count: 0#


# Calling  SendCronEmail function for  email notification #


# Fetching details from escalate_cron table for escalate_cron id 22546 #


Generating report.


Logging user id - 2562


Logging user  - IncidentReporter.DAL.Models.UserDBO


## Sending email to Test Consent##


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


Reading and binding data to Email Template


Initializing Email Service Client


Generating Email Request


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


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


--- Email response from Osmo-x is 201


## Email Sent to Test Consent##


# Updating escalate_cron : 22546 Status to Passed #


### Ended processing  Email Notification Execution ###


### Started processing  Whatsapp Notification Execution ###


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


# Calling  SendCronWhatsAppNotifcations function for  whatsapp notification #


# Fetching details from escalate_cron table for escalate_cron id 22547 #


Osmo-x WhatsApp Message has been Sent


# Updating escalate cron : 22547 Status to Passed #


### Ended processing  Whatsapp Notification Execution ###


### End Event Execution ###


### Start Event Execution ###


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


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


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


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


Generating report.


PDF generation successfull


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


Sending Assigned To Email for IncidentId:21354


Initializing Email Service Client


Generating Email Request


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


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


--- Email response from Osmo-x is 201


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


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


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


Reading and binding data to Email Template


Ticket Safety Alert has been updated


Sending Assigned To Whatsapp for IncidentId:21354


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


Osmo-x WhatsApp Message has been Sent


# Preparing notification body #


Sending email for incident closure


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":"91434342231232","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"oqsha_ticket_update_whatsapp_template_v4","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"Test Consent"},{"type":"text","text":"Safety Alert"},{"type":"text","text":"T/TTK/NMM/25/00116"},{"type":"text","text":"Safety Alert status updated to Assigned"},{"type":"text","text":"Safety Alert"},{"type":"text","text":" "},{"type":"text","text":"Coimbatore"},{"type":"text","text":"Near Miss"},{"type":"text","text":"Raj Kumar Pativada"},{"type":"text","text":"TTK Beta - QA"},{"type":"text","text":"Open"},{"type":"text","text":"https://qa-staging-2.oqsha.com/#/incidents/view/387/21354?dlType=viewTicket"},{"type":"text","text":"EHS Department - TTK Private Limited"}]}]}}}


### Ended processing Update incident Event ###


### End Event Execution ###


### Start Event Execution ###


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


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


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


Calling Send Email Function for Update User Email


Your OQSHA Access Has Been Updated


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


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


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


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


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


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/NMM/25/00116"},{"type":"text","text":"Safety Alert status updated to Resolved., Comments are added as Resolve"},{"type":"text","text":"Safety Alert"},{"type":"text","text":" "},{"type":"text","text":"Coimbatore"},{"type":"text","text":"Near Miss"},{"type":"text","text":"Raj Kumar Pativada"},{"type":"text","text":"TTK Beta - QA"},{"type":"text","text":"Open"},{"type":"text","text":"https://qa-staging-2.oqsha.com/#/incidents/view/387/21354?dlType=viewTicket"},{"type":"text","text":"EHS Department - TTK Private Limited"}]}]}}}


Osmo-x WhatsApp Message has been Sent


# Preparing notification body #


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


Sending email for incident closure


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


### Ended processing Update incident Event ###


### End Event Execution ###


### Start Event Execution ###


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


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


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


Generating report.


## Sending notification to Site EHS user ##


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


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


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


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


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"919989248964","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"oqsha_ticket_validation_level_1_whatsapp_template_ttk_v2","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"Lalit Aditya Kola"},{"type":"text","text":"Sayan Mondal"},{"type":"text","text":"T/TTK/NMM/25/00116"},{"type":"text","text":"25-Sep-2025 10:48:41 PM"},{"type":"text","text":"Near Miss"},{"type":"text","text":"Coimbatore"},{"type":"text","text":"Coimbatore"},{"type":"text","text":""},{"type":"text","text":"Raj Kumar Pativada"},{"type":"text","text":"https://qa-staging-2.oqsha.com/#/incidents/view/387/21354?dlType=viewTicket"},{"type":"text","text":"EHS Department - TTK Private Limited"}]}]}}}


Osmo-x WhatsApp Message has been Sent


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


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


Reading and binding data to Email Template


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"917223964170","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"oqsha_ticket_validation_level_1_whatsapp_template_ttk_v2","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"Sagar Aswar"},{"type":"text","text":"Sayan Mondal"},{"type":"text","text":"T/TTK/NMM/25/00116"},{"type":"text","text":"25-Sep-2025 10:48:41 PM"},{"type":"text","text":"Near Miss"},{"type":"text","text":"Coimbatore"},{"type":"text","text":"Coimbatore"},{"type":"text","text":""},{"type":"text","text":"Raj Kumar Pativada"},{"type":"text","text":"https://qa-staging-2.oqsha.com/#/incidents/view/387/21354?dlType=viewTicket"},{"type":"text","text":"EHS Department - TTK Private Limited"}]}]}}}


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


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"917003236045","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"oqsha_ticket_validation_level_1_whatsapp_template_ttk_v2","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"Bishal Mondal"},{"type":"text","text":"Sayan Mondal"},{"type":"text","text":"T/TTK/NMM/25/00116"},{"type":"text","text":"25-Sep-2025 10:48:41 PM"},{"type":"text","text":"Near Miss"},{"type":"text","text":"Coimbatore"},{"type":"text","text":"Coimbatore"},{"type":"text","text":""},{"type":"text","text":"Raj Kumar Pativada"},{"type":"text","text":"https://qa-staging-2.oqsha.com/#/incidents/view/387/21354?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":21354},{"Key":"IncidentHistoryId","Value":8834},{"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 #


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


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


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


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


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


Calling SendInformToNotification function for ticket creation


Sending Inform-To WhatsApp for IncidentId: 21355


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


Osmo-x WhatsApp Message has been Sent


Generating Safety Alert report.


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


### End Event Execution ###


### Start Event Execution ###


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


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


Message : {"EventName":"INFORM_TO_INCIDENT_CREATION_NOTIFICATION","EventArgs":[{"Key":"IncidentId","Value":21355},{"Key":"InformToUserId","Value":898}]}


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"917488126002","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":"sephali kumari"},{"type":"text","text":"Safety Alert"},{"type":"text","text":"T/TTK/NMM/25/00117"},{"type":"text","text":" "},{"type":"text","text":"Coimbatore"},{"type":"text","text":"Near Miss"},{"type":"text","text":"Raj Kumar Pativada"},{"type":"text","text":"TTK Beta - QA"},{"type":"text","text":"Assigned"},{"type":"text","text":"https://qa-staging-2.oqsha.com/#/incidents/view/387/21355?dlType=viewTicket"},{"type":"text","text":"EHS Department - TTK Private Limited"}]}]}}}


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


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


### Started processing for Notification Execution ###


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


### Started processing  PUSH Notification Execution ###


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


# Calling  SendCronNotifcationsToUsers function for  push notification #


# Started  SendCronNotifcationsToUsers Execution #


# Fetching details from escalate_cron table for escalate_cron id 22548 #


# Preparing notification body #


# Fetching user of id:2562devices #


# User devices count #0


Updating escalte_cron to failed for id 22548


### End  Push notification Event Execution ###


### Ended processing  for Notification Execution ###


### Started processing  Email Notification Execution ###


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


# Incident Attachments Count: 0#


# Calling  SendCronEmail function for  email notification #


# Fetching details from escalate_cron table for escalate_cron id 22549 #


Generating report.


Logging user id - 2562


Logging user  - IncidentReporter.DAL.Models.UserDBO


## Sending email to Test Consent##


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


Reading and binding data to Email Template


Initializing Email Service Client


Generating Email Request


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


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


--- Email response from Osmo-x is 201


## Email Sent to Test Consent##


# Updating escalate_cron : 22549 Status to Passed #


### Ended processing  Email Notification Execution ###


### Started processing  Whatsapp Notification Execution ###


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


# Calling  SendCronWhatsAppNotifcations function for  whatsapp notification #


# Fetching details from escalate_cron table for escalate_cron id 22550 #


Osmo-x WhatsApp Message has been Sent


# Updating escalate cron : 22550 Status to Passed #


### Ended processing  Whatsapp Notification Execution ###


### End Event Execution ###


### Start Event Execution ###


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


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


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


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


Generating report.


PDF generation successfull


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


Sending Assigned To Email for IncidentId:21355


Initializing Email Service Client


Generating Email Request


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


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


--- Email response from Osmo-x is 201


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


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


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


Reading and binding data to Email Template


Ticket Safety Alert has been updated


Sending Assigned To Whatsapp for IncidentId:21355


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


Osmo-x WhatsApp Message has been Sent


# Preparing notification body #


Sending email for incident closure


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":"91434342231232","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"oqsha_ticket_update_whatsapp_template_v4","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"Test Consent"},{"type":"text","text":"Safety Alert"},{"type":"text","text":"T/TTK/NMM/25/00117"},{"type":"text","text":"Safety Alert status updated to Assigned"},{"type":"text","text":"Safety Alert"},{"type":"text","text":" "},{"type":"text","text":"Coimbatore"},{"type":"text","text":"Near Miss"},{"type":"text","text":"Raj Kumar Pativada"},{"type":"text","text":"TTK Beta - QA"},{"type":"text","text":"Assigned"},{"type":"text","text":"https://qa-staging-2.oqsha.com/#/incidents/view/387/21355?dlType=viewTicket"},{"type":"text","text":"EHS Department - TTK Private Limited"}]}]}}}


### Ended processing Update incident Event ###


### End Event Execution ###


### Start Event Execution ###


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


Sending Email for IncidentId:21355


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/NMM/25/00117"},{"type":"text","text":"Safety Alert status updated to Resolved., Comments are added as resolve"},{"type":"text","text":"Safety Alert"},{"type":"text","text":" "},{"type":"text","text":"Coimbatore"},{"type":"text","text":"Near Miss"},{"type":"text","text":"Raj Kumar Pativada"},{"type":"text","text":"TTK Beta - QA"},{"type":"text","text":"Assigned"},{"type":"text","text":"https://qa-staging-2.oqsha.com/#/incidents/view/387/21355?dlType=viewTicket"},{"type":"text","text":"EHS Department - TTK Private Limited"}]}]}}}


Ticket Safety Alert has been updated


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


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


Osmo-x WhatsApp Message has been Sent


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


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


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


Generating report.


## Sending notification to Site EHS user ##


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


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


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


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


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"919989248964","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"oqsha_ticket_validation_level_1_whatsapp_template_ttk_v2","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"Lalit Aditya Kola"},{"type":"text","text":"Sayan Mondal"},{"type":"text","text":"T/TTK/NMM/25/00117"},{"type":"text","text":"25-Sep-2025 10:58:57 PM"},{"type":"text","text":"Near Miss"},{"type":"text","text":"Coimbatore"},{"type":"text","text":"Coimbatore"},{"type":"text","text":""},{"type":"text","text":"Raj Kumar Pativada"},{"type":"text","text":"https://qa-staging-2.oqsha.com/#/incidents/view/387/21355?dlType=viewTicket"},{"type":"text","text":"EHS Department - TTK Private Limited"}]}]}}}


Osmo-x WhatsApp Message has been Sent


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


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"917223964170","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"oqsha_ticket_validation_level_1_whatsapp_template_ttk_v2","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"Sagar Aswar"},{"type":"text","text":"Sayan Mondal"},{"type":"text","text":"T/TTK/NMM/25/00117"},{"type":"text","text":"25-Sep-2025 10:58:57 PM"},{"type":"text","text":"Near Miss"},{"type":"text","text":"Coimbatore"},{"type":"text","text":"Coimbatore"},{"type":"text","text":""},{"type":"text","text":"Raj Kumar Pativada"},{"type":"text","text":"https://qa-staging-2.oqsha.com/#/incidents/view/387/21355?dlType=viewTicket"},{"type":"text","text":"EHS Department - TTK Private Limited"}]}]}}}


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


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"917003236045","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"oqsha_ticket_validation_level_1_whatsapp_template_ttk_v2","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"Bishal Mondal"},{"type":"text","text":"Sayan Mondal"},{"type":"text","text":"T/TTK/NMM/25/00117"},{"type":"text","text":"25-Sep-2025 10:58:57 PM"},{"type":"text","text":"Near Miss"},{"type":"text","text":"Coimbatore"},{"type":"text","text":"Coimbatore"},{"type":"text","text":""},{"type":"text","text":"Raj Kumar Pativada"},{"type":"text","text":"https://qa-staging-2.oqsha.com/#/incidents/view/387/21355?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":21355},{"Key":"IncidentHistoryId","Value":8839},{"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 #


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


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


Message : {"EventName":"INCIDENT_REOPEN_NOTIFICATION","EventArgs":[{"Key":"IncidentId","Value":21355},{"Key":"ClosedById","Value":1597}]}


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


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


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


Generating report.


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


Sending Assigned To Email for IncidentId:21355


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


Reading and binding data to Email Template


Initializing Email Service Client


Generating Email Request


Safety Alert Reopened


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


--- Email response from Osmo-x is 201


### Ended processing Incident Reopen Event ###


### End Event Execution ###


### Start Event Execution ###


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


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


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


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


Sending WhatsApp notification for task assignment to user ID: 1954


Executing email notifications to Incident Approvers about the Pending approval


Osmo-x WhatsApp Message has been Sent


Sending Task Assignment Email for TaskId: 3961, UserId: 1954


Incident IMF/TTK/COI/III/25/00088 has been validated, form a team to investigate


Executing whatsapp notifications to Incident Approvers about the Pending approval


Sending WhatsApp for Incident Approval to User: 1326


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


New Action Tracker Assigned - TA/TTK//SNN/25/00001


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


--- Email response from Osmo-x is 201


Initializing Email Service Client


Generating Email Request


### End Event Execution ###


### Start Event Execution ###


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


# Calling SendNotificationToTaskAssignees function for WhatsApp notification #


Sending WhatsApp notification for task assignment to user ID: 2568


Sending WhatsApp for Incident Approval to User: 2127


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"918810674693","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"oqsha_incident_investigation_v2","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"Jayani Sehgal"},{"type":"text","text":"IMF/TTK/COI/III/25/00088"},{"type":"text","text":"Raj Kumar Pativada"},{"type":"text","text":"10-Oct-2025 04:19:00 AM"},{"type":"text","text":"Coimbatore"},{"type":"text","text":"NA"},{"type":"text","text":"0"},{"type":"text","text":"https://oqsha.com/#/incident-management/report-investigation/view/191"},{"type":"text","text":"EHS Department - TTK Private Limited"}]}]}}}


Osmo-x WhatsApp Message has been Sent


Sending Task Assignment Email for TaskId: 3958, UserId: 2568


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


Reading and binding data to Email Template


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


Sending WhatsApp for Incident Approval to User: 2511


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"919871234523","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"oqsha_incident_investigation_v2","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"dhruv pahadia"},{"type":"text","text":"IMF/TTK/COI/III/25/00088"},{"type":"text","text":"Raj Kumar Pativada"},{"type":"text","text":"10-Oct-2025 04:19:00 AM"},{"type":"text","text":"Coimbatore"},{"type":"text","text":"NA"},{"type":"text","text":"0"},{"type":"text","text":"https://oqsha.com/#/incident-management/report-investigation/view/191"},{"type":"text","text":"EHS Department - TTK Private Limited"}]}]}}}


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


Message : {"EventName":"PASSWORD_RESET","EventArgs":[{"Key":"DisplayName","Value":null},{"Key":"Password","Value":"UZK9$MFS"},{"Key":"Email","Value":"shreya.v@osmosys.co"}]}


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


### Started Event for Reset Password Email ###


Calling Send Email Function for Reset Password Email


Initializing Email Service Client


Generating Email Request


Your password is reset


--- 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":"Lalit Aditya Kola"},{"Key":"Password","Value":""},{"Key":"OrganisationName","Value":"My Home Private LTD"},{"Key":"UserDivisions","Value":"Anirban Testing 01, Blasts, Incident, Jogging, Near Miss, Power Outage, Power Outage-clone1, Running, Running copy"},{"Key":"UserIncidentSites","Value":"Apas, Avali, Grava"},{"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":"My Home Private LTD"},{"Key":"UserUid","Value":""},{"Key":"UserDivisions","Value":"Anirban Testing 01, Blasts, Incident, Jogging, Near Miss, Power Outage, Power Outage-clone1, Running, Running copy"},{"Key":"UserIncidentSites","Value":"Apas, Avali, Grava"},{"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 ###


Message : {"EventName":"Update_USER","EventArgs":[{"Key":"DisplayName","Value":"Sayan Mondal"},{"Key":"Password","Value":""},{"Key":"OrganisationName","Value":"My Home Private LTD"},{"Key":"UserDivisions","Value":"Running copy, Anirban Testing 01, Blasts, Category10 - Updated, CRM Test, CRM Test1, CRM Test2, CRM Test3, CRM Test4, CRM Test6, CRM test7, Explosion, Explosion-clone1, Fly Attack, Fly Tipping, Incident, Jogging, Near Miss, Observation, Power Outage, Power Outage-clone1, Running"},{"Key":"UserIncidentSites","Value":"Apas, Avali, Grava"},{"Key":"OldEmail","Value":""},{"Key":"Email","Value":"sayanm2807@gmail.com"}]}


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


Message : {"EventName":"Update_APP_USER","EventArgs":[{"Key":"DisplayName","Value":"Sayan Mondal"},{"Key":"Password","Value":""},{"Key":"OrganisationName","Value":"My Home Private LTD"},{"Key":"UserUid","Value":"8967697371"},{"Key":"UserDivisions","Value":"Running copy, Anirban Testing 01, Blasts, Category10 - Updated, CRM Test, CRM Test1, CRM Test2, CRM Test3, CRM Test4, CRM Test6, CRM test7, Explosion, Explosion-clone1, Fly Attack, Fly Tipping, Incident, Jogging, Near Miss, Observation, Power Outage, Power Outage-clone1, Running"},{"Key":"UserIncidentSites","Value":"Apas, Avali, Grava"},{"Key":"Email","Value":"sayanm2807@gmail.com"},{"Key":"MobileNumber","Value":"+918967697371"}]}


--- 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":"Mounika Laisetti"},{"Key":"Password","Value":""},{"Key":"OrganisationName","Value":"My Home Private LTD"},{"Key":"UserDivisions","Value":"CRM Test, CRM Test1, CRM Test2, CRM Test3, CRM Test4, CRM Test6, CRM test7, Category10 - Updated, Anirban Testing 01, Blasts, Explosion, Explosion-clone1, Fly Attack, Fly Tipping, Incident, Jogging, Near Miss, Observation, Power Outage, Power Outage-clone1, Running, Running copy"},{"Key":"UserIncidentSites","Value":"Apas, Avali, Grava"},{"Key":"OldEmail","Value":""},{"Key":"Email","Value":"mounika.l@osmosys.co"}]}


Your OQSHA Access Has Been Updated


Message : {"EventName":"Update_APP_USER","EventArgs":[{"Key":"DisplayName","Value":"Mounika Laisetti"},{"Key":"Password","Value":""},{"Key":"OrganisationName","Value":"My Home Private LTD"},{"Key":"UserUid","Value":""},{"Key":"UserDivisions","Value":"CRM Test, CRM Test1, CRM Test2, CRM Test3, CRM Test4, CRM Test6, CRM test7, Category10 - Updated, Anirban Testing 01, Blasts, Explosion, Explosion-clone1, Fly Attack, Fly Tipping, Incident, Jogging, Near Miss, Observation, Power Outage, Power Outage-clone1, Running, Running copy"},{"Key":"UserIncidentSites","Value":"Apas, Avali, Grava"},{"Key":"Email","Value":"mounika.l@osmosys.co"},{"Key":"MobileNumber","Value":"+918179415544"}]}


Message : {"EventName":"Update_USER","EventArgs":[{"Key":"DisplayName","Value":"Raj Kumar Pativada"},{"Key":"Password","Value":""},{"Key":"OrganisationName","Value":"My Home Private LTD"},{"Key":"UserDivisions","Value":"Anirban Testing 01, Blasts, Explosion, Explosion-clone1, Fly Attack, Fly Tipping, Incident, Jogging, Near Miss, Observation, Power Outage, Power Outage-clone1, Running, Running copy"},{"Key":"UserIncidentSites","Value":"Andheri12, Apas, Avali, Bangalore Test, Bangalore Test 1, Bawanah, BulBul Nagar, Durgapur Steel City, Grava, Grava Residences, Humpi, js-testing, Kanchi Cafe, Kolkata, Kolkata Test 1, Kumbharwada, MH99, Mumbai , Nagpur, new empty site, New Home Cst, New Home Cust, New Test Site, Nishada, Paschim Vihar, Patrika Nagar, Precast Plant, Raka, Ram Nagar, Rohtak, Sayan Mondal, Sayuk, Sit 2, Sit 3, Site 4, Site 5, Site1, Test site, Test site121, Test09 Location, Test7 Location, Tridasa, Vidyanagar Site 001, Vidyanagar Site 002, Your Home"},{"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":"My Home Private LTD"},{"Key":"UserUid","Value":"9160948627"},{"Key":"UserDivisions","Value":"Anirban Testing 01, Blasts, Explosion, Explosion-clone1, Fly Attack, Fly Tipping, Incident, Jogging, Near Miss, Observation, Power Outage, Power Outage-clone1, Running, Running copy"},{"Key":"UserIncidentSites","Value":"Andheri12, Apas, Avali, Bangalore Test, Bangalore Test 1, Bawanah, BulBul Nagar, Durgapur Steel City, Grava, Grava Residences, Humpi, js-testing, Kanchi Cafe, Kolkata, Kolkata Test 1, Kumbharwada, MH99, Mumbai , Nagpur, new empty site, New Home Cst, New Home Cust, New Test Site, Nishada, Paschim Vihar, Patrika Nagar, Precast Plant, Raka, Ram Nagar, Rohtak, Sayan Mondal, Sayuk, Sit 2, Sit 3, Site 4, Site 5, Site1, Test site, Test site121, Test09 Location, Test7 Location, Tridasa, Vidyanagar Site 001, Vidyanagar Site 002, Your Home"},{"Key":"Email","Value":"rajkumar.p@osmosys.co"},{"Key":"MobileNumber","Value":"+919160948627"}]}


Message : {"EventName":"Update_USER","EventArgs":[{"Key":"DisplayName","Value":"Raj Kumar Pativada"},{"Key":"Password","Value":""},{"Key":"OrganisationName","Value":"Aparna Constructions"},{"Key":"UserDivisions","Value":"Accident, Accident 1, Asset Related Category, Dancing Category, demo2, Electrical Hazard, Example, Falling Objects, Investigation category, King Kong, Latest Category. edit, Medchal category, Minor injury, Near Miss, New Ticket Category, New ticket category July 07, New ticket category june, Running, Snippet, Stuck in Depth, Stuck in Depth- Short, Test, Test Category2, Testing 5.4.13, TestingCategory, TestingCategory1, trfhulk,;."},{"Key":"UserIncidentSites","Value":"16 july 2025, 5.4.15 Old App Testing ( dont delete), A789, Ahemdabad, Air ways, Amritsar, Aparna New Site, Aparna Sarovar, Aparna Sarovar27, bandlagudaa12, BandraAXZ, BHEL, daa, Dehradun WERE, Delhi, Delhi region, dep-testing, Department SITE  1 ONLY, Dhruv's Inspection Site, hello14july, HiTech City, HLA Test sites, Humpi, hyderabed, inspection site, Jaipur, Jalepally, Japan, Jones & Jones Pvt Ltd, js-testing, Kalyan nagar, Kanchi, Kanchicafe, Kanto region, Kishan bagh, Kolhapur, Kolkata, Kompally, Ladpur, Lahore - Testing Site, Lakshmana Site, Lalit's Test Site 001, Lalit's test site 003, Lalit-test site, Latur, Lucknow, Malkajgiri, mumbai, Naananagar, New Site test, New Siteeeeeeee, NFC, ohurhfwiuhwefhih, Old App - 4.15, OSM -   workafella, Osmosys, Osmosys Canada, Osmosys India, Osmosys Software Solution, Osmosys UK, OSS Home, Patancheru, Prashanth site, PTW Notification, PTW-A-R, PTW-I, PTW-I-A, PTW-I-A-R, PTW-I-R, Pwa Site, QA Testing for BUG-3038, Rajasthan, Rittal Private Limited, Santiago Bernabeu, Silver Hills, Site 123455, Site for deletion, Site for deletions, Site should not be created, SITE TESTING NEW NEW, Site to test allow all users, Site w/o approver, Site w/o issuer, Site w/o Reviewer, site without issuer old app, Site without reviewer, Site-A, Site-A-R, Site-I, Site-I-A, Site-I-A-R-C, Site-I-R, Site-R, Site3, Solar System, Sports ground, T55, tempsite, Test 45, Test batch 19, Test site16, test14, Test23, testing, TestSite24, Thailand, ThelaBazar, Tirumala, Tkolkata123, upperpally, uttarakhand, Vellur"},{"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


Message : {"EventName":"Update_APP_USER","EventArgs":[{"Key":"DisplayName","Value":"Raj Kumar Pativada"},{"Key":"Password","Value":""},{"Key":"OrganisationName","Value":"Aparna Constructions"},{"Key":"UserUid","Value":"9160948627"},{"Key":"UserDivisions","Value":"Accident, Accident 1, Asset Related Category, Dancing Category, demo2, Electrical Hazard, Example, Falling Objects, Investigation category, King Kong, Latest Category. edit, Medchal category, Minor injury, Near Miss, New Ticket Category, New ticket category July 07, New ticket category june, Running, Snippet, Stuck in Depth, Stuck in Depth- Short, Test, Test Category2, Testing 5.4.13, TestingCategory, TestingCategory1, trfhulk,;."},{"Key":"UserIncidentSites","Value":"16 july 2025, 5.4.15 Old App Testing ( dont delete), A789, Ahemdabad, Air ways, Amritsar, Aparna New Site, Aparna Sarovar, Aparna Sarovar27, bandlagudaa12, BandraAXZ, BHEL, daa, Dehradun WERE, Delhi, Delhi region, dep-testing, Department SITE  1 ONLY, Dhruv's Inspection Site, hello14july, HiTech City, HLA Test sites, Humpi, hyderabed, inspection site, Jaipur, Jalepally, Japan, Jones & Jones Pvt Ltd, js-testing, Kalyan nagar, Kanchi, Kanchicafe, Kanto region, Kishan bagh, Kolhapur, Kolkata, Kompally, Ladpur, Lahore - Testing Site, Lakshmana Site, Lalit's Test Site 001, Lalit's test site 003, Lalit-test site, Latur, Lucknow, Malkajgiri, mumbai, Naananagar, New Site test, New Siteeeeeeee, NFC, ohurhfwiuhwefhih, Old App - 4.15, OSM -   workafella, Osmosys, Osmosys Canada, Osmosys India, Osmosys Software Solution, Osmosys UK, OSS Home, Patancheru, Prashanth site, PTW Notification, PTW-A-R, PTW-I, PTW-I-A, PTW-I-A-R, PTW-I-R, Pwa Site, QA Testing for BUG-3038, Rajasthan, Rittal Private Limited, Santiago Bernabeu, Silver Hills, Site 123455, Site for deletion, Site for deletions, Site should not be created, SITE TESTING NEW NEW, Site to test allow all users, Site w/o approver, Site w/o issuer, Site w/o Reviewer, site without issuer old app, Site without reviewer, Site-A, Site-A-R, Site-I, Site-I-A, Site-I-A-R-C, Site-I-R, Site-R, Site3, Solar System, Sports ground, T55, tempsite, Test 45, Test batch 19, Test site16, test14, Test23, testing, TestSite24, Thailand, ThelaBazar, Tirumala, Tkolkata123, upperpally, uttarakhand, Vellur"},{"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 ###


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


--- Email response from Osmo-x is 201


### End Event Execution ###


### Start Event Execution ###


Your OQSHA Access Has Been Updated


Message : {"EventName":"Update_USER","EventArgs":[{"Key":"DisplayName","Value":"Sayan Mondal"},{"Key":"Password","Value":""},{"Key":"OrganisationName","Value":"Aparna Constructions"},{"Key":"UserDivisions","Value":"Accident, Accident 1, Asset Related Category, Dancing Category, demo2, Electrical Hazard, Example, Falling Objects, Fly Tipping, Investigation category, King Kong, Latest Category. edit, Medchal category, Minor injury, Near Miss, New Ticket Category, New ticket category July 07, New ticket category june, New tickettype edit, Running, Snippet, Stuck in Depth, Stuck in Depth- Short, Test, Test Category2, Testing 5.4.13, TestingCategory, TestingCategory1, trfhulk,;."},{"Key":"UserIncidentSites","Value":"Aparna New Site, Aparna Sarovar"},{"Key":"OldEmail","Value":""},{"Key":"Email","Value":"sayanm2807@gmail.com"}]}


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


Reading and binding data to Email Template


Message : {"EventName":"Update_APP_USER","EventArgs":[{"Key":"DisplayName","Value":"Sayan Mondal"},{"Key":"Password","Value":""},{"Key":"OrganisationName","Value":"Aparna Constructions"},{"Key":"UserUid","Value":"8967697371"},{"Key":"UserDivisions","Value":"Accident, Accident 1, Asset Related Category, Dancing Category, demo2, Electrical Hazard, Example, Falling Objects, Fly Tipping, Investigation category, King Kong, Latest Category. edit, Medchal category, Minor injury, Near Miss, New Ticket Category, New ticket category July 07, New ticket category june, New tickettype edit, Running, Snippet, Stuck in Depth, Stuck in Depth- Short, Test, Test Category2, Testing 5.4.13, TestingCategory, TestingCategory1, trfhulk,;."},{"Key":"UserIncidentSites","Value":"Aparna New Site, Aparna Sarovar"},{"Key":"Email","Value":"sayanm2807@gmail.com"},{"Key":"MobileNumber","Value":"+918967697371"}]}


Message : {"EventName":"Update_USER","EventArgs":[{"Key":"DisplayName","Value":"Mounika Laisetti"},{"Key":"Password","Value":""},{"Key":"OrganisationName","Value":"Aparna Constructions"},{"Key":"UserDivisions","Value":"Accident, Accident 1, Asset Related Category, Dancing Category, demo2, Electrical Hazard, Example, Falling Objects, Fly Tipping, Investigation category, King Kong, Latest Category. edit, Medchal category, Minor injury, Near Miss, New Ticket Category, New ticket category July 07, New ticket category june, New tickettype edit, Running, Snippet, Stuck in Depth, Stuck in Depth- Short, Test, Test Category2, Testing 5.4.13, TestingCategory, TestingCategory1, trfhulk,;."},{"Key":"UserIncidentSites","Value":"16 july 2025, 5.4.15 Old App Testing ( dont delete), Air ways, Amritsar, Aparna New Site, Aparna Sarovar, Aparna Sarovar27, bandlagudaa12, BandraAXZ, BHEL, daa, Dehradun WERE, Delhi, Delhi region, dep-testing, Department SITE  1 ONLY, Dhruv's Inspection Site, hello14july, HiTech City, HLA Test sites, Humpi, hyderabed, inspection site, Jaipur, Jalepally, Japan, Jones & Jones Pvt Ltd, js-testing, Kalyan nagar, Kanchi, Kanchicafe, Kanto region, Kishan bagh, Kolhapur, Kolkata, Kompally, Lahore - Testing Site, Lakshmana Site, Lalit's Test Site 001, Lalit's test site 003, Lalit-test site, Latur, Lucknow, Malkajgiri, mumbai, Naananagar, New Siteeeeeeee, NFC, ohurhfwiuhwefhih, Old App - 4.15, Osmosys Canada, Osmosys India, Osmosys Software Solution, Osmosys UK, OSS Home, Patancheru, Prashanth site, PTW Notification, PTW-A-R, PTW-I, PTW-I-A, PTW-I-A-R, PTW-I-R, Rajasthan, Santiago Bernabeu, Silver Hills, Site 123455, Site for deletion, Site for deletions, Site should not be created, SITE TESTING NEW NEW, Site to test allow all users, Site w/o approver, Site w/o issuer, Site w/o Reviewer, site without issuer old app, Site without reviewer, Site-A, Site-A-R, Site-I, Site-I-A, Site-I-A-R-C, Site-I-R, Site-R, Site3, Sports ground, T55, Test 45, Test batch 19, Test site16, test14, Test23, testing, Thailand, ThelaBazar, Tirumala, Tkolkata123, upperpally, uttarakhand, Vellur"},{"Key":"OldEmail","Value":""},{"Key":"Email","Value":"mounika.l@osmosys.co"}]}


Message : {"EventName":"Update_APP_USER","EventArgs":[{"Key":"DisplayName","Value":"Mounika Laisetti"},{"Key":"Password","Value":""},{"Key":"OrganisationName","Value":"Aparna Constructions"},{"Key":"UserUid","Value":""},{"Key":"UserDivisions","Value":"Accident, Accident 1, Asset Related Category, Dancing Category, demo2, Electrical Hazard, Example, Falling Objects, Fly Tipping, Investigation category, King Kong, Latest Category. edit, Medchal category, Minor injury, Near Miss, New Ticket Category, New ticket category July 07, New ticket category june, New tickettype edit, Running, Snippet, Stuck in Depth, Stuck in Depth- Short, Test, Test Category2, Testing 5.4.13, TestingCategory, TestingCategory1, trfhulk,;."},{"Key":"UserIncidentSites","Value":"16 july 2025, 5.4.15 Old App Testing ( dont delete), Air ways, Amritsar, Aparna New Site, Aparna Sarovar, Aparna Sarovar27, bandlagudaa12, BandraAXZ, BHEL, daa, Dehradun WERE, Delhi, Delhi region, dep-testing, Department SITE  1 ONLY, Dhruv's Inspection Site, hello14july, HiTech City, HLA Test sites, Humpi, hyderabed, inspection site, Jaipur, Jalepally, Japan, Jones & Jones Pvt Ltd, js-testing, Kalyan nagar, Kanchi, Kanchicafe, Kanto region, Kishan bagh, Kolhapur, Kolkata, Kompally, Lahore - Testing Site, Lakshmana Site, Lalit's Test Site 001, Lalit's test site 003, Lalit-test site, Latur, Lucknow, Malkajgiri, mumbai, Naananagar, New Siteeeeeeee, NFC, ohurhfwiuhwefhih, Old App - 4.15, Osmosys Canada, Osmosys India, Osmosys Software Solution, Osmosys UK, OSS Home, Patancheru, Prashanth site, PTW Notification, PTW-A-R, PTW-I, PTW-I-A, PTW-I-A-R, PTW-I-R, Rajasthan, Santiago Bernabeu, Silver Hills, Site 123455, Site for deletion, Site for deletions, Site should not be created, SITE TESTING NEW NEW, Site to test allow all users, Site w/o approver, Site w/o issuer, Site w/o Reviewer, site without issuer old app, Site without reviewer, Site-A, Site-A-R, Site-I, Site-I-A, Site-I-A-R-C, Site-I-R, Site-R, Site3, Sports ground, T55, Test 45, Test batch 19, Test site16, test14, Test23, testing, Thailand, ThelaBazar, Tirumala, Tkolkata123, upperpally, uttarakhand, Vellur"},{"Key":"Email","Value":"mounika.l@osmosys.co"},{"Key":"MobileNumber","Value":"+918179415544"}]}


Message : {"EventName":"Update_USER","EventArgs":[{"Key":"DisplayName","Value":"Shreya V"},{"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, PWA check andorid, Regression, Roorkee, SamarSite, site - 2, Sshristi, Testing site, TTK Beta, Ttk Pwa Site"},{"Key":"OldEmail","Value":""},{"Key":"Email","Value":"shreya.v@osmosys.co"}]}


Initializing Email Service Client


Generating Email Request


Message : {"EventName":"Update_APP_USER","EventArgs":[{"Key":"DisplayName","Value":"Shreya V"},{"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, PWA check andorid, Regression, Roorkee, SamarSite, site - 2, Sshristi, Testing site, TTK Beta, Ttk Pwa Site"},{"Key":"Email","Value":"shreya.v@osmosys.co"},{"Key":"MobileNumber","Value":"+917717731269"}]}


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


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


--- 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":"sephali kumari"},{"Key":"Password","Value":""},{"Key":"OrganisationName","Value":"TTK Beta - QA"},{"Key":"UserDivisions","Value":"Near Miss, Observation, Unsafe Act, Unsafe Condition"},{"Key":"UserIncidentSites","Value":"Coimbatore, Delhi, Hosur, Khadri, Regression, Roorkee, SamarSite, site - 2, Sshristi, Testing site, TTK Beta, TTK PWA, Ttk Pwa Site"},{"Key":"OldEmail","Value":""},{"Key":"Email","Value":"sephali.k@osmosys.co"}]}


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


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


Calling Send Email Function for Update User Email


Your OQSHA Access Has Been Updated


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


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


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


Initializing Email Service Client


Generating Email Request


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


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


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


Calling SendInformToNotification function for ticket creation


Sending Inform-To WhatsApp for IncidentId: 21356


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


Osmo-x WhatsApp Message has been Sent


Generating Safety Alert report.


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


### End Event Execution ###


### Start Event Execution ###


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


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


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


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


### Started processing for Notification Execution ###


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


### Started processing  PUSH Notification Execution ###


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


# Calling  SendCronNotifcationsToUsers function for  push notification #


# Started  SendCronNotifcationsToUsers Execution #


# Fetching details from escalate_cron table for escalate_cron id 22551 #


# Preparing notification body #


# Fetching user of id:2562devices #


# User devices count #0


Updating escalte_cron to failed for id 22551


### End  Push notification Event Execution ###


### Ended processing  for Notification Execution ###


### Started processing  Email Notification Execution ###


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


# Incident Attachments Count: 0#


# Calling  SendCronEmail function for  email notification #


# Fetching details from escalate_cron table for escalate_cron id 22552 #


Generating report.


Logging user id - 2562


Logging user  - IncidentReporter.DAL.Models.UserDBO


## Sending email to Test Consent##


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


Reading and binding data to Email Template


Initializing Email Service Client


Generating Email Request


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


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


--- Email response from Osmo-x is 201


## Email Sent to Test Consent##


# Updating escalate_cron : 22552 Status to Passed #


### Ended processing  Email Notification Execution ###


### Started processing  Whatsapp Notification Execution ###


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


# Calling  SendCronWhatsAppNotifcations function for  whatsapp notification #


# Fetching details from escalate_cron table for escalate_cron id 22553 #


Osmo-x WhatsApp Message has been Sent


# Updating escalate cron : 22553 Status to Passed #


### Ended processing  Whatsapp Notification Execution ###


### End Event Execution ###


### Start Event Execution ###


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


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


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


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


Generating report.


PDF generation successfull


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


Sending Assigned To Email for IncidentId:21356


Initializing Email Service Client


Generating Email Request


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


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


--- Email response from Osmo-x is 201


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


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


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


Reading and binding data to Email Template


Ticket Safety Alert has been updated


Sending Assigned To Whatsapp for IncidentId:21356


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


Osmo-x WhatsApp Message has been Sent


# Preparing notification body #


Sending email for incident closure


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":"91434342231232","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"oqsha_ticket_update_whatsapp_template_v4","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"Test Consent"},{"type":"text","text":"Safety Alert"},{"type":"text","text":"T/TTK/NMM/25/00118"},{"type":"text","text":"Safety Alert status updated to Assigned"},{"type":"text","text":"Safety Alert"},{"type":"text","text":" "},{"type":"text","text":"Coimbatore"},{"type":"text","text":"Near Miss"},{"type":"text","text":"Raj Kumar Pativada"},{"type":"text","text":"TTK Beta - QA"},{"type":"text","text":"Assigned"},{"type":"text","text":"https://qa-staging-2.oqsha.com/#/incidents/view/387/21356?dlType=viewTicket"},{"type":"text","text":"EHS Department - TTK Private Limited"}]}]}}}


### Ended processing Update incident Event ###


### End Event Execution ###


### Start Event Execution ###


Message : {"EventName":"ADD_USER","EventArgs":[{"Key":"DisplayName","Value":"Abhinav Srivatsava"},{"Key":"Password","Value":"$2a$11$.kcepygE55RUaALevkLvGuiMfu42Vz9zkKwKIvJ.qPJjp7JUlgUma"},{"Key":"OrganisationName","Value":"TTK Beta - QA"},{"Key":"UserDivisions","Value":"Near Miss, Observation, Unsafe Act, Unsafe Condition"},{"Key":"UserIncidentSites","Value":"Coimbatore, Delhi, Hosur, Khadri, PWA tets, Regression, Roorkee, SamarSite, site - 2, Sshristi, Testing site, TTK Beta, TTK PWA, Ttk Pwa Site, Venkatanarasimharajuvaripeta"},{"Key":"OldEmail","Value":null},{"Key":"Email","Value":"as9801233442@gmail.com"}]}


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


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


Calling Send Email Function for Add User Email


Welcome to OQSHA


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


Sending Email for IncidentId:21356


Ticket Safety Alert has been updated


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/NMM/25/00118"},{"type":"text","text":"Safety Alert status updated to Resolved., Comments are added as Remarks"},{"type":"text","text":"Safety Alert"},{"type":"text","text":" "},{"type":"text","text":"Coimbatore"},{"type":"text","text":"Near Miss"},{"type":"text","text":"Raj Kumar Pativada"},{"type":"text","text":"TTK Beta - QA"},{"type":"text","text":"Assigned"},{"type":"text","text":"https://qa-staging-2.oqsha.com/#/incidents/view/387/21356?dlType=viewTicket"},{"type":"text","text":"EHS Department - TTK Private Limited"}]}]}}}


Osmo-x WhatsApp Message has been Sent


# Preparing notification body #


Initializing Email Service Client


Generating Email Request


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


--- Email response from Osmo-x is 201


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


Sending email for incident closure


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"91434342231232","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"oqsha_ticket_update_whatsapp_template_v4","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"Test Consent"},{"type":"text","text":"Safety Alert"},{"type":"text","text":"T/TTK/NMM/25/00118"},{"type":"text","text":"Safety Alert status updated to Resolved., Comments are added as Remarks"},{"type":"text","text":"Safety Alert"},{"type":"text","text":" "},{"type":"text","text":"Coimbatore"},{"type":"text","text":"Near Miss"},{"type":"text","text":"Raj Kumar Pativada"},{"type":"text","text":"TTK Beta - QA"},{"type":"text","text":"Assigned"},{"type":"text","text":"https://qa-staging-2.oqsha.com/#/incidents/view/387/21356?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":21356},{"Key":"ClosedById","Value":1597}]}


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


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


Generating report.


## Sending notification to Site EHS user ##


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


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


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


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


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"919989248964","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"oqsha_ticket_validation_level_1_whatsapp_template_ttk_v2","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"Lalit Aditya Kola"},{"type":"text","text":"Sayan Mondal"},{"type":"text","text":"T/TTK/NMM/25/00118"},{"type":"text","text":"26-Sep-2025 09:18:54 AM"},{"type":"text","text":"Near Miss"},{"type":"text","text":"Coimbatore"},{"type":"text","text":"Coimbatore"},{"type":"text","text":""},{"type":"text","text":"Raj Kumar Pativada"},{"type":"text","text":"https://qa-staging-2.oqsha.com/#/incidents/view/387/21356?dlType=viewTicket"},{"type":"text","text":"EHS Department - TTK Private Limited"}]}]}}}


Osmo-x WhatsApp Message has been Sent


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


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"917223964170","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"oqsha_ticket_validation_level_1_whatsapp_template_ttk_v2","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"Sagar Aswar"},{"type":"text","text":"Sayan Mondal"},{"type":"text","text":"T/TTK/NMM/25/00118"},{"type":"text","text":"26-Sep-2025 09:18:54 AM"},{"type":"text","text":"Near Miss"},{"type":"text","text":"Coimbatore"},{"type":"text","text":"Coimbatore"},{"type":"text","text":""},{"type":"text","text":"Raj Kumar Pativada"},{"type":"text","text":"https://qa-staging-2.oqsha.com/#/incidents/view/387/21356?dlType=viewTicket"},{"type":"text","text":"EHS Department - TTK Private Limited"}]}]}}}


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