Message : {"EventName":"WORK_PERMIT_APPROVED_INFORM_TO_CREATOR_NOTIFICATION","EventArgs":[{"Key":"CreatorId","Value":"1"},{"Key":"ApproverName","Value":"Lalit Aditya Kola"},{"Key":"WorkPermitId","Value":"250"},{"Key":"WorkPermitUid","Value":"WP/TTK/COI/HOK/25/00095"},{"Key":"SiteName","Value":"Coimbatore"},{"Key":"OrganisationName","Value":"TTK Beta - QA"},{"Key":"ApprovedOn","Value":"18-Sep-2025 10:23:50 AM"},{"Key":"OrgId","Value":387}]}


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


# Calling SendWorkPermitApprovedInformToCreatorNotification function for email #


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


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


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


Reading and binding data to Email Template


Initializing Email Service Client


Generating Email Request


Lalit Aditya Kola has Approved your Work Permit


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


--- Email response from Osmo-x is 201


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


Sending WhatsApp for WorkPermit to user: 1


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"919160948627","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"oqsha_work_permit_approved_inform_to","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"Raj Kumar Pativada"},{"type":"text","text":"Lalit Aditya Kola"},{"type":"text","text":"WP/TTK/COI/HOK/25/00095"},{"type":"text","text":"Coimbatore"},{"type":"text","text":"TTK Beta - QA"},{"type":"text","text":"18-Sep-2025 10:23:50 AM"},{"type":"text","text":"https://qa-staging-2.oqsha.com//#/work-permit/view/387/250&dlType=viewWorkPermit"},{"type":"text","text":"EHS Department - TTK Private Limited"}]}]}}}


Osmo-x WhatsApp Message has been Sent


### End Event Execution ###


### Start Event Execution ###


Message : {"EventName":"WORK_PERMIT_EXTENSION_INFORMATION_NOTIFICATION","EventArgs":[{"Key":"UserIds","Value":"[1,1954]"},{"Key":"InitiatorName","Value":"Raj Kumar Pativada"},{"Key":"ExtensionHours","Value":8},{"Key":"WorkPermitUid","Value":"WP/TTK/COI/HOK/25/00095"},{"Key":"SiteName","Value":"Coimbatore"},{"Key":"OrganisationName","Value":"TTK Beta - QA"},{"Key":"ExtensionTakenOn","Value":"18-Sep-2025 10:24:26 AM"},{"Key":"WorkPermitId","Value":"250"},{"Key":"OrgId","Value":387}]}


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


# Calling SendWorkPermitApprovalInvitationNotification function for email/WhatsApp #


Executing email notifications to WorkPermit Approvers about the Extension Information


Error occurred while sending email using Osmo-x.


Executing whatsapp notifications to WorkPermit Approvers about the Extension Information


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"919160948627","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"oqsha_workpermit_approver_notification","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"Raj Kumar Pativada"},{"type":"text","text":"Raj Kumar Pativada"},{"type":"text","text":"8"},{"type":"text","text":"WP/TTK/COI/HOK/25/00095"},{"type":"text","text":"Coimbatore"},{"type":"text","text":"TTK Beta - QA"},{"type":"text","text":"18-Sep-2025 10:24:26 AM"},{"type":"text","text":"https://qa-staging-2.oqsha.com//#/work-permit/view/387/250&dlType=viewWorkPermit"},{"type":"text","text":"EHS Department - TTK Private Limited"}]}]}}}


Sending WhatsApp for WorkPermit to user: 1954


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"919989248964","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"oqsha_workpermit_approver_notification","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"Lalit Aditya Kola"},{"type":"text","text":"Raj Kumar Pativada"},{"type":"text","text":"8"},{"type":"text","text":"WP/TTK/COI/HOK/25/00095"},{"type":"text","text":"Coimbatore"},{"type":"text","text":"TTK Beta - QA"},{"type":"text","text":"18-Sep-2025 10:24:26 AM"},{"type":"text","text":"https://qa-staging-2.oqsha.com//#/work-permit/view/387/250&dlType=viewWorkPermit"},{"type":"text","text":"EHS Department - TTK Private Limited"}]}]}}}


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


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


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


Calling Send Email Function for Update User Email


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


Reading and binding data to Email Template


Initializing Email Service Client


Generating Email Request


Your OQSHA Access Has Been Updated

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


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


--- Email response from Osmo-x is 201


### End Event Execution ###


### Start Event Execution ###


Message : {"EventName":"Update_APP_USER","EventArgs":[{"Key":"DisplayName","Value":"Sayan Mondal"},{"Key":"Password","Value":""},{"Key":"OrganisationName","Value":"TTK Beta - QA"},{"Key":"UserUid","Value":"8967697371"},{"Key":"UserDivisions","Value":"Near Miss, Unsafe Act, Unsafe Condition"},{"Key":"UserIncidentSites","Value":"Coimbatore, Hosur, Khadri, New delhi, Regression, Roorkee, SamarSite, site - 2, Sshristi, Testing site, TTK Beta, Ttk Pwa Site"},{"Key":"Email","Value":"sayanm2807@gmail.com"},{"Key":"MobileNumber","Value":"+918967697371"}]}


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


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


Your OQSHA Access Has Been Updated


Message : {"EventName":"WORK_PERMIT_EXTENSION_INFORMATION_NOTIFICATION","EventArgs":[{"Key":"UserIds","Value":"[1]"},{"Key":"InitiatorName","Value":"Raj Kumar Pativada"},{"Key":"ExtensionHours","Value":23},{"Key":"WorkPermitUid","Value":"WP/TTK/COI/RWW/25/00009"},{"Key":"SiteName","Value":"Coimbatore"},{"Key":"OrganisationName","Value":"TTK Beta - QA"},{"Key":"ExtensionTakenOn","Value":"18-Sep-2025 10:52:45 AM"},{"Key":"WorkPermitId","Value":"210"},{"Key":"OrgId","Value":387}]}


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


# Calling SendWorkPermitApprovalInvitationNotification function for email/WhatsApp #


Executing email notifications to WorkPermit Approvers about the Extension Information


Error occurred while sending email using Osmo-x.


Executing whatsapp notifications to WorkPermit Approvers about the Extension Information


Sending WhatsApp for WorkPermit to user: 1


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"919160948627","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"oqsha_workpermit_approver_notification","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"Raj Kumar Pativada"},{"type":"text","text":"Raj Kumar Pativada"},{"type":"text","text":"23"},{"type":"text","text":"WP/TTK/COI/RWW/25/00009"},{"type":"text","text":"Coimbatore"},{"type":"text","text":"TTK Beta - QA"},{"type":"text","text":"18-Sep-2025 10:52:45 AM"},{"type":"text","text":"https://qa-staging-2.oqsha.com//#/work-permit/view/387/210&dlType=viewWorkPermit"},{"type":"text","text":"EHS Department - TTK Private Limited"}]}]}}}


Osmo-x WhatsApp Message has been Sent


Message : {"EventName":"Update_USER","EventArgs":[{"Key":"DisplayName","Value":"lalit k"},{"Key":"Password","Value":"NJD80Z82"},{"Key":"OrganisationName","Value":"Aparna Constructions"},{"Key":"UserDivisions","Value":"Asset Related Category, Dancing Category, Electrical Hazard, King Kong, Latest Category. edit, New Ticket Category, New ticket category July 07, New ticket category june, New tickettype edit, Running, Stuck in Depth, Stuck in Depth- Short, Test, Test Category2, test ticket category 45, trfhulk,;."},{"Key":"UserIncidentSites","Value":"5.4.15 Old App Testing ( dont delete)"},{"Key":"OldEmail","Value":""},{"Key":"Email","Value":"abc@gnail.com"}]}


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


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


Calling Send Email Function for Update User Email


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


Reading and binding data to Email Template


Initializing Email Service Client


Generating Email Request


Your OQSHA Access Has Been Updated


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


--- Email response from Osmo-x is 201


### End Event Execution ###


### Start Event Execution ###


Message : {"EventName":"Update_APP_USER","EventArgs":[{"Key":"DisplayName","Value":"lalit k"},{"Key":"Password","Value":""},{"Key":"OrganisationName","Value":"Aparna Constructions"},{"Key":"UserUid","Value":""},{"Key":"UserDivisions","Value":"Asset Related Category, Dancing Category, Electrical Hazard, King Kong, Latest Category. edit, New Ticket Category, New ticket category July 07, New ticket category june, New tickettype edit, Running, Stuck in Depth, Stuck in Depth- Short, Test, Test Category2, test ticket category 45, trfhulk,;."},{"Key":"UserIncidentSites","Value":"5.4.15 Old App Testing ( dont delete)"},{"Key":"Email","Value":"abc@gnail.com"},{"Key":"MobileNumber","Value":"+919848374532"}]}


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


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


Message : {"EventName":"Update_USER","EventArgs":[{"Key":"DisplayName","Value":"lalit k"},{"Key":"Password","Value":""},{"Key":"OrganisationName","Value":"Aparna Constructions"},{"Key":"UserDivisions","Value":"Asset Related Category, Dancing Category, Electrical Hazard, King Kong, Latest Category. edit, New Ticket Category, New ticket category July 07, New ticket category june, New tickettype edit, Running, Stuck in Depth, Stuck in Depth- Short, Test, Test Category2, test ticket category 45, trfhulk,;."},{"Key":"UserIncidentSites","Value":"5.4.15 Old App Testing ( dont delete)"},{"Key":"OldEmail","Value":""},{"Key":"Email","Value":"abc@gnail.com"}]}


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


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


# Calling SendNotificationForWorkPermitCreation function for email/WhatsApp #


Executing email and WhatsApp notifications to WorkPermit approvers


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


New Work Permit Assigned


Sending WorkPermit creation WhatsApp message to: 919989248964


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"919989248964","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"oqsha_work_permit_creation_alert","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"Lalit Aditya Kola"},{"type":"text","text":"WP/TTK/COI/CWW/25/00021"},{"type":"text","text":"Coimbatore"},{"type":"text","text":"TTK Beta - QA"},{"type":"text","text":"Raj Kumar Pativada"},{"type":"text","text":"https://qa-staging-2.oqsha.com//#/work-permit/view/387/251&dlType=viewWorkPermit"},{"type":"text","text":"EHS Department - TTK Private Limited"}]}]}}}


Osmo-x WhatsApp Message has been Sent


Message : {"EventName":"Update_USER","EventArgs":[{"Key":"DisplayName","Value":"lalit k"},{"Key":"Password","Value":""},{"Key":"OrganisationName","Value":"Aparna Constructions"},{"Key":"UserDivisions","Value":"Asset Related Category, Electrical Hazard"},{"Key":"UserIncidentSites","Value":"5.4.15 Old App Testing ( dont delete)"},{"Key":"OldEmail","Value":""},{"Key":"Email","Value":"abc@gnail.com"}]}


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


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


Calling Send Email Function for Update User Email


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


Reading and binding data to Email Template


Initializing Email Service Client


Generating Email Request


Your OQSHA Access Has Been Updated


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


--- Email response from Osmo-x is 201


### End Event Execution ###


### Start Event Execution ###


Message : {"EventName":"Update_APP_USER","EventArgs":[{"Key":"DisplayName","Value":"lalit k"},{"Key":"Password","Value":""},{"Key":"OrganisationName","Value":"Aparna Constructions"},{"Key":"UserUid","Value":""},{"Key":"UserDivisions","Value":"Asset Related Category, Electrical Hazard"},{"Key":"UserIncidentSites","Value":"5.4.15 Old App Testing ( dont delete)"},{"Key":"Email","Value":"abc@gnail.com"},{"Key":"MobileNumber","Value":"+919848374532"}]}


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


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


Message : {"EventName":"Update_USER","EventArgs":[{"Key":"DisplayName","Value":"lalit k"},{"Key":"Password","Value":""},{"Key":"OrganisationName","Value":"Aparna Constructions"},{"Key":"UserDivisions","Value":"Dancing Category, Electrical Hazard, Asset Related Category, New Ticket Category, Latest Category. edit"},{"Key":"UserIncidentSites","Value":"5.4.15 Old App Testing ( dont delete)"},{"Key":"OldEmail","Value":""},{"Key":"Email","Value":"abc@gnail.com"}]}


Message : {"EventName":"Update_APP_USER","EventArgs":[{"Key":"DisplayName","Value":"lalit k"},{"Key":"Password","Value":""},{"Key":"OrganisationName","Value":"Aparna Constructions"},{"Key":"UserUid","Value":""},{"Key":"UserDivisions","Value":"Dancing Category, Electrical Hazard, Asset Related Category, New Ticket Category, Latest Category. edit"},{"Key":"UserIncidentSites","Value":"5.4.15 Old App Testing ( dont delete)"},{"Key":"Email","Value":"abc@gnail.com"},{"Key":"MobileNumber","Value":"+919848374532"}]}


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


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


# Calling SendNotificationForWorkPermitCreation function for email/WhatsApp #


Executing email and WhatsApp notifications to WorkPermit approvers


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


Initializing Email Service Client


Generating Email Request


New Work Permit Assigned


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


--- Email response from Osmo-x is 201


Sending WorkPermit creation WhatsApp message to: 919989248964


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"919989248964","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"oqsha_work_permit_creation_alert","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"Lalit Aditya Kola"},{"type":"text","text":"WP/TTK/COI/CWW/25/00022"},{"type":"text","text":"Coimbatore"},{"type":"text","text":"TTK Beta - QA"},{"type":"text","text":"Raj Kumar Pativada"},{"type":"text","text":"https://qa-staging-2.oqsha.com//#/work-permit/view/387/252&dlType=viewWorkPermit"},{"type":"text","text":"EHS Department - TTK Private Limited"}]}]}}}


Osmo-x WhatsApp Message has been Sent


### End Event Execution ###


### Start Event Execution ###


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


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"919989248964","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"oqsha_work_permit_creation_alert","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"Lalit Aditya Kola"},{"type":"text","text":"WP/TTK/COI/CWW/25/00023"},{"type":"text","text":"Coimbatore"},{"type":"text","text":"TTK Beta - QA"},{"type":"text","text":"Raj Kumar Pativada"},{"type":"text","text":"https://qa-staging-2.oqsha.com//#/work-permit/view/387/253&dlType=viewWorkPermit"},{"type":"text","text":"EHS Department - TTK Private Limited"}]}]}}}


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


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


Reading and binding data to Email Template


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"919989248964","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"oqsha_work_permit_creation_alert","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"Lalit Aditya Kola"},{"type":"text","text":"WP/TTK/COI/CWW/25/00024"},{"type":"text","text":"Coimbatore"},{"type":"text","text":"TTK Beta - QA"},{"type":"text","text":"Raj Kumar Pativada"},{"type":"text","text":"https://qa-staging-2.oqsha.com//#/work-permit/view/387/254&dlType=viewWorkPermit"},{"type":"text","text":"EHS Department - TTK Private Limited"}]}]}}}


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


Initializing Email Service Client


Generating Email Request


New Work Permit Assigned


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


--- Email response from Osmo-x is 201


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"919989248964","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"oqsha_work_permit_creation_alert","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"Lalit Aditya Kola"},{"type":"text","text":"WP/TTK/COI/CWW/25/00025"},{"type":"text","text":"Coimbatore"},{"type":"text","text":"TTK Beta - QA"},{"type":"text","text":"Raj Kumar Pativada"},{"type":"text","text":"https://qa-staging-2.oqsha.com//#/work-permit/view/387/255&dlType=viewWorkPermit"},{"type":"text","text":"EHS Department - TTK Private Limited"}]}]}}}


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


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"919989248964","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"oqsha_work_permit_creation_alert","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"Lalit Aditya Kola"},{"type":"text","text":"WP/TTK/COI/CWW/25/00026"},{"type":"text","text":"Coimbatore"},{"type":"text","text":"TTK Beta - QA"},{"type":"text","text":"Raj Kumar Pativada"},{"type":"text","text":"https://qa-staging-2.oqsha.com//#/work-permit/view/387/256&dlType=viewWorkPermit"},{"type":"text","text":"EHS Department - TTK Private Limited"}]}]}}}


Osmo-x WhatsApp Message has been Sent


### End Event Execution ###


### Start Event Execution ###


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


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


# Calling SendNotificationForWorkPermitCreation function for email/WhatsApp #


Executing email and WhatsApp notifications to WorkPermit approvers


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


Sending WorkPermit creation WhatsApp message to: 919989248964


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"919989248964","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"oqsha_work_permit_creation_alert","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"Lalit Aditya Kola"},{"type":"text","text":"WP/TTK/COI/CWW/25/00027"},{"type":"text","text":"Coimbatore"},{"type":"text","text":"TTK Beta - QA"},{"type":"text","text":"Raj Kumar Pativada"},{"type":"text","text":"https://qa-staging-2.oqsha.com//#/work-permit/view/387/257&dlType=viewWorkPermit"},{"type":"text","text":"EHS Department - TTK Private Limited"}]}]}}}


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


Initializing Email Service Client


Generating Email Request


New Work Permit Assigned


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


--- Email response from Osmo-x is 201


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"919989248964","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"oqsha_work_permit_creation_alert","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"Lalit Aditya Kola"},{"type":"text","text":"WP/TTK/COI/CWW/25/00028"},{"type":"text","text":"Coimbatore"},{"type":"text","text":"TTK Beta - QA"},{"type":"text","text":"Raj Kumar Pativada"},{"type":"text","text":"https://qa-staging-2.oqsha.com//#/work-permit/view/387/258&dlType=viewWorkPermit"},{"type":"text","text":"EHS Department - TTK Private Limited"}]}]}}}


Osmo-x WhatsApp Message has been Sent


### End Event Execution ###


### Start Event Execution ###


Message : {"EventName":"Update_USER","EventArgs":[{"Key":"DisplayName","Value":"lalit k"},{"Key":"Password","Value":""},{"Key":"OrganisationName","Value":"Aparna Constructions"},{"Key":"UserDivisions","Value":"Dancing Category, Electrical Hazard, Asset Related Category, New Ticket Category, Latest Category. edit"},{"Key":"UserIncidentSites","Value":"5.4.15 Old App Testing ( dont delete)"},{"Key":"OldEmail","Value":""},{"Key":"Email","Value":"abc@gnail.com"}]}


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


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


Calling Send Email Function for Update User Email


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


Reading and binding data to Email Template


Your OQSHA Access Has Been Updated


Message : {"EventName":"Update_APP_USER","EventArgs":[{"Key":"DisplayName","Value":"lalit k"},{"Key":"Password","Value":""},{"Key":"OrganisationName","Value":"Aparna Constructions"},{"Key":"UserUid","Value":""},{"Key":"UserDivisions","Value":"Dancing Category, Electrical Hazard, Asset Related Category, New Ticket Category, Latest Category. edit"},{"Key":"UserIncidentSites","Value":"5.4.15 Old App Testing ( dont delete)"},{"Key":"Email","Value":"abc@gnail.com"},{"Key":"MobileNumber","Value":"+919848374532"}]}


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


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


Initializing Email Service Client


Generating Email Request


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


--- Email response from Osmo-x is 201


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


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


# Calling SendNotificationForWorkPermitCreation function for email/WhatsApp #


Executing email and WhatsApp notifications to WorkPermit approvers


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


New Work Permit Assigned


Sending WorkPermit creation WhatsApp message to: 919989248964


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"919989248964","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"oqsha_work_permit_creation_alert","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"Lalit Aditya Kola"},{"type":"text","text":"WP/TTK/COI/CWW/25/00029"},{"type":"text","text":"Coimbatore"},{"type":"text","text":"TTK Beta - QA"},{"type":"text","text":"Raj Kumar Pativada"},{"type":"text","text":"https://qa-staging-2.oqsha.com//#/work-permit/view/387/259&dlType=viewWorkPermit"},{"type":"text","text":"EHS Department - TTK Private Limited"}]}]}}}


Osmo-x WhatsApp Message has been Sent


### End Event Execution ###


### Start Event Execution ###


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


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"919160948627","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"oqsha_ticket_inform_to_template_v3","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"Raj Kumar Pativada"},{"type":"text","text":"Safety Alert"},{"type":"text","text":"T/TTK/NMM/25/00102"},{"type":"text","text":"ticket testing "},{"type":"text","text":"Coimbatore"},{"type":"text","text":"Near Miss"},{"type":"text","text":"Mohit Pargaie"},{"type":"text","text":"TTK Beta - QA"},{"type":"text","text":"Open"},{"type":"text","text":"https://qa-staging-2.oqsha.com/#/incidents/view/387/21324?dlType=viewTicket"},{"type":"text","text":"EHS Department - TTK Private Limited"}]}]}}}


Generating Safety Alert report.


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


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


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


Message : {"EventName":"INFORM_TO_INCIDENT_CREATION_NOTIFICATION","EventArgs":[{"Key":"IncidentId","Value":21324},{"Key":"InformToUserId","Value":2547}]}


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


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


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


Osmo-x WhatsApp Message has been Sent


### End Event Execution ###


### Start Event Execution ###


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


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


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


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


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


Reading and binding data to Email Template


Initializing Email Service Client


Generating Email Request


A Ticket T/APR/EHH/25/00003 is assigned to you related to 'Electrical Hazard'


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


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


Osmo-x WhatsApp Message has been Sent


# Preparing notification body #


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


### End Event Execution ###


### Start Event Execution ###


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


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


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"917273883504","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"oqsha_ticket_update_whatsapp_template_v4","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"Abhinav Srivastava"},{"type":"text","text":"Ticket"},{"type":"text","text":"T/APR/LCC/25/00093"},{"type":"text","text":"Ticket status updated to Closed"},{"type":"text","text":"Ticket"},{"type":"text","text":"From PWA "},{"type":"text","text":"Aparna Sarovar"},{"type":"text","text":"Latest Category. edit"},{"type":"text","text":"moonika l"},{"type":"text","text":"Aparna Constructions"},{"type":"text","text":"Closed"},{"type":"text","text":"https://qa-staging-2.oqsha.com/#/incidents/view/310/21289?dlType=viewTicket"},{"type":"text","text":"EHS Department - Aparna Constructions"}]}]}}}


Osmo-x WhatsApp Message has been Sent


# Preparing notification body #


### Ended processing Update incident Event ###


### End Event Execution ###