Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"919989248964","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"oqsha_ticket_inform_to_template_v3","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"Lalit Aditya Kola"},{"type":"text","text":"Safety Alert"},{"type":"text","text":"T/TTK/SAB/25/00036"},{"type":"text","text":" "},{"type":"text","text":"Coimbatore"},{"type":"text","text":"Unsafe Act"},{"type":"text","text":"Kumar Samarjeet"},{"type":"text","text":"TTK Beta - QA"},{"type":"text","text":"Open"},{"type":"text","text":"https://qa-staging-2.oqsha.com/#/incidents/view/387/21311?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":21311},{"Key":"InformToUserId","Value":1326}]}


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


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


Calling SendInformToNotification function for ticket creation


Sending Inform-To WhatsApp for IncidentId: 21311


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


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, 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, Aparna New Site, Aparna Sarovar, Osmosys Software Solutionsd"},{"Key":"OldEmail","Value":""},{"Key":"Email","Value":"sayanm2807@gmail.com"}]}


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


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


Calling Send Email Function for Update User Email


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


Reading and binding data to Email Template


Initializing Email Service Client


Generating Email Request


Your OQSHA Access Has Been Updated

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


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


--- Email response from Osmo-x is 201


### End Event Execution ###


### Start Event Execution ###


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, 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, Aparna New Site, Aparna Sarovar, Osmosys Software Solutionsd"},{"Key":"Email","Value":"sayanm2807@gmail.com"},{"Key":"MobileNumber","Value":"+918967697371"}]}


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


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


Your OQSHA Access Has Been Updated


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


# Calling SendNotificationToTaskAssignees function for WhatsApp notification #


Sending WhatsApp notification for task assignment to user ID: 1597


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


Initializing Email Service Client


Generating Email Request


Osmo-x WhatsApp Message has been Sent


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


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


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


--- Email response from Osmo-x is 201


### End Event Execution ###


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


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


Sending Assigned To Whatsapp for IncidentId:21311


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


# Preparing notification body #


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


### Start Event Execution ###


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


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


Reading and binding data to Email Template


Initializing Email Service Client


Generating Email Request


Ticket Safety Alert has been updated


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


--- Email response from Osmo-x is 201


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


Osmo-x WhatsApp Message has been Sent


# Preparing notification body #


### Ended processing Update incident Event ###


### End Event Execution ###


### Start Event Execution ###


Message : {"EventName":"WORK_PERMIT_EXTENSION_APPROVED_INFORM_TO_CREATOR_NOTIFICATION","EventArgs":[{"Key":"CreatorId","Value":"1"},{"Key":"ApproverName","Value":"Lalit Aditya Kola"},{"Key":"WorkPermitId","Value":"142"},{"Key":"WorkPermitUid","Value":"WP/TTK/COI/HOK/25/00046"},{"Key":"SiteName","Value":"Coimbatore"},{"Key":"OrganisationName","Value":"TTK Beta - QA"},{"Key":"ApprovedOn","Value":"15-Sep-2025 03:07:39 PM"},{"Key":"OrgId","Value":387}]}


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


# Calling SendWorkPermitApprovedInformToCreatorNotification function for email #


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


Message : {"EventName":"WORK_PERMIT_EXTENSION_APPROVAL_INVITATION_NOTIFICATION","EventArgs":[{"Key":"UserIds","Value":"[1597]"},{"Key":"WorkPermitId","Value":"142"},{"Key":"WorkPermitUid","Value":"WP/TTK/COI/HOK/25/00046"},{"Key":"SiteName","Value":"Coimbatore"},{"Key":"InitiatorName","Value":"Raj Kumar Pativada"},{"Key":"OrganisationName","Value":"TTK Beta - QA"},{"Key":"OrgId","Value":387}]}


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


# Calling SendWorkPermitApprovalInvitationNotification function for email/WhatsApp #


Executing email notifications to WorkPermit Extension Approvers about the Pending approval


Message : {"EventName":"WORK_PERMIT_APPROVED_INFORM_TO_CREATOR_NOTIFICATION","EventArgs":[{"Key":"CreatorId","Value":"1"},{"Key":"ApproverName","Value":"Lalit Aditya Kola"},{"Key":"WorkPermitId","Value":"144"},{"Key":"WorkPermitUid","Value":"WP/TTK/COI/HOK/25/00048"},{"Key":"SiteName","Value":"Coimbatore"},{"Key":"OrganisationName","Value":"TTK Beta - QA"},{"Key":"ApprovedOn","Value":"15-Sep-2025 03:07:40 PM"},{"Key":"OrgId","Value":387}]}


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


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


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


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


Executing email notifications to WorkPermit Approvers about the Pending approval


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


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


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


Calling Send Email Function for Update User Email


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


Reading and binding data to Email Template


Initializing Email Service Client


Generating Email Request


Your OQSHA Access Has Been Updated


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


--- Email response from Osmo-x is 201


### End Event Execution ###


### Start Event Execution ###


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


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


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


Message : {"EventName":"Update_USER","EventArgs":[{"Key":"DisplayName","Value":"Sayan Mondal"},{"Key":"Password","Value":""},{"Key":"OrganisationName","Value":"TTK Beta - QA"},{"Key":"UserDivisions","Value":"Near Miss, Observation, Unsafe Act, Unsafe Condition"},{"Key":"UserIncidentSites","Value":"Coimbatore, Hosur, Khadri, Regression"},{"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, Observation, Unsafe Act, Unsafe Condition"},{"Key":"UserIncidentSites","Value":"Coimbatore, Hosur, Khadri, Regression"},{"Key":"Email","Value":"sayanm2807@gmail.com"},{"Key":"MobileNumber","Value":"+918967697371"}]}


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


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


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


Osmo-x WhatsApp Message has been Sent


# Preparing notification body #


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"918967697371","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"oqsha_ticket_update_whatsapp_template_v4","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"Sayan Mondal"},{"type":"text","text":"Safety Alert"},{"type":"text","text":"T/TTK/SAB/25/00036"},{"type":"text","text":"Safety Alert status updated to Resolved., Comments are added as Resolving it"},{"type":"text","text":"Safety Alert"},{"type":"text","text":" "},{"type":"text","text":"Coimbatore"},{"type":"text","text":"Unsafe Act"},{"type":"text","text":"Kumar Samarjeet"},{"type":"text","text":"TTK Beta - QA"},{"type":"text","text":"Resolved"},{"type":"text","text":"https://qa-staging-2.oqsha.com/#/incidents/view/387/21311?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":21311},{"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: [1,916,1954]


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


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


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


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"919160948627","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"oqsha_ticket_validation_level_1_whatsapp_template_ttk_v2","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"Raj Kumar Pativada"},{"type":"text","text":"Sayan Mondal"},{"type":"text","text":"T/TTK/SAB/25/00036"},{"type":"text","text":"15-Sep-2025 03:01:25 PM"},{"type":"text","text":"Unsafe Act"},{"type":"text","text":"Coimbatore"},{"type":"text","text":"Coimbatore"},{"type":"text","text":""},{"type":"text","text":"Kumar Samarjeet"},{"type":"text","text":"https://qa-staging-2.oqsha.com/#/incidents/view/387/21311?dlType=viewTicket"},{"type":"text","text":"EHS Department - TTK Private Limited"}]}]}}}


Osmo-x WhatsApp Message has been Sent


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


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


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"919989248964","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"oqsha_ticket_validation_level_1_whatsapp_template_ttk_v2","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"Lalit Aditya Kola"},{"type":"text","text":"Sayan Mondal"},{"type":"text","text":"T/TTK/SAB/25/00036"},{"type":"text","text":"15-Sep-2025 03:01:25 PM"},{"type":"text","text":"Unsafe Act"},{"type":"text","text":"Coimbatore"},{"type":"text","text":"Coimbatore"},{"type":"text","text":""},{"type":"text","text":"Kumar Samarjeet"},{"type":"text","text":"https://qa-staging-2.oqsha.com/#/incidents/view/387/21311?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":21311},{"Key":"IncidentHistoryId","Value":8680},{"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 #


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


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


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


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


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


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


Message : {"EventName":"WORK_PERMIT_EXTENSION_APPROVED_INFORM_TO_CREATOR_NOTIFICATION","EventArgs":[{"Key":"CreatorId","Value":"1"},{"Key":"ApproverName","Value":"Sayan Mondal"},{"Key":"WorkPermitId","Value":"142"},{"Key":"WorkPermitUid","Value":"WP/TTK/COI/HOK/25/00046"},{"Key":"SiteName","Value":"Coimbatore"},{"Key":"OrganisationName","Value":"TTK Beta - QA"},{"Key":"ApprovedOn","Value":"15-Sep-2025 03:46:24 PM"},{"Key":"OrgId","Value":387}]}


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


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


# Calling SendWorkPermitApprovedInformToCreatorNotification function for email #


# Calling SendNotificationToTaskAssignees function for WhatsApp notification #


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


Sending WhatsApp notification for task assignment to user ID: 1597


### End Event Execution ###


### Start Event Execution ###


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


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


# Calling SendNotificationForWorkPermitCreation function for email/WhatsApp #


Executing email and WhatsApp notifications to WorkPermit approvers


Message : {"EventName":"WORK_PERMIT_APPROVED_INFORM_TO_CREATOR_NOTIFICATION","EventArgs":[{"Key":"CreatorId","Value":"1"},{"Key":"ApproverName","Value":"Sayan Mondal"},{"Key":"WorkPermitId","Value":"147"},{"Key":"WorkPermitUid","Value":"WP/TTK/COI/HOK/25/00051"},{"Key":"SiteName","Value":"Coimbatore"},{"Key":"OrganisationName","Value":"TTK Beta - QA"},{"Key":"ApprovedOn","Value":"15-Sep-2025 03:48:46 PM"},{"Key":"OrgId","Value":387}]}


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


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


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


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


# Calling SendWorkPermitApprovalInvitationNotification function for email/WhatsApp #


Executing email notifications to WorkPermit Approvers about the Pending approval


Message : {"EventName":"WORK_PERMIT_APPROVED_INFORM_TO_CREATOR_NOTIFICATION","EventArgs":[{"Key":"CreatorId","Value":"1"},{"Key":"ApproverName","Value":"Lalit Aditya Kola"},{"Key":"WorkPermitId","Value":"147"},{"Key":"WorkPermitUid","Value":"WP/TTK/COI/HOK/25/00051"},{"Key":"SiteName","Value":"Coimbatore"},{"Key":"OrganisationName","Value":"TTK Beta - QA"},{"Key":"ApprovedOn","Value":"15-Sep-2025 03:49:11 PM"},{"Key":"OrgId","Value":387}]}


Message : {"EventName":"WORK_PERMIT_APPROVED_INFORM_TO_CREATOR_NOTIFICATION","EventArgs":[{"Key":"CreatorId","Value":"1954"},{"Key":"ApproverName","Value":"Lalit Aditya Kola"},{"Key":"WorkPermitId","Value":"145"},{"Key":"WorkPermitUid","Value":"WP/TTK/COI/HOK/25/00049"},{"Key":"SiteName","Value":"Coimbatore"},{"Key":"OrganisationName","Value":"TTK Beta - QA"},{"Key":"ApprovedOn","Value":"15-Sep-2025 03:51:50 PM"},{"Key":"OrgId","Value":387}]}


# Calling SendWorkPermitApprovedInformToCreatorNotification function for email #


Message : {"EventName":"WORK_PERMIT_EXTENSION_APPROVED_INFORM_TO_CREATOR_NOTIFICATION","EventArgs":[{"Key":"CreatorId","Value":"1954"},{"Key":"ApproverName","Value":"Lalit Aditya Kola"},{"Key":"WorkPermitId","Value":"145"},{"Key":"WorkPermitUid","Value":"WP/TTK/COI/HOK/25/00049"},{"Key":"SiteName","Value":"Coimbatore"},{"Key":"OrganisationName","Value":"TTK Beta - QA"},{"Key":"ApprovedOn","Value":"15-Sep-2025 03:52:37 PM"},{"Key":"OrgId","Value":387}]}


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


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


### End Event Execution ###


### Start Event Execution ###


Message : {"EventName":"WORK_PERMIT_EXTENSION_APPROVED_INFORM_TO_CREATOR_NOTIFICATION","EventArgs":[{"Key":"CreatorId","Value":"1954"},{"Key":"ApproverName","Value":"Lalit Aditya Kola"},{"Key":"WorkPermitId","Value":"145"},{"Key":"WorkPermitUid","Value":"WP/TTK/COI/HOK/25/00049"},{"Key":"SiteName","Value":"Coimbatore"},{"Key":"OrganisationName","Value":"TTK Beta - QA"},{"Key":"ApprovedOn","Value":"15-Sep-2025 03:53:06 PM"},{"Key":"OrgId","Value":387}]}


Message : {"EventName":"WORK_PERMIT_EXTENSION_APPROVED_INFORM_TO_CREATOR_NOTIFICATION","EventArgs":[{"Key":"CreatorId","Value":"1954"},{"Key":"ApproverName","Value":"Lalit Aditya Kola"},{"Key":"WorkPermitId","Value":"145"},{"Key":"WorkPermitUid","Value":"WP/TTK/COI/HOK/25/00049"},{"Key":"SiteName","Value":"Coimbatore"},{"Key":"OrganisationName","Value":"TTK Beta - QA"},{"Key":"ApprovedOn","Value":"15-Sep-2025 03:57:49 PM"},{"Key":"OrgId","Value":387}]}


Message : {"EventName":"WORK_PERMIT_EXTENSION_APPROVED_INFORM_TO_CREATOR_NOTIFICATION","EventArgs":[{"Key":"CreatorId","Value":"1"},{"Key":"ApproverName","Value":"Sayan Mondal"},{"Key":"WorkPermitId","Value":"147"},{"Key":"WorkPermitUid","Value":"WP/TTK/COI/HOK/25/00051"},{"Key":"SiteName","Value":"Coimbatore"},{"Key":"OrganisationName","Value":"TTK Beta - QA"},{"Key":"ApprovedOn","Value":"15-Sep-2025 03:58:19 PM"},{"Key":"OrgId","Value":387}]}


Message : {"EventName":"WORK_PERMIT_EXTENSION_APPROVAL_INVITATION_NOTIFICATION","EventArgs":[{"Key":"UserIds","Value":"[1954]"},{"Key":"WorkPermitId","Value":"147"},{"Key":"WorkPermitUid","Value":"WP/TTK/COI/HOK/25/00051"},{"Key":"SiteName","Value":"Coimbatore"},{"Key":"InitiatorName","Value":"Raj Kumar Pativada"},{"Key":"OrganisationName","Value":"TTK Beta - QA"},{"Key":"OrgId","Value":387}]}


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


Executing email notifications to WorkPermit Extension Approvers about the Pending approval


Message : {"EventName":"WORK_PERMIT_EXTENSION_APPROVED_INFORM_TO_CREATOR_NOTIFICATION","EventArgs":[{"Key":"CreatorId","Value":"1"},{"Key":"ApproverName","Value":"Lalit Aditya Kola"},{"Key":"WorkPermitId","Value":"147"},{"Key":"WorkPermitUid","Value":"WP/TTK/COI/HOK/25/00051"},{"Key":"SiteName","Value":"Coimbatore"},{"Key":"OrganisationName","Value":"TTK Beta - QA"},{"Key":"ApprovedOn","Value":"15-Sep-2025 03:58:58 PM"},{"Key":"OrgId","Value":387}]}


Message : {"EventName":"WORK_PERMIT_EXTENSION_APPROVED_INFORM_TO_CREATOR_NOTIFICATION","EventArgs":[{"Key":"CreatorId","Value":"1"},{"Key":"ApproverName","Value":"Sayan Mondal"},{"Key":"WorkPermitId","Value":"147"},{"Key":"WorkPermitUid","Value":"WP/TTK/COI/HOK/25/00051"},{"Key":"SiteName","Value":"Coimbatore"},{"Key":"OrganisationName","Value":"TTK Beta - QA"},{"Key":"ApprovedOn","Value":"15-Sep-2025 04:00:42 PM"},{"Key":"OrgId","Value":387}]}


Message : {"EventName":"WORK_PERMIT_EXTENSION_APPROVED_INFORM_TO_CREATOR_NOTIFICATION","EventArgs":[{"Key":"CreatorId","Value":"1"},{"Key":"ApproverName","Value":"Lalit Aditya Kola"},{"Key":"WorkPermitId","Value":"147"},{"Key":"WorkPermitUid","Value":"WP/TTK/COI/HOK/25/00051"},{"Key":"SiteName","Value":"Coimbatore"},{"Key":"OrganisationName","Value":"TTK Beta - QA"},{"Key":"ApprovedOn","Value":"15-Sep-2025 04:01:17 PM"},{"Key":"OrgId","Value":387}]}


Message : {"EventName":"WORK_PERMIT_EXTENSION_APPROVED_INFORM_TO_CREATOR_NOTIFICATION","EventArgs":[{"Key":"CreatorId","Value":"1954"},{"Key":"ApproverName","Value":"Lalit Aditya Kola"},{"Key":"WorkPermitId","Value":"145"},{"Key":"WorkPermitUid","Value":"WP/TTK/COI/HOK/25/00049"},{"Key":"SiteName","Value":"Coimbatore"},{"Key":"OrganisationName","Value":"TTK Beta - QA"},{"Key":"ApprovedOn","Value":"15-Sep-2025 04:15:44 PM"},{"Key":"OrgId","Value":387}]}


Message : {"EventName":"INFORM_TO_INCIDENT_CREATION_NOTIFICATION","EventArgs":[{"Key":"IncidentId","Value":21312},{"Key":"InformToUserId","Value":1}]}


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


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


Osmo-x WhatsApp Message has been Sent


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


Generating Safety Alert report.


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


Reading and binding data to Email Template


Initializing Email Service Client


Generating Email Request


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


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


--- Email response from Osmo-x is 201


### End Event Execution ###


### Start Event Execution ###


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


# Calling SendNotificationToTaskAssignees function for WhatsApp notification #


Sending WhatsApp notification for task assignment to user ID: 1597


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


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


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


Osmo-x WhatsApp Message has been Sent


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


Generating Safety Alert report.


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


Sending WhatsApp notification for task assignment to user ID: 1761


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


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


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


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


Reading and binding data to Email Template


Initializing Email Service Client


Generating Email Request


New Action Tracker Assigned - TA/TTK/COI/SWW/25/00025


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


--- Email response from Osmo-x is 201


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


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


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


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


Osmo-x WhatsApp Message has been Sent


Sending Task Assignment Email for TaskId: 3629, UserId: 2078


Generating Safety Alert report.


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


Sending WhatsApp notification for task assignment to user ID: 1


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


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


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


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


Generating report.


Sending Task Assignment Email for TaskId: 3631, UserId: 1


Initializing Email Service Client


Generating Email Request


PDF generation successfull


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


Sending Assigned To Email for IncidentId:21310


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


Reading and binding data to Email Template


New Action Tracker Assigned - TA/TTK/COI/PSR/25/00043


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


--- Email response from Osmo-x is 201


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


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


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


Sending Assigned To Whatsapp for IncidentId:21310


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


Osmo-x WhatsApp Message has been Sent


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


Initializing Email Service Client


Generating Email Request


# Preparing notification body #


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


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


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


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


--- Email response from Osmo-x is 201


### End Event Execution ###


### Start Event Execution ###


Ticket Safety Alert has been updated


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"919989248964","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"oqsha_ticket_update_whatsapp_template_v4","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"Lalit Aditya Kola"},{"type":"text","text":"Safety Alert"},{"type":"text","text":"T/TTK/NMM/25/00091"},{"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":"Lalit Aditya Kola"},{"type":"text","text":"TTK Beta - QA"},{"type":"text","text":"Assigned"},{"type":"text","text":"https://qa-staging-2.oqsha.com/#/incidents/view/387/21310?dlType=viewTicket"},{"type":"text","text":"EHS Department - TTK Private Limited"}]}]}}}


Osmo-x WhatsApp Message has been Sent


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


Initializing Email Service Client


Generating Email Request


# Preparing notification body #


### Ended processing Update incident Event ###


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


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


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


Calling Send Email Function for Update User Email


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


Reading and binding data to Email Template


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


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


--- Email response from Osmo-x is 201


### End Event Execution ###


Your OQSHA Access Has Been Updated


### Start Event Execution ###


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


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


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


Initializing Email Service Client


Generating Email Request


Message : {"EventName":"INFORM_TO_INCIDENT_CREATION_NOTIFICATION","EventArgs":[{"Key":"IncidentId","Value":21313},{"Key":"InformToUserId","Value":1}]}


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


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"919160948627","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":"Raj Kumar Pativada"},{"type":"text","text":"Safety Alert"},{"type":"text","text":"T/TTK/TCL/25/00019"},{"type":"text","text":" "},{"type":"text","text":"Coimbatore"},{"type":"text","text":"Observation"},{"type":"text","text":"Kumar Samarjeet"},{"type":"text","text":"TTK Beta - QA"},{"type":"text","text":"Assigned"},{"type":"text","text":"https://qa-staging-2.oqsha.com/#/incidents/view/387/21313?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 ###


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


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


### Start Event Execution ###


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


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


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


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


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


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


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


Calling Send Email Function for Update User Email


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


Reading and binding data to Email Template


Initializing Email Service Client


Generating Email Request


Your OQSHA Access Has Been Updated


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


--- Email response from Osmo-x is 201


### End Event Execution ###


### Start Event Execution ###


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


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


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


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


Initializing Email Service Client


Generating Email Request


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


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


--- Email response from Osmo-x is 201


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


Sending Assigned To Whatsapp for IncidentId:21313


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


Osmo-x WhatsApp Message has been Sent


# Preparing notification body #


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


### End Event Execution ###


### Start Event Execution ###


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


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


Reading and binding data to Email Template


Initializing Email Service Client


Generating Email Request


Ticket Safety Alert has been updated


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


--- Email response from Osmo-x is 201


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


Osmo-x WhatsApp Message has been Sent


# Preparing notification body #


### Ended processing Update incident Event ###


### End Event Execution ###


### Start Event Execution ###


Message : {"EventName":"Update_USER","EventArgs":[{"Key":"DisplayName","Value":"Kumar Samarjeet"},{"Key":"Password","Value":""},{"Key":"OrganisationName","Value":"TTK Beta - QA"},{"Key":"UserDivisions","Value":"Near Miss, Observation, Unsafe Act, Unsafe Condition"},{"Key":"UserIncidentSites","Value":"Coimbatore, Hosur, Khadri, Roorkee, SamarSite, site - 2, Sshristi, Testing site, TTK Beta"},{"Key":"OldEmail","Value":""},{"Key":"Email","Value":"kumarsamarjeet.19@gmail.com"}]}


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


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


Calling Send Email Function for Update User Email


Your OQSHA Access Has Been Updated


Message : {"EventName":"Update_APP_USER","EventArgs":[{"Key":"DisplayName","Value":"Kumar Samarjeet"},{"Key":"Password","Value":""},{"Key":"OrganisationName","Value":"TTK Beta - QA"},{"Key":"UserUid","Value":""},{"Key":"UserDivisions","Value":"Near Miss, Observation, Unsafe Act, Unsafe Condition"},{"Key":"UserIncidentSites","Value":"Coimbatore, Hosur, Khadri, Roorkee, SamarSite, site - 2, Sshristi, Testing site, TTK Beta"},{"Key":"Email","Value":"kumarsamarjeet.19@gmail.com"},{"Key":"MobileNumber","Value":"+918249683426"}]}


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


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


Initializing Email Service Client


Generating Email Request


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


--- Email response from Osmo-x is 201


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


Message : {"EventName":"Update_APP_USER","EventArgs":[{"Key":"DisplayName","Value":"Sagar Aswar"},{"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, Regression, Roorkee, SamarSite, site - 2, Sshristi, Testing site, TTK Beta, Ttk Pwa Site"},{"Key":"Email","Value":"SagarAswar001@gmail.com"},{"Key":"MobileNumber","Value":"+917223964170"}]}


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


### End Event Execution ###


### Start Event Execution ###


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


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


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


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


Executing email notifications to Incident Approvers about the Pending approval


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


Reading and binding data to Email Template


A new incident has been reported


Executing whatsapp notifications to Incident Approvers about the Pending approval


Sending WhatsApp Notification for Incident Approval to User: 2407


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"917273883504","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"oqsha_incident_submitted_v2","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"Mounika Laisetti"},{"type":"text","text":"IMF/TTK/COI/TIT/25/00032"},{"type":"text","text":"Lalit Aditya Kola"},{"type":"text","text":"01-Sep-2025 12:00:00 AM"},{"type":"text","text":"Coimbatore"},{"type":"text","text":"NA"},{"type":"text","text":"0"},{"type":"text","text":"https://oqsha.com/#/incident-management/report-incident/view/388"},{"type":"text","text":"EHS Department - TTK Private Limited"}]}]}}}


Osmo-x WhatsApp Message has been Sent


### Ended processing Incident Submitted Event ###


Message : {"EventName":"Update_USER","EventArgs":[{"Key":"DisplayName","Value":"Kumar Samarjeet"},{"Key":"Password","Value":""},{"Key":"OrganisationName","Value":"TTK Beta - QA"},{"Key":"UserDivisions","Value":"Near Miss, Observation, Unsafe Act, Unsafe Condition"},{"Key":"UserIncidentSites","Value":"Coimbatore, Hosur, Khadri, Roorkee, SamarSite, site - 2, Sshristi, Testing site, TTK Beta"},{"Key":"OldEmail","Value":""},{"Key":"Email","Value":"kumarsamarjeet.19@gmail.com"}]}


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


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


Calling Send Email Function for Update User Email


Initializing Email Service Client


Generating Email Request


Your OQSHA Access Has Been Updated


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


--- Email response from Osmo-x is 201


### End Event Execution ###


### Start Event Execution ###


Message : {"EventName":"Update_APP_USER","EventArgs":[{"Key":"DisplayName","Value":"Kumar Samarjeet"},{"Key":"Password","Value":""},{"Key":"OrganisationName","Value":"TTK Beta - QA"},{"Key":"UserUid","Value":""},{"Key":"UserDivisions","Value":"Near Miss, Observation, Unsafe Act, Unsafe Condition"},{"Key":"UserIncidentSites","Value":"Coimbatore, Hosur, Khadri, Roorkee, SamarSite, site - 2, Sshristi, Testing site, TTK Beta"},{"Key":"Email","Value":"kumarsamarjeet.19@gmail.com"},{"Key":"MobileNumber","Value":"+918249683426"}]}


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


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


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


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


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


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


# Calling SendHIRAApprovalInvitationNotification function for email/WhatsApp #


Executing email notifications to HIRA Approvers about the Pending approval


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


Reading and binding data to Email Template


Initializing Email Service Client


Generating Email Request


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


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


--- Email response from Osmo-x is 201


Executing whatsapp notifications to HIRA Approvers about the Pending approval


Sending WhatsApp Notification for HIRA Approval to user: 2547


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


Osmo-x WhatsApp Message has been Sent


### End Event Execution ###


### Start Event Execution ###


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


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


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


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


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


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


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


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


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


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


# Calling SendHIRAApprovalInvitationNotification function for email/WhatsApp #


Executing email notifications to HIRA Approvers about the Pending approval


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


Reading and binding data to Email Template


Initializing Email Service Client


Generating Email Request


Risk Assessment H/TTK/COI/RAT/25/00022 is awaiting your approval


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


--- Email response from Osmo-x is 201


Executing whatsapp notifications to HIRA Approvers about the Pending approval


Sending WhatsApp Notification for HIRA Approval to user: 2547


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


Osmo-x WhatsApp Message has been Sent


### End Event Execution ###


### Start Event Execution ###


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


### 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":"Sagar Aswar"},{"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, Regression, Roorkee, SamarSite, site - 2, Sshristi, Testing site, TTK Beta, Ttk Pwa Site"},{"Key":"Email","Value":"SagarAswar001@gmail.com"},{"Key":"MobileNumber","Value":"+917223964170"}]}


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


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


Initializing Email Service Client


Generating Email Request


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


--- Email response from Osmo-x is 201


Message : {"EventName":"NOTIFICATION_FOR_MOC_CREATION","EventArgs":[{"Key":"MocId","Value":"756"},{"Key":"ApproverIds","Value":"[1954,1597]"},{"Key":"SiteName","Value":"Coimbatore"},{"Key":"CreatedBy","Value":"Kumar Samarjeet"},{"Key":"MocUid","Value":"M/TTK/COI/NMT/25/00043"},{"Key":"OrgId","Value":387},{"Key":"OrganisationName","Value":"TTK Beta - QA"}]}


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


# Calling SendNotificationForMocCreation function for email/WhatsApp #


Executing email and WhatsApp notifications to MOC approvers


Sending MOC creation email to: sayanm2807@gmail.com


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


Reading and binding data to Email Template


New MOC Assigned


Sending MOC creation WhatsApp message to: 918967697371


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"918967697371","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"oqsha_moc_creation_alert_v4","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"Sayan Mondal"},{"type":"text","text":"M/TTK/COI/NMT/25/00043"},{"type":"text","text":"Coimbatore"},{"type":"text","text":"TTK Beta - QA"},{"type":"text","text":"Kumar Samarjeet"},{"type":"text","text":"https://qa-staging-2.oqsha.com/#/moc/view/387/756?dlType=viewMOC"},{"type":"text","text":"EHS Department - TTK Private Limited"}]}]}}}


Osmo-x WhatsApp Message has been Sent


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


Sending MOC creation WhatsApp message to: 919989248964


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"919989248964","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"oqsha_moc_creation_alert_v4","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"Lalit Aditya Kola"},{"type":"text","text":"M/TTK/COI/NMT/25/00043"},{"type":"text","text":"Coimbatore"},{"type":"text","text":"TTK Beta - QA"},{"type":"text","text":"Kumar Samarjeet"},{"type":"text","text":"https://qa-staging-2.oqsha.com/#/moc/view/387/756?dlType=viewMOC"},{"type":"text","text":"EHS Department - TTK Private Limited"}]}]}}}


### End Event Execution ###


### Start Event Execution ###


Message : {"EventName":"MOC_CREATOR_CLARIFICATION_NOTIFICATION","EventArgs":[{"Key":"UserId","Value":"1482"},{"Key":"MocId","Value":"756"},{"Key":"MocUid","Value":"M/TTK/COI/NMT/25/00043"},{"Key":"SiteName","Value":"Coimbatore"},{"Key":"OrganisationName","Value":"TTK Beta - QA"},{"Key":"ApproverName","Value":"Lalit Aditya Kola"},{"Key":"Clarification","Value":"clarify me this?"},{"Key":"RequestedOn","Value":"15-Sep-2025 07:11:45 PM"},{"Key":"OrgId","Value":387}]}


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


# Calling SendNotificationToMOCCreatorForClarification function for email #


Executing email notifications to MOC creator for clarification


Sending MOC Approver Clarification email to MOC Creator: kumarsamarjeet.19@gmail.com


Initializing Email Service Client


Generating Email Request


Clarification Requested for MOC


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


--- Email response from Osmo-x is 201


Message : {"EventName":"MOC_APPROVER_CLARIFICATION_ANSWER_NOTIFICATION","EventArgs":[{"Key":"UserId","Value":"1954"},{"Key":"MocId","Value":"756"},{"Key":"MocUid","Value":"M/TTK/COI/NMT/25/00043"},{"Key":"SiteName","Value":"Coimbatore"},{"Key":"OrganisationName","Value":"TTK Beta - QA"},{"Key":"CreatorName","Value":"Kumar Samarjeet"},{"Key":"Clarification","Value":"clarify me this?"},{"Key":"Answer","Value":"yeah"},{"Key":"answeredOn","Value":"15-Sep-2025 07:15:30 PM"},{"Key":"OrgId","Value":387}]}


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


# Calling SendNotificationToMOCApproverForClarificationAnswer function for email #


Executing email notifications to MOC Approver for clarification answer


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


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


Reading and binding data to Email Template


Clarification Provided for MOC


### End Event Execution ###


### Start Event Execution ###


Message : {"EventName":"MOC_APPROVED_INFORM_TO_CREATOR_NOTIFICATION","EventArgs":[{"Key":"CreatorId","Value":"1482"},{"Key":"ApproverName","Value":"Lalit Aditya Kola"},{"Key":"MocId","Value":"756"},{"Key":"MocUid","Value":"M/TTK/COI/NMT/25/00043"},{"Key":"SiteName","Value":"Coimbatore"},{"Key":"OrganisationName","Value":"TTK Beta - QA"},{"Key":"ApprovedOn","Value":"15-Sep-2025 07:22:50 PM"},{"Key":"OrgId","Value":387}]}


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


# Calling SendMOCApprovedInformToCreatorNotification function for email #


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


Initializing Email Service Client


Generating Email Request


An Approver has Approved your MOC


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


--- Email response from Osmo-x is 201


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


Sending WhatsApp for MOC to user: 1482


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"918249683426","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"oqsha_moc_approved_inform_to_template_v2","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"Kumar Samarjeet"},{"type":"text","text":"Lalit Aditya Kola"},{"type":"text","text":"M/TTK/COI/NMT/25/00043"},{"type":"text","text":"Coimbatore"},{"type":"text","text":"TTK Beta - QA"},{"type":"text","text":"15-Sep-2025 07:22:50 PM"},{"type":"text","text":"https://qa-staging-2.oqsha.com/#/moc/view/387/756?dlType=viewMOC"},{"type":"text","text":"EHS Department - TTK Private Limited"}]}]}}}


Osmo-x WhatsApp Message has been Sent


Message : {"EventName":"MOC_APPROVED_INFORM_TO_CREATOR_NOTIFICATION","EventArgs":[{"Key":"CreatorId","Value":"1482"},{"Key":"ApproverName","Value":"Sayan Mondal"},{"Key":"MocId","Value":"756"},{"Key":"MocUid","Value":"M/TTK/COI/NMT/25/00043"},{"Key":"SiteName","Value":"Coimbatore"},{"Key":"OrganisationName","Value":"TTK Beta - QA"},{"Key":"ApprovedOn","Value":"15-Sep-2025 07:24:53 PM"},{"Key":"OrgId","Value":387}]}


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"918249683426","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"oqsha_moc_approved_inform_to_template_v2","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"Kumar Samarjeet"},{"type":"text","text":"Sayan Mondal"},{"type":"text","text":"M/TTK/COI/NMT/25/00043"},{"type":"text","text":"Coimbatore"},{"type":"text","text":"TTK Beta - QA"},{"type":"text","text":"15-Sep-2025 07:24:53 PM"},{"type":"text","text":"https://qa-staging-2.oqsha.com/#/moc/view/387/756?dlType=viewMOC"},{"type":"text","text":"EHS Department - TTK Private Limited"}]}]}}}


### End Event Execution ###


### Start Event Execution ###


Message : {"EventName":"MOC_APPROVAL_INVITATION_NOTIFICATION","EventArgs":[{"Key":"UserIds","Value":"[2407]"},{"Key":"MocId","Value":"756"},{"Key":"MocUid","Value":"M/TTK/COI/NMT/25/00043"},{"Key":"SiteName","Value":"Coimbatore"},{"Key":"InitiatorName","Value":"Kumar Samarjeet"},{"Key":"OrganisationName","Value":"TTK Beta - QA"},{"Key":"OrgId","Value":387}]}


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


# Calling SendMOCApprovalInvitationNotification function for email/WhatsApp #


Executing email notifications to MOC Approvers about the Pending approval


Initializing Email Service Client


Generating Email Request


An MOC is awaiting your approval


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


--- Email response from Osmo-x is 201


Executing whatsapp notifications to MOC Approvers about the Pending approval


Sending WhatsApp for MOC to user: 2407


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"917273883504","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"oqsha_moc_approval_invitation_template_v2","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"Mounika Laisetti"},{"type":"text","text":"M/TTK/COI/NMT/25/00043"},{"type":"text","text":"Coimbatore"},{"type":"text","text":"TTK Beta - QA"},{"type":"text","text":"Kumar Samarjeet"},{"type":"text","text":"https://qa-staging-2.oqsha.com/#/moc/view/387/756?dlType=viewMOC"},{"type":"text","text":"EHS Department - TTK Private Limited"}]}]}}}


Osmo-x WhatsApp Message has been Sent


Sending MOC Approver Clarification email to MOC Creator: kumarsamarjeet.19@gmail.com


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


Reading and binding data to Email Template


An Approver has Approved your MOC


Sending WhatsApp for MOC to user: 1482


### End Event Execution ###


### Start Event Execution ###


Message : {"EventName":"MOC_APPROVED_INFORM_TO_CREATOR_NOTIFICATION","EventArgs":[{"Key":"CreatorId","Value":"1482"},{"Key":"ApproverName","Value":"Mounika Laisetti"},{"Key":"MocId","Value":"756"},{"Key":"MocUid","Value":"M/TTK/COI/NMT/25/00043"},{"Key":"SiteName","Value":"Coimbatore"},{"Key":"OrganisationName","Value":"TTK Beta - QA"},{"Key":"ApprovedOn","Value":"15-Sep-2025 07:25:39 PM"},{"Key":"OrgId","Value":387}]}


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


# Calling SendMOCApprovedInformToCreatorNotification function for email #


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


Initializing Email Service Client


Generating Email Request


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


--- Email response from Osmo-x is 201


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


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"918249683426","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"oqsha_moc_approved_inform_to_template_v2","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"Kumar Samarjeet"},{"type":"text","text":"Mounika Laisetti"},{"type":"text","text":"M/TTK/COI/NMT/25/00043"},{"type":"text","text":"Coimbatore"},{"type":"text","text":"TTK Beta - QA"},{"type":"text","text":"15-Sep-2025 07:25:39 PM"},{"type":"text","text":"https://qa-staging-2.oqsha.com/#/moc/view/387/756?dlType=viewMOC"},{"type":"text","text":"EHS Department - TTK Private Limited"}]}]}}}


Osmo-x WhatsApp Message has been Sent


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


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


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


Calling SendInformToNotification function for ticket creation


Sending Inform-To WhatsApp for IncidentId: 21314


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


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


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


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


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


## Sending notification to Site EHS user ##


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


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


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


Executing email notifications to Incident Approvers about the Pending approval


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


Reading and binding data to Email Template


Initializing Email Service Client


Generating Email Request


A new incident has been reported


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


--- Email response from Osmo-x is 201


Executing whatsapp notifications to Incident Approvers about the Pending approval


Sending WhatsApp Notification for Incident Approval to User: 2407


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


Osmo-x WhatsApp Message has been Sent


### Ended processing Incident Submitted Event ###


### End Event Execution ###


### Start Event Execution ###


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


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


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


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


Sending WhatsApp for Incident Validation to User: 1597


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


### Ended processing Incident Validated Event ###


Message : {"EventName":"Update_USER","EventArgs":[{"Key":"DisplayName","Value":"Kumar Samarjeet"},{"Key":"Password","Value":""},{"Key":"OrganisationName","Value":"TTK Beta - QA"},{"Key":"UserDivisions","Value":"Near Miss, Observation, Unsafe Act, Unsafe Condition"},{"Key":"UserIncidentSites","Value":"Coimbatore, Hosur, Khadri, Roorkee, SamarSite, site - 2, Sshristi, Testing site, TTK Beta"},{"Key":"OldEmail","Value":""},{"Key":"Email","Value":"kumarsamarjeet.19@gmail.com"}]}


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


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


Calling Send Email Function for Update User Email


Initializing Email Service Client


Generating Email Request


Your OQSHA Access Has Been Updated


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


--- Email response from Osmo-x is 201


### End Event Execution ###


### Start Event Execution ###


Message : {"EventName":"Update_APP_USER","EventArgs":[{"Key":"DisplayName","Value":"Kumar Samarjeet"},{"Key":"Password","Value":""},{"Key":"OrganisationName","Value":"TTK Beta - QA"},{"Key":"UserUid","Value":""},{"Key":"UserDivisions","Value":"Near Miss, Observation, Unsafe Act, Unsafe Condition"},{"Key":"UserIncidentSites","Value":"Coimbatore, Hosur, Khadri, Roorkee, SamarSite, site - 2, Sshristi, Testing site, TTK Beta"},{"Key":"Email","Value":"kumarsamarjeet.19@gmail.com"},{"Key":"MobileNumber","Value":"+918249683426"}]}


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


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


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


Reading and binding data to Email Template


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


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


Executing email notifications to Incident Approvers about the Pending approval


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


Executing whatsapp notifications to Incident Approvers about the Pending approval


Sending WhatsApp for Incident Approval to User: 1954


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"919989248964","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"oqsha_incident_fir_release_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":"IMF/TTK/COI/III/25/00097"},{"type":"text","text":"Raj Kumar Pativada"},{"type":"text","text":"15-Aug-2025 05:00:00 AM"},{"type":"text","text":"Coimbatore"},{"type":"text","text":"NA"},{"type":"text","text":"0"},{"type":"text","text":"https://oqsha.com/#/incident-management/report-incident/view/389"},{"type":"text","text":"EHS Department - TTK Private Limited"}]}]}}}


Osmo-x WhatsApp Message has been Sent


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


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


# Calling SendHIRAApprovalInvitationNotification function for email/WhatsApp #


Executing email notifications to HIRA Approvers about the Pending approval


Initializing Email Service Client


Generating Email Request


Risk Assessment H/TTK/COI/AAA/25/00007 is awaiting your approval


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


--- Email response from Osmo-x is 201


Executing whatsapp notifications to HIRA Approvers about the Pending approval


Sending WhatsApp Notification for HIRA Approval to user: 2547


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


### End Event Execution ###


### Start Event Execution ###


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


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


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


Reading and binding data to Email Template


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


Sending WhatsApp for Incident Approval to User: 1761


Osmo-x WhatsApp Message has been Sent


Initializing Email Service Client


Generating Email Request


Sending WhatsApp for Incident Approval to User: 2078


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


--- Email response from Osmo-x is 201


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/00097"},{"type":"text","text":"Raj Kumar Pativada"},{"type":"text","text":"15-Aug-2025 05:00:00 AM"},{"type":"text","text":"Coimbatore"},{"type":"text","text":"NA"},{"type":"text","text":"0"},{"type":"text","text":"https://oqsha.com/#/incident-management/report-investigation/view/129"},{"type":"text","text":"EHS Department - TTK Private Limited"}]}]}}}


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


### End Event Execution ###


### Start Event Execution ###


Executing email notifications to Incident Approvers about the Pending approval


Executing whatsapp notifications to Incident Approvers about the Pending approval


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


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


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


Executing email notifications to Investigation Approvers about the Pending approval


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


Executing whatsapp notifications to Investigation Approvers about the Pending approval


Sending WhatsApp for Investigation Approval to User: 2407


Osmo-x WhatsApp Message has been Sent


### Ended processing Investigation Submitted Event ###


Message : {"EventName":"Update_USER","EventArgs":[{"Key":"DisplayName","Value":"Lalit Aditya Kola"},{"Key":"Password","Value":""},{"Key":"OrganisationName","Value":"TTK Beta - QA"},{"Key":"UserDivisions","Value":"Near Miss, Unsafe Act, Unsafe Condition"},{"Key":"UserIncidentSites","Value":"Coimbatore, Hosur, Khadri, Regression, Roorkee, SamarSite, site - 2, Sshristi, Testing site, TTK Beta, Ttk Pwa Site"},{"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


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


Reading and binding data to Email Template


Initializing Email Service Client


Generating Email Request


Your OQSHA Access Has Been Updated


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


--- Email response from Osmo-x is 201


### End Event Execution ###


### Start Event Execution ###


Message : {"EventName":"Update_APP_USER","EventArgs":[{"Key":"DisplayName","Value":"Lalit Aditya Kola"},{"Key":"Password","Value":""},{"Key":"OrganisationName","Value":"TTK Beta - QA"},{"Key":"UserUid","Value":""},{"Key":"UserDivisions","Value":"Near Miss, Unsafe Act, Unsafe Condition"},{"Key":"UserIncidentSites","Value":"Coimbatore, Hosur, Khadri, Regression, Roorkee, SamarSite, site - 2, Sshristi, Testing site, TTK Beta, Ttk Pwa Site"},{"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_INCIDENT_NOTIFICATION","EventArgs":[{"Key":"IncidentId","Value":21307},{"Key":"IncidentHistoryId","Value":8688},{"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:21307


Ticket Safety Alert has been updated


Sending Assigned To Whatsapp for IncidentId:21307


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


Osmo-x WhatsApp Message has been Sent


# Preparing notification body #


### Ended processing Update incident Event ###


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


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


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


Generating report.


## Sending notification to EHS head user ##


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


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


Sending Incident Closure Validation Email for IncidentId:21307


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


Reading and binding data to Email Template


Initializing Email Service Client


Generating Email Request


Safety Alert Validation For Closure


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


--- Email response from Osmo-x is 201


Sending Inform-To Update WhatsApp for IncidentId:21307


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


Osmo-x WhatsApp Message has been Sent


## Sending email to Mounika Laisetti, UserId : 2407 for Incident Closure Validation notification ##


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"917273883504","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"oqsha_ticket_validation_level_2_whatsapp_template_ttk_v2","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"Mounika Laisetti"},{"type":"text","text":"Lalit Aditya Kola"},{"type":"text","text":"T/TTK/NMM/25/00090"},{"type":"text","text":"13-Sep-2025 05:29:29 PM"},{"type":"text","text":"Near Miss"},{"type":"text","text":"Coimbatore"},{"type":"text","text":"Coimbatore"},{"type":"text","text":"New Ticket"},{"type":"text","text":"Raj Kumar Pativada"},{"type":"text","text":"https://qa-staging-2.oqsha.com/#/incidents/view/387/21307?dlType=viewTicket"},{"type":"text","text":"EHS Department - TTK Private Limited"}]}]}}}


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


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"9145454545454","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"oqsha_ticket_validation_level_2_whatsapp_template_ttk_v2","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"Mounika Consent"},{"type":"text","text":"Lalit Aditya Kola"},{"type":"text","text":"T/TTK/NMM/25/00090"},{"type":"text","text":"13-Sep-2025 05:29:29 PM"},{"type":"text","text":"Near Miss"},{"type":"text","text":"Coimbatore"},{"type":"text","text":"Coimbatore"},{"type":"text","text":"New Ticket"},{"type":"text","text":"Raj Kumar Pativada"},{"type":"text","text":"https://qa-staging-2.oqsha.com/#/incidents/view/387/21307?dlType=viewTicket"},{"type":"text","text":"EHS Department - TTK Private Limited"}]}]}}}


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


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"918885857714","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"oqsha_ticket_validation_level_2_whatsapp_template_ttk_v2","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"Lakhan TTK"},{"type":"text","text":"Lalit Aditya Kola"},{"type":"text","text":"T/TTK/NMM/25/00090"},{"type":"text","text":"13-Sep-2025 05:29:29 PM"},{"type":"text","text":"Near Miss"},{"type":"text","text":"Coimbatore"},{"type":"text","text":"Coimbatore"},{"type":"text","text":"New Ticket"},{"type":"text","text":"Raj Kumar Pativada"},{"type":"text","text":"https://qa-staging-2.oqsha.com/#/incidents/view/387/21307?dlType=viewTicket"},{"type":"text","text":"EHS Department - TTK Private Limited"}]}]}}}


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


### End Event Execution ###


### Start Event Execution ###


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


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


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


Calling SendInformToNotification function for ticket creation


Sending Inform-To WhatsApp for IncidentId: 21315


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


Generating Safety Alert report.


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


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