### Start Event Execution ###


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


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


Reading and binding data to Email Template


Initializing Email Service Client


Generating Email Request


Ticket Ticket has been updated


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


--- Email response from Osmo-x is 201


Sending Assigned To Whatsapp for IncidentId:21325


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":"Ticket"},{"type":"text","text":"T/APR/EHH/25/00003"},{"type":"text","text":"Ticket status updated to Resolved"},{"type":"text","text":"Ticket"},{"type":"text","text":"test ticket "},{"type":"text","text":"16 july 2025"},{"type":"text","text":"Electrical Hazard"},{"type":"text","text":"Raj Kumar Pativada"},{"type":"text","text":"Aparna Constructions"},{"type":"text","text":"Resolved"},{"type":"text","text":"https://qa-staging-2.oqsha.com/#/incidents/view/310/21325?dlType=viewTicket"},{"type":"text","text":"EHS Department - Aparna Constructions"}]}]}}}


Osmo-x WhatsApp Message has been Sent


# Preparing notification body #


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"918885857714","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"oqsha_ticket_update_whatsapp_template_v4","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"Lakhan Baduree"},{"type":"text","text":"Ticket"},{"type":"text","text":"T/APR/EHH/25/00003"},{"type":"text","text":"Ticket status updated to Resolved"},{"type":"text","text":"Ticket"},{"type":"text","text":"test ticket "},{"type":"text","text":"16 july 2025"},{"type":"text","text":"Electrical Hazard"},{"type":"text","text":"Raj Kumar Pativada"},{"type":"text","text":"Aparna Constructions"},{"type":"text","text":"Resolved"},{"type":"text","text":"https://qa-staging-2.oqsha.com/#/incidents/view/310/21325?dlType=viewTicket"},{"type":"text","text":"EHS Department - Aparna Constructions"}]}]}}}


### Ended processing Update incident Event ###


### End Event Execution ###


### Start Event Execution ###


Message : {"EventName":"ASSIGNED_TO_NOTIFICATION","EventArgs":[{"Key":"AssignedIncidentID","Value":21326},{"Key":"AssignedToID","Value":2407}]}


### 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 Mounika Laisetti, UserId : 2407 for assigned to notification ##


Sending Assigned To Email for IncidentId:21326


Initializing Email Service Client


Generating Email Request


A Ticket T/APR/DCC/25/00016 is assigned to you related to 'Dancing Category'


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


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"917273883504","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"oqsha_assigned_to_whatsapp_template_v3","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"Mounika Laisetti"},{"type":"text","text":"Ticket"},{"type":"text","text":"T/APR/DCC/25/00016"},{"type":"text","text":" "},{"type":"text","text":"16 july 2025"},{"type":"text","text":"Dancing Category"},{"type":"text","text":"Raj Kumar Pativada"},{"type":"text","text":"Aparna Constructions"},{"type":"text","text":"Open"},{"type":"text","text":"https://qa-staging-2.oqsha.com/#/incidents/view/310/21326?dlType=viewTicket"},{"type":"text","text":"EHS Department - Aparna Constructions"}]}]}}}


Osmo-x WhatsApp Message has been Sent


# Preparing notification body #


### Ended processing Assigned to Notification 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: 2407


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


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


Reading and binding data to Email Template


Initializing Email Service Client


Generating Email Request


Osmo-x WhatsApp Message has been Sent


Sending Task Assignment Email for TaskId: 3746, UserId: 2407


Ticket Ticket has been updated


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


--- Email response from Osmo-x is 201


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":"Ticket"},{"type":"text","text":"T/APR/DCC/25/00016"},{"type":"text","text":"Ticket status updated to Assigned"},{"type":"text","text":"Ticket"},{"type":"text","text":" "},{"type":"text","text":"16 july 2025"},{"type":"text","text":"Dancing Category"},{"type":"text","text":"Raj Kumar Pativada"},{"type":"text","text":"Aparna Constructions"},{"type":"text","text":"Assigned"},{"type":"text","text":"https://qa-staging-2.oqsha.com/#/incidents/view/310/21326?dlType=viewTicket"},{"type":"text","text":"EHS Department - Aparna Constructions"}]}]}}}


New Task Assigned - TA/APR/16J/TTT/25/00050


### End Event Execution ###


# Preparing notification body #


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"917273883504","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"oqsha_ticket_update_whatsapp_template_v4","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"Mounika Laisetti"},{"type":"text","text":"Ticket"},{"type":"text","text":"T/APR/DCC/25/00016"},{"type":"text","text":"Ticket status updated to Assigned"},{"type":"text","text":"Ticket"},{"type":"text","text":" "},{"type":"text","text":"16 july 2025"},{"type":"text","text":"Dancing Category"},{"type":"text","text":"Raj Kumar Pativada"},{"type":"text","text":"Aparna Constructions"},{"type":"text","text":"Assigned"},{"type":"text","text":"https://qa-staging-2.oqsha.com/#/incidents/view/310/21326?dlType=viewTicket"},{"type":"text","text":"EHS Department - Aparna Constructions"}]}]}}}


### Ended processing Update incident Event ###


### Start Event Execution ###


Message : {"EventName":"NOTIFICATION_FOR_MOC_CREATION","EventArgs":[{"Key":"MocId","Value":"763"},{"Key":"ApproverIds","Value":"[2456]"},{"Key":"SiteName","Value":"16 july 2025"},{"Key":"CreatedBy","Value":"Raj Kumar Pativada"},{"Key":"MocUid","Value":"M/APR/16J/NSM/25/00011"},{"Key":"OrgId","Value":310},{"Key":"OrganisationName","Value":"Aparna Constructions"}]}


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


# Calling SendNotificationForMocCreation function for email/WhatsApp #


Executing email and WhatsApp notifications to MOC approvers


Sending MOC creation email to: shreyaved2020@gmail.com


Initializing Email Service Client


Generating Email Request


New MOC Assigned

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


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


--- Email response from Osmo-x is 201


Sending MOC creation WhatsApp message to: 918143571809


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"918143571809","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"oqsha_moc_creation_alert_v4","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"Bhavana Arni"},{"type":"text","text":"M/APR/16J/NSM/25/00011"},{"type":"text","text":"16 july 2025"},{"type":"text","text":"Aparna Constructions"},{"type":"text","text":"Raj Kumar Pativada"},{"type":"text","text":"https://qa-staging-2.oqsha.com/#/moc/view/310/763?dlType=viewMOC"},{"type":"text","text":"EHS Department - Aparna Constructions"}]}]}}}


Osmo-x WhatsApp Message has been Sent


### End Event Execution ###


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


Your OQSHA Access Has Been Updated


### Start Event Execution ###


Message : {"EventName":"Update_APP_USER","EventArgs":[{"Key":"DisplayName","Value":"lalit k"},{"Key":"Password","Value":""},{"Key":"OrganisationName","Value":"Aparna Constructions"},{"Key":"UserUid","Value":""},{"Key":"UserDivisions","Value":"Electrical Hazard, Latest Category. edit, New Ticket Category"},{"Key":"UserIncidentSites","Value":"16 july 2025, 5.4.15 Old App Testing ( dont delete), A789, Ahemdabad, Air ways, Amritsar, Aparna New Site, Aparna Sarovar, Aparna Sarovar27, bandlagudaa12, BandraAXZ, BHEL, daa, Dehradun WERE, Delhi, Delhi region, dep-testing, Department SITE  1 ONLY, Dhruv's Inspection Site, hello14july, HiTech City, HLA Test sites, Humpi, hyderabed, inspection site, Jaipur, Jalepally, Japan, Jones & Jones Pvt Ltd, js-testing, Kalyan nagar, Kanchi, Kanchicafe, Kanto region, Kishan bagh, Kolhapur, Kolkata, Kompally, Ladpur, Lahore - Testing Site, Lakshmana Site, Lalit's Test Site 001, Lalit's test site 003, Lalit-test site, Latur, Lucknow, Malkajgiri, mumbai, Naananagar, New Site test, New Siteeeeeeee, NFC, ohurhfwiuhwefhih, Old App - 4.15, OSM -   workafella, Osmosys, Osmosys Canada, Osmosys India, Osmosys Software Solution, Osmosys UK, OSS Home, Patancheru, Prashanth site, PTW Notification, PTW-A-R, PTW-I, PTW-I-A, PTW-I-A-R, PTW-I-R, Pwa Site, QA Testing for BUG-3038, Rajasthan, Rittal Private Limited, Santiago Bernabeu, Silver Hills, Site 123455, Site for deletion, Site for deletions, Site should not be created, SITE TESTING NEW NEW, Site to test allow all users, Site w/o approver, Site w/o issuer, Site w/o Reviewer, site without issuer old app, Site without reviewer, Site-A, Site-A-R, Site-I, Site-I-A, Site-I-A-R-C, Site-I-R, Site-R, Site3, Solar System, Sports ground, T55, tempsite, Test 45, Test batch 19, Test site16, test14, Test23, testing, TestSite24, Thailand, ThelaBazar, Tirumala, Tkolkata123, upperpally, uttarakhand, Vellur"},{"Key":"Email","Value":"abc@gnail.com"},{"Key":"MobileNumber","Value":"+919848374532"}]}


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


### End Event Execution ###


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


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


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


Calling Send Email Function for Add User Email


Welcome to OQSHA


Message : {"EventName":"Update_USER","EventArgs":[{"Key":"DisplayName","Value":"Raju Kumar"},{"Key":"Password","Value":""},{"Key":"OrganisationName","Value":"Aparna Constructions"},{"Key":"UserDivisions","Value":"Accident, Accident 1, Dancing Category, demo2, Electrical Hazard"},{"Key":"UserIncidentSites","Value":"16 july 2025, 5.4.15 Old App Testing ( dont delete), A789, Ahemdabad, Air ways, Amritsar, Aparna New Site, Aparna Sarovar, Aparna Sarovar27, bandlagudaa12, BandraAXZ, BHEL, daa, Dehradun WERE, Delhi, Delhi region, dep-testing, Department SITE  1 ONLY, Dhruv's Inspection Site, hello14july, HiTech City, HLA Test sites, Humpi, hyderabed, inspection site, Jaipur, Jalepally, Japan, Jones & Jones Pvt Ltd, js-testing, Kalyan nagar, Kanchi, Kanchicafe, Kanto region, Kishan bagh, Kolhapur, Kolkata, Kompally, Ladpur, Lahore - Testing Site, Lakshmana Site, Lalit's Test Site 001, Lalit's test site 003, Lalit-test site, Latur, Lucknow, Malkajgiri, mumbai, Naananagar, New Site test, New Siteeeeeeee, NFC, ohurhfwiuhwefhih, Old App - 4.15, OSM -   workafella, Osmosys, Osmosys Canada, Osmosys India, Osmosys Software Solution, Osmosys UK, OSS Home, Patancheru, Prashanth site, PTW Notification, PTW-A-R, PTW-I, PTW-I-A, PTW-I-A-R, PTW-I-R, Pwa Site, QA Testing for BUG-3038, Rajasthan, Rittal Private Limited, Santiago Bernabeu, Silver Hills, Site 123455, Site for deletion, Site for deletions, Site should not be created, SITE TESTING NEW NEW, Site to test allow all users, Site w/o approver, Site w/o issuer, Site w/o Reviewer, site without issuer old app, Site without reviewer, Site-A, Site-A-R, Site-I, Site-I-A, Site-I-A-R-C, Site-I-R, Site-R, Site3, Solar System, Sports ground, T55, tempsite, Test 45, Test batch 19, Test site16, test14, Test23, testing, TestSite24, Thailand, ThelaBazar, Tirumala, Tkolkata123, upperpally, uttarakhand, Vellur"},{"Key":"OldEmail","Value":""},{"Key":"Email","Value":"uyuffuy@gff.vom"}]}


Your OQSHA Access Has Been Updated


### Start Event Execution ###


Message : {"EventName":"Update_APP_USER","EventArgs":[{"Key":"DisplayName","Value":"Raju Kumar"},{"Key":"Password","Value":""},{"Key":"OrganisationName","Value":"Aparna Constructions"},{"Key":"UserUid","Value":""},{"Key":"UserDivisions","Value":"Accident, Accident 1, Dancing Category, demo2, Electrical Hazard"},{"Key":"UserIncidentSites","Value":"16 july 2025, 5.4.15 Old App Testing ( dont delete), A789, Ahemdabad, Air ways, Amritsar, Aparna New Site, Aparna Sarovar, Aparna Sarovar27, bandlagudaa12, BandraAXZ, BHEL, daa, Dehradun WERE, Delhi, Delhi region, dep-testing, Department SITE  1 ONLY, Dhruv's Inspection Site, hello14july, HiTech City, HLA Test sites, Humpi, hyderabed, inspection site, Jaipur, Jalepally, Japan, Jones & Jones Pvt Ltd, js-testing, Kalyan nagar, Kanchi, Kanchicafe, Kanto region, Kishan bagh, Kolhapur, Kolkata, Kompally, Ladpur, Lahore - Testing Site, Lakshmana Site, Lalit's Test Site 001, Lalit's test site 003, Lalit-test site, Latur, Lucknow, Malkajgiri, mumbai, Naananagar, New Site test, New Siteeeeeeee, NFC, ohurhfwiuhwefhih, Old App - 4.15, OSM -   workafella, Osmosys, Osmosys Canada, Osmosys India, Osmosys Software Solution, Osmosys UK, OSS Home, Patancheru, Prashanth site, PTW Notification, PTW-A-R, PTW-I, PTW-I-A, PTW-I-A-R, PTW-I-R, Pwa Site, QA Testing for BUG-3038, Rajasthan, Rittal Private Limited, Santiago Bernabeu, Silver Hills, Site 123455, Site for deletion, Site for deletions, Site should not be created, SITE TESTING NEW NEW, Site to test allow all users, Site w/o approver, Site w/o issuer, Site w/o Reviewer, site without issuer old app, Site without reviewer, Site-A, Site-A-R, Site-I, Site-I-A, Site-I-A-R-C, Site-I-R, Site-R, Site3, Solar System, Sports ground, T55, tempsite, Test 45, Test batch 19, Test site16, test14, Test23, testing, TestSite24, Thailand, ThelaBazar, Tirumala, Tkolkata123, upperpally, uttarakhand, Vellur"},{"Key":"Email","Value":"uyuffuy@gff.vom"},{"Key":"MobileNumber","Value":"+91498454386468"}]}


--- Email response from Osmo-x is 0


Message : {"EventName":"AUDIT_CREATION_NOTIFICATION","EventArgs":[{"Key":"AuditorsUserIds","Value":"[1]"},{"Key":"AuditId","Value":"283"},{"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


Initializing Email Service Client


Generating Email Request


An Audit has been created


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


--- Email response from Osmo-x is 201


Executing whatsapp notifications to Auditors about Audit creation


Sending WhatsApp for Audit Creation to Auditors: 1


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"919160948627","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"oqsha_audit_creation_notification_v3","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"new new new 3"},{"type":"text","text":"27-Sep-2025 08:45:04 PM"},{"type":"text","text":"https://qa-staging-2.oqsha.com/#/audit/view/283"},{"type":"text","text":"EHS Department - Aparna Constructions"}]}]}}}


Osmo-x WhatsApp Message has been Sent


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


### End Event Execution ###


### Start Event Execution ###


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


Reading and binding data to Email Template


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"919160948627","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"oqsha_audit_creation_notification_v3","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"new new new 3"},{"type":"text","text":"27-Sep-2025 11:00:00 AM"},{"type":"text","text":"https://qa-staging-2.oqsha.com/#/audit/view/283"},{"type":"text","text":"EHS Department - Aparna Constructions"}]}]}}}


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


Osmo-x WhatsApp Message has been Sent


### Ended processing Incident Submitted Event ###


### End Event Execution ###


### Start Event Execution ###


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


Sending WhatsApp Notification for Incident Approval to User: 2448


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"9172239641788","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":"Abhi Consent"},{"type":"text","text":"IMF/APR/16J/444/25/00004"},{"type":"text","text":"Raj Kumar Pativada"},{"type":"text","text":"17-Sep-2025 12:00:00 AM"},{"type":"text","text":"16 july 2025"},{"type":"text","text":"NA"},{"type":"text","text":"0"},{"type":"text","text":"https://oqsha.com/#/incident-management/report-incident/view/423"},{"type":"text","text":"EHS Department - Aparna Constructions"}]}]}}}


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


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


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


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


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


Calling Send Email Function for Update User Email


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


Reading and binding data to Email Template


Initializing Email Service Client


Generating Email Request


Your OQSHA Access Has Been Updated


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


--- Email response from Osmo-x is 201


### End Event Execution ###


### Start Event Execution ###


Message : {"EventName":"Update_APP_USER","EventArgs":[{"Key":"DisplayName","Value":"Raj Kumar Pativada"},{"Key":"Password","Value":""},{"Key":"OrganisationName","Value":"TTK Beta - QA"},{"Key":"UserUid","Value":"9160948627"},{"Key":"UserDivisions","Value":"Near Miss, Observation, Unsafe Act, Unsafe Condition"},{"Key":"UserIncidentSites","Value":"Coimbatore, Hosur, Khadri, New delhi, Regression, Roorkee, SamarSite, site - 2, Sshristi, Testing site, TTK Beta, Ttk Pwa Site"},{"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 ###


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


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


Calling Send Email Function for Add User Email


Welcome to OQSHA


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


Message : {"EventName":"Update_USER","EventArgs":[{"Key":"DisplayName","Value":"Pratham Kumar"},{"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":"pratham.k@osmosys.co"}]}


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":"Pratham Kumar"},{"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":"pratham.k@osmosys.co"},{"Key":"MobileNumber","Value":"+918007007611"}]}


Message : {"EventName":"NOTIFICATION_FOR_WORK_PERMIT_CREATION","EventArgs":[{"Key":"WorkPermitId","Value":"260"},{"Key":"ApproverIds","Value":"[1597]"},{"Key":"SiteName","Value":"Coimbatore"},{"Key":"CreatedBy","Value":"Raj Kumar Pativada"},{"Key":"WorkPermitUid","Value":"WP/TTK/COI/RWW/25/00019"},{"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


Sending WorkPermit creation email to: sayanm2807@gmail.com


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


Reading and binding data to Email Template


New Work Permit Assigned


Sending WorkPermit 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_work_permit_creation_alert","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"Sayan Mondal"},{"type":"text","text":"WP/TTK/COI/RWW/25/00019"},{"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//#/work-permit/view/387/260&dlType=viewWorkPermit"},{"type":"text","text":"EHS Department - TTK Private Limited"}]}]}}}


Osmo-x WhatsApp Message has been Sent


Message : {"EventName":"WORK_PERMIT_APPROVED_INFORM_TO_CREATOR_NOTIFICATION","EventArgs":[{"Key":"CreatorId","Value":"1"},{"Key":"ApproverName","Value":"Sayan Mondal"},{"Key":"WorkPermitId","Value":"260"},{"Key":"WorkPermitUid","Value":"WP/TTK/COI/RWW/25/00019"},{"Key":"SiteName","Value":"Coimbatore"},{"Key":"OrganisationName","Value":"TTK Beta - QA"},{"Key":"ApprovedOn","Value":"18-Sep-2025 05:41:15 PM"},{"Key":"OrgId","Value":387}]}


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


# Calling SendWorkPermitApprovedInformToCreatorNotification function for email #


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


Sending WorkPermit Approver Clarification email to WorkPermit Creator: rajkumar.p@osmosys.co


Initializing Email Service Client


Generating Email Request


Sayan Mondal has Approved your Work Permit


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


--- Email response from Osmo-x is 201


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


Sending WhatsApp for WorkPermit to 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_work_permit_approved_inform_to","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":"WP/TTK/COI/RWW/25/00019"},{"type":"text","text":"Coimbatore"},{"type":"text","text":"TTK Beta - QA"},{"type":"text","text":"18-Sep-2025 05:41:15 PM"},{"type":"text","text":"https://qa-staging-2.oqsha.com//#/work-permit/view/387/260&dlType=viewWorkPermit"},{"type":"text","text":"EHS Department - TTK Private Limited"}]}]}}}


### End Event Execution ###


### Start Event Execution ###


Message : {"EventName":"WORK_PERMIT_EXTENSION_INFORMATION_NOTIFICATION","EventArgs":[{"Key":"UserIds","Value":"[1597]"},{"Key":"InitiatorName","Value":"Raj Kumar Pativada"},{"Key":"ExtensionHours","Value":3},{"Key":"WorkPermitUid","Value":"WP/TTK/COI/RWW/25/00019"},{"Key":"SiteName","Value":"Coimbatore"},{"Key":"OrganisationName","Value":"TTK Beta - QA"},{"Key":"ExtensionTakenOn","Value":"18-Sep-2025 05:43:57 PM"},{"Key":"WorkPermitId","Value":"260"},{"Key":"OrgId","Value":387}]}


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


# Calling SendWorkPermitApprovalInvitationNotification function for email/WhatsApp #


Executing email notifications to WorkPermit Approvers about the Extension Information


Error occurred while sending email using Osmo-x.


Executing whatsapp notifications to WorkPermit Approvers about the Extension Information


Sending WhatsApp for WorkPermit 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_workpermit_approver_notification","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":"3"},{"type":"text","text":"WP/TTK/COI/RWW/25/00019"},{"type":"text","text":"Coimbatore"},{"type":"text","text":"TTK Beta - QA"},{"type":"text","text":"18-Sep-2025 05:43:57 PM"},{"type":"text","text":"https://qa-staging-2.oqsha.com//#/work-permit/view/387/260&dlType=viewWorkPermit"},{"type":"text","text":"EHS Department - TTK Private Limited"}]}]}}}


Osmo-x WhatsApp Message has been Sent


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


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


Message : {"EventName":"WHATSAPP_TO_BATCH_PARTICIPANTS","EventArgs":[{"Key":"BatchParticipantIds","Value":"[61030]"},{"Key":"BatchId","Value":6443}]}


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


# Calling SendNotificationToBatchParticipants function for  whatsapp notification #


Executing completed course notification function to batch participants


Executing planned/Inprogress notification function to batch participants


Sending notification to batch participant for planned and in progress status1761


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"917273883504","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"oqsha_planned_batch_latest_v1","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"Abhinav Srivastava"},{"type":"text","text":"New Register"},{"type":"text","text":"INRB-3579 - Offline"},{"type":"text","text":"TTK Beta - QA"},{"type":"text","text":"0 Week(s) 0 Day(s) 2 Hour(s)"},{"type":"text","text":"No faculty"},{"type":"text","text":"September 18, 2025  06:34:00 PM"},{"type":"text","text":"PLANNED"},{"type":"text","text":"https://qa-staging-2.oqsha.com/#/batches/view/387/415/6443?dlType=viewBatch"}]}]}}}


### End Event Execution ###


### Start Event Execution ###


Message : {"EventName":"Update_USER","EventArgs":[{"Key":"DisplayName","Value":"harish sehwag"},{"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, New Ticket Category, New ticket category July 07, New ticket category june, New tickettype edit, Running, Snippet, Stuck in Depth, Stuck in Depth- Short, Test, Test Category2, Testing 5.4.13, TestingCategory, TestingCategory1, testt, trfhulk,;."},{"Key":"UserIncidentSites","Value":"Air ways, Amritsar, Aparna New Site, Aparna Sarovar, Aparna Sarovar27, bandlagudaa12, BandraAXZ, BHEL, daa, Delhi, HiTech City, HLA Test sites, hyderabed, inspection site, Jaipur, Jalepally, js-testing, Kalyan nagar, Kanchi, Kanchicafe, Kishan bagh, Lahore - Testing Site, Latur, Lucknow, Malkajgiri, Naananagar, ohurhfwiuhwefhih, Santiago Bernabeu, Test batch 19, test14, upperpally, uttarakhand, Vellur"},{"Key":"OldEmail","Value":""},{"Key":"Email","Value":"harish@osmosys.co"}]}


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


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


Calling Send Email Function for Update User Email


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


Reading and binding data to Email Template


Initializing Email Service Client


Generating Email Request


Your OQSHA Access Has Been Updated


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


--- Email response from Osmo-x is 201


Message : {"EventName":"Update_APP_USER","EventArgs":[{"Key":"DisplayName","Value":"harish sehwag"},{"Key":"Password","Value":""},{"Key":"OrganisationName","Value":"Aparna Constructions"},{"Key":"UserUid","Value":""},{"Key":"UserDivisions","Value":"Accident, Accident 1, Asset Related Category, Dancing Category, demo2, Electrical Hazard, Example, Falling Objects, Fly Tipping, Investigation category, King Kong, Latest Category. edit, Medchal category, Minor injury, Near Miss, New Ticket, New Ticket Category, New ticket category July 07, New ticket category june, New tickettype edit, Running, Snippet, Stuck in Depth, Stuck in Depth- Short, Test, Test Category2, Testing 5.4.13, TestingCategory, TestingCategory1, testt, trfhulk,;."},{"Key":"UserIncidentSites","Value":"Air ways, Amritsar, Aparna New Site, Aparna Sarovar, Aparna Sarovar27, bandlagudaa12, BandraAXZ, BHEL, daa, Delhi, HiTech City, HLA Test sites, hyderabed, inspection site, Jaipur, Jalepally, js-testing, Kalyan nagar, Kanchi, Kanchicafe, Kishan bagh, Lahore - Testing Site, Latur, Lucknow, Malkajgiri, Naananagar, ohurhfwiuhwefhih, Santiago Bernabeu, Test batch 19, test14, upperpally, uttarakhand, Vellur"},{"Key":"Email","Value":"harish@osmosys.co"},{"Key":"MobileNumber","Value":"+917015447300"}]}


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


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


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


# Calling SendNotificationToTaskAssignees function for WhatsApp notification #


Sending WhatsApp notification for task assignment to user ID: 2078


Osmo-x WhatsApp Message has been Sent


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


New Action Tracker Assigned - TA/TTK/COI/TTT/25/00107


### End Event Execution ###


### Start Event Execution ###


Sending WhatsApp notification for task assignment to user ID: 1761


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


Initializing Email Service Client


Generating Email Request


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


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


--- Email response from Osmo-x is 201


Message : {"EventName":"WORK_PERMIT_EXTENSION_INFORMATION_NOTIFICATION","EventArgs":[{"Key":"UserIds","Value":"[1597]"},{"Key":"InitiatorName","Value":"Raj Kumar Pativada"},{"Key":"ExtensionHours","Value":0},{"Key":"WorkPermitUid","Value":"WP/TTK/COI/RWW/25/00018"},{"Key":"SiteName","Value":"Coimbatore"},{"Key":"OrganisationName","Value":"TTK Beta - QA"},{"Key":"ExtensionTakenOn","Value":"18-Sep-2025 08:20:56 PM"},{"Key":"WorkPermitId","Value":"247"},{"Key":"OrgId","Value":387}]}


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


# Calling SendWorkPermitApprovalInvitationNotification function for email/WhatsApp #


Executing email notifications to WorkPermit Approvers about the Extension Information


Error occurred while sending email using Osmo-x.


Executing whatsapp notifications to WorkPermit Approvers about the Extension Information


Sending WhatsApp for WorkPermit 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_workpermit_approver_notification","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":"0"},{"type":"text","text":"WP/TTK/COI/RWW/25/00018"},{"type":"text","text":"Coimbatore"},{"type":"text","text":"TTK Beta - QA"},{"type":"text","text":"18-Sep-2025 08:20:56 PM"},{"type":"text","text":"https://qa-staging-2.oqsha.com//#/work-permit/view/387/247&dlType=viewWorkPermit"},{"type":"text","text":"EHS Department - TTK Private Limited"}]}]}}}


Osmo-x WhatsApp Message has been Sent


### End Event Execution ###


### Start Event Execution ###


Message : {"EventName":"WORK_PERMIT_EXTENSION_INFORMATION_NOTIFICATION","EventArgs":[{"Key":"UserIds","Value":"[1954]"},{"Key":"InitiatorName","Value":"Raj Kumar Pativada"},{"Key":"ExtensionHours","Value":24},{"Key":"WorkPermitUid","Value":"WP/TTK/COI/CWW/25/00006"},{"Key":"SiteName","Value":"Coimbatore"},{"Key":"OrganisationName","Value":"TTK Beta - QA"},{"Key":"ExtensionTakenOn","Value":"18-Sep-2025 08:23:07 PM"},{"Key":"WorkPermitId","Value":"211"},{"Key":"OrgId","Value":387}]}


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


Reading and binding data to Email Template


Sending WhatsApp for WorkPermit 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_workpermit_approver_notification","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"Lalit Aditya Kola"},{"type":"text","text":"Raj Kumar Pativada"},{"type":"text","text":"24"},{"type":"text","text":"WP/TTK/COI/CWW/25/00006"},{"type":"text","text":"Coimbatore"},{"type":"text","text":"TTK Beta - QA"},{"type":"text","text":"18-Sep-2025 08:23:07 PM"},{"type":"text","text":"https://qa-staging-2.oqsha.com//#/work-permit/view/387/211&dlType=viewWorkPermit"},{"type":"text","text":"EHS Department - TTK Private Limited"}]}]}}}


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


# Calling SendNotificationToTaskAssignees function for WhatsApp notification #


Sending WhatsApp notification for task assignment to user ID: 1761


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


Initializing Email Service Client


Generating Email Request


New Action Tracker Assigned - TA/TTK//CTA/25/00022


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


--- Email response from Osmo-x is 201


Message : {"EventName":"NOTIFICATION_FOR_WORK_PERMIT_CREATION","EventArgs":[{"Key":"WorkPermitId","Value":"261"},{"Key":"ApproverIds","Value":"[1954]"},{"Key":"SiteName","Value":"Coimbatore"},{"Key":"CreatedBy","Value":"Raj Kumar Pativada"},{"Key":"WorkPermitUid","Value":"WP/TTK/COI/CWW/25/00030"},{"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


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


New Work Permit Assigned


Sending WorkPermit 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_work_permit_creation_alert","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"Lalit Aditya Kola"},{"type":"text","text":"WP/TTK/COI/CWW/25/00030"},{"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//#/work-permit/view/387/261&dlType=viewWorkPermit"},{"type":"text","text":"EHS Department - TTK Private Limited"}]}]}}}


Osmo-x WhatsApp Message has been Sent


### End Event Execution ###


### Start Event Execution ###


Message : {"EventName":"WORK_PERMIT_APPROVED_INFORM_TO_CREATOR_NOTIFICATION","EventArgs":[{"Key":"CreatorId","Value":"1"},{"Key":"ApproverName","Value":"Lalit Aditya Kola"},{"Key":"WorkPermitId","Value":"261"},{"Key":"WorkPermitUid","Value":"WP/TTK/COI/CWW/25/00030"},{"Key":"SiteName","Value":"Coimbatore"},{"Key":"OrganisationName","Value":"TTK Beta - QA"},{"Key":"ApprovedOn","Value":"18-Sep-2025 09:56:35 PM"},{"Key":"OrgId","Value":387}]}


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


# Calling SendWorkPermitApprovedInformToCreatorNotification function for email #


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


Sending WorkPermit Approver Clarification email to WorkPermit Creator: rajkumar.p@osmosys.co


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


Reading and binding data to Email Template


Initializing Email Service Client


Generating Email Request


Lalit Aditya Kola has Approved your Work Permit


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


--- Email response from Osmo-x is 201


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


Sending WhatsApp for WorkPermit to 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_work_permit_approved_inform_to","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":"WP/TTK/COI/CWW/25/00030"},{"type":"text","text":"Coimbatore"},{"type":"text","text":"TTK Beta - QA"},{"type":"text","text":"18-Sep-2025 09:56:35 PM"},{"type":"text","text":"https://qa-staging-2.oqsha.com//#/work-permit/view/387/261&dlType=viewWorkPermit"},{"type":"text","text":"EHS Department - TTK Private Limited"}]}]}}}


Osmo-x WhatsApp Message has been Sent


### End Event Execution ###


### Start Event Execution ###


Message : {"EventName":"WORK_PERMIT_EXTENSION_INFORMATION_NOTIFICATION","EventArgs":[{"Key":"UserIds","Value":"[1954]"},{"Key":"InitiatorName","Value":"Raj Kumar Pativada"},{"Key":"ExtensionHours","Value":10},{"Key":"WorkPermitUid","Value":"WP/TTK/COI/CWW/25/00030"},{"Key":"SiteName","Value":"Coimbatore"},{"Key":"OrganisationName","Value":"TTK Beta - QA"},{"Key":"ExtensionTakenOn","Value":"18-Sep-2025 09:57:01 PM"},{"Key":"WorkPermitId","Value":"261"},{"Key":"OrgId","Value":387}]}


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


# Calling SendWorkPermitApprovalInvitationNotification function for email/WhatsApp #


Executing email notifications to WorkPermit Approvers about the Extension Information


Error occurred while sending email using Osmo-x.


Executing whatsapp notifications to WorkPermit Approvers about the Extension Information


Sending WhatsApp for WorkPermit 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_workpermit_approver_notification","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"Lalit Aditya Kola"},{"type":"text","text":"Raj Kumar Pativada"},{"type":"text","text":"10"},{"type":"text","text":"WP/TTK/COI/CWW/25/00030"},{"type":"text","text":"Coimbatore"},{"type":"text","text":"TTK Beta - QA"},{"type":"text","text":"18-Sep-2025 09:57:01 PM"},{"type":"text","text":"https://qa-staging-2.oqsha.com//#/work-permit/view/387/261&dlType=viewWorkPermit"},{"type":"text","text":"EHS Department - TTK Private Limited"}]}]}}}


Message : {"EventName":"TASK_CREATE_EHS_NOTIFICATION","EventArgs":[{"Key":"TaskId","Value":3760},{"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":3762},{"Key":"OrgId","Value":387}]}


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


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


Osmo-x WhatsApp Message has been Sent


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


*--- 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/PSR/25/00059


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


--- Email response from Osmo-x is 201


### End Event Execution ###


### Start Event Execution ###


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


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


Sending WhatsApp notification for task assignment to user ID: 1761


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


New Action Tracker Assigned - TA/TTK/DEL/PSR/25/00002


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


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


Sending WhatsApp notification for task assignment to user ID: 2078


Osmo-x WhatsApp Message has been Sent


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


Initializing Email Service Client


Generating Email Request


New Action Tracker Assigned - TA/TTK/ROO/PSR/25/00002


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


--- Email response from Osmo-x is 201


### End Event Execution ###


### Start Event Execution ###


Message : {"EventName":"TASK_CREATE_EHS_NOTIFICATION","EventArgs":[{"Key":"TaskId","Value":3780},{"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":3782},{"Key":"OrgId","Value":387}]}


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


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


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


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


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


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


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


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


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


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


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


### End Event Execution ###


### Start Event Execution ###


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


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


Osmo-x WhatsApp Message has been Sent


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


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


Reading and binding data to Email Template


Initializing Email Service Client


Generating Email Request


New Action Tracker Assigned - TA/TTK/SAM/PSR/25/00002


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


--- Email response from Osmo-x is 201


Message : {"EventName":"NOTIFICATION_FOR_WORK_PERMIT_CREATION","EventArgs":[{"Key":"WorkPermitId","Value":"262"},{"Key":"ApproverIds","Value":"[1954]"},{"Key":"SiteName","Value":"Coimbatore"},{"Key":"CreatedBy","Value":"Raj Kumar Pativada"},{"Key":"WorkPermitUid","Value":"WP/TTK/COI/CWW/25/00031"},{"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


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


New Work Permit Assigned


Sending WorkPermit 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_work_permit_creation_alert","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"Lalit Aditya Kola"},{"type":"text","text":"WP/TTK/COI/CWW/25/00031"},{"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//#/work-permit/view/387/262&dlType=viewWorkPermit"},{"type":"text","text":"EHS Department - TTK Private Limited"}]}]}}}


Osmo-x WhatsApp Message has been Sent


### End Event Execution ###


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


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


### Start Event Execution ###


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


Sending WorkPermit creation email to: sayanm2807@gmail.com


Initializing Email Service Client


Generating Email Request


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


--- Email response from Osmo-x is 201


Sending WorkPermit 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_work_permit_creation_alert","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"Sayan Mondal"},{"type":"text","text":"WP/TTK/COI/RWW/25/00020"},{"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//#/work-permit/view/387/263&dlType=viewWorkPermit"},{"type":"text","text":"EHS Department - TTK Private Limited"}]}]}}}


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


New Work Permit Assigned


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"919989248964","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"oqsha_work_permit_creation_alert","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"Lalit Aditya Kola"},{"type":"text","text":"WP/TTK/COI/CWW/25/00032"},{"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//#/work-permit/view/387/264&dlType=viewWorkPermit"},{"type":"text","text":"EHS Department - TTK Private Limited"}]}]}}}


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


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


Reading and binding data to Email Template


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"919989248964","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"oqsha_work_permit_creation_alert","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"Lalit Aditya Kola"},{"type":"text","text":"WP/TTK/COI/CWW/25/00033"},{"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//#/work-permit/view/387/265&dlType=viewWorkPermit"},{"type":"text","text":"EHS Department - TTK Private Limited"}]}]}}}


Osmo-x WhatsApp Message has been Sent


### End Event Execution ###


### Start Event Execution ###


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


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


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"918958790522","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":"Mohit Pargaie"},{"type":"text","text":"Safety Alert"},{"type":"text","text":"T/TTK/NMM/25/00102"},{"type":"text","text":"Checklist Response for: Checklist - Description,  updated to ticket testing., Comments are added as Test"},{"type":"text","text":"Safety Alert"},{"type":"text","text":"ticket testing"},{"type":"text","text":"Coimbatore"},{"type":"text","text":"Near Miss"},{"type":"text","text":"Mohit Pargaie"},{"type":"text","text":"TTK Beta - QA"},{"type":"text","text":"Open"},{"type":"text","text":"https://qa-staging-2.oqsha.com/#/incidents/view/387/21324?dlType=viewTicket"},{"type":"text","text":"EHS Department - TTK Private Limited"}]}]}}}


# Preparing notification body #


# Checking for device existence #


# User device exists #


Sending Assigned To Notification for IncidentId:21324


Generating AWS SNS Request


--- AWS SNS Push Notification created using Osmo-x ---


--- Push notification response from Osmo-x is BadRequest


Push notification failed to send to a device 4897.


# Push notification did not send #


### Ended processing Update incident Event ###


### End Event Execution ###


### Start Event Execution ###


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


Sending Email for IncidentId:21324


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":"918958790522","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":"Mohit Pargaie"},{"type":"text","text":"Safety Alert"},{"type":"text","text":"T/TTK/NMM/25/00102"},{"type":"text","text":"Checklist Responses for: Description are removed., Comments are added as 2"},{"type":"text","text":"Safety Alert"},{"type":"text","text":" "},{"type":"text","text":"Coimbatore"},{"type":"text","text":"Near Miss"},{"type":"text","text":"Mohit Pargaie"},{"type":"text","text":"TTK Beta - QA"},{"type":"text","text":"Open"},{"type":"text","text":"https://qa-staging-2.oqsha.com/#/incidents/view/387/21324?dlType=viewTicket"},{"type":"text","text":"EHS Department - TTK Private Limited"}]}]}}}


Osmo-x WhatsApp Message has been Sent


# Preparing notification body #


Message : {"EventName":"NOTIFICATION_FOR_WORK_PERMIT_CREATION","EventArgs":[{"Key":"WorkPermitId","Value":"266"},{"Key":"ApproverIds","Value":"[1597]"},{"Key":"SiteName","Value":"Coimbatore"},{"Key":"CreatedBy","Value":"Raj Kumar Pativada"},{"Key":"WorkPermitUid","Value":"WP/TTK/COI/RWW/25/00021"},{"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


Sending WorkPermit creation email to: sayanm2807@gmail.com


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


Reading and binding data to Email Template


New Work Permit Assigned


Sending WorkPermit 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_work_permit_creation_alert","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"Sayan Mondal"},{"type":"text","text":"WP/TTK/COI/RWW/25/00021"},{"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//#/work-permit/view/387/266&dlType=viewWorkPermit"},{"type":"text","text":"EHS Department - TTK Private Limited"}]}]}}}


### End Event Execution ###


### Start Event Execution ###


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


Sending WorkPermit creation email to: rajkumar.p@osmosys.co


Initializing Email Service Client


Generating Email Request


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


--- Email response from Osmo-x is 201


Sending WorkPermit creation WhatsApp message to: 919160948627


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"919160948627","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"oqsha_work_permit_creation_alert","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"Raj Kumar Pativada"},{"type":"text","text":"WP/TTK/COI/HOK/25/00096"},{"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//#/work-permit/view/387/267&dlType=viewWorkPermit"},{"type":"text","text":"EHS Department - TTK Private Limited"}]}]}}}


Osmo-x WhatsApp Message has been Sent


Sending WorkPermit creation email to: as9801233442@gmail.com


Sending WorkPermit creation WhatsApp message to: 917273883504


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"917273883504","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"oqsha_work_permit_creation_alert","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"Abhinav Srivastava"},{"type":"text","text":"WP/TTK/COI/HOK/25/00096"},{"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//#/work-permit/view/387/267&dlType=viewWorkPermit"},{"type":"text","text":"EHS Department - TTK Private Limited"}]}]}}}


Message : {"EventName":"WORK_PERMIT_APPROVED_INFORM_TO_CREATOR_NOTIFICATION","EventArgs":[{"Key":"CreatorId","Value":"1"},{"Key":"ApproverName","Value":"Raj Kumar Pativada"},{"Key":"WorkPermitId","Value":"267"},{"Key":"WorkPermitUid","Value":"WP/TTK/COI/HOK/25/00096"},{"Key":"SiteName","Value":"Coimbatore"},{"Key":"OrganisationName","Value":"TTK Beta - QA"},{"Key":"ApprovedOn","Value":"19-Sep-2025 11:17:59 AM"},{"Key":"OrgId","Value":387}]}


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


# Calling SendWorkPermitApprovedInformToCreatorNotification function for email #


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


Sending WorkPermit Approver Clarification email to WorkPermit Creator: rajkumar.p@osmosys.co


Raj Kumar Pativada has Approved your Work Permit


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


Sending WhatsApp for WorkPermit to 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_work_permit_approved_inform_to","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":"WP/TTK/COI/HOK/25/00096"},{"type":"text","text":"Coimbatore"},{"type":"text","text":"TTK Beta - QA"},{"type":"text","text":"19-Sep-2025 11:17:59 AM"},{"type":"text","text":"https://qa-staging-2.oqsha.com//#/work-permit/view/387/267&dlType=viewWorkPermit"},{"type":"text","text":"EHS Department - TTK Private Limited"}]}]}}}


### End Event Execution ###


### Start Event Execution ###


Message : {"EventName":"NOTIFICATION_FOR_WORK_PERMIT_CREATION","EventArgs":[{"Key":"WorkPermitId","Value":"269"},{"Key":"ApproverIds","Value":"[1597]"},{"Key":"SiteName","Value":"Coimbatore"},{"Key":"CreatedBy","Value":"Raj Kumar Pativada"},{"Key":"WorkPermitUid","Value":"WP/TTK/COI/RWW/25/00023"},{"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


Sending WorkPermit creation email to: sayanm2807@gmail.com


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


Reading and binding data to Email Template


Initializing Email Service Client


Generating Email Request


New Work Permit Assigned


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


--- Email response from Osmo-x is 201


Sending WorkPermit 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_work_permit_creation_alert","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"Sayan Mondal"},{"type":"text","text":"WP/TTK/COI/RWW/25/00023"},{"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//#/work-permit/view/387/269&dlType=viewWorkPermit"},{"type":"text","text":"EHS Department - TTK Private Limited"}]}]}}}


Osmo-x WhatsApp Message has been Sent


### End Event Execution ###


### Start Event Execution ###


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


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


Sending WorkPermit 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_work_permit_creation_alert","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"Lalit Aditya Kola"},{"type":"text","text":"WP/TTK/COI/CWW/25/00034"},{"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//#/work-permit/view/387/270&dlType=viewWorkPermit"},{"type":"text","text":"EHS Department - TTK Private Limited"}]}]}}}


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


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"919989248964","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"oqsha_work_permit_creation_alert","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"Lalit Aditya Kola"},{"type":"text","text":"WP/TTK/COI/CWW/25/00035"},{"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//#/work-permit/view/387/271&dlType=viewWorkPermit"},{"type":"text","text":"EHS Department - TTK Private Limited"}]}]}}}


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


Initializing Email Service Client


Generating Email Request


New Work Permit Assigned


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


--- Email response from Osmo-x is 201


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"918967697371","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"oqsha_work_permit_creation_alert","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"Sayan Mondal"},{"type":"text","text":"WP/TTK/COI/RWW/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//#/work-permit/view/387/268&dlType=viewWorkPermit"},{"type":"text","text":"EHS Department - TTK Private Limited"}]}]}}}


Message : {"EventName":"NOTIFICATION_FOR_WORK_PERMIT_CREATION","EventArgs":[{"Key":"WorkPermitId","Value":"272"},{"Key":"ApproverIds","Value":"[1954]"},{"Key":"SiteName","Value":"Coimbatore"},{"Key":"CreatedBy","Value":"Raj Kumar Pativada"},{"Key":"WorkPermitUid","Value":"WP/TTK/COI/CWW/25/00036"},{"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


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"919989248964","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"oqsha_work_permit_creation_alert","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"Lalit Aditya Kola"},{"type":"text","text":"WP/TTK/COI/CWW/25/00036"},{"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//#/work-permit/view/387/272&dlType=viewWorkPermit"},{"type":"text","text":"EHS Department - TTK Private Limited"}]}]}}}


Osmo-x WhatsApp Message has been Sent


### End Event Execution ###


### Start Event Execution ###


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


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


Reading and binding data to Email Template


Initializing Email Service Client


Generating Email Request


New Work Permit Assigned


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


--- Email response from Osmo-x is 201


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"919989248964","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"oqsha_work_permit_creation_alert","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"Lalit Aditya Kola"},{"type":"text","text":"WP/TTK/COI/CWW/25/00037"},{"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//#/work-permit/view/387/273&dlType=viewWorkPermit"},{"type":"text","text":"EHS Department - TTK Private Limited"}]}]}}}


Message : {"EventName":"PASSWORD_RESET","EventArgs":[{"Key":"DisplayName","Value":null},{"Key":"Password","Value":"?bo62Vd&"},{"Key":"Email","Value":"mohit.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_SUBMITTED_NOTIFICATION","EventArgs":[{"Key":"UserId","Value":"1597"},{"Key":"IncidentId","Value":"424"},{"Key":"OrgId","Value":"387"}]}


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


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


Executing email notifications to Incident Approvers about the Pending approval


A new incident has been reported


Executing whatsapp notifications to Incident Approvers about the Pending approval


Sending WhatsApp Notification for Incident Approval to User: 1597


Osmo-x WhatsApp Message has been Sent


### Ended processing Incident Submitted Event ###


### End Event Execution ###


### Start Event Execution ###


Message : {"EventName":"NOTIFICATION_TO_ISSUER","EventArgs":[{"Key":"PtwId","Value":3254},{"Key":"OrganisationId","Value":310},{"Key":"CompanyId","Value":522},{"Key":"StringIssuerIds","Value":"[1,1735,1475,2061,2160,2161,2169,2205,2206,2256,1939,2125,2201,2078,1597,1536]"},{"Key":"PermitToWorkUID","Value":"P/APR/abd/123/BL/25/00001"},{"Key":"JobType","Value":"Blasting Work"},{"Key":"StatusChangeByUserDisplayName","Value":"Sayan Mondal"},{"Key":"RequestedOnTime","Value":"19-Sep-2025 11:50:41 AM"},{"Key":"SiteName","Value":"Aparna New Site"},{"Key":"StartDate","Value":"19-Sep-2025"},{"Key":"WorkLocation","Value":""},{"Key":"AssignedUserDisplayName","Value":"ADITYA CHAKRABORTY"},{"Key":"ModeOfNotifications","Value":""},{"Key":"NextStatus","Value":"Issued"},{"Key":"CustomStatusNames","Value":"[{\"StatusId\":1,\"PresentTenseName\":\"Approve -1\",\"PastTenseName\":\"Approved -1\"},{\"StatusId\":2,\"PresentTenseName\":\"Issue -2\",\"PastTenseName\":\"Issued -2\"},{\"StatusId\":3,\"PresentTenseName\":\"Request -3\",\"PastTenseName\":\"Requested -3\"},{\"StatusId\":4,\"PresentTenseName\":\"Review -4\",\"PastTenseName\":\"Reviewed -4\"},{\"StatusId\":5,\"PresentTenseName\":\"Reject -5\",\"PastTenseName\":\"Rejected -5\"},{\"StatusId\":6,\"PresentTenseName\":\"Close -6\",\"PastTenseName\":\"Closed -6\"},{\"StatusId\":7,\"PresentTenseName\":\"Cancel -7\",\"PastTenseName\":\"Cancelled -7\"},{\"StatusId\":8,\"PresentTenseName\":\"Re-Approve -8\",\"PastTenseName\":\"Re-Approved -8\"},{\"StatusId\":9,\"PresentTenseName\":\"Extension Request -9\",\"PastTenseName\":\"Extension Requested -9\"},{\"StatusId\":10,\"PresentTenseName\":\"Extension Issue -10\",\"PastTenseName\":\"Extension Issued -10\"},{\"StatusId\":11,\"PresentTenseName\":\"Extension Review -11\",\"PastTenseName\":\"Extension Reviewed -11\"},{\"StatusId\":12,\"PresentTenseName\":\"Extension Approve -12\",\"PastTenseName\":\"Extension Approved -12\"},{\"StatusId\":13,\"PresentTenseName\":\"Extension Reject -13\",\"PastTenseName\":\"Extension Rejected -13\"},{\"StatusId\":14,\"PresentTenseName\":\"Validation Request -14\",\"PastTenseName\":\"Validation Requested -14\"},{\"StatusId\":15,\"PresentTenseName\":\"Validation Reject -15\",\"PastTenseName\":\"Validation Rejected -15\"},{\"StatusId\":16,\"PresentTenseName\":\"Suspend -16\",\"PastTenseName\":\"Suspended -16\"},{\"StatusId\":17,\"PresentTenseName\":\"Validation Issue -17\",\"PastTenseName\":\"Validation Issued -17\"},{\"StatusId\":18,\"PresentTenseName\":\"Validation Approve -18\",\"PastTenseName\":\"Validation Approved -18\"},{\"StatusId\":19,\"PresentTenseName\":\"Pending Closure -19\",\"PastTenseName\":\"Pending Closure -19\"},{\"StatusId\":20,\"PresentTenseName\":\"Start Work -20\",\"PastTenseName\":\"Start Work -20\"},{\"StatusId\":21,\"PresentTenseName\":\"Request Again -21\",\"PastTenseName\":\"Request Again -21\"},{\"StatusId\":22,\"PresentTenseName\":\"Abandon\",\"PastTenseName\":\"Abandoned\"}]"}]}


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


# Calling SendNotificationToIssuerForCreatingPermitToWork function for whatsapp and push notification #


Executing sending notification to issuers through whatsapp


Sending notification to issuers of the comapny regarding permit to work 3254


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"919160948627","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"ptw_assigned_to_generic_template_v4","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"P/APR/abd/123/BL/25/00001"},{"type":"text","text":"19-Sep-2025"},{"type":"text","text":"Blasting Work"},{"type":"text","text":"Aparna New Site"},{"type":"text","text":" "},{"type":"text","text":"Requested -3 by Sayan Mondal at 19-Sep-2025 11:50:41 AM"},{"type":"text","text":"Issue -2"},{"type":"text","text":"ADITYA CHAKRABORTY"},{"type":"text","text":"https://qa-staging-2.oqsha.com/#/work-permit/view/3254?orgID=310&dlType=viewWorkPermit"}]}]}}}


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"917735901811","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"ptw_assigned_to_generic_template_v4","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"P/APR/abd/123/BL/25/00001"},{"type":"text","text":"19-Sep-2025"},{"type":"text","text":"Blasting Work"},{"type":"text","text":"Aparna New Site"},{"type":"text","text":" "},{"type":"text","text":"Requested -3 by Sayan Mondal at 19-Sep-2025 11:50:41 AM"},{"type":"text","text":"Issue -2"},{"type":"text","text":"ADITYA CHAKRABORTY"},{"type":"text","text":"https://qa-staging-2.oqsha.com/#/work-permit/view/3254?orgID=310&dlType=viewWorkPermit"}]}]}}}


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"918209047368","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"ptw_assigned_to_generic_template_v4","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"P/APR/abd/123/BL/25/00001"},{"type":"text","text":"19-Sep-2025"},{"type":"text","text":"Blasting Work"},{"type":"text","text":"Aparna New Site"},{"type":"text","text":" "},{"type":"text","text":"Requested -3 by Sayan Mondal at 19-Sep-2025 11:50:41 AM"},{"type":"text","text":"Issue -2"},{"type":"text","text":"ADITYA CHAKRABORTY"},{"type":"text","text":"https://qa-staging-2.oqsha.com/#/work-permit/view/3254?orgID=310&dlType=viewWorkPermit"}]}]}}}


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"918967697371","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"ptw_assigned_to_generic_template_v4","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"P/APR/abd/123/BL/25/00001"},{"type":"text","text":"19-Sep-2025"},{"type":"text","text":"Blasting Work"},{"type":"text","text":"Aparna New Site"},{"type":"text","text":" "},{"type":"text","text":"Requested -3 by Sayan Mondal at 19-Sep-2025 11:50:41 AM"},{"type":"text","text":"Issue -2"},{"type":"text","text":"ADITYA CHAKRABORTY"},{"type":"text","text":"https://qa-staging-2.oqsha.com/#/work-permit/view/3254?orgID=310&dlType=viewWorkPermit"}]}]}}}


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"9190142603280","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"ptw_assigned_to_generic_template_v4","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"P/APR/abd/123/BL/25/00001"},{"type":"text","text":"19-Sep-2025"},{"type":"text","text":"Blasting Work"},{"type":"text","text":"Aparna New Site"},{"type":"text","text":" "},{"type":"text","text":"Requested -3 by Sayan Mondal at 19-Sep-2025 11:50:41 AM"},{"type":"text","text":"Issue -2"},{"type":"text","text":"ADITYA CHAKRABORTY"},{"type":"text","text":"https://qa-staging-2.oqsha.com/#/work-permit/view/3254?orgID=310&dlType=viewWorkPermit"}]}]}}}


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"918007007611","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"ptw_assigned_to_generic_template_v4","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"P/APR/abd/123/BL/25/00001"},{"type":"text","text":"19-Sep-2025"},{"type":"text","text":"Blasting Work"},{"type":"text","text":"Aparna New Site"},{"type":"text","text":" "},{"type":"text","text":"Requested -3 by Sayan Mondal at 19-Sep-2025 11:50:41 AM"},{"type":"text","text":"Issue -2"},{"type":"text","text":"ADITYA CHAKRABORTY"},{"type":"text","text":"https://qa-staging-2.oqsha.com/#/work-permit/view/3254?orgID=310&dlType=viewWorkPermit"}]}]}}}


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"918766592459","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"ptw_assigned_to_generic_template_v4","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"P/APR/abd/123/BL/25/00001"},{"type":"text","text":"19-Sep-2025"},{"type":"text","text":"Blasting Work"},{"type":"text","text":"Aparna New Site"},{"type":"text","text":" "},{"type":"text","text":"Requested -3 by Sayan Mondal at 19-Sep-2025 11:50:41 AM"},{"type":"text","text":"Issue -2"},{"type":"text","text":"ADITYA CHAKRABORTY"},{"type":"text","text":"https://qa-staging-2.oqsha.com/#/work-permit/view/3254?orgID=310&dlType=viewWorkPermit"}]}]}}}


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"917439381194","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"ptw_assigned_to_generic_template_v4","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"P/APR/abd/123/BL/25/00001"},{"type":"text","text":"19-Sep-2025"},{"type":"text","text":"Blasting Work"},{"type":"text","text":"Aparna New Site"},{"type":"text","text":" "},{"type":"text","text":"Requested -3 by Sayan Mondal at 19-Sep-2025 11:50:41 AM"},{"type":"text","text":"Issue -2"},{"type":"text","text":"ADITYA CHAKRABORTY"},{"type":"text","text":"https://qa-staging-2.oqsha.com/#/work-permit/view/3254?orgID=310&dlType=viewWorkPermit"}]}]}}}


Osmo-x WhatsApp Message has been Sent


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"917408681257","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"ptw_assigned_to_generic_template_v4","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"P/APR/abd/123/BL/25/00001"},{"type":"text","text":"19-Sep-2025"},{"type":"text","text":"Blasting Work"},{"type":"text","text":"Aparna New Site"},{"type":"text","text":" "},{"type":"text","text":"Requested -3 by Sayan Mondal at 19-Sep-2025 11:50:41 AM"},{"type":"text","text":"Issue -2"},{"type":"text","text":"ADITYA CHAKRABORTY"},{"type":"text","text":"https://qa-staging-2.oqsha.com/#/work-permit/view/3254?orgID=310&dlType=viewWorkPermit"}]}]}}}


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"919032423307","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"ptw_assigned_to_generic_template_v4","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"P/APR/abd/123/BL/25/00001"},{"type":"text","text":"19-Sep-2025"},{"type":"text","text":"Blasting Work"},{"type":"text","text":"Aparna New Site"},{"type":"text","text":" "},{"type":"text","text":"Requested -3 by Sayan Mondal at 19-Sep-2025 11:50:41 AM"},{"type":"text","text":"Issue -2"},{"type":"text","text":"ADITYA CHAKRABORTY"},{"type":"text","text":"https://qa-staging-2.oqsha.com/#/work-permit/view/3254?orgID=310&dlType=viewWorkPermit"}]}]}}}


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"91123456789","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"ptw_assigned_to_generic_template_v4","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"P/APR/abd/123/BL/25/00001"},{"type":"text","text":"19-Sep-2025"},{"type":"text","text":"Blasting Work"},{"type":"text","text":"Aparna New Site"},{"type":"text","text":" "},{"type":"text","text":"Requested -3 by Sayan Mondal at 19-Sep-2025 11:50:41 AM"},{"type":"text","text":"Issue -2"},{"type":"text","text":"ADITYA CHAKRABORTY"},{"type":"text","text":"https://qa-staging-2.oqsha.com/#/work-permit/view/3254?orgID=310&dlType=viewWorkPermit"}]}]}}}


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"917223964176","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"ptw_assigned_to_generic_template_v4","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"P/APR/abd/123/BL/25/00001"},{"type":"text","text":"19-Sep-2025"},{"type":"text","text":"Blasting Work"},{"type":"text","text":"Aparna New Site"},{"type":"text","text":" "},{"type":"text","text":"Requested -3 by Sayan Mondal at 19-Sep-2025 11:50:41 AM"},{"type":"text","text":"Issue -2"},{"type":"text","text":"ADITYA CHAKRABORTY"},{"type":"text","text":"https://qa-staging-2.oqsha.com/#/work-permit/view/3254?orgID=310&dlType=viewWorkPermit"}]}]}}}


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"917478192996","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"ptw_assigned_to_generic_template_v4","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"P/APR/abd/123/BL/25/00001"},{"type":"text","text":"19-Sep-2025"},{"type":"text","text":"Blasting Work"},{"type":"text","text":"Aparna New Site"},{"type":"text","text":" "},{"type":"text","text":"Requested -3 by Sayan Mondal at 19-Sep-2025 11:50:41 AM"},{"type":"text","text":"Issue -2"},{"type":"text","text":"ADITYA CHAKRABORTY"},{"type":"text","text":"https://qa-staging-2.oqsha.com/#/work-permit/view/3254?orgID=310&dlType=viewWorkPermit"}]}]}}}


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"919876543210","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"ptw_assigned_to_generic_template_v4","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"P/APR/abd/123/BL/25/00001"},{"type":"text","text":"19-Sep-2025"},{"type":"text","text":"Blasting Work"},{"type":"text","text":"Aparna New Site"},{"type":"text","text":" "},{"type":"text","text":"Requested -3 by Sayan Mondal at 19-Sep-2025 11:50:41 AM"},{"type":"text","text":"Issue -2"},{"type":"text","text":"ADITYA CHAKRABORTY"},{"type":"text","text":"https://qa-staging-2.oqsha.com/#/work-permit/view/3254?orgID=310&dlType=viewWorkPermit"}]}]}}}


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"911020304050","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"ptw_assigned_to_generic_template_v4","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"P/APR/abd/123/BL/25/00001"},{"type":"text","text":"19-Sep-2025"},{"type":"text","text":"Blasting Work"},{"type":"text","text":"Aparna New Site"},{"type":"text","text":" "},{"type":"text","text":"Requested -3 by Sayan Mondal at 19-Sep-2025 11:50:41 AM"},{"type":"text","text":"Issue -2"},{"type":"text","text":"ADITYA CHAKRABORTY"},{"type":"text","text":"https://qa-staging-2.oqsha.com/#/work-permit/view/3254?orgID=310&dlType=viewWorkPermit"}]}]}}}


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"917903770678","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"ptw_assigned_to_generic_template_v4","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"P/APR/abd/123/BL/25/00001"},{"type":"text","text":"19-Sep-2025"},{"type":"text","text":"Blasting Work"},{"type":"text","text":"Aparna New Site"},{"type":"text","text":" "},{"type":"text","text":"Requested -3 by Sayan Mondal at 19-Sep-2025 11:50:41 AM"},{"type":"text","text":"Issue -2"},{"type":"text","text":"ADITYA CHAKRABORTY"},{"type":"text","text":"https://qa-staging-2.oqsha.com/#/work-permit/view/3254?orgID=310&dlType=viewWorkPermit"}]}]}}}


### End Event Execution ###


### Start Event Execution ###


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


# Calling SendNotificationToAskUserConsent function for asking user consent #


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


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


Reading and binding data to Email Template


Initializing Email Service Client


Generating Email Request


Incident IMF/TTK/COI/UCC/25/00006 has been validated, form a team to investigate


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


--- Email response from Osmo-x is 201


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


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/UCC/25/00006"},{"type":"text","text":"Raj Kumar Pativada"},{"type":"text","text":"15-Aug-2025 04: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/140"},{"type":"text","text":"EHS Department - TTK Private Limited"}]}]}}}


Sending WhatsApp for Incident Approval to User: 2549