### Start Event Execution ###


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


# Calling SendNotificationToTaskAssignees function for WhatsApp notification #


Sending WhatsApp notification for task assignment to user ID: 1761


Osmo-x WhatsApp Message has been Sent


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


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


Reading and binding data to Email Template


Initializing Email Service Client


Generating Email Request


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


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


--- Email response from Osmo-x is 201


### End Event Execution ###


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


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


Sending WhatsApp notification for task assignment to user ID: 1326


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


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


### Start Event Execution ###


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


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


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


Calling SendInformToNotification function for ticket creation


Sending Inform-To WhatsApp for IncidentId: 21262


Osmo-x WhatsApp Message has been Sent


Sending Inform-To Email for IncidentId: 21262


Initializing Email Service Client


Generating Email Request


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


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


--- Email response from Osmo-x is 201


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


### End Event Execution ###


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


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


### Start Event Execution ###


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


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


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


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


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


Reading and binding data to Email Template


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


Osmo-x WhatsApp Message has been Sent


Initializing Email Service Client


Generating Email Request


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


--- Email response from Osmo-x is 201


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


### End Event Execution ###


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


# Calling SendNotificationToTaskAssignees function for WhatsApp notification #


Sending WhatsApp notification for task assignment to user ID: 1761


### Start Event Execution ###


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


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


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


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


Generating report.


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


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


PDF generation successfull


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


Sending Assigned To Email for IncidentId:21262


Initializing Email Service Client


Generating Email Request


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


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


--- Email response from Osmo-x is 201


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


# Preparing notification body #


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


### End Event Execution ###


### Start Event Execution ###


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


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


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


Generating report.


## Sending notification to Site EHS user ##


## Notification to be send for these users: [1,1326,2126,1761,2449,916,2124,2481,1954]


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


Sending Incident Closure Validation Email for IncidentId:21262


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


Reading and binding data to Email Template


Initializing Email Service Client


Generating Email Request


Safety Alert Validation Level 1


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


--- Email response from Osmo-x is 201


Sending Inform-To Update WhatsApp for IncidentId:21262


Osmo-x WhatsApp Message has been Sent


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


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


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


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


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


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


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


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


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


### End Event Execution ###


### Start Event Execution ###


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


# Calling SendNotificationToTaskAssignees function for WhatsApp notification #


Sending WhatsApp notification for task assignment to user ID: 1761


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


Initializing Email Service Client


Generating Email Request


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


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


--- Email response from Osmo-x is 201


Sending WhatsApp notification for task assignment to user ID: 2481


Osmo-x WhatsApp Message has been Sent


Sending Task Assignment Email for TaskId: 3103, UserId: 2481


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


Reading and binding data to Email Template


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


### End Event Execution ###


### Start Event Execution ###


Sending WhatsApp notification for task assignment to user ID: 2127


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


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


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


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


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


Generating report.


## Sending notification to EHS head user ##


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


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


Sending Incident Closure Validation Email for IncidentId:21262


Initializing Email Service Client


Generating Email Request


Safety Alert Validation For Closure


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


--- Email response from Osmo-x is 201


Sending Inform-To Update WhatsApp for IncidentId:21262


Osmo-x WhatsApp Message has been Sent


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


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


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


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


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


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


Reading and binding data to Email Template


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


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


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


Initializing Email Service Client


Generating Email Request


Safety Alert Validation For Closure


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


--- Email response from Osmo-x is 201


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


### End Event Execution ###


### Start Event Execution ###


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


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


Current Ticket Status: Validated_1


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


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"917417443684","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"oqsha_ticket_update_whatsapp_template_v3","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"Vineet Tester"},{"type":"text","text":"Safety Alert"},{"type":"text","text":"T/TTK/NMM/25/00059"},{"type":"text","text":"Safety Alert status updated to Validated_1.Comments: validating"},{"type":"text","text":"Safety Alert"},{"type":"text","text":"003Sep2025"},{"type":"text","text":"Coimbatore"},{"type":"text","text":"Near Miss"},{"type":"text","text":"Raj Kumar Pativada"},{"type":"text","text":"TTK Beta - QA"},{"type":"text","text":"Validated_1"},{"type":"text","text":"https://qa-staging.oqsha.com/#/incidents/view/387/21262?dlType=viewTicket"}]}]}}}


Osmo-x WhatsApp Message has been Sent


Sending Inform-To Update Email for IncidentId:21262


Ticket Safety Alert has been updated


Sending Inform-To Update WhatsApp for IncidentId:21262


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"918249683426","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"oqsha_ticket_update_whatsapp_template_v3","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"Kumar Samarjeet"},{"type":"text","text":"Safety Alert"},{"type":"text","text":"T/TTK/NMM/25/00059"},{"type":"text","text":"Safety Alert status updated to Validated_1.Comments: validating"},{"type":"text","text":"Safety Alert"},{"type":"text","text":"003Sep2025"},{"type":"text","text":"Coimbatore"},{"type":"text","text":"Near Miss"},{"type":"text","text":"Raj Kumar Pativada"},{"type":"text","text":"TTK Beta - QA"},{"type":"text","text":"Validated_1"},{"type":"text","text":"https://qa-staging.oqsha.com/#/incidents/view/387/21262?dlType=viewTicket"}]}]}}}


Initializing Email Service Client


Generating Email Request


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


--- Email response from Osmo-x is 201


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


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"9145454545454","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"oqsha_ticket_update_whatsapp_template_v3","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"Mounika Consent"},{"type":"text","text":"Safety Alert"},{"type":"text","text":"T/TTK/NMM/25/00059"},{"type":"text","text":"Safety Alert status updated to Validated_1.Comments: validating"},{"type":"text","text":"Safety Alert"},{"type":"text","text":"003Sep2025"},{"type":"text","text":"Coimbatore"},{"type":"text","text":"Near Miss"},{"type":"text","text":"Raj Kumar Pativada"},{"type":"text","text":"TTK Beta - QA"},{"type":"text","text":"Validated_1"},{"type":"text","text":"https://qa-staging.oqsha.com/#/incidents/view/387/21262?dlType=viewTicket"}]}]}}}


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


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


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


Reading and binding data to Email Template


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


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


Osmo-x WhatsApp Message has been Sent


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


### End Event Execution ###


### Start Event Execution ###


Message : {"EventName":"Update_USER","EventArgs":[{"Key":"DisplayName","Value":"Lakhan Baduree"},{"Key":"Password","Value":""},{"Key":"OrganisationName","Value":"Aparna Constructions"},{"Key":"UserDivisions","Value":"Accident, Accident 1, Asset Related Category, Dancing Category, demo2, Example, Falling Objects, Fly Tipping, Investigation category, King Kong, Latest Category. edit, Medchal category, Minor injury, Near Miss, New Ticket, 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,;., Laila majnu, test ticket category 45"},{"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 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, QA Testing for BUG-3038, Rajasthan, Santiago Bernabeu, Silver Hills, Site 123455, Site for deletion, Site for deletions, Site should not be created, SITE TESTING NEW NEW, Site to test allow all users, Site w/o approver, Site w/o issuer, Site w/o Reviewer, site without issuer old app, Site without reviewer, Site-A, Site-A-R, Site-I, Site-I-A, Site-I-A-R-C, Site-I-R, Site-R, Site3, 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":"lakhan.b@osmosys.co"}]}


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


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


Calling Send Email Function for Update User Email


Initializing Email Service Client


Generating Email Request


Your OQSHA Access Has Been Updated


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


--- Email response from Osmo-x is 201


Message : {"EventName":"Update_APP_USER","EventArgs":[{"Key":"DisplayName","Value":"Lakhan Baduree"},{"Key":"Password","Value":""},{"Key":"OrganisationName","Value":"Aparna Constructions"},{"Key":"UserUid","Value":""},{"Key":"UserDivisions","Value":"Accident, Accident 1, Asset Related Category, Dancing Category, demo2, Example, Falling Objects, Fly Tipping, Investigation category, King Kong, Latest Category. edit, Medchal category, Minor injury, Near Miss, New Ticket, 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,;., Laila majnu, test ticket category 45"},{"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 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, QA Testing for BUG-3038, Rajasthan, Santiago Bernabeu, Silver Hills, Site 123455, Site for deletion, Site for deletions, Site should not be created, SITE TESTING NEW NEW, Site to test allow all users, Site w/o approver, Site w/o issuer, Site w/o Reviewer, site without issuer old app, Site without reviewer, Site-A, Site-A-R, Site-I, Site-I-A, Site-I-A-R-C, Site-I-R, Site-R, Site3, 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":"lakhan.b@osmosys.co"},{"Key":"MobileNumber","Value":"+9188858577199"}]}


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


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


Message : {"EventName":"ASSIGNED_TO_NOTIFICATION","EventArgs":[{"Key":"AssignedIncidentID","Value":21263},{"Key":"AssignedToID","Value":2209}]}


### 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 Lakhan Baduree, UserId : 2209 for assigned to notification ##


Sending Assigned To Email for IncidentId:21263


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


Reading and binding data to Email Template


Initializing Email Service Client


Generating Email Request


A Ticket T/APR/DCC/25/00013 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:21263


Osmo-x WhatsApp Message has been Sent


# Preparing notification body #


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


### End Event Execution ###


### Start Event Execution ###


Message : {"EventName":"Update_USER","EventArgs":[{"Key":"DisplayName","Value":"Bishal Mondal"},{"Key":"Password","Value":""},{"Key":"OrganisationName","Value":"TTK Beta - QA"},{"Key":"UserDivisions","Value":"Near Miss, Safety Alert By Visitor, test safety alert category jul 18, Test ticket category, tick-cat-without-checklist, Ticket Category - 1, Ticket Category J, TTK Beta"},{"Key":"UserIncidentSites","Value":"Coimbatore"},{"Key":"OldEmail","Value":""},{"Key":"Email","Value":"bishal.m@osmosys.co"}]}


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


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


Calling Send Email Function for Update User Email


Your OQSHA Access Has Been Updated


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


### 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":"INFORM_TO_INCIDENT_CREATION_NOTIFICATION","EventArgs":[{"Key":"IncidentId","Value":21264},{"Key":"InformToUserId","Value":2126}]}


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


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


Calling SendInformToNotification function for ticket creation


Sending Inform-To WhatsApp for IncidentId: 21264


Osmo-x WhatsApp Message has been Sent


Sending Inform-To Email for IncidentId: 21264


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


Reading and binding data to Email Template


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


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


### End Event Execution ###


### Start Event Execution ###


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


Initializing Email Service Client


Generating Email Request


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


--- Email response from Osmo-x is 201


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


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


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


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


Osmo-x WhatsApp Message has been Sent


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


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


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


# Calling SendNotificationToTaskAssignees function for WhatsApp notification #


Sending WhatsApp notification for task assignment to user ID: 1482


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


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


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


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


Generating report.


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


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


Reading and binding data to Email Template


Initializing Email Service Client


Generating Email Request


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


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


--- Email response from Osmo-x is 201


### End Event Execution ###


PDF generation successfull


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


Sending Assigned To Email for IncidentId:21264


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


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


Sending Assigned To Whatsapp for IncidentId:21264


Osmo-x WhatsApp Message has been Sent


# Preparing notification body #


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


### Start Event Execution ###


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


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


Current Ticket Status: Assigned


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


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


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


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


Generating report.


## Sending notification to Site EHS user ##


## Notification to be send for these users: [1,2126,1761,2449,916,2124,2481,1954]


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


Sending Incident Closure Validation Email for IncidentId:21264


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


Reading and binding data to Email Template


Initializing Email Service Client


Generating Email Request


Safety Alert Validation Level 1


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


--- Email response from Osmo-x is 201


Sending Inform-To Update WhatsApp for IncidentId:21264


Osmo-x WhatsApp Message has been Sent


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


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


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


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


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


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


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


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


### End Event Execution ###


### Start Event Execution ###


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


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


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


Generating report.


## Sending notification to EHS head user ##


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


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


Sending Incident Closure Validation Email for IncidentId:21264


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


Reading and binding data to Email Template


Initializing Email Service Client


Generating Email Request


Safety Alert Validation For Closure


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


--- Email response from Osmo-x is 201


Sending Inform-To Update WhatsApp for IncidentId:21264


Osmo-x WhatsApp Message has been Sent


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


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


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


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


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


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


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


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


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


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


### End Event Execution ###


### Start Event Execution ###


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


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


Current Ticket Status: Validated_1


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


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


Osmo-x WhatsApp Message has been Sent


Sending Inform-To Update Email for IncidentId:21264


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


Reading and binding data to Email Template


Initializing Email Service Client


Generating Email Request


Ticket Safety Alert has been updated


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


--- Email response from Osmo-x is 201


Sending Inform-To Update WhatsApp for IncidentId:21264


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"917417443684","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"oqsha_ticket_update_whatsapp_template_v3","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"Vineet Tester"},{"type":"text","text":"Safety Alert"},{"type":"text","text":"T/TTK/NMM/25/00060"},{"type":"text","text":"Safety Alert status updated to Validated_1.Comments: validating by lalit"},{"type":"text","text":"Safety Alert"},{"type":"text","text":"Notification test"},{"type":"text","text":"Coimbatore"},{"type":"text","text":"Near Miss"},{"type":"text","text":"Raj Kumar Pativada"},{"type":"text","text":"TTK Beta - QA"},{"type":"text","text":"Validated_1"},{"type":"text","text":"https://qa-staging.oqsha.com/#/incidents/view/387/21264?dlType=viewTicket"}]}]}}}


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


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"9145454545454","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"oqsha_ticket_update_whatsapp_template_v3","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"Mounika Consent"},{"type":"text","text":"Safety Alert"},{"type":"text","text":"T/TTK/NMM/25/00060"},{"type":"text","text":"Safety Alert status updated to Validated_1.Comments: validating by lalit"},{"type":"text","text":"Safety Alert"},{"type":"text","text":"Notification test"},{"type":"text","text":"Coimbatore"},{"type":"text","text":"Near Miss"},{"type":"text","text":"Raj Kumar Pativada"},{"type":"text","text":"TTK Beta - QA"},{"type":"text","text":"Validated_1"},{"type":"text","text":"https://qa-staging.oqsha.com/#/incidents/view/387/21264?dlType=viewTicket"}]}]}}}


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


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


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


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


Osmo-x WhatsApp Message has been Sent


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


### End Event Execution ###


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


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


### Start Event Execution ###


Message : {"EventName":"NOTIFICATION_FOR_INSPECTION_CREATION","EventArgs":[{"Key":"UserIds","Value":"[1]"},{"Key":"InspectionUID","Value":"I/APR/abd/ACC/25/00063"},{"Key":"Name","Value":"nnnnn"},{"Key":"Type","Value":"all checks"},{"Key":"Organisation","Value":"Aparna Constructions"},{"Key":"Site","Value":"Aparna New Site"},{"Key":"Department","Value":" "},{"Key":"Asset","Value":""},{"Key":"Status","Value":"Inspect"},{"Key":"CreatedBy","Value":"Raj Kumar Pativada"},{"Key":"CreatedOn","Value":"03-Sep-2025 12:41:26 PM"}]}


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


# Calling SendNotificationForInspectionCreation function for whatsapp and push notification #


Executing sending notification to associated user through whatsapp


Sending notifications for inspection creation to associated user1


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"919160948627","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"oqsha_inspection_template","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"Raj Kumar Pativada"},{"type":"text","text":"I/APR/abd/ACC/25/00063"},{"type":"text","text":"nnnnn"},{"type":"text","text":"all checks"},{"type":"text","text":"Aparna Constructions"},{"type":"text","text":"Aparna New Site"},{"type":"text","text":" "},{"type":"text","text":""},{"type":"text","text":"Inspect"},{"type":"text","text":"Raj Kumar Pativada"},{"type":"text","text":"03-Sep-2025 12:41:26 PM"}]}]}}}


### 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: 3219, UserId: 1761


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


Reading and binding data to Email Template


Initializing Email Service Client


Generating Email Request


New Action Tracker Assigned - TA/TTK/COI/CTA/25/00078


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


--- Email response from Osmo-x is 201


### End Event Execution ###


### Start Event Execution ###


Osmo-x WhatsApp Message has been Sent


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


New Action Tracker Assigned - TA/TTK/COI/CTA/25/00080


Sending WhatsApp notification for task assignment to user ID: 1326


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


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


Sending WhatsApp notification for task assignment to user ID: 1709


Sending Task Assignment Email for TaskId: 3225, UserId: 1709


New Action Tracker Assigned - TA/TTK//SWW/25/00002


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


Initializing Email Service Client


Generating Email Request


New Action Tracker Assigned - TA/TTK//25/00076


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


--- Email response from Osmo-x is 201


### End Event Execution ###


### Start Event Execution ###


Sending WhatsApp notification for task assignment to user ID: 2127


Osmo-x WhatsApp Message has been Sent


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


New Action Tracker Assigned - TA/TTK//25/00077


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


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


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


PDF generation successfull


Executing email notifications to Auditors about Audit


An Audit has been created


Executing whatsapp notifications to Auditors about Audit creation


Sending WhatsApp for Audit Creation to Auditors: 1


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


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


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


Reading and binding data to Email Template


Initializing Email Service Client


Generating Email Request


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


--- Email response from Osmo-x is 201


Osmo-x WhatsApp Message has been Sent


### End Event Execution ###


### Start Event Execution ###


Message : {"EventName":"AUDIT_CREATION_NOTIFICATION","EventArgs":[{"Key":"AuditorsUserIds","Value":"[898]"},{"Key":"AuditId","Value":"267"},{"Key":"OrgId","Value":"310"}]}


PDF generation successfull


Sending WhatsApp for Audit Creation to Auditors: 898


Message : {"EventName":"NOTIFICATION_FOR_INSPECTION_CREATION","EventArgs":[{"Key":"UserIds","Value":"[1]"},{"Key":"InspectionUID","Value":"I/APR/abd/ACC/25/00064"},{"Key":"Name","Value":"final test"},{"Key":"Type","Value":"all checks"},{"Key":"Organisation","Value":"Aparna Constructions"},{"Key":"Site","Value":"Aparna New Site"},{"Key":"Department","Value":" "},{"Key":"Asset","Value":"Car"},{"Key":"Status","Value":"Inspect"},{"Key":"CreatedBy","Value":"Raj Kumar Pativada"},{"Key":"CreatedOn","Value":"03-Sep-2025 03:17:40 PM"}]}


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


# Calling SendNotificationForInspectionCreation function for whatsapp and push notification #


Executing sending notification to associated user through whatsapp


Sending notifications for inspection creation to associated user1


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"919160948627","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"oqsha_inspection_template","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"Raj Kumar Pativada"},{"type":"text","text":"I/APR/abd/ACC/25/00064"},{"type":"text","text":"final test"},{"type":"text","text":"all checks"},{"type":"text","text":"Aparna Constructions"},{"type":"text","text":"Aparna New Site"},{"type":"text","text":" "},{"type":"text","text":"Car"},{"type":"text","text":"Inspect"},{"type":"text","text":"Raj Kumar Pativada"},{"type":"text","text":"03-Sep-2025 03:17:40 PM"}]}]}}}


Message : {"EventName":"NOTIFICATION_FOR_INSPECTION_UPDATE","EventArgs":[{"Key":"StringIssuerIds","Value":"[1]"},{"Key":"InspectionUID","Value":"I/APR/abd/ACC/25/00064"},{"Key":"Name","Value":"final test"},{"Key":"Site","Value":"Aparna New Site"},{"Key":"InspectedBy","Value":"Raj Kumar Pativada"},{"Key":"InspectedOn","Value":"03-Sep-2025 03:17:40 PM"},{"Key":"InspectionId","Value":"1405"}]}


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


# Calling SendNotificationForInspectionUpdate function for whatsapp and push notification #


Sending notifications for inspection status update to associated user1


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"919160948627","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"oqsha_inspection_assigned_template","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"Raj Kumar Pativada"},{"type":"text","text":"I/APR/abd/ACC/25/00064"},{"type":"text","text":"final test"},{"type":"text","text":"Aparna New Site"},{"type":"text","text":"Raj Kumar Pativada"},{"type":"text","text":"03-Sep-2025 03:17:40 PM"},{"type":"text","text":"https://qa-staging.oqsha.com/#/inspection/view/1405"}]}]}}}


Osmo-x WhatsApp Message has been Sent


### End Event Execution ###


### Start Event Execution ###


Message : {"EventName":"NOTIFICATION_FOR_INSPECTION_CREATION","EventArgs":[{"Key":"UserIds","Value":"[1]"},{"Key":"InspectionUID","Value":"I/APR/abd/ACC/25/00065"},{"Key":"Name","Value":"final test -1"},{"Key":"Type","Value":"all checks"},{"Key":"Organisation","Value":"Aparna Constructions"},{"Key":"Site","Value":"Aparna New Site"},{"Key":"Department","Value":" "},{"Key":"Asset","Value":""},{"Key":"Status","Value":"Planned"},{"Key":"CreatedBy","Value":"Raj Kumar Pativada"},{"Key":"CreatedOn","Value":"03-Sep-2025 03:24:53 PM"}]}


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"919160948627","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"oqsha_inspection_template","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"Raj Kumar Pativada"},{"type":"text","text":"I/APR/abd/ACC/25/00065"},{"type":"text","text":"final test -1"},{"type":"text","text":"all checks"},{"type":"text","text":"Aparna Constructions"},{"type":"text","text":"Aparna New Site"},{"type":"text","text":" "},{"type":"text","text":""},{"type":"text","text":"Planned"},{"type":"text","text":"Raj Kumar Pativada"},{"type":"text","text":"03-Sep-2025 03:24:53 PM"}]}]}}}


Message : {"EventName":"NOTIFICATION_FOR_INSPECTION_ASSIGNEES","EventArgs":[{"Key":"UserIds","Value":"[2448]"},{"Key":"InspectionUID","Value":"I/APR/abd/ACC/25/00065"},{"Key":"Name","Value":"final test -1"},{"Key":"Type","Value":"all checks"},{"Key":"Site","Value":"Aparna New Site"},{"Key":"Status","Value":"Planned"},{"Key":"CreatedBy","Value":"Raj Kumar Pativada"},{"Key":"CreatedOn","Value":"03-Sep-2025 03:24:53 PM"},{"Key":"InspectionId","Value":"1406"}]}


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


Sending notifications for inspection creation to associated user2448


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"917223964170","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"oqsha_inspection_assignees_template","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"Abhi Consent"},{"type":"text","text":"I/APR/abd/ACC/25/00065"},{"type":"text","text":"final test -1"},{"type":"text","text":"all checks"},{"type":"text","text":"Aparna New Site"},{"type":"text","text":"Raj Kumar Pativada"},{"type":"text","text":"03-Sep-2025 03:24:53 PM"},{"type":"text","text":"Planned"},{"type":"text","text":"https://qa-staging.oqsha.com/#/inspection/view/1406"}]}]}}}


Message : {"EventName":"ASSIGNED_TO_NOTIFICATION","EventArgs":[{"Key":"AssignedIncidentID","Value":21265},{"Key":"AssignedToID","Value":2209}]}


### 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 Lakhan Baduree, UserId : 2209 for assigned to notification ##


Sending Assigned To Email for IncidentId:21265


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


Reading and binding data to Email Template


Initializing Email Service Client


Generating Email Request


A Ticket T/APR/DCC/25/00014 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:21265


Osmo-x WhatsApp Message has been Sent


# Preparing notification body #


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


### End Event Execution ###


### Start Event Execution ###


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


### Ended processing Incident Submitted Event ###


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


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


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


Initializing Email Service Client


Generating Email Request


Incident IMF/TTK/COI/TIT/25/00014 has been validated


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


--- Email response from Osmo-x is 201


Sending WhatsApp for Incident Validation to User: 1597


Osmo-x WhatsApp Message has been Sent


### Ended processing Incident Validated Event ###


### End Event Execution ###


### Start Event Execution ###


Message : {"EventName":"INCIDENT_FIRRELEASED_NOTIFICATION","EventArgs":[{"Key":"UserId","Value":"1761"},{"Key":"IncidentId","Value":"237"},{"Key":"OrgId","Value":"387"},{"Key":"PreviousApproverName","Value":"Raj Kumar Pativada"}]}


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


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


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


Reading and binding data to Email Template


Incident IMF/TTK/COI/TIT/25/00014 FIR has been released


Sending WhatsApp for Incident Approval to User: 1761


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


Initializing Email Service Client


Generating Email Request


Incident IMF/TTK/COI/TIT/25/00014 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: 2407


Osmo-x WhatsApp Message has been Sent


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


### End Event Execution ###


### Start Event Execution ###


Message : {"EventName":"AUDIT_CREATION_NOTIFICATION","EventArgs":[{"Key":"AuditorsUserIds","Value":"[2209]"},{"Key":"AuditId","Value":"268"},{"Key":"OrgId","Value":"310"}]}


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


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


PDF generation successfull


Executing email notifications to Auditors about Audit


An Audit has been created


Executing whatsapp notifications to Auditors about Audit creation


Sending WhatsApp for Audit Creation to Auditors: 2209


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


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


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


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


Executing email notifications to Investigation Approvers about the Pending approval


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


Reading and binding data to Email Template


Initializing Email Service Client


Generating Email Request


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


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


--- Email response from Osmo-x is 201


Executing whatsapp notifications to Investigation Approvers about the Pending approval


Sending WhatsApp for Investigation Approval to User: 1761


Osmo-x WhatsApp Message has been Sent


### Ended processing Investigation Submitted Event ###


### End Event Execution ###


### Start Event Execution ###


Message : {"EventName":"INVESTIGATION_VALIDATED_NOTIFICATION","EventArgs":[{"Key":"UserId","Value":"1597"},{"Key":"IncidentId","Value":"237"},{"Key":"OrgId","Value":"387"}]}


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


### Started processing for Investigation Validated Event ###


Validate the Final Incident IMF/TTK/COI/TIT/25/00014 Investigation Report


Sending WhatsApp for Incident Approval to User: 1597


### Ended processing Investigation Validated Event ###


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


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


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


Executing email notifications to Incident Approvers about the Pending approval


Initializing Email Service Client


Generating Email Request


A new incident has been reported


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


--- Email response from Osmo-x is 201


Executing whatsapp notifications to Incident Approvers about the Pending approval


Sending WhatsApp Notification for Incident Approval to User: 1761


Osmo-x WhatsApp Message has been Sent


### Ended processing Incident Submitted Event ###


### End Event Execution ###


### Start Event Execution ###


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


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


Reading and binding data to Email Template


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


Message : {"EventName":"NOTIFICATION_TO_ISSUER","EventArgs":[{"Key":"PtwId","Value":3250},{"Key":"OrganisationId","Value":310},{"Key":"CompanyId","Value":541},{"Key":"StringIssuerIds","Value":"[1,2125,2078,2161,2447,1326,1536]"},{"Key":"PermitToWorkUID","Value":"P/APR/5.4/1REWQD/AB/25/00001"},{"Key":"JobType","Value":"ABC WORK"},{"Key":"StatusChangeByUserDisplayName","Value":"Raj Kumar Pativada"},{"Key":"RequestedOnTime","Value":"03-Sep-2025 09:04:14 PM"},{"Key":"SiteName","Value":"5.4.15 Old App Testing ( dont delete)"},{"Key":"StartDate","Value":"04-Sep-2025"},{"Key":"WorkLocation","Value":""},{"Key":"AssignedUserDisplayName","Value":"Bishal Mondal"},{"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 3250


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/5.4/1REWQD/AB/25/00001"},{"type":"text","text":"04-Sep-2025"},{"type":"text","text":"ABC WORK"},{"type":"text","text":"5.4.15 Old App Testing ( dont delete)"},{"type":"text","text":" "},{"type":"text","text":"Requested -3 by Raj Kumar Pativada at 03-Sep-2025 09:04:14 PM"},{"type":"text","text":"Issue -2"},{"type":"text","text":"Bishal Mondal"},{"type":"text","text":"https://qa-staging.oqsha.com/#/work-permit/view/3250?orgID=310&dlType=viewWorkPermit"}]}]}}}


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"917003236045","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/5.4/1REWQD/AB/25/00001"},{"type":"text","text":"04-Sep-2025"},{"type":"text","text":"ABC WORK"},{"type":"text","text":"5.4.15 Old App Testing ( dont delete)"},{"type":"text","text":" "},{"type":"text","text":"Requested -3 by Raj Kumar Pativada at 03-Sep-2025 09:04:14 PM"},{"type":"text","text":"Issue -2"},{"type":"text","text":"Bishal Mondal"},{"type":"text","text":"https://qa-staging.oqsha.com/#/work-permit/view/3250?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/5.4/1REWQD/AB/25/00001"},{"type":"text","text":"04-Sep-2025"},{"type":"text","text":"ABC WORK"},{"type":"text","text":"5.4.15 Old App Testing ( dont delete)"},{"type":"text","text":" "},{"type":"text","text":"Requested -3 by Raj Kumar Pativada at 03-Sep-2025 09:04:14 PM"},{"type":"text","text":"Issue -2"},{"type":"text","text":"Bishal Mondal"},{"type":"text","text":"https://qa-staging.oqsha.com/#/work-permit/view/3250?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/5.4/1REWQD/AB/25/00001"},{"type":"text","text":"04-Sep-2025"},{"type":"text","text":"ABC WORK"},{"type":"text","text":"5.4.15 Old App Testing ( dont delete)"},{"type":"text","text":" "},{"type":"text","text":"Requested -3 by Raj Kumar Pativada at 03-Sep-2025 09:04:14 PM"},{"type":"text","text":"Issue -2"},{"type":"text","text":"Bishal Mondal"},{"type":"text","text":"https://qa-staging.oqsha.com/#/work-permit/view/3250?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/5.4/1REWQD/AB/25/00001"},{"type":"text","text":"04-Sep-2025"},{"type":"text","text":"ABC WORK"},{"type":"text","text":"5.4.15 Old App Testing ( dont delete)"},{"type":"text","text":" "},{"type":"text","text":"Requested -3 by Raj Kumar Pativada at 03-Sep-2025 09:04:14 PM"},{"type":"text","text":"Issue -2"},{"type":"text","text":"Bishal Mondal"},{"type":"text","text":"https://qa-staging.oqsha.com/#/work-permit/view/3250?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/5.4/1REWQD/AB/25/00001"},{"type":"text","text":"04-Sep-2025"},{"type":"text","text":"ABC WORK"},{"type":"text","text":"5.4.15 Old App Testing ( dont delete)"},{"type":"text","text":" "},{"type":"text","text":"Requested -3 by Raj Kumar Pativada at 03-Sep-2025 09:04:14 PM"},{"type":"text","text":"Issue -2"},{"type":"text","text":"Bishal Mondal"},{"type":"text","text":"https://qa-staging.oqsha.com/#/work-permit/view/3250?orgID=310&dlType=viewWorkPermit"}]}]}}}


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"913344334433","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/5.4/1REWQD/AB/25/00001"},{"type":"text","text":"04-Sep-2025"},{"type":"text","text":"ABC WORK"},{"type":"text","text":"5.4.15 Old App Testing ( dont delete)"},{"type":"text","text":" "},{"type":"text","text":"Requested -3 by Raj Kumar Pativada at 03-Sep-2025 09:04:14 PM"},{"type":"text","text":"Issue -2"},{"type":"text","text":"Bishal Mondal"},{"type":"text","text":"https://qa-staging.oqsha.com/#/work-permit/view/3250?orgID=310&dlType=viewWorkPermit"}]}]}}}


### End Event Execution ###


### Start Event Execution ###


Message : {"EventName":"ASK_USER_CONSENT","EventArgs":[{"Key":"UserInvolvedIds","Value":"[]"},{"Key":"TwiWhatsappNumber","Value":"+918977928676"},{"Key":"PtwId","Value":"3250"},{"Key":"PtwUid","Value":"P/APR/5.4/1REWQD/AB/25/00001"},{"Key":"Date","Value":"04-Sep-2025"},{"Key":"JobType","Value":"ABC WORK"},{"Key":"Site","Value":"5.4.15 Old App Testing ( dont delete)"},{"Key":"WorkLocation","Value":" "}]}


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


# Calling SendNotificationToAskUserConsent function for asking user consent #


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


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


Reading and binding data to Email Template


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


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


### End Event Execution ###


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


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


### Start Event Execution ###


Message : {"EventName":"NOTIFICATION_FOR_INSPECTION_ASSIGNEES","EventArgs":[{"Key":"UserIds","Value":"[1]"},{"Key":"InspectionUID","Value":"I/APR/abd/ACC/25/00065"},{"Key":"Name","Value":"final test -1"},{"Key":"Type","Value":"all checks"},{"Key":"Site","Value":"Aparna New Site"},{"Key":"Status","Value":"Planned"},{"Key":"CreatedBy","Value":"Raj Kumar Pativada"},{"Key":"CreatedOn","Value":"03-Sep-2025 03:24:53 PM"},{"Key":"InspectionId","Value":1406}]}


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


Message : {"EventName":"NOTIFICATION_FOR_MOC_CREATION","EventArgs":[{"Key":"MocId","Value":"681"},{"Key":"ApproverIds","Value":"[1954]"},{"Key":"SiteName","Value":"Coimbatore"},{"Key":"CreatedBy","Value":"Lalit Aditya Kola"},{"Key":"MocUid","Value":"M/TTK/COI/NMT/25/00006"},{"Key":"OrgId","Value":387},{"Key":"OrganisationName","Value":"TTK Beta - QA"}]}


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


# Calling SendNotificationForMocCreation function for email/WhatsApp #


Executing email and WhatsApp notifications to MOC approvers


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


Initializing Email Service Client


Generating Email Request


New MOC Assigned


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


--- Email response from Osmo-x is 201


Sending MOC creation WhatsApp message to: 919989248964


Osmo-x WhatsApp Message has been Sent


### End Event Execution ###


Message : {"EventName":"MOC_CREATOR_CLARIFICATION_NOTIFICATION","EventArgs":[{"Key":"UserId","Value":"1954"},{"Key":"MocId","Value":"681"},{"Key":"MocUid","Value":"M/TTK/COI/NMT/25/00006"},{"Key":"SiteName","Value":"Coimbatore"},{"Key":"OrganisationName","Value":"TTK Beta - QA"},{"Key":"ApproverName","Value":"Lalit Aditya Kola"},{"Key":"Clarification","Value":"Clarify"},{"Key":"RequestedOn","Value":"04-Sep-2025 01:18:56 AM"},{"Key":"OrgId","Value":387}]}


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


# Calling SendNotificationToMOCCreatorForClarification function for email #


Executing email notifications to MOC creator for clarification


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


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


Reading and binding data to Email Template


Clarification Requested for MOC