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


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


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


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


Your OQSHA Access Has Been Updated

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


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


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


Message : {"EventName":"Update_APP_USER","EventArgs":[{"Key":"DisplayName","Value":"Kumar Samarjeet"},{"Key":"Password","Value":""},{"Key":"OrganisationName","Value":"TTK Beta - QA"},{"Key":"UserUid","Value":""},{"Key":"UserDivisions","Value":"Near Miss, Safety Alert By Visitor, test safety alert category jul 18, Test ticket category, tick-cat-without-checklist, Ticket Category - 1, Ticket Category J, TTK Beta"},{"Key":"UserIncidentSites","Value":"Coimbatore, Hosur, Khadri, Roorkee, SamarSite, site - 2, Sshristi, Testing site, TTK Beta"},{"Key":"Email","Value":"kumarsamarjeet.19@gmail.com"},{"Key":"MobileNumber","Value":"+918249683426"}]}


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


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


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


Calling SendInformToNotification function for ticket creation


Sending Inform-To Email for IncidentId: 21213


Initializing Email Service Client


Generating Email Request


Safety Alert T/TTK/NMM/25/00054 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":21213},{"Key":"InformToUserId","Value":2124}]}


Sending Inform-To WhatsApp for IncidentId: 21213


Osmo-x WhatsApp Message has been Sent


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


Reading and binding data to Email Template


### Start Event Execution ###


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


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


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


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


Initializing Email Service Client


Generating Email Request


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


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


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


Initializing Email Service Client


Generating Email Request


### 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":21213},{"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: 2955, UserId: 1482


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


Reading and binding data to Email Template


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


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


Initializing Email Service Client


Generating Email Request


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


Osmo-x WhatsApp Message has been Sent


# Preparing notification body #


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


### Start Event Execution ###


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


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


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


Generating report.


## Sending notification to Site EHS user ##


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


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


Sending Incident Closure Validation Email for IncidentId:21213


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


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"919160948627","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"oqsha_ticket_validation_level_1_whatsapp_template_ttk","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"Raj Kumar Pativada"},{"type":"text","text":"Raj Kumar Pativada"},{"type":"text","text":"T/TTK/NMM/25/00054"},{"type":"text","text":"01-Sep-2025 10:20:10 AM"},{"type":"text","text":"Near Miss"},{"type":"text","text":"TTK Beta"},{"type":"text","text":"TTK Beta"},{"type":"text","text":"Test"},{"type":"text","text":"Raj Kumar Pativada"},{"type":"text","text":"https://qa-staging.oqsha.com/#/incidents/view/387/21213?dlType=viewTicket"}]}]}}}


Osmo-x WhatsApp Message has been Sent


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


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


Reading and binding data to Email Template


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


## 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 dhruv pahadia, UserId : 2481 for Incident Closure Validation notification ##


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


### End Event Execution ###


### Start Event Execution ###


Message : {"EventName":"INCIDENT_CLOSURE_NOTIFICATION_VALIDATION_2","EventArgs":[{"Key":"IncidentId","Value":21213},{"Key":"ClosedById","Value":1}]}


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


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


Generating report.


## Sending notification to EHS head user ##


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


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


Sending Incident Closure Validation Email for IncidentId:21213


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


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"919160948627","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"oqsha_ticket_validation_level_2_whatsapp_template_ttk","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"Raj Kumar Pativada"},{"type":"text","text":"Raj Kumar Pativada"},{"type":"text","text":"T/TTK/NMM/25/00054"},{"type":"text","text":"01-Sep-2025 10:20:10 AM"},{"type":"text","text":"Near Miss"},{"type":"text","text":"TTK Beta"},{"type":"text","text":"TTK Beta"},{"type":"text","text":"Test"},{"type":"text","text":"Raj Kumar Pativada"},{"type":"text","text":"https://qa-staging.oqsha.com/#/incidents/view/387/21213?dlType=viewTicket"}]}]}}}


Osmo-x WhatsApp Message has been Sent


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


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


Reading and binding data to Email Template


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


## 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 dhruv pahadia, UserId : 2481 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 : NOTIFICATION_TO_TASK_ASSIGNEES ###


# Calling SendNotificationToTaskAssignees function for WhatsApp notification #


Sending WhatsApp notification for task assignment to user ID: 1761


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


Initializing Email Service Client


Generating Email Request


Osmo-x WhatsApp Message has been Sent


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


Ticket Ticket has been updated


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


--- Email response from Osmo-x is 201


Sending Assigned To Whatsapp for IncidentId:21212


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


Sending WhatsApp notification for task assignment to user ID: 2420


# Preparing notification body #


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


Reading and binding data to Email Template


Sending Task Assignment Email for TaskId: 2956, UserId: 2420


Sending WhatsApp notification for task assignment to user ID: 2421


### End Event Execution ###


Sending Email for IncidentId:21212


Initializing Email Service Client


Generating Email Request


### Ended processing Update incident Event ###


### Start Event Execution ###


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


Sending Email for IncidentId:21175


Osmo-x WhatsApp Message has been Sent


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


Ticket Ticket has been updated


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


--- Email response from Osmo-x is 201


Sending Assigned To Whatsapp for IncidentId:21175


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_v3","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/AAA/25/00611"},{"type":"text","text":"Ticket status updated to Assigned"},{"type":"text","text":"Ticket"},{"type":"text","text":"safety issue found"},{"type":"text","text":"Aparna New Site"},{"type":"text","text":"Accident"},{"type":"text","text":"Raj Kumar Pativada"},{"type":"text","text":"Aparna Constructions"},{"type":"text","text":"Assigned"},{"type":"text","text":"https://qa-staging.oqsha.com/#/incidents/view/310/21175?dlType=viewTicket"}]}]}}}


New Task Assigned - TA/APR/abd/TTT/25/00044


# Preparing notification body #


Sending Task Assignment Email for TaskId: 2957, UserId: 2420


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"915566778899","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":"a b"},{"type":"text","text":"Ticket"},{"type":"text","text":"T/APR/AAA/25/00611"},{"type":"text","text":"Ticket status updated to Assigned"},{"type":"text","text":"Ticket"},{"type":"text","text":"safety issue found"},{"type":"text","text":"Aparna New Site"},{"type":"text","text":"Accident"},{"type":"text","text":"Raj Kumar Pativada"},{"type":"text","text":"Aparna Constructions"},{"type":"text","text":"Assigned"},{"type":"text","text":"https://qa-staging.oqsha.com/#/incidents/view/310/21175?dlType=viewTicket"}]}]}}}


### End Event Execution ###


Initializing Email Service Client


Generating Email Request


### Start Event Execution ###


Message : {"EventName":"WHATSAPP_TO_BATCH_PARTICIPANTS","EventArgs":[{"Key":"BatchParticipantIds","Value":"[1107,1108,1109]"},{"Key":"BatchId","Value":5445}]}


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


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"919160948627","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":"Raj Kumar Pativada"},{"type":"text","text":"training DLF"},{"type":"text","text":"dlf"},{"type":"text","text":"TTK Beta - QA"},{"type":"text","text":"0 Week(s) 0 Day(s) 8 Hour(s)"},{"type":"text","text":"No faculty"},{"type":"text","text":"September 01, 2025  11:14:00 AM"},{"type":"text","text":"PLANNED"},{"type":"text","text":"https://qa-staging.oqsha.com/#/batches/view/387/357/5445?dlType=viewBatch"}]}]}}}


Osmo-x WhatsApp Message has been Sent


Sending notification to batch participant for planned and in progress status2


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"919848676679","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":"Srinivas Medida"},{"type":"text","text":"training DLF"},{"type":"text","text":"dlf"},{"type":"text","text":"TTK Beta - QA"},{"type":"text","text":"0 Week(s) 0 Day(s) 8 Hour(s)"},{"type":"text","text":"No faculty"},{"type":"text","text":"September 01, 2025  11:14:00 AM"},{"type":"text","text":"PLANNED"},{"type":"text","text":"https://qa-staging.oqsha.com/#/batches/view/387/357/5445?dlType=viewBatch"}]}]}}}


Message : {"EventName":"WHATSAPP_TO_BATCH_PARTICIPANTS","EventArgs":[{"Key":"BatchParticipantIds","Value":"[1110]"},{"Key":"BatchId","Value":5446}]}


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"919848676679","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":"Srinivas Medida"},{"type":"text","text":"9th sept"},{"type":"text","text":"dlf"},{"type":"text","text":"TTK Beta - QA"},{"type":"text","text":"0 Week(s) 0 Day(s) 8 Hour(s)"},{"type":"text","text":"Raj Kumar Pativada"},{"type":"text","text":"September 09, 2025  11:16:00 AM"},{"type":"text","text":"PLANNED"},{"type":"text","text":"https://qa-staging.oqsha.com/#/batches/view/387/357/5446?dlType=viewBatch"}]}]}}}


Message : {"EventName":"COMPLETED_BATCH","EventArgs":[{"Key":"BatchId","Value":5447}]}


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


# Calling SendNotificationToBatchParticipantsForCompletedStatus function for  whatsapp notification #


Executing completed notification function to batch participants


Sending completed batch notification to batch participant1


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"919160948627","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"oqsha_completed_batch_v5","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"Raj Kumar Pativada"},{"type":"text","text":"1 sep"},{"type":"text","text":"dlf"},{"type":"text","text":"TTK Beta - QA"},{"type":"text","text":"0 Week(s) 0 Day(s) 8 Hour(s)"},{"type":"text","text":"No faculty"},{"type":"text","text":"September 01, 2025  11:19:36 AM"},{"type":"text","text":"https://qa-staging.oqsha.com/#/batches/view/387/357/5447?dlType=viewBatch"}]}]}}}


### End Event Execution ###


### Start Event Execution ###


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


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


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


Calling SendInformToNotification function for ticket creation


Sending Inform-To WhatsApp for IncidentId: 21214


Osmo-x WhatsApp Message has been Sent


Sending Inform-To Email for IncidentId: 21214


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


Reading and binding data to Email Template


Initializing Email Service Client


Generating Email Request


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


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


--- Email response from Osmo-x is 201


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


### End Event Execution ###


### Start Event Execution ###


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


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


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


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


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


Osmo-x WhatsApp Message has been Sent


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


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


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


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


### End Event Execution ###


### Start Event Execution ###


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


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


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


Calling SendInformToNotification function for ticket creation


Sending Inform-To WhatsApp for IncidentId: 21215


Osmo-x WhatsApp Message has been Sent


Sending Inform-To Email for IncidentId: 21215


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


Reading and binding data to Email Template


Initializing Email Service Client


Generating Email Request


Safety Alert T/TTK/TCL/25/00013 has been created


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


--- Email response from Osmo-x is 201


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


### End Event Execution ###


### Start Event Execution ###


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


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


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


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


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


Osmo-x WhatsApp Message has been Sent


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


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


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


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


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


PDF generation successfull


Executing email notifications to Auditors about Audit


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


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


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


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


# Calling SendHIRAApprovalInvitationNotification function for email/WhatsApp #


Executing email notifications to HIRA Approvers about the Pending approval


Initializing Email Service Client


Generating Email Request


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


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


--- Email response from Osmo-x is 201


Executing whatsapp notifications to HIRA Approvers about the Pending approval


Sending WhatsApp Notification for HIRA Approval to user: 1597


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


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


Sending WhatsApp Notification for HIRA Approval to user: 1954


### End Event Execution ###


### Start Event Execution ###


Message : {"EventName":"HIRA_APPROVED_INFORM_TO_CREATOR_NOTIFICATION","EventArgs":[{"Key":"CreatorId","Value":"1"},{"Key":"ApproverName","Value":"Lalit Aditya Kola"},{"Key":"HIRAId","Value":"400"},{"Key":"HIRAUid","Value":"H/TTK/COI/AFF/25/00009"},{"Key":"SiteName","Value":"Coimbatore"},{"Key":"OrganisationName","Value":"TTK Beta - QA"},{"Key":"ApprovedOn","Value":"01-Sep-2025 12:26:02 PM"},{"Key":"OrgId","Value":387}]}


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


# Calling SendHIRAApprovedInformToCreatorNotification function for email #


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


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


Initializing Email Service Client


Generating Email Request


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


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


--- Email response from Osmo-x is 201


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


Sending WhatsApp for HIRA Approval to creator user: 1


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


Osmo-x WhatsApp Message has been Sent


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


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


Reading and binding data to Email Template


Sending WhatsApp Notification for HIRA Approval to user: 1


### End Event Execution ###


### Start Event Execution ###


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


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


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


Calling SendInformToNotification function for ticket creation


Sending Inform-To WhatsApp for IncidentId: 21216


Sending Inform-To Email for IncidentId: 21216


Initializing Email Service Client


Generating Email Request


Safety Alert T/TTK/TCL/25/00014 has been created


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


--- Email response from Osmo-x is 201


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


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


Osmo-x WhatsApp Message has been Sent


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


### End Event Execution ###


### Start Event Execution ###


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


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


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


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


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


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


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


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


# Calling SendHIRAApprovalInvitationNotification function for email/WhatsApp #


Executing email notifications to HIRA Approvers about the Pending approval


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


Executing whatsapp notifications to HIRA Approvers about the Pending approval


Sending WhatsApp Notification for HIRA Approval to user: 1954


Osmo-x WhatsApp Message has been Sent


### End Event Execution ###


### Start Event Execution ###


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


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


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


Calling SendInformToNotification function for ticket creation


Sending Inform-To WhatsApp for IncidentId: 21217


Sending Inform-To Email for IncidentId: 21217


Initializing Email Service Client


Generating Email Request


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


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


--- Email response from Osmo-x is 201


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


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


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


Osmo-x WhatsApp Message has been Sent


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


Reading and binding data to Email Template


### End Event Execution ###


### Start Event Execution ###


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


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


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


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


Initializing Email Service Client


Generating Email Request


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


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


--- Email response from Osmo-x is 201


Message : {"EventName":"NOTIFICATION_FOR_MOC_CREATION","EventArgs":[{"Key":"MocId","Value":"677"},{"Key":"ApproverIds","Value":"[1954]"},{"Key":"SiteName","Value":"Coimbatore"},{"Key":"CreatedBy","Value":"Lalit Aditya Kola"},{"Key":"MocUid","Value":"M/TTK/COI/NMT/25/00002"},{"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


New MOC Assigned


Sending MOC creation WhatsApp message to: 919989248964


Osmo-x WhatsApp Message has been Sent


### End Event Execution ###


### Start Event Execution ###


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


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


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


Executing email notifications to Incident Approvers about the Pending approval


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


Reading and binding data to Email Template


Initializing Email Service Client


Generating Email Request


A new incident has been reported


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


--- Email response from Osmo-x is 201


Executing whatsapp notifications to Incident Approvers about the Pending approval


Sending WhatsApp Notification for Incident Approval to User: 2407


### Ended processing Incident Submitted Event ###


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


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


Incident IMF/APR/16J/IFI/25/00006 has been validated, form a team to investigate


Sending WhatsApp for Incident Approval to User: 2407


Osmo-x WhatsApp Message has been Sent


Sending WhatsApp for Incident Approval to User: 2448


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


### End Event Execution ###


### Start Event Execution ###


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


Initializing Email Service Client


Generating Email Request


A new incident has been reported


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


--- Email response from Osmo-x is 201


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


Incident IMF/APR/16J/IFI/25/00008 has been validated, form a team to investigate


Message : {"EventName":"WHATSAPP_TO_BATCH_PARTICIPANTS","EventArgs":[{"Key":"BatchParticipantIds","Value":"[1115]"},{"Key":"BatchId","Value":5451}]}


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


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"917003236045","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":"Bishal Mondal"},{"type":"text","text":"01Sep2025Train"},{"type":"text","text":"Angular test"},{"type":"text","text":"Aparna Constructions"},{"type":"text","text":"2 Week(s) 2 Day(s) 2 Hour(s)"},{"type":"text","text":"No faculty"},{"type":"text","text":"September 01, 2025  02:21:00 PM"},{"type":"text","text":"PLANNED"},{"type":"text","text":"https://qa-staging.oqsha.com/#/batches/view/310/116/5451?dlType=viewBatch"}]}]}}}


Osmo-x WhatsApp Message has been Sent


### End Event Execution ###


### Start Event Execution ###


Message : {"EventName":"ADD_USER","EventArgs":[{"Key":"DisplayName","Value":"dhruv pahadia"},{"Key":"Password","Value":"$2a$11$k367SnN4x56BEDRkEnwD/eWmRGKRPtSI7HPr5K1toZYkrP31Jdo.m"},{"Key":"OrganisationName","Value":"TTK Beta - QA"},{"Key":"UserDivisions","Value":"Near Miss, Safety Alert By Visitor, test safety alert category jul 18, Test ticket category, tick-cat-without-checklist, Ticket Category - 1, Ticket Category J, TTK Beta"},{"Key":"UserIncidentSites","Value":"Coimbatore, Hosur, Khadri, Regression, Roorkee, SamarSite, site - 2, Sshristi, Testing site, TTK Beta"},{"Key":"OldEmail","Value":null},{"Key":"Email","Value":"dhruv.p@osmosys.co"}]}


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


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


Calling Send Email Function for Add User Email


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


Reading and binding data to Email Template


Initializing Email Service Client


Generating Email Request


Welcome to OQSHA


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


--- Email response from Osmo-x is 201


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


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


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


PDF generation successfull


Executing email notifications to Auditors about Audit


An Audit has been created


Executing whatsapp notifications to Auditors about Audit creation


Sending WhatsApp for Audit Creation to Auditors: 1


Osmo-x WhatsApp Message has been Sent


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


### End Event Execution ###


### Start Event Execution ###


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


# Calling SendNotificationToTaskAssignees function for WhatsApp notification #


Sending WhatsApp notification for task assignment to user ID: 1482


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


Initializing Email Service Client


Generating Email Request


New Task Assigned - TA/APR/16J/INR/25/00002


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


--- Email response from Osmo-x is 201


Sending WhatsApp notification for task assignment to user ID: 2078


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


New Task Assigned - TA/APR/16J/INR/25/00004


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


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


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


Executing email notifications to Incident Approvers about the Pending approval


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


Reading and binding data to Email Template


A new incident has been reported


Executing whatsapp notifications to Incident Approvers about the Pending approval


Sending WhatsApp Notification for Incident Approval to User: 1761


Osmo-x WhatsApp Message has been Sent


### Ended processing Incident Submitted Event ###


### End Event Execution ###


### Start Event Execution ###


Message : {"EventName":"INCIDENT_VALIDATED_NOTIFICATION","EventArgs":[{"Key":"UserId","Value":"1"},{"Key":"IncidentId","Value":"209"},{"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/III/25/00024 has been validated


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


--- Email response from Osmo-x is 201


Sending WhatsApp for Incident Validation to User: 1


### Ended processing Incident Validated Event ###


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


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


Sending WhatsApp for Incident Approval to User: 1761


Osmo-x WhatsApp Message has been Sent


### End Event Execution ###


### Start Event Execution ###


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


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


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


Executing email notifications to Incident Approvers about the Pending approval


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


Reading and binding data to Email Template


Initializing Email Service Client


Generating Email Request


A new incident has been reported


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


--- Email response from Osmo-x is 201


Executing whatsapp notifications to Incident Approvers about the Pending approval


Sending WhatsApp Notification for Incident Approval to User: 1761


### Ended processing Incident Submitted Event ###


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


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


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


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


Sending WhatsApp for Incident Validation to User: 1


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":"210"},{"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 ###


Initializing Email Service Client


Generating Email Request


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


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


--- Email response from Osmo-x is 201


Sending WhatsApp for Incident Approval to User: 1761


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


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


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


Executing email notifications to Incident Approvers about the Pending approval


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


Reading and binding data to Email Template


A new incident has been reported


Executing whatsapp notifications to Incident Approvers about the Pending approval


Sending WhatsApp Notification for Incident Approval to User: 1761


Osmo-x WhatsApp Message has been Sent


### Ended processing Incident Submitted Event ###


### End Event Execution ###


### Start Event Execution ###


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


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


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_v3","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/00012"},{"type":"text","text":"Comments are added as hello"},{"type":"text","text":"Ticket"},{"type":"text","text":"Testing"},{"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.oqsha.com/#/incidents/view/310/21212?dlType=viewTicket"}]}]}}}


# Preparing notification body #


Osmo-x WhatsApp Message has been Sent


### Ended processing Update incident Event ###


### End Event Execution ###


### Start Event Execution ###


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


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


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


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


Sending WhatsApp for Incident Validation to User: 1


### Ended processing Incident Validated Event ###


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


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/III/25/00026 FIR has been released


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


### End Event Execution ###


### Start Event Execution ###


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


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


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


Sending WhatsApp for Incident Approval to User: 2481


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


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


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


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


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


Sending WhatsApp Notification for Incident Approval to User: 2407


Osmo-x WhatsApp Message has been Sent


### Ended processing Incident Submitted Event ###


### End Event Execution ###


### Start Event Execution ###


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


Sending WhatsApp for Incident Approval to User: 1597


Sending WhatsApp for Incident Approval to User: 2124


Sending WhatsApp for Incident Approval to User: 2449


Message : {"EventName":"INVESTIGATION_SUBMITTED_NOTIFICATION","EventArgs":[{"Key":"UserId","Value":"1761"},{"Key":"IncidentId","Value":"196"},{"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/III/25/00020


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


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


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


New Task Assigned - TA/APR/16J/INR/25/00006


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


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


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


Initializing Email Service Client


Generating Email Request


Validate the Final Incident IMF/TTK/COI/III/25/00020 Investigation Report


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


--- Email response from Osmo-x is 201


Sending WhatsApp for Incident Approval to User: 1597


Osmo-x WhatsApp Message has been Sent


### Ended processing Investigation Validated Event ###


### End Event Execution ###


### Start Event Execution ###


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


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


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


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


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


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


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


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


Executing email notifications to Incident Approvers about the Pending approval


### Ended processing Incident Submitted Event ###


Sending WhatsApp notification for task assignment to user ID: 1326


Osmo-x WhatsApp Message has been Sent


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


*--- 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/INR/25/00008


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


--- Email response from Osmo-x is 201


### End Event Execution ###


### Start Event Execution ###


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


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


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


Osmo-x WhatsApp Message has been Sent


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


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


### Ended processing Incident Submitted Event ###


### End Event Execution ###


### Start Event Execution ###


Message : {"EventName":"INCIDENT_VALIDATED_NOTIFICATION","EventArgs":[{"Key":"UserId","Value":"1"},{"Key":"IncidentId","Value":"213"},{"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 ###


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


Reading and binding data to Email Template


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


Executing whatsapp notifications to Incident Approvers about the Pending approval


Sending WhatsApp for Incident Validation to User: 1


Osmo-x WhatsApp Message has been Sent


### Ended processing Incident Validated Event ###


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


Initializing Email Service Client


Generating Email Request


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


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


--- Email response from Osmo-x is 201


Sending WhatsApp for Incident Approval to User: 1761


### End Event Execution ###


### Start Event Execution ###


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


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


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


Sending WhatsApp for Incident Approval to User: 2481


Osmo-x WhatsApp Message has been Sent


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


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


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


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


Executing email notifications to Incident Approvers about the Pending approval


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


Reading and binding data to Email Template


Initializing Email Service Client


Generating Email Request


A new incident has been reported


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


--- Email response from Osmo-x is 201


Executing whatsapp notifications to Incident Approvers about the Pending approval


Sending WhatsApp Notification for Incident Approval to User: 1761


### Ended processing Incident Submitted Event ###


### End Event Execution ###


### Start Event Execution ###


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


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


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


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


Sending WhatsApp for Incident Validation to User: 1


Osmo-x WhatsApp Message has been Sent


### Ended processing Incident Validated Event ###


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


Initializing Email Service Client


Generating Email Request


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


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


--- Email response from Osmo-x is 201


Sending WhatsApp for Incident Approval to User: 1761


### End Event Execution ###


### Start Event Execution ###


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


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


Executing whatsapp notifications to Incident Approvers about the Pending approval


Osmo-x WhatsApp Message has been Sent


Sending WhatsApp for Incident Approval to User: 2481


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


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


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


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


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


Sending WhatsApp Notification for Incident Approval to User: 1761


### Ended processing Incident Submitted Event ###


### End Event Execution ###


### Start Event Execution ###


Message : {"EventName":"NOTIFICATION_TO_ISSUER","EventArgs":[{"Key":"PtwId","Value":3248},{"Key":"OrganisationId","Value":310},{"Key":"CompanyId","Value":77},{"Key":"StringIssuerIds","Value":"[1,1735,1939,1475,2061,2078,2160,2161,2169,2125,2201,2205,2206,2256,2447,1536]"},{"Key":"PermitToWorkUID","Value":"P/APR/AMR/ABCCON/AP/25/00001"},{"Key":"JobType","Value":"app work permit"},{"Key":"StatusChangeByUserDisplayName","Value":"Raj Kumar Pativada"},{"Key":"RequestedOnTime","Value":"01-Sep-2025 07:02:35 PM"},{"Key":"SiteName","Value":"Amritsar"},{"Key":"StartDate","Value":"02-Sep-2025"},{"Key":"WorkLocation","Value":""},{"Key":"AssignedUserDisplayName","Value":"Raj Kumar Pativada"},{"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 3248


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/AMR/ABCCON/AP/25/00001"},{"type":"text","text":"02-Sep-2025"},{"type":"text","text":"app work permit"},{"type":"text","text":"Amritsar"},{"type":"text","text":" "},{"type":"text","text":"Requested -3 by Raj Kumar Pativada at 01-Sep-2025 07:02:35 PM"},{"type":"text","text":"Issue -2"},{"type":"text","text":"Raj Kumar Pativada"},{"type":"text","text":"https://qa-staging.oqsha.com/#/work-permit/view/3248?orgID=310&dlType=viewWorkPermit"}]}]}}}


Osmo-x WhatsApp Message has been Sent


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/AMR/ABCCON/AP/25/00001"},{"type":"text","text":"02-Sep-2025"},{"type":"text","text":"app work permit"},{"type":"text","text":"Amritsar"},{"type":"text","text":" "},{"type":"text","text":"Requested -3 by Raj Kumar Pativada at 01-Sep-2025 07:02:35 PM"},{"type":"text","text":"Issue -2"},{"type":"text","text":"Raj Kumar Pativada"},{"type":"text","text":"https://qa-staging.oqsha.com/#/work-permit/view/3248?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/AMR/ABCCON/AP/25/00001"},{"type":"text","text":"02-Sep-2025"},{"type":"text","text":"app work permit"},{"type":"text","text":"Amritsar"},{"type":"text","text":" "},{"type":"text","text":"Requested -3 by Raj Kumar Pativada at 01-Sep-2025 07:02:35 PM"},{"type":"text","text":"Issue -2"},{"type":"text","text":"Raj Kumar Pativada"},{"type":"text","text":"https://qa-staging.oqsha.com/#/work-permit/view/3248?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/AMR/ABCCON/AP/25/00001"},{"type":"text","text":"02-Sep-2025"},{"type":"text","text":"app work permit"},{"type":"text","text":"Amritsar"},{"type":"text","text":" "},{"type":"text","text":"Requested -3 by Raj Kumar Pativada at 01-Sep-2025 07:02:35 PM"},{"type":"text","text":"Issue -2"},{"type":"text","text":"Raj Kumar Pativada"},{"type":"text","text":"https://qa-staging.oqsha.com/#/work-permit/view/3248?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/AMR/ABCCON/AP/25/00001"},{"type":"text","text":"02-Sep-2025"},{"type":"text","text":"app work permit"},{"type":"text","text":"Amritsar"},{"type":"text","text":" "},{"type":"text","text":"Requested -3 by Raj Kumar Pativada at 01-Sep-2025 07:02:35 PM"},{"type":"text","text":"Issue -2"},{"type":"text","text":"Raj Kumar Pativada"},{"type":"text","text":"https://qa-staging.oqsha.com/#/work-permit/view/3248?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/AMR/ABCCON/AP/25/00001"},{"type":"text","text":"02-Sep-2025"},{"type":"text","text":"app work permit"},{"type":"text","text":"Amritsar"},{"type":"text","text":" "},{"type":"text","text":"Requested -3 by Raj Kumar Pativada at 01-Sep-2025 07:02:35 PM"},{"type":"text","text":"Issue -2"},{"type":"text","text":"Raj Kumar Pativada"},{"type":"text","text":"https://qa-staging.oqsha.com/#/work-permit/view/3248?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/AMR/ABCCON/AP/25/00001"},{"type":"text","text":"02-Sep-2025"},{"type":"text","text":"app work permit"},{"type":"text","text":"Amritsar"},{"type":"text","text":" "},{"type":"text","text":"Requested -3 by Raj Kumar Pativada at 01-Sep-2025 07:02:35 PM"},{"type":"text","text":"Issue -2"},{"type":"text","text":"Raj Kumar Pativada"},{"type":"text","text":"https://qa-staging.oqsha.com/#/work-permit/view/3248?orgID=310&dlType=viewWorkPermit"}]}]}}}


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/AMR/ABCCON/AP/25/00001"},{"type":"text","text":"02-Sep-2025"},{"type":"text","text":"app work permit"},{"type":"text","text":"Amritsar"},{"type":"text","text":" "},{"type":"text","text":"Requested -3 by Raj Kumar Pativada at 01-Sep-2025 07:02:35 PM"},{"type":"text","text":"Issue -2"},{"type":"text","text":"Raj Kumar Pativada"},{"type":"text","text":"https://qa-staging.oqsha.com/#/work-permit/view/3248?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/AMR/ABCCON/AP/25/00001"},{"type":"text","text":"02-Sep-2025"},{"type":"text","text":"app work permit"},{"type":"text","text":"Amritsar"},{"type":"text","text":" "},{"type":"text","text":"Requested -3 by Raj Kumar Pativada at 01-Sep-2025 07:02:35 PM"},{"type":"text","text":"Issue -2"},{"type":"text","text":"Raj Kumar Pativada"},{"type":"text","text":"https://qa-staging.oqsha.com/#/work-permit/view/3248?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/AMR/ABCCON/AP/25/00001"},{"type":"text","text":"02-Sep-2025"},{"type":"text","text":"app work permit"},{"type":"text","text":"Amritsar"},{"type":"text","text":" "},{"type":"text","text":"Requested -3 by Raj Kumar Pativada at 01-Sep-2025 07:02:35 PM"},{"type":"text","text":"Issue -2"},{"type":"text","text":"Raj Kumar Pativada"},{"type":"text","text":"https://qa-staging.oqsha.com/#/work-permit/view/3248?orgID=310&dlType=viewWorkPermit"}]}]}}}


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"917223964170","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/AMR/ABCCON/AP/25/00001"},{"type":"text","text":"02-Sep-2025"},{"type":"text","text":"app work permit"},{"type":"text","text":"Amritsar"},{"type":"text","text":" "},{"type":"text","text":"Requested -3 by Raj Kumar Pativada at 01-Sep-2025 07:02:35 PM"},{"type":"text","text":"Issue -2"},{"type":"text","text":"Raj Kumar Pativada"},{"type":"text","text":"https://qa-staging.oqsha.com/#/work-permit/view/3248?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/AMR/ABCCON/AP/25/00001"},{"type":"text","text":"02-Sep-2025"},{"type":"text","text":"app work permit"},{"type":"text","text":"Amritsar"},{"type":"text","text":" "},{"type":"text","text":"Requested -3 by Raj Kumar Pativada at 01-Sep-2025 07:02:35 PM"},{"type":"text","text":"Issue -2"},{"type":"text","text":"Raj Kumar Pativada"},{"type":"text","text":"https://qa-staging.oqsha.com/#/work-permit/view/3248?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/AMR/ABCCON/AP/25/00001"},{"type":"text","text":"02-Sep-2025"},{"type":"text","text":"app work permit"},{"type":"text","text":"Amritsar"},{"type":"text","text":" "},{"type":"text","text":"Requested -3 by Raj Kumar Pativada at 01-Sep-2025 07:02:35 PM"},{"type":"text","text":"Issue -2"},{"type":"text","text":"Raj Kumar Pativada"},{"type":"text","text":"https://qa-staging.oqsha.com/#/work-permit/view/3248?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/AMR/ABCCON/AP/25/00001"},{"type":"text","text":"02-Sep-2025"},{"type":"text","text":"app work permit"},{"type":"text","text":"Amritsar"},{"type":"text","text":" "},{"type":"text","text":"Requested -3 by Raj Kumar Pativada at 01-Sep-2025 07:02:35 PM"},{"type":"text","text":"Issue -2"},{"type":"text","text":"Raj Kumar Pativada"},{"type":"text","text":"https://qa-staging.oqsha.com/#/work-permit/view/3248?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/AMR/ABCCON/AP/25/00001"},{"type":"text","text":"02-Sep-2025"},{"type":"text","text":"app work permit"},{"type":"text","text":"Amritsar"},{"type":"text","text":" "},{"type":"text","text":"Requested -3 by Raj Kumar Pativada at 01-Sep-2025 07:02:35 PM"},{"type":"text","text":"Issue -2"},{"type":"text","text":"Raj Kumar Pativada"},{"type":"text","text":"https://qa-staging.oqsha.com/#/work-permit/view/3248?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/AMR/ABCCON/AP/25/00001"},{"type":"text","text":"02-Sep-2025"},{"type":"text","text":"app work permit"},{"type":"text","text":"Amritsar"},{"type":"text","text":" "},{"type":"text","text":"Requested -3 by Raj Kumar Pativada at 01-Sep-2025 07:02:35 PM"},{"type":"text","text":"Issue -2"},{"type":"text","text":"Raj Kumar Pativada"},{"type":"text","text":"https://qa-staging.oqsha.com/#/work-permit/view/3248?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 #


Twilio WhatsApp Message has been Sent


Message : {"EventName":"INVESTIGATION_SUBMITTED_NOTIFICATION","EventArgs":[{"Key":"UserId","Value":"1761"},{"Key":"IncidentId","Value":"215"},{"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/III/25/00029


--- 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 Notification Sender Program.cs Execution ###


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


### Start Event Execution ###


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


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


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


Calling Send Email Function for Update User Email


Initializing Email Service Client


Generating Email Request


Your OQSHA Access Has Been Updated


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


--- Email response from Osmo-x is 201


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


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


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


Message : {"EventName":"PASSWORD_RESET","EventArgs":[{"Key":"DisplayName","Value":null},{"Key":"Password","Value":"L!QWHrF4"},{"Key":"Email","Value":"sayanm2807@gmail.com"}]}


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


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


Calling Send Email Function for Reset Password Email


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


Reading and binding data to Email Template


Your password is reset


### End Event Execution ###


### Start Event Execution ###


Message : {"EventName":"PASSWORD_RESET","EventArgs":[{"Key":"DisplayName","Value":null},{"Key":"Password","Value":"%3KRDa2N"},{"Key":"Email","Value":"sayanm2807@gmail.com"}]}


Initializing Email Service Client


Generating Email Request


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


--- Email response from Osmo-x is 201


Message : {"EventName":"PASSWORD_RESET","EventArgs":[{"Key":"DisplayName","Value":null},{"Key":"Password","Value":"!i3NKbz%"},{"Key":"Email","Value":"sayanm2807@gmail.com"}]}


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


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


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


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


Sending WhatsApp notification for task assignment to user ID: 1


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


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


### End Event Execution ###


### Start Event Execution ###


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


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


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


Calling Send Email Function for Update User Email


Initializing Email Service Client


Generating Email Request


Your OQSHA Access Has Been Updated


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


--- Email response from Osmo-x is 201


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


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


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


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


Reading and binding data to Email Template