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


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


### Start Event Execution ###


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


### 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 Message has been Sent


### Ended processing Incident Submitted Event ###


### End Event Execution ###


### Start Event Execution ###


Message : {"EventName":"Update_USER","EventArgs":[{"Key":"DisplayName","Value":"sephali Kumari singh"},{"Key":"Password","Value":""},{"Key":"OrganisationName","Value":"Aparna Constructions"},{"Key":"UserDivisions","Value":"Accident, Accident 1, Asset Related Category, Dancing Category, demo2, 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":"Air ways, Amritsar, Aparna New Site, Aparna Sarovar, Aparna Sarovar27, bandlagudaa12, BandraAXZ, BHEL, daa, Delhi, Delhi region, Gachibowli site OSM, HiTech City, HLA Test sites, hyderabed, inspection site, Jaipur, Jalepally, js-testing, Kalyan nagar, Kanchi, Kanchicafe, Kanto region, Kishan bagh, Lahore - Testing Site, Lakshmana Site, Lalit's Test Site 001, Lalit's test site 003, Lalit-test site, Latur, Lucknow, Malkajgiri, mumbai, Naananagar, New Siteeeeeeee, ohurhfwiuhwefhih, Osmosys Canada, Osmosys India, Osmosys Software Solution, Osmosys UK, Patancheru, Prashanth site, PTW Notification, PTW-A-R, PTW-I, PTW-I-A, PTW-I-A-R, PTW-I-R, Santiago Bernabeu, Silver Hills, Site for deletion, site OSM, SITE TESTING NEW NEW, Site w/o approver, Site w/o issuer, Site w/o Reviewer, site without issuer old app, Site without reviewer, Site-A, Site-A-R, Site-I, Site-I-A, Site-I-A-R-C, Site-I-R, Site-R, Site3, Sports ground, Test batch 19, Test batch 22, test14, testing, Tkolkata123, upperpally, uttarakhand, Vellur"},{"Key":"OldEmail","Value":""},{"Key":"Email","Value":"sephali.k@osmosys.co"}]}


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


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


Calling Send Email Function for Update User Email


Your OQSHA Access Has Been Updated


Message : {"EventName":"Update_APP_USER","EventArgs":[{"Key":"DisplayName","Value":"sephali Kumari singh"},{"Key":"Password","Value":""},{"Key":"OrganisationName","Value":"Aparna Constructions"},{"Key":"UserUid","Value":""},{"Key":"UserDivisions","Value":"Accident, Accident 1, Asset Related Category, Dancing Category, demo2, 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":"Air ways, Amritsar, Aparna New Site, Aparna Sarovar, Aparna Sarovar27, bandlagudaa12, BandraAXZ, BHEL, daa, Delhi, Delhi region, Gachibowli site OSM, HiTech City, HLA Test sites, hyderabed, inspection site, Jaipur, Jalepally, js-testing, Kalyan nagar, Kanchi, Kanchicafe, Kanto region, Kishan bagh, Lahore - Testing Site, Lakshmana Site, Lalit's Test Site 001, Lalit's test site 003, Lalit-test site, Latur, Lucknow, Malkajgiri, mumbai, Naananagar, New Siteeeeeeee, ohurhfwiuhwefhih, Osmosys Canada, Osmosys India, Osmosys Software Solution, Osmosys UK, Patancheru, Prashanth site, PTW Notification, PTW-A-R, PTW-I, PTW-I-A, PTW-I-A-R, PTW-I-R, Santiago Bernabeu, Silver Hills, Site for deletion, site OSM, SITE TESTING NEW NEW, Site w/o approver, Site w/o issuer, Site w/o Reviewer, site without issuer old app, Site without reviewer, Site-A, Site-A-R, Site-I, Site-I-A, Site-I-A-R-C, Site-I-R, Site-R, Site3, Sports ground, Test batch 19, Test batch 22, test14, testing, Tkolkata123, upperpally, uttarakhand, Vellur"},{"Key":"Email","Value":"sephali.k@osmosys.co"},{"Key":"MobileNumber","Value":"+917488126002"}]}


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


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


Initializing Email Service Client


Generating Email Request


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


--- Email response from Osmo-x is 201


Message : {"EventName":"INCIDENT_VALIDATED_NOTIFICATION","EventArgs":[{"Key":"UserId","Value":"1939"},{"Key":"IncidentId","Value":"217"},{"Key":"OrgId","Value":"310"},{"Key":"PreviousApproverName","Value":"sephali Kumari singh"}]}


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


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


Incident IMF/APR/abd/2AA/25/00001 has been validated

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


Sending WhatsApp for Incident Validation to User: 1939


Osmo-x WhatsApp Message has been Sent


### Ended processing Incident Validated Event ###


### End Event Execution ###


### Start Event Execution ###


Message : {"EventName":"INCIDENT_SUBMITTED_NOTIFICATION","EventArgs":[{"Key":"UserId","Value":"2448"},{"Key":"IncidentId","Value":"218"},{"Key":"OrgId","Value":"310"}]}


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


Osmo-x WhatsApp Message has been Sent


### Ended processing Incident Submitted Event ###


### End Event Execution ###


### Start Event Execution ###


Message : {"EventName":"PASSWORD_RESET","EventArgs":[{"Key":"DisplayName","Value":null},{"Key":"Password","Value":"W65CR3I7"},{"Key":"Email","Value":"lakshmanarao.p@osmosys.co"}]}


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


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


Calling Send Email Function for Reset Password Email


Your password is reset


Message : {"EventName":"INCIDENT_VALIDATED_NOTIFICATION","EventArgs":[{"Key":"UserId","Value":"2145"},{"Key":"IncidentId","Value":"218"},{"Key":"OrgId","Value":"310"},{"Key":"PreviousApproverName","Value":"sephali Kumari singh"}]}


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


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


Initializing Email Service Client


Generating Email Request


Incident IMF/APR/abd/444/25/00003 has been validated


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


--- Email response from Osmo-x is 201


Sending WhatsApp for Incident Validation to User: 2145


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"917488126090","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"oqsha_incident_validate","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"ANCd dqdqwd"},{"type":"text","text":"sephali Kumari singh"},{"type":"text","text":"IMF/APR/abd/444/25/00003"},{"type":"text","text":"Raj Kumar Pativada"},{"type":"text","text":"02-Sep-2025 12:00:00 AM"},{"type":"text","text":"Aparna New Site"},{"type":"text","text":"injured count"},{"type":"text","text":"0"},{"type":"text","text":"https://oqsha.com/#/incident-management/report-incident/view/218"}]}]}}}


Osmo-x WhatsApp Message has been Sent


### Ended processing Incident Validated 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, Safety Alert By Visitor, test safety alert category jul 18, Test ticket category, tick-cat-without-checklist, Ticket Category - 1, Ticket Category J, TTK Beta"},{"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


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


Reading and binding data to Email Template


Initializing Email Service Client


Generating Email Request


Your OQSHA Access Has Been Updated


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


--- Email response from Osmo-x is 201


Message : {"EventName":"Update_APP_USER","EventArgs":[{"Key":"DisplayName","Value":"Kumar Samarjeet"},{"Key":"Password","Value":""},{"Key":"OrganisationName","Value":"TTK Beta - QA"},{"Key":"UserUid","Value":""},{"Key":"UserDivisions","Value":"Near Miss, Safety Alert By Visitor, test safety alert category jul 18, Test ticket category, tick-cat-without-checklist, Ticket Category - 1, Ticket Category J, TTK Beta"},{"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":"ASSIGNED_TO_NOTIFICATION","EventArgs":[{"Key":"AssignedIncidentID","Value":21259},{"Key":"AssignedToID","Value":2420}]}


### 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 sephali, UserId : 2420 for assigned to notification ##


Sending Assigned To Email for IncidentId:21259


A Ticket T/APR/KKK/25/00016 is assigned to you related to 'King Kong'


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


Sending Assigned To Whatsapp for IncidentId:21259


Osmo-x WhatsApp Message has been Sent


# Preparing notification body #


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


### End Event Execution ###


### Start Event Execution ###


Message : {"EventName":"ASSIGNED_TO_NOTIFICATION","EventArgs":[{"Key":"AssignedIncidentID","Value":21259},{"Key":"AssignedToID","Value":2421}]}


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


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


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


Reading and binding data to Email Template


Initializing Email Service Client


Generating Email Request


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


--- Email response from Osmo-x is 201


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


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


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


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


Executing email notifications to Incident Approvers about the Pending approval


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


Executing whatsapp notifications to Incident Approvers about the Pending approval


Sending WhatsApp for Incident Approval to User: 1761


Osmo-x WhatsApp Message has been Sent


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


### End Event Execution ###


### Start Event Execution ###


Message : {"EventName":"Update_USER","EventArgs":[{"Key":"DisplayName","Value":"Raj Kumar Pativada"},{"Key":"Password","Value":""},{"Key":"OrganisationName","Value":"TTK Beta - QA"},{"Key":"UserDivisions","Value":"Near Miss, Safety Alert By Visitor, test safety alert category jul 18, Test ticket category, tick-cat-without-checklist, Ticket Category - 1, Ticket Category J, TTK Beta"},{"Key":"UserIncidentSites","Value":"Coimbatore, Hosur, Khadri, Regression, Roorkee, SamarSite, site - 2, Sshristi, Testing site, TTK Beta"},{"Key":"OldEmail","Value":""},{"Key":"Email","Value":"rajkumar.p@osmosys.co"}]}


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


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


Calling Send Email Function for Update User Email


Initializing Email Service Client


Generating Email Request


Your OQSHA Access Has Been Updated


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


--- Email response from Osmo-x is 201


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, Safety Alert By Visitor, test safety alert category jul 18, Test ticket category, tick-cat-without-checklist, Ticket Category - 1, Ticket Category J, TTK Beta"},{"Key":"UserIncidentSites","Value":"Coimbatore, Hosur, Khadri, Regression, Roorkee, SamarSite, site - 2, Sshristi, Testing site, TTK Beta"},{"Key":"Email","Value":"rajkumar.p@osmosys.co"},{"Key":"MobileNumber","Value":"+919160948627"}]}


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


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


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


Reading and binding data to Email Template


Message : {"EventName":"AUDIT_CREATION_NOTIFICATION","EventArgs":[{"Key":"AuditorsUserIds","Value":"[1]"},{"Key":"AuditId","Value":"260"},{"Key":"OrgId","Value":"387"}]}


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


### Started processing for Audit Creation Event ###


PDF generation successfull


Executing email notifications to Auditors about Audit


An Audit has been created


Executing whatsapp notifications to Auditors about Audit creation


Sending WhatsApp for Audit Creation to Auditors: 1


Osmo-x WhatsApp Message has been Sent


### Ended processing Investigation Creator Status Update Event ###


### End Event Execution ###


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


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


### Start Event Execution ###


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


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


Osmo-x WhatsApp Message has been Sent


### Ended processing Incident Submitted Event ###


### End Event Execution ###


Message : {"EventName":"INCIDENT_SUBMITTED_NOTIFICATION","EventArgs":[{"Key":"UserId","Value":"2448"},{"Key":"IncidentId","Value":"225"},{"Key":"OrgId","Value":"310"}]}


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


Reading and binding data to Email Template


Sending WhatsApp Notification for Incident Approval to User: 2448


### Start Event Execution ###


Message : {"EventName":"INCIDENT_SUBMITTED_NOTIFICATION","EventArgs":[{"Key":"UserId","Value":"2448"},{"Key":"IncidentId","Value":"226"},{"Key":"OrgId","Value":"310"}]}


Message : {"EventName":"INCIDENT_SUBMITTED_NOTIFICATION","EventArgs":[{"Key":"UserId","Value":"2448"},{"Key":"IncidentId","Value":"227"},{"Key":"OrgId","Value":"310"}]}


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


Message : {"EventName":"INCIDENT_VALIDATED_NOTIFICATION","EventArgs":[{"Key":"UserId","Value":"2481"},{"Key":"IncidentId","Value":"227"},{"Key":"OrgId","Value":"310"},{"Key":"PreviousApproverName","Value":"sephali Kumari singh"}]}


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


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


Incident IMF/APR/abd/444/25/00006 has been validated


Sending WhatsApp for Incident Validation to User: 2481


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"917488126002","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"oqsha_incident_validate","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"dhruv pahadia"},{"type":"text","text":"sephali Kumari singh"},{"type":"text","text":"IMF/APR/abd/444/25/00006"},{"type":"text","text":"Raj Kumar Pativada"},{"type":"text","text":"02-Sep-2025 12:00:00 AM"},{"type":"text","text":"Aparna New Site"},{"type":"text","text":"Injuered notification"},{"type":"text","text":"0"},{"type":"text","text":"https://oqsha.com/#/incident-management/report-incident/view/227"}]}]}}}


Osmo-x WhatsApp Message has been Sent


### Ended processing Incident Validated Event ###


### End Event Execution ###


### Start Event Execution ###


Message : {"EventName":"INCIDENT_SUBMITTED_NOTIFICATION","EventArgs":[{"Key":"UserId","Value":"2448"},{"Key":"IncidentId","Value":"228"},{"Key":"OrgId","Value":"310"}]}


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


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


### Ended processing Incident Submitted Event ###


Message : {"EventName":"INCIDENT_VALIDATED_NOTIFICATION","EventArgs":[{"Key":"UserId","Value":"2481"},{"Key":"IncidentId","Value":"228"},{"Key":"OrgId","Value":"310"},{"Key":"PreviousApproverName","Value":"sephali Kumari singh"}]}


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


Reading and binding data to Email Template


Incident IMF/APR/abd/444/25/00007 has been validated


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"917488126002","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"oqsha_incident_validate","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"dhruv pahadia"},{"type":"text","text":"sephali Kumari singh"},{"type":"text","text":"IMF/APR/abd/444/25/00007"},{"type":"text","text":"Raj Kumar Pativada"},{"type":"text","text":"02-Sep-2025 12:00:00 AM"},{"type":"text","text":"Aparna New Site"},{"type":"text","text":"test injured"},{"type":"text","text":"0"},{"type":"text","text":"https://oqsha.com/#/incident-management/report-incident/view/228"}]}]}}}


Osmo-x WhatsApp Message has been Sent


### End Event Execution ###


### Start Event Execution ###


Message : {"EventName":"NOTIFICATION_FOR_MOC_CREATION","EventArgs":[{"Key":"MocId","Value":"678"},{"Key":"ApproverIds","Value":"[1954]"},{"Key":"SiteName","Value":"Coimbatore"},{"Key":"CreatedBy","Value":"Lalit Aditya Kola"},{"Key":"MocUid","Value":"M/TTK/COI/NMT/25/00003"},{"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: lalit.a@osmosys.co


Initializing Email Service Client


Generating Email Request


New MOC Assigned


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


--- Email response from Osmo-x is 201


Sending MOC creation WhatsApp message to: 919989248964


Message : {"EventName":"MOC_APPROVED_INFORM_TO_CREATOR_NOTIFICATION","EventArgs":[{"Key":"CreatorId","Value":"1954"},{"Key":"ApproverName","Value":"Lalit Aditya Kola"},{"Key":"MocId","Value":"678"},{"Key":"MocUid","Value":"M/TTK/COI/NMT/25/00003"},{"Key":"SiteName","Value":"Coimbatore"},{"Key":"OrganisationName","Value":"TTK Beta - QA"},{"Key":"ApprovedOn","Value":"02-Sep-2025 02:47:40 PM"},{"Key":"OrgId","Value":387}]}


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


# Calling SendMOCApprovedInformToCreatorNotification function for email #


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


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


An Approver has Approved your MOC


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


Sending WhatsApp for MOC to user: 1954


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"919989248964","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"oqsha_moc_approved_inform_to_template","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"Lalit Aditya Kola"},{"type":"text","text":"Lalit Aditya Kola"},{"type":"text","text":"M/TTK/COI/NMT/25/00003"},{"type":"text","text":"Coimbatore"},{"type":"text","text":"TTK Beta - QA"},{"type":"text","text":"02-Sep-2025 02:47:40 PM"},{"type":"text","text":"https://qa-staging.oqsha.com/#/moc/edit-moc/678?orgID=387&dlType=viewMOC"}]}]}}}


Osmo-x WhatsApp Message has been Sent


### End Event Execution ###


### Start Event Execution ###


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


### Ended processing Incident Submitted Event ###


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


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


### Start Event Execution ###


Message : {"EventName":"AUDIT_CREATION_NOTIFICATION","EventArgs":[{"Key":"AuditorsUserIds","Value":"[2169,2300,2200]"},{"Key":"AuditId","Value":"264"},{"Key":"OrgId","Value":"310"}]}


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


### Started processing for Audit Creation Event ###


PDF generation successfull


Executing email notifications to Auditors about Audit


An Audit has been created


Executing whatsapp notifications to Auditors about Audit creation


Sending WhatsApp for Audit Creation to Auditors: 2169


Osmo-x WhatsApp Message has been Sent


Initializing Email Service Client


Generating Email Request


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


--- Email response from Osmo-x is 201


Sending WhatsApp for Audit Creation to Auditors: 2200


Sending WhatsApp for Audit Creation to Auditors: 2300


### Ended processing Investigation Creator Status Update Event ###


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


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


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


Reading and binding data to Email Template


New Task Assigned - TA/APR/16J/NTC/25/00014


Message : {"EventName":"NOTIFICATION_FOR_MOC_CREATION","EventArgs":[{"Key":"MocId","Value":"679"},{"Key":"ApproverIds","Value":"[1954]"},{"Key":"SiteName","Value":"Coimbatore"},{"Key":"CreatedBy","Value":"Lalit Aditya Kola"},{"Key":"MocUid","Value":"M/TTK/COI/NMT/25/00004"},{"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: lalit.a@osmosys.co


Initializing Email Service Client


Generating Email Request


New MOC Assigned


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


--- Email response from Osmo-x is 201


Sending MOC creation WhatsApp message to: 919989248964


Osmo-x WhatsApp Message has been Sent


### End Event Execution ###


### Start Event Execution ###


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


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


# Calling SendMOCApprovedInformToCreatorNotification function for email #


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


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


An Approver has Approved your MOC


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


Sending WhatsApp for MOC to user: 1954


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"919989248964","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"oqsha_moc_approved_inform_to_template","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"Lalit Aditya Kola"},{"type":"text","text":"Lalit Aditya Kola"},{"type":"text","text":"M/TTK/COI/NMT/25/00004"},{"type":"text","text":"Coimbatore"},{"type":"text","text":"TTK Beta - QA"},{"type":"text","text":"02-Sep-2025 05:00:09 PM"},{"type":"text","text":"https://qa-staging.oqsha.com/#/moc/edit-moc/387?orgID=679&dlType=viewMOC"}]}]}}}


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


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


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


Osmo-x WhatsApp Message has been Sent


### Ended processing Incident Submitted Event ###


### End Event Execution ###


### Start Event Execution ###


Message : {"EventName":"NOTIFICATION_TO_TASK_ASSIGNEES","EventArgs":[{"Key":"TaskId","Value":3089},{"Key":"OrganisationId","Value":387},{"Key":"TaskUid","Value":"TA/TTK/COI/AUD/25/00081"},{"Key":"TaskPriority","Value":"Medium"},{"Key":"TaskDescription","Value":"audit rating test - 1. Safety Management - 1.1 Availability of Safety Champion & Performing his Job - 3 - Conducting Training Every monthDoing training, safety wlakthrough & closing observations - 3"},{"Key":"DueDate","Value":""},{"Key":"AssigneeUserDetails","Value":"[{\"Id\":1326,\"MobileNumber\":\"7003236045\",\"WhatsAppNumber\":\"7003236045\",\"CountryCode\":\"+91\",\"UserUid\":null,\"CountryId\":11,\"WhatsAppCountryCode\":\"+91\",\"WhatsAppCountryId\":11,\"Photo\":null,\"FirstName\":\"Bishal\",\"LastName\":\"Mondal\",\"DisplayName\":\"Bishal Mondal\",\"Email\":\"bishal.m@osmosys.co\",\"Password\":null,\"City\":null,\"Country\":null,\"Address\":\"VILL+POST  RAMNAGAR BAZAR\",\"Pincode\":null,\"CompanyId\":null,\"CompanyTypeId\":null,\"JobDesignationIds\":null,\"JobDesignationName\":null,\"ReceiveAllPtwNotifications\":null,\"SeeAllPtws\":null,\"SeeAllInspections\":null,\"Role\":1,\"Roles\":null,\"AnonymousReporting\":false,\"Status\":1,\"CreatedOn\":\"2023-08-11T05:44:14\",\"ModifiedOn\":\"2025-09-01T04:38:17\",\"Latitude\":null,\"Longitude\":null,\"Location\":null,\"OrganisationName\":null,\"IsVerified\":null,\"IsCloseOrganisation\":null,\"OrganisationId\":null,\"CompanyName\":null,\"VerificationStatus\":null,\"IsPortalUser\":null,\"IsFieldStaff\":null,\"LocationId\":null,\"LocationName\":null,\"IncidentSites\":null,\"IncidentSiteIds\":null,\"IncidentSitesText\":null,\"IsAppUser\":false,\"Incidents\":null,\"IncidentHistory\":null,\"IsSelectAll\":null,\"IsSelectAllFieldStaff\":null,\"AppPassword\":null,\"ShowAllIncidents\":null,\"OrgUserCreatedOn\":null,\"AzureUserId\":null,\"AppUserPreferenceDBO\":null,\"EmployeeNumber\":\"\",\"EmergencyContactName\":\"\",\"EmergencyContactNumber\":\"\",\"ReportingManager\":\"\",\"DateOfJoining\":null,\"DateOfBirth\":null,\"Department\":null,\"ShortCode\":null,\"AcmRoleId\":null,\"AcmRole\":null,\"JobDesignationId\":null,\"AcmRoles\":null,\"JobTypeIds\":null,\"IsActiveUser\":null,\"JobDesignationNames\":null,\"UserHistory\":null,\"EscalateConfig\":null,\"ContractStartedOn\":null,\"ContractEndsOn\":null,\"IsOwner\":null,\"PortalPasswordLastChangedOn\":null,\"AppPasswordLastChangedOn\":null,\"Departments\":null,\"UserQrCodeImage\":null,\"UserQrCodePdf\":null,\"UserMultiplePhotos\":null,\"UserTypeName\":null,\"AcmRoleIds\":null}]"}]}


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


# Calling SendNotificationToTaskAssignees function for WhatsApp notification #


Sending WhatsApp notification for task assignment to user ID: 1326


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"917003236045","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"oqsha_task_assigned_to_notification_v1","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"Bishal Mondal"},{"type":"text","text":"TA/TTK/COI/AUD/25/00081"},{"type":"text","text":"audit rating test - 1. Safety Management - 1.1 Availability of Safety Champion & Performing his Job - 3 - Conducting Training Every monthDoing training, safety wlakthrough & closing observations - 3"},{"type":"text","text":"Medium"},{"type":"text","text":"N/A"},{"type":"text","text":"https://qa-staging.oqsha.com/#/tasks/edit/3089?dlType=viewTask"},{"type":"text","text":"Action Tracker"}]}]}}}


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


Initializing Email Service Client


Generating Email Request


New Action Tracker Assigned - TA/TTK/COI/AUD/25/00081


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


--- Email response from Osmo-x is 201


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


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


Message : {"EventName":"PASSWORD_RESET","EventArgs":[{"Key":"DisplayName","Value":null},{"Key":"Password","Value":"EA5$pWuU"},{"Key":"Email","Value":"lakhan.b@osmosys.co"}]}


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


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


Calling Send Email Function for Reset Password Email


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


Reading and binding data to Email Template


Your password is reset


### End Event Execution ###


### Start Event Execution ###


Message : {"EventName":"PASSWORD_RESET","EventArgs":[{"Key":"DisplayName","Value":null},{"Key":"Password","Value":"R18G*Pov"},{"Key":"Email","Value":"lakhan.b@osmosys.co"}]}


Initializing Email Service Client


Generating Email Request


Message : {"EventName":"INFORM_TO_INCIDENT_CREATION_NOTIFICATION","EventArgs":[{"Key":"IncidentId","Value":21260},{"Key":"InformToUserId","Value":1761}]}


### 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 Email for IncidentId: 21260


Safety Alert T/TTK/NMM/25/00057 has been created


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


--- Email response from Osmo-x is 201


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


Message : {"EventName":"INFORM_TO_INCIDENT_CREATION_NOTIFICATION","EventArgs":[{"Key":"IncidentId","Value":21260},{"Key":"InformToUserId","Value":2124}]}


Sending Inform-To WhatsApp for IncidentId: 21260


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"919520405332","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"oqsha_ticket_inform_to_template_v2","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"Pritish Tomar"},{"type":"text","text":"Safety Alert"},{"type":"text","text":"T/TTK/NMM/25/00057"},{"type":"text","text":"This is to test Validation flow"},{"type":"text","text":"TTK Beta"},{"type":"text","text":"Near Miss"},{"type":"text","text":"Raj Kumar Pativada"},{"type":"text","text":"TTK Beta - QA"},{"type":"text","text":"Open"},{"type":"text","text":"https://qa-staging.oqsha.com/#/incidents/view/387/21260?dlType=viewTicket"}]}]}}}


Osmo-x WhatsApp Message has been Sent


### End Event Execution ###


### Start Event Execution ###


Message : {"EventName":"INFORM_TO_INCIDENT_CREATION_NOTIFICATION","EventArgs":[{"Key":"IncidentId","Value":21260},{"Key":"InformToUserId","Value":2449}]}


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"915858747465","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"oqsha_ticket_inform_to_template_v2","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"Varun OnlyTTK"},{"type":"text","text":"Safety Alert"},{"type":"text","text":"T/TTK/NMM/25/00057"},{"type":"text","text":"This is to test Validation flow"},{"type":"text","text":"TTK Beta"},{"type":"text","text":"Near Miss"},{"type":"text","text":"Raj Kumar Pativada"},{"type":"text","text":"TTK Beta - QA"},{"type":"text","text":"Open"},{"type":"text","text":"https://qa-staging.oqsha.com/#/incidents/view/387/21260?dlType=viewTicket"}]}]}}}


Initializing Email Service Client


Generating Email Request


Message : {"EventName":"INFORM_TO_INCIDENT_CREATION_NOTIFICATION","EventArgs":[{"Key":"IncidentId","Value":21260},{"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_v2","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/00057"},{"type":"text","text":"This is to test Validation flow"},{"type":"text","text":"TTK Beta"},{"type":"text","text":"Near Miss"},{"type":"text","text":"Raj Kumar Pativada"},{"type":"text","text":"TTK Beta - QA"},{"type":"text","text":"Open"},{"type":"text","text":"https://qa-staging.oqsha.com/#/incidents/view/387/21260?dlType=viewTicket"}]}]}}}


Message : {"EventName":"INFORM_TO_INCIDENT_CREATION_NOTIFICATION","EventArgs":[{"Key":"IncidentId","Value":21260},{"Key":"InformToUserId","Value":2481}]}


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"917488126002","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"oqsha_ticket_inform_to_template_v2","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"dhruv pahadia"},{"type":"text","text":"Safety Alert"},{"type":"text","text":"T/TTK/NMM/25/00057"},{"type":"text","text":"This is to test Validation flow"},{"type":"text","text":"TTK Beta"},{"type":"text","text":"Near Miss"},{"type":"text","text":"Raj Kumar Pativada"},{"type":"text","text":"TTK Beta - QA"},{"type":"text","text":"Open"},{"type":"text","text":"https://qa-staging.oqsha.com/#/incidents/view/387/21260?dlType=viewTicket"}]}]}}}


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


Reading and binding data to Email Template


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


--- Email response from Osmo-x is 201


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


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_v2","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/00057"},{"type":"text","text":"This is to test Validation flow"},{"type":"text","text":"TTK Beta"},{"type":"text","text":"Near Miss"},{"type":"text","text":"Raj Kumar Pativada"},{"type":"text","text":"TTK Beta - QA"},{"type":"text","text":"Open"},{"type":"text","text":"https://qa-staging.oqsha.com/#/incidents/view/387/21260?dlType=viewTicket"}]}]}}}


Osmo-x WhatsApp Message has been Sent


Sending Inform-To Email for IncidentId: 21260


Initializing Email Service Client


Generating Email Request


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


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


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


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


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


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


Generating report.


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


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


Reading and binding data to Email Template


New Action Tracker Assigned - TA/TTK//SAT/25/00019


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


--- Email response from Osmo-x is 201


PDF generation successfull


## Sending email to Kumar Samarjeet, UserId : 1482 for assigned to notification ##


Sending Assigned To Email for IncidentId:21260


Initializing Email Service Client


Generating Email Request


A Safety Alert T/TTK/NMM/25/00057 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:21260


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"918249683426","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"oqsha_assigned_to_whatsapp_template_v2","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/NMM/25/00057"},{"type":"text","text":"This is to test Validation flow"},{"type":"text","text":"TTK Beta"},{"type":"text","text":"Near Miss"},{"type":"text","text":"Raj Kumar Pativada"},{"type":"text","text":"TTK Beta - QA"},{"type":"text","text":"Assigned"},{"type":"text","text":"https://qa-staging.oqsha.com/#/incidents/view/387/21260?dlType=viewTicket"}]}]}}}


Osmo-x WhatsApp Message has been Sent


# Preparing notification body #


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


### End Event Execution ###


### Start Event Execution ###


Message : {"EventName":"INCIDENT_CLOSURE_NOTIFICATION_VALIDATION_1","EventArgs":[{"Key":"IncidentId","Value":21260},{"Key":"ClosedById","Value":1}]}


### 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,1761,2124,2449,916,2481]


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


Sending Incident Closure Validation Email for IncidentId:21260


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


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_v1","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"Raj Kumar Pativada"},{"type":"text","text":"Raj Kumar Pativada"},{"type":"text","text":"T/TTK/NMM/25/00057"},{"type":"text","text":"02-Sep-2025 06:54:33 PM"},{"type":"text","text":"Near Miss"},{"type":"text","text":"TTK Beta"},{"type":"text","text":"TTK Beta"},{"type":"text","text":"This is to test Validation flow"},{"type":"text","text":"Raj Kumar Pativada"},{"type":"text","text":"https://qa-staging.oqsha.com/#/incidents/view/387/21260?dlType=viewTicket"}]}]}}}


Osmo-x WhatsApp Message has been Sent


## Sending email to Abhinav Srivastava, UserId : 1761 for Incident Closure Validation notification ##


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


Reading and binding data to Email Template


## Sending email to Pritish Tomar, UserId : 2124 for Incident Closure Validation notification ##


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"919520405332","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"oqsha_ticket_validation_level_1_whatsapp_template_ttk_v1","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"Pritish Tomar"},{"type":"text","text":"Raj Kumar Pativada"},{"type":"text","text":"T/TTK/NMM/25/00057"},{"type":"text","text":"02-Sep-2025 06:54:33 PM"},{"type":"text","text":"Near Miss"},{"type":"text","text":"TTK Beta"},{"type":"text","text":"TTK Beta"},{"type":"text","text":"This is to test Validation flow"},{"type":"text","text":"Raj Kumar Pativada"},{"type":"text","text":"https://qa-staging.oqsha.com/#/incidents/view/387/21260?dlType=viewTicket"}]}]}}}


## Sending email to Varun OnlyTTK, UserId : 2449 for Incident Closure Validation notification ##


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"915858747465","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"oqsha_ticket_validation_level_1_whatsapp_template_ttk_v1","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"Varun OnlyTTK"},{"type":"text","text":"Raj Kumar Pativada"},{"type":"text","text":"T/TTK/NMM/25/00057"},{"type":"text","text":"02-Sep-2025 06:54:33 PM"},{"type":"text","text":"Near Miss"},{"type":"text","text":"TTK Beta"},{"type":"text","text":"TTK Beta"},{"type":"text","text":"This is to test Validation flow"},{"type":"text","text":"Raj Kumar Pativada"},{"type":"text","text":"https://qa-staging.oqsha.com/#/incidents/view/387/21260?dlType=viewTicket"}]}]}}}


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


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"9145454545454","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"oqsha_ticket_validation_level_1_whatsapp_template_ttk_v1","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"Mounika Consent"},{"type":"text","text":"Raj Kumar Pativada"},{"type":"text","text":"T/TTK/NMM/25/00057"},{"type":"text","text":"02-Sep-2025 06:54:33 PM"},{"type":"text","text":"Near Miss"},{"type":"text","text":"TTK Beta"},{"type":"text","text":"TTK Beta"},{"type":"text","text":"This is to test Validation flow"},{"type":"text","text":"Raj Kumar Pativada"},{"type":"text","text":"https://qa-staging.oqsha.com/#/incidents/view/387/21260?dlType=viewTicket"}]}]}}}


## Sending email to dhruv pahadia, UserId : 2481 for Incident Closure Validation notification ##


Initializing Email Service Client


Generating Email Request


Safety Alert Validation Level 1


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


--- Email response from Osmo-x is 201


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"917488126002","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"oqsha_ticket_validation_level_1_whatsapp_template_ttk_v1","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"dhruv pahadia"},{"type":"text","text":"Raj Kumar Pativada"},{"type":"text","text":"T/TTK/NMM/25/00057"},{"type":"text","text":"02-Sep-2025 06:54:33 PM"},{"type":"text","text":"Near Miss"},{"type":"text","text":"TTK Beta"},{"type":"text","text":"TTK Beta"},{"type":"text","text":"This is to test Validation flow"},{"type":"text","text":"Raj Kumar Pativada"},{"type":"text","text":"https://qa-staging.oqsha.com/#/incidents/view/387/21260?dlType=viewTicket"}]}]}}}


Osmo-x WhatsApp Message has been Sent


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


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


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


New Action Tracker Assigned - TA/TTK/HOS/CTA/25/00010


Sending WhatsApp notification for task assignment to user ID: 2127


Sending Task Assignment Email for TaskId: 3093, UserId: 2127


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


Reading and binding data to Email Template


Initializing Email Service Client


Generating Email Request


New Action Tracker Assigned - TA/TTK/HOS/CTA/25/00011


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


--- Email response from Osmo-x is 201


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


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


### Start Event Execution ###


Message : {"EventName":"INCIDENT_CLOSURE_NOTIFICATION_VALIDATION_2","EventArgs":[{"Key":"IncidentId","Value":21260},{"Key":"ClosedById","Value":1326}]}


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


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


Generating report.


## Sending notification to EHS head user ##


## Notification to be send for these users: [1761,2124,2449,916,2481,1709,1403]


## Sending email to Abhinav Srivastava, UserId : 1761 for Incident Closure Validation notification ##


Sending Incident Closure Validation Email for IncidentId:21260


Safety Alert Validation For Closure


## Sending email to Pritish Tomar, UserId : 2124 for Incident Closure Validation notification ##


Initializing Email Service Client


Generating Email Request


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


--- Email response from Osmo-x is 201


Sending Inform-To Update WhatsApp for IncidentId:21260


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"919520405332","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"oqsha_ticket_validation_level_2_whatsapp_template_ttk_v1","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"Pritish Tomar"},{"type":"text","text":"Bishal Mondal"},{"type":"text","text":"T/TTK/NMM/25/00057"},{"type":"text","text":"02-Sep-2025 06:54:33 PM"},{"type":"text","text":"Near Miss"},{"type":"text","text":"TTK Beta"},{"type":"text","text":"TTK Beta"},{"type":"text","text":"This is to test Validation flow"},{"type":"text","text":"Raj Kumar Pativada"},{"type":"text","text":"https://qa-staging.oqsha.com/#/incidents/view/387/21260?dlType=viewTicket"}]}]}}}


Osmo-x WhatsApp Message has been Sent


## Sending email to Varun OnlyTTK, UserId : 2449 for Incident Closure Validation notification ##


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"915858747465","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"oqsha_ticket_validation_level_2_whatsapp_template_ttk_v1","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"Varun OnlyTTK"},{"type":"text","text":"Bishal Mondal"},{"type":"text","text":"T/TTK/NMM/25/00057"},{"type":"text","text":"02-Sep-2025 06:54:33 PM"},{"type":"text","text":"Near Miss"},{"type":"text","text":"TTK Beta"},{"type":"text","text":"TTK Beta"},{"type":"text","text":"This is to test Validation flow"},{"type":"text","text":"Raj Kumar Pativada"},{"type":"text","text":"https://qa-staging.oqsha.com/#/incidents/view/387/21260?dlType=viewTicket"}]}]}}}


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


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


Reading and binding data to Email Template


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"9145454545454","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"oqsha_ticket_validation_level_2_whatsapp_template_ttk_v1","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"Mounika Consent"},{"type":"text","text":"Bishal Mondal"},{"type":"text","text":"T/TTK/NMM/25/00057"},{"type":"text","text":"02-Sep-2025 06:54:33 PM"},{"type":"text","text":"Near Miss"},{"type":"text","text":"TTK Beta"},{"type":"text","text":"TTK Beta"},{"type":"text","text":"This is to test Validation flow"},{"type":"text","text":"Raj Kumar Pativada"},{"type":"text","text":"https://qa-staging.oqsha.com/#/incidents/view/387/21260?dlType=viewTicket"}]}]}}}


## Sending email to dhruv pahadia, UserId : 2481 for Incident Closure Validation notification ##


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"917488126002","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"oqsha_ticket_validation_level_2_whatsapp_template_ttk_v1","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"dhruv pahadia"},{"type":"text","text":"Bishal Mondal"},{"type":"text","text":"T/TTK/NMM/25/00057"},{"type":"text","text":"02-Sep-2025 06:54:33 PM"},{"type":"text","text":"Near Miss"},{"type":"text","text":"TTK Beta"},{"type":"text","text":"TTK Beta"},{"type":"text","text":"This is to test Validation flow"},{"type":"text","text":"Raj Kumar Pativada"},{"type":"text","text":"https://qa-staging.oqsha.com/#/incidents/view/387/21260?dlType=viewTicket"}]}]}}}


## Sending email to dhruv pahadia, UserId : 1709 for Incident Closure Validation notification ##


Safety Alert Validation For Closure


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"919999835508","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"oqsha_ticket_validation_level_2_whatsapp_template_ttk_v1","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"dhruv pahadia"},{"type":"text","text":"Bishal Mondal"},{"type":"text","text":"T/TTK/NMM/25/00057"},{"type":"text","text":"02-Sep-2025 06:54:33 PM"},{"type":"text","text":"Near Miss"},{"type":"text","text":"TTK Beta"},{"type":"text","text":"TTK Beta"},{"type":"text","text":"This is to test Validation flow"},{"type":"text","text":"Raj Kumar Pativada"},{"type":"text","text":"https://qa-staging.oqsha.com/#/incidents/view/387/21260?dlType=viewTicket"}]}]}}}


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


Initializing Email Service Client


Generating Email Request


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


--- Email response from Osmo-x is 201


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"918885857714","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"oqsha_ticket_validation_level_2_whatsapp_template_ttk_v1","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"Lakhan TTK"},{"type":"text","text":"Bishal Mondal"},{"type":"text","text":"T/TTK/NMM/25/00057"},{"type":"text","text":"02-Sep-2025 06:54:33 PM"},{"type":"text","text":"Near Miss"},{"type":"text","text":"TTK Beta"},{"type":"text","text":"TTK Beta"},{"type":"text","text":"This is to test Validation flow"},{"type":"text","text":"Raj Kumar Pativada"},{"type":"text","text":"https://qa-staging.oqsha.com/#/incidents/view/387/21260?dlType=viewTicket"}]}]}}}


Osmo-x WhatsApp Message has been Sent


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


### End Event Execution ###


### Start Event Execution ###


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


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


Current Ticket Status: Validated_1


Sending notification to Site EHS or EHS Head for ticket status: Validated_1 to [1761,2124,2449,916,2481,1709,1403]


Sending Inform-To Update Email for IncidentId:21260


Ticket Safety Alert has been updated


Sending Inform-To Update WhatsApp for IncidentId:21260


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"919520405332","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"oqsha_ticket_update_whatsapp_template_v3","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"Pritish Tomar"},{"type":"text","text":"Safety Alert"},{"type":"text","text":"T/TTK/NMM/25/00057"},{"type":"text","text":"Safety Alert status updated to Validated_1.Comments: validated by Bishal"},{"type":"text","text":"Safety Alert"},{"type":"text","text":"This is to test Validation flow"},{"type":"text","text":"TTK Beta"},{"type":"text","text":"Near Miss"},{"type":"text","text":"Raj Kumar Pativada"},{"type":"text","text":"TTK Beta - QA"},{"type":"text","text":"Validated_1"},{"type":"text","text":"https://qa-staging.oqsha.com/#/incidents/view/387/21260?dlType=viewTicket"}]}]}}}


Initializing Email Service Client


Generating Email Request


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


--- Email response from Osmo-x is 201


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"915858747465","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"oqsha_ticket_update_whatsapp_template_v3","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"Varun OnlyTTK"},{"type":"text","text":"Safety Alert"},{"type":"text","text":"T/TTK/NMM/25/00057"},{"type":"text","text":"Safety Alert status updated to Validated_1.Comments: validated by Bishal"},{"type":"text","text":"Safety Alert"},{"type":"text","text":"This is to test Validation flow"},{"type":"text","text":"TTK Beta"},{"type":"text","text":"Near Miss"},{"type":"text","text":"Raj Kumar Pativada"},{"type":"text","text":"TTK Beta - QA"},{"type":"text","text":"Validated_1"},{"type":"text","text":"https://qa-staging.oqsha.com/#/incidents/view/387/21260?dlType=viewTicket"}]}]}}}


Osmo-x WhatsApp Message has been Sent


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


Reading and binding data to Email Template


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"9145454545454","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"oqsha_ticket_update_whatsapp_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/00057"},{"type":"text","text":"Safety Alert status updated to Validated_1.Comments: validated by Bishal"},{"type":"text","text":"Safety Alert"},{"type":"text","text":"This is to test Validation flow"},{"type":"text","text":"TTK Beta"},{"type":"text","text":"Near Miss"},{"type":"text","text":"Raj Kumar Pativada"},{"type":"text","text":"TTK Beta - QA"},{"type":"text","text":"Validated_1"},{"type":"text","text":"https://qa-staging.oqsha.com/#/incidents/view/387/21260?dlType=viewTicket"}]}]}}}


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"917488126002","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"oqsha_ticket_update_whatsapp_template_v3","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"dhruv pahadia"},{"type":"text","text":"Safety Alert"},{"type":"text","text":"T/TTK/NMM/25/00057"},{"type":"text","text":"Safety Alert status updated to Validated_1.Comments: validated by Bishal"},{"type":"text","text":"Safety Alert"},{"type":"text","text":"This is to test Validation flow"},{"type":"text","text":"TTK Beta"},{"type":"text","text":"Near Miss"},{"type":"text","text":"Raj Kumar Pativada"},{"type":"text","text":"TTK Beta - QA"},{"type":"text","text":"Validated_1"},{"type":"text","text":"https://qa-staging.oqsha.com/#/incidents/view/387/21260?dlType=viewTicket"}]}]}}}


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"919999835508","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"oqsha_ticket_update_whatsapp_template_v3","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"dhruv pahadia"},{"type":"text","text":"Safety Alert"},{"type":"text","text":"T/TTK/NMM/25/00057"},{"type":"text","text":"Safety Alert status updated to Validated_1.Comments: validated by Bishal"},{"type":"text","text":"Safety Alert"},{"type":"text","text":"This is to test Validation flow"},{"type":"text","text":"TTK Beta"},{"type":"text","text":"Near Miss"},{"type":"text","text":"Raj Kumar Pativada"},{"type":"text","text":"TTK Beta - QA"},{"type":"text","text":"Validated_1"},{"type":"text","text":"https://qa-staging.oqsha.com/#/incidents/view/387/21260?dlType=viewTicket"}]}]}}}


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"918885857714","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"oqsha_ticket_update_whatsapp_template_v3","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"Lakhan TTK"},{"type":"text","text":"Safety Alert"},{"type":"text","text":"T/TTK/NMM/25/00057"},{"type":"text","text":"Safety Alert status updated to Validated_1.Comments: validated by Bishal"},{"type":"text","text":"Safety Alert"},{"type":"text","text":"This is to test Validation flow"},{"type":"text","text":"TTK Beta"},{"type":"text","text":"Near Miss"},{"type":"text","text":"Raj Kumar Pativada"},{"type":"text","text":"TTK Beta - QA"},{"type":"text","text":"Validated_1"},{"type":"text","text":"https://qa-staging.oqsha.com/#/incidents/view/387/21260?dlType=viewTicket"}]}]}}}


### Ended processing Inform-To update 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, Safety Alert By Visitor, test safety alert category jul 18, Test ticket category, tick-cat-without-checklist, Ticket Category - 1, Ticket Category J, TTK Beta"},{"Key":"UserIncidentSites","Value":"Coimbatore, Hosur, Khadri, Roorkee, SamarSite, site - 2, Sshristi, Testing site, TTK Beta"},{"Key":"OldEmail","Value":""},{"Key":"Email","Value":"kumarsamarjeet.19@gmail.com"}]}


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


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


Calling Send Email Function for Update User Email


Initializing Email Service Client


Generating Email Request


Your OQSHA Access Has Been Updated


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


--- Email response from Osmo-x is 201


Message : {"EventName":"Update_APP_USER","EventArgs":[{"Key":"DisplayName","Value":"Kumar Samarjeet"},{"Key":"Password","Value":""},{"Key":"OrganisationName","Value":"TTK Beta - QA"},{"Key":"UserUid","Value":""},{"Key":"UserDivisions","Value":"Near Miss, Safety Alert By Visitor, test safety alert category jul 18, Test ticket category, tick-cat-without-checklist, Ticket Category - 1, Ticket Category J, TTK Beta"},{"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":"INFORM_TO_INCIDENT_CREATION_NOTIFICATION","EventArgs":[{"Key":"IncidentId","Value":21261},{"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: 21261


Osmo-x WhatsApp Message has been Sent


Sending Inform-To Email for IncidentId: 21261


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


Reading and binding data to Email Template


Initializing Email Service Client


Generating Email Request


Safety Alert T/TTK/NMM/25/00058 has been created


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


--- Email response from Osmo-x is 201


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


### End Event Execution ###


### Start Event Execution ###


Message : {"EventName":"INFORM_TO_INCIDENT_CREATION_NOTIFICATION","EventArgs":[{"Key":"IncidentId","Value":21261},{"Key":"InformToUserId","Value":2126}]}


Message : {"EventName":"INFORM_TO_INCIDENT_CREATION_NOTIFICATION","EventArgs":[{"Key":"IncidentId","Value":21261},{"Key":"InformToUserId","Value":1761}]}


Message : {"EventName":"INFORM_TO_INCIDENT_CREATION_NOTIFICATION","EventArgs":[{"Key":"IncidentId","Value":21261},{"Key":"InformToUserId","Value":2449}]}


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


Message : {"EventName":"INFORM_TO_INCIDENT_CREATION_NOTIFICATION","EventArgs":[{"Key":"IncidentId","Value":21261},{"Key":"InformToUserId","Value":2124}]}


Osmo-x WhatsApp Message has been Sent


Message : {"EventName":"INFORM_TO_INCIDENT_CREATION_NOTIFICATION","EventArgs":[{"Key":"IncidentId","Value":21261},{"Key":"InformToUserId","Value":2481}]}


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


# Calling SendNotificationToTaskAssignees function for WhatsApp notification #


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


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


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


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


Generating report.


Sending WhatsApp notification for task assignment to user ID: 1761


Sending Task Assignment Email for TaskId: 3094, 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/SAT/25/00194


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


--- Email response from Osmo-x is 201


### End Event Execution ###


PDF generation successfull


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


Sending Assigned To Email for IncidentId:21261


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


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


# Preparing notification body #


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


### Start Event Execution ###


Message : {"EventName":"INCIDENT_CLOSURE_NOTIFICATION_VALIDATION_1","EventArgs":[{"Key":"IncidentId","Value":21261},{"Key":"ClosedById","Value":1}]}


### 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,1326,2126,1761,2449,916,2124,2481]


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


Sending Incident Closure Validation Email for IncidentId:21261


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


Osmo-x WhatsApp Message has been Sent


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


## Sending email to Vineet Tester, UserId : 2126 for Incident Closure Validation notification ##


## Sending email to Abhinav Srivastava, UserId : 1761 for Incident Closure Validation notification ##


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


Reading and binding data to Email Template


## Sending email to Varun OnlyTTK, UserId : 2449 for Incident Closure Validation notification ##


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


## Sending email to Pritish Tomar, UserId : 2124 for Incident Closure Validation notification ##


## Sending email to dhruv pahadia, UserId : 2481 for Incident Closure Validation notification ##


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


### End Event Execution ###


### Start Event Execution ###


Message : {"EventName":"INCIDENT_CLOSURE_NOTIFICATION_VALIDATION_2","EventArgs":[{"Key":"IncidentId","Value":21261},{"Key":"ClosedById","Value":1326}]}


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


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


Generating report.


## Sending notification to EHS head user ##


## Notification to be send for these users: [2126,1761,1482,2449,916,2124,2481,1709,1403]


Sending Incident Closure Validation Email for IncidentId:21261


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


Osmo-x WhatsApp Message has been Sent


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


## Sending email to dhruv pahadia, UserId : 1709 for Incident Closure Validation notification ##


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


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


Reading and binding data to Email Template


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


### End Event Execution ###


### Start Event Execution ###


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


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


Current Ticket Status: Validated_1


Sending notification to Site EHS or EHS Head for ticket status: Validated_1 to [2126,1761,1482,2449,916,2124,2481,1709,1403]


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"917417443684","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"oqsha_ticket_update_whatsapp_template_v3","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"Vineet Tester"},{"type":"text","text":"Safety Alert"},{"type":"text","text":"T/TTK/NMM/25/00058"},{"type":"text","text":"Safety Alert status updated to Validated_1.Comments: validated"},{"type":"text","text":"Safety Alert"},{"type":"text","text":"02Sep2025"},{"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_1"},{"type":"text","text":"https://qa-staging.oqsha.com/#/incidents/view/387/21261?dlType=viewTicket"}]}]}}}


Sending Inform-To Update Email for IncidentId:21261


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_v3","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"Kumar Samarjeet"},{"type":"text","text":"Safety Alert"},{"type":"text","text":"T/TTK/NMM/25/00058"},{"type":"text","text":"Safety Alert status updated to Validated_1.Comments: validated"},{"type":"text","text":"Safety Alert"},{"type":"text","text":"02Sep2025"},{"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_1"},{"type":"text","text":"https://qa-staging.oqsha.com/#/incidents/view/387/21261?dlType=viewTicket"}]}]}}}


Osmo-x WhatsApp Message has been Sent


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"915858747465","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"oqsha_ticket_update_whatsapp_template_v3","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"Varun OnlyTTK"},{"type":"text","text":"Safety Alert"},{"type":"text","text":"T/TTK/NMM/25/00058"},{"type":"text","text":"Safety Alert status updated to Validated_1.Comments: validated"},{"type":"text","text":"Safety Alert"},{"type":"text","text":"02Sep2025"},{"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_1"},{"type":"text","text":"https://qa-staging.oqsha.com/#/incidents/view/387/21261?dlType=viewTicket"}]}]}}}


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"9145454545454","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"oqsha_ticket_update_whatsapp_template_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/00058"},{"type":"text","text":"Safety Alert status updated to Validated_1.Comments: validated"},{"type":"text","text":"Safety Alert"},{"type":"text","text":"02Sep2025"},{"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_1"},{"type":"text","text":"https://qa-staging.oqsha.com/#/incidents/view/387/21261?dlType=viewTicket"}]}]}}}


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"919520405332","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"oqsha_ticket_update_whatsapp_template_v3","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"Pritish Tomar"},{"type":"text","text":"Safety Alert"},{"type":"text","text":"T/TTK/NMM/25/00058"},{"type":"text","text":"Safety Alert status updated to Validated_1.Comments: validated"},{"type":"text","text":"Safety Alert"},{"type":"text","text":"02Sep2025"},{"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_1"},{"type":"text","text":"https://qa-staging.oqsha.com/#/incidents/view/387/21261?dlType=viewTicket"}]}]}}}


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"917488126002","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"oqsha_ticket_update_whatsapp_template_v3","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"dhruv pahadia"},{"type":"text","text":"Safety Alert"},{"type":"text","text":"T/TTK/NMM/25/00058"},{"type":"text","text":"Safety Alert status updated to Validated_1.Comments: validated"},{"type":"text","text":"Safety Alert"},{"type":"text","text":"02Sep2025"},{"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_1"},{"type":"text","text":"https://qa-staging.oqsha.com/#/incidents/view/387/21261?dlType=viewTicket"}]}]}}}


Sending Inform-To Update WhatsApp for IncidentId:21261


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"919999835508","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"oqsha_ticket_update_whatsapp_template_v3","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"dhruv pahadia"},{"type":"text","text":"Safety Alert"},{"type":"text","text":"T/TTK/NMM/25/00058"},{"type":"text","text":"Safety Alert status updated to Validated_1.Comments: validated"},{"type":"text","text":"Safety Alert"},{"type":"text","text":"02Sep2025"},{"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_1"},{"type":"text","text":"https://qa-staging.oqsha.com/#/incidents/view/387/21261?dlType=viewTicket"}]}]}}}


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"918885857714","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"oqsha_ticket_update_whatsapp_template_v3","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"Lakhan TTK"},{"type":"text","text":"Safety Alert"},{"type":"text","text":"T/TTK/NMM/25/00058"},{"type":"text","text":"Safety Alert status updated to Validated_1.Comments: validated"},{"type":"text","text":"Safety Alert"},{"type":"text","text":"02Sep2025"},{"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_1"},{"type":"text","text":"https://qa-staging.oqsha.com/#/incidents/view/387/21261?dlType=viewTicket"}]}]}}}


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


### End Event Execution ###


### Start Event Execution ###


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


Osmo-x WhatsApp Message has been Sent


### Ended processing Incident Submitted Event ###


### End Event Execution ###


### Start Event Execution ###


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


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


# Calling SendHIRAApprovalInvitationNotification function for email/WhatsApp #


Executing email notifications to HIRA Approvers about the Pending approval


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


Executing whatsapp notifications to HIRA Approvers about the Pending approval


Sending WhatsApp Notification for HIRA Approval to user: 1


Message : {"EventName":"HIRA_APPROVED_INFORM_TO_CREATOR_NOTIFICATION","EventArgs":[{"Key":"CreatorId","Value":"1"},{"Key":"ApproverName","Value":"Raj Kumar Pativada"},{"Key":"HIRAId","Value":"402"},{"Key":"HIRAUid","Value":"H/TTK/COI/AFF/25/00011"},{"Key":"SiteName","Value":"Coimbatore"},{"Key":"OrganisationName","Value":"TTK Beta - QA"},{"Key":"ApprovedOn","Value":"02-Sep-2025 08:15:26 PM"},{"Key":"OrgId","Value":387}]}


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


# Calling SendHIRAApprovedInformToCreatorNotification function for email #


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


Sending HIRA Approval email to HIRA Creator: rajkumar.p@osmosys.co


Initializing Email Service Client


Generating Email Request


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


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


--- Email response from Osmo-x is 201


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


Sending WhatsApp for HIRA Approval to creator user: 1


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"919160948627","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"oqsha_risk_approval_notification","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"Raj Kumar Pativada"},{"type":"text","text":"Raj Kumar Pativada"},{"type":"text","text":"H/TTK/COI/AFF/25/00011"},{"type":"text","text":"Coimbatore"},{"type":"text","text":"TTK Beta - QA"},{"type":"text","text":"02-Sep-2025 08:15:26 PM"},{"type":"text","text":"https://qa-staging.oqsha.com/#/risk-assessment/view/402"}]}]}}}


Osmo-x WhatsApp Message has been Sent


### End Event Execution ###


### Start Event Execution ###


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


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


Reading and binding data to Email Template


Sending WhatsApp Notification for HIRA Approval to user: 1597


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, Safety Alert By Visitor, test safety alert category jul 18, Test ticket category, tick-cat-without-checklist, Ticket Category - 1, Ticket Category J, TTK Beta"},{"Key":"UserIncidentSites","Value":"Coimbatore"},{"Key":"OldEmail","Value":""},{"Key":"Email","Value":"lalit.a@osmosys.co"}]}


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


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


Calling Send Email Function for Update User Email


Initializing Email Service Client


Generating Email Request


Your OQSHA Access Has Been Updated


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


--- Email response from Osmo-x is 201


Message : {"EventName":"Update_APP_USER","EventArgs":[{"Key":"DisplayName","Value":"Lalit Aditya Kola"},{"Key":"Password","Value":""},{"Key":"OrganisationName","Value":"TTK Beta - QA"},{"Key":"UserUid","Value":""},{"Key":"UserDivisions","Value":"Near Miss, Safety Alert By Visitor, test safety alert category jul 18, Test ticket category, tick-cat-without-checklist, Ticket Category - 1, Ticket Category J, TTK Beta"},{"Key":"UserIncidentSites","Value":"Coimbatore"},{"Key":"Email","Value":"lalit.a@osmosys.co"},{"Key":"MobileNumber","Value":"+919989248964"}]}


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


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


### End Event Execution ###


### Start Event Execution ###


Message : {"EventName":"HIRA_APPROVED_INFORM_TO_CREATOR_NOTIFICATION","EventArgs":[{"Key":"CreatorId","Value":"1"},{"Key":"ApproverName","Value":"Sayan Mondal"},{"Key":"HIRAId","Value":"402"},{"Key":"HIRAUid","Value":"H/TTK/COI/AFF/25/00011"},{"Key":"SiteName","Value":"Coimbatore"},{"Key":"OrganisationName","Value":"TTK Beta - QA"},{"Key":"ApprovedOn","Value":"02-Sep-2025 08:19:22 PM"},{"Key":"OrgId","Value":387}]}


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


# Calling SendHIRAApprovedInformToCreatorNotification function for email #


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


Sending HIRA Approval email to HIRA Creator: rajkumar.p@osmosys.co


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


Sending WhatsApp for HIRA Approval to creator user: 1


Osmo-x WhatsApp Message has been Sent


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


### Ended processing Incident Submitted Event ###


### End Event Execution ###


### Start Event Execution ###


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


Osmo-x WhatsApp Message has been Sent


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


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


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