Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"917439381194","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"ptw_history_comments_latest_v2","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"P/APR/abd/ABCCON/BL/25/00011"},{"type":"text","text":"11-Jul-2025"},{"type":"text","text":"Blasting Work"},{"type":"text","text":"Aparna New Site"},{"type":"text","text":" "},{"type":"text","text":"jkhvb."},{"type":"text","text":"Raj Kumar Pativada at 16-Sep-2025 11:06:50 AM"},{"type":"text","text":"https://qa-staging-2.oqsha.com/#/work-permit/view/2793?orgID=310&dlType=viewWorkPermit"}]}]}}}


Osmo-x WhatsApp Message has been Sent


Sending notification to reviewer of the comapny regarding permit to work 2793


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"917408681257","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"ptw_history_comments_latest_v2","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"P/APR/abd/ABCCON/BL/25/00011"},{"type":"text","text":"11-Jul-2025"},{"type":"text","text":"Blasting Work"},{"type":"text","text":"Aparna New Site"},{"type":"text","text":" "},{"type":"text","text":"jkhvb."},{"type":"text","text":"Raj Kumar Pativada at 16-Sep-2025 11:06:50 AM"},{"type":"text","text":"https://qa-staging-2.oqsha.com/#/work-permit/view/2793?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_history_comments_latest_v2","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"P/APR/abd/ABCCON/BL/25/00011"},{"type":"text","text":"11-Jul-2025"},{"type":"text","text":"Blasting Work"},{"type":"text","text":"Aparna New Site"},{"type":"text","text":" "},{"type":"text","text":"jkhvb."},{"type":"text","text":"Raj Kumar Pativada at 16-Sep-2025 11:06:50 AM"},{"type":"text","text":"https://qa-staging-2.oqsha.com/#/work-permit/view/2793?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_history_comments_latest_v2","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"P/APR/abd/ABCCON/BL/25/00011"},{"type":"text","text":"11-Jul-2025"},{"type":"text","text":"Blasting Work"},{"type":"text","text":"Aparna New Site"},{"type":"text","text":" "},{"type":"text","text":"jkhvb."},{"type":"text","text":"Raj Kumar Pativada at 16-Sep-2025 11:06:50 AM"},{"type":"text","text":"https://qa-staging-2.oqsha.com/#/work-permit/view/2793?orgID=310&dlType=viewWorkPermit"}]}]}}}


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"917223964176","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"ptw_history_comments_latest_v2","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"P/APR/abd/ABCCON/BL/25/00011"},{"type":"text","text":"11-Jul-2025"},{"type":"text","text":"Blasting Work"},{"type":"text","text":"Aparna New Site"},{"type":"text","text":" "},{"type":"text","text":"jkhvb."},{"type":"text","text":"Raj Kumar Pativada at 16-Sep-2025 11:06:50 AM"},{"type":"text","text":"https://qa-staging-2.oqsha.com/#/work-permit/view/2793?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_history_comments_latest_v2","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"P/APR/abd/ABCCON/BL/25/00011"},{"type":"text","text":"11-Jul-2025"},{"type":"text","text":"Blasting Work"},{"type":"text","text":"Aparna New Site"},{"type":"text","text":" "},{"type":"text","text":"jkhvb."},{"type":"text","text":"Raj Kumar Pativada at 16-Sep-2025 11:06:50 AM"},{"type":"text","text":"https://qa-staging-2.oqsha.com/#/work-permit/view/2793?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_history_comments_latest_v2","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"P/APR/abd/ABCCON/BL/25/00011"},{"type":"text","text":"11-Jul-2025"},{"type":"text","text":"Blasting Work"},{"type":"text","text":"Aparna New Site"},{"type":"text","text":" "},{"type":"text","text":"jkhvb."},{"type":"text","text":"Raj Kumar Pativada at 16-Sep-2025 11:06:50 AM"},{"type":"text","text":"https://qa-staging-2.oqsha.com/#/work-permit/view/2793?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_history_comments_latest_v2","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"P/APR/abd/ABCCON/BL/25/00011"},{"type":"text","text":"11-Jul-2025"},{"type":"text","text":"Blasting Work"},{"type":"text","text":"Aparna New Site"},{"type":"text","text":" "},{"type":"text","text":"jkhvb."},{"type":"text","text":"Raj Kumar Pativada at 16-Sep-2025 11:06:50 AM"},{"type":"text","text":"https://qa-staging-2.oqsha.com/#/work-permit/view/2793?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_history_comments_latest_v2","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"P/APR/abd/ABCCON/BL/25/00011"},{"type":"text","text":"11-Jul-2025"},{"type":"text","text":"Blasting Work"},{"type":"text","text":"Aparna New Site"},{"type":"text","text":" "},{"type":"text","text":"jkhvb."},{"type":"text","text":"Raj Kumar Pativada at 16-Sep-2025 11:06:50 AM"},{"type":"text","text":"https://qa-staging-2.oqsha.com/#/work-permit/view/2793?orgID=310&dlType=viewWorkPermit"}]}]}}}


### End Event Execution ###


### Start Event Execution ###


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


# Calling SendNotificationForPTWHistory function for whatsapp and push notification #


Executing sending notification to reviewer through whatsapp


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"919160948627","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"ptw_history_comments_latest_v2","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"P/APR/abd/ABCCON/BL/25/00011"},{"type":"text","text":"11-Jul-2025"},{"type":"text","text":"Blasting Work"},{"type":"text","text":"Aparna New Site"},{"type":"text","text":" "},{"type":"text","text":"test."},{"type":"text","text":"Raj Kumar Pativada at 16-Sep-2025 11:07:23 AM"},{"type":"text","text":"https://qa-staging-2.oqsha.com/#/work-permit/view/2793?orgID=310&dlType=viewWorkPermit"}]}]}}}


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"917735901811","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"ptw_history_comments_latest_v2","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"P/APR/abd/ABCCON/BL/25/00011"},{"type":"text","text":"11-Jul-2025"},{"type":"text","text":"Blasting Work"},{"type":"text","text":"Aparna New Site"},{"type":"text","text":" "},{"type":"text","text":"test."},{"type":"text","text":"Raj Kumar Pativada at 16-Sep-2025 11:07:23 AM"},{"type":"text","text":"https://qa-staging-2.oqsha.com/#/work-permit/view/2793?orgID=310&dlType=viewWorkPermit"}]}]}}}


Osmo-x WhatsApp Message has been Sent


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"918209047368","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"ptw_history_comments_latest_v2","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"P/APR/abd/ABCCON/BL/25/00011"},{"type":"text","text":"11-Jul-2025"},{"type":"text","text":"Blasting Work"},{"type":"text","text":"Aparna New Site"},{"type":"text","text":" "},{"type":"text","text":"test."},{"type":"text","text":"Raj Kumar Pativada at 16-Sep-2025 11:07:23 AM"},{"type":"text","text":"https://qa-staging-2.oqsha.com/#/work-permit/view/2793?orgID=310&dlType=viewWorkPermit"}]}]}}}


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"918967697371","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"ptw_history_comments_latest_v2","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"P/APR/abd/ABCCON/BL/25/00011"},{"type":"text","text":"11-Jul-2025"},{"type":"text","text":"Blasting Work"},{"type":"text","text":"Aparna New Site"},{"type":"text","text":" "},{"type":"text","text":"test."},{"type":"text","text":"Raj Kumar Pativada at 16-Sep-2025 11:07:23 AM"},{"type":"text","text":"https://qa-staging-2.oqsha.com/#/work-permit/view/2793?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_history_comments_latest_v2","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"P/APR/abd/ABCCON/BL/25/00011"},{"type":"text","text":"11-Jul-2025"},{"type":"text","text":"Blasting Work"},{"type":"text","text":"Aparna New Site"},{"type":"text","text":" "},{"type":"text","text":"test."},{"type":"text","text":"Raj Kumar Pativada at 16-Sep-2025 11:07:23 AM"},{"type":"text","text":"https://qa-staging-2.oqsha.com/#/work-permit/view/2793?orgID=310&dlType=viewWorkPermit"}]}]}}}


Sending notification to reviewer of the comapny regarding permit to work 2793


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"918007007611","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"ptw_history_comments_latest_v2","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"P/APR/abd/ABCCON/BL/25/00011"},{"type":"text","text":"11-Jul-2025"},{"type":"text","text":"Blasting Work"},{"type":"text","text":"Aparna New Site"},{"type":"text","text":" "},{"type":"text","text":"test."},{"type":"text","text":"Raj Kumar Pativada at 16-Sep-2025 11:07:23 AM"},{"type":"text","text":"https://qa-staging-2.oqsha.com/#/work-permit/view/2793?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_history_comments_latest_v2","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"P/APR/abd/ABCCON/BL/25/00011"},{"type":"text","text":"11-Jul-2025"},{"type":"text","text":"Blasting Work"},{"type":"text","text":"Aparna New Site"},{"type":"text","text":" "},{"type":"text","text":"test."},{"type":"text","text":"Raj Kumar Pativada at 16-Sep-2025 11:07:23 AM"},{"type":"text","text":"https://qa-staging-2.oqsha.com/#/work-permit/view/2793?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_history_comments_latest_v2","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"P/APR/abd/ABCCON/BL/25/00011"},{"type":"text","text":"11-Jul-2025"},{"type":"text","text":"Blasting Work"},{"type":"text","text":"Aparna New Site"},{"type":"text","text":" "},{"type":"text","text":"test."},{"type":"text","text":"Raj Kumar Pativada at 16-Sep-2025 11:07:23 AM"},{"type":"text","text":"https://qa-staging-2.oqsha.com/#/work-permit/view/2793?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_history_comments_latest_v2","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"P/APR/abd/ABCCON/BL/25/00011"},{"type":"text","text":"11-Jul-2025"},{"type":"text","text":"Blasting Work"},{"type":"text","text":"Aparna New Site"},{"type":"text","text":" "},{"type":"text","text":"test."},{"type":"text","text":"Raj Kumar Pativada at 16-Sep-2025 11:07:23 AM"},{"type":"text","text":"https://qa-staging-2.oqsha.com/#/work-permit/view/2793?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_history_comments_latest_v2","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"P/APR/abd/ABCCON/BL/25/00011"},{"type":"text","text":"11-Jul-2025"},{"type":"text","text":"Blasting Work"},{"type":"text","text":"Aparna New Site"},{"type":"text","text":" "},{"type":"text","text":"test."},{"type":"text","text":"Raj Kumar Pativada at 16-Sep-2025 11:07:23 AM"},{"type":"text","text":"https://qa-staging-2.oqsha.com/#/work-permit/view/2793?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_history_comments_latest_v2","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"P/APR/abd/ABCCON/BL/25/00011"},{"type":"text","text":"11-Jul-2025"},{"type":"text","text":"Blasting Work"},{"type":"text","text":"Aparna New Site"},{"type":"text","text":" "},{"type":"text","text":"test."},{"type":"text","text":"Raj Kumar Pativada at 16-Sep-2025 11:07:23 AM"},{"type":"text","text":"https://qa-staging-2.oqsha.com/#/work-permit/view/2793?orgID=310&dlType=viewWorkPermit"}]}]}}}


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"917223964176","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"ptw_history_comments_latest_v2","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"P/APR/abd/ABCCON/BL/25/00011"},{"type":"text","text":"11-Jul-2025"},{"type":"text","text":"Blasting Work"},{"type":"text","text":"Aparna New Site"},{"type":"text","text":" "},{"type":"text","text":"test."},{"type":"text","text":"Raj Kumar Pativada at 16-Sep-2025 11:07:23 AM"},{"type":"text","text":"https://qa-staging-2.oqsha.com/#/work-permit/view/2793?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_history_comments_latest_v2","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"P/APR/abd/ABCCON/BL/25/00011"},{"type":"text","text":"11-Jul-2025"},{"type":"text","text":"Blasting Work"},{"type":"text","text":"Aparna New Site"},{"type":"text","text":" "},{"type":"text","text":"test."},{"type":"text","text":"Raj Kumar Pativada at 16-Sep-2025 11:07:23 AM"},{"type":"text","text":"https://qa-staging-2.oqsha.com/#/work-permit/view/2793?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_history_comments_latest_v2","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"P/APR/abd/ABCCON/BL/25/00011"},{"type":"text","text":"11-Jul-2025"},{"type":"text","text":"Blasting Work"},{"type":"text","text":"Aparna New Site"},{"type":"text","text":" "},{"type":"text","text":"test."},{"type":"text","text":"Raj Kumar Pativada at 16-Sep-2025 11:07:23 AM"},{"type":"text","text":"https://qa-staging-2.oqsha.com/#/work-permit/view/2793?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_history_comments_latest_v2","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"P/APR/abd/ABCCON/BL/25/00011"},{"type":"text","text":"11-Jul-2025"},{"type":"text","text":"Blasting Work"},{"type":"text","text":"Aparna New Site"},{"type":"text","text":" "},{"type":"text","text":"test."},{"type":"text","text":"Raj Kumar Pativada at 16-Sep-2025 11:07:23 AM"},{"type":"text","text":"https://qa-staging-2.oqsha.com/#/work-permit/view/2793?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_history_comments_latest_v2","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"P/APR/abd/ABCCON/BL/25/00011"},{"type":"text","text":"11-Jul-2025"},{"type":"text","text":"Blasting Work"},{"type":"text","text":"Aparna New Site"},{"type":"text","text":" "},{"type":"text","text":"test."},{"type":"text","text":"Raj Kumar Pativada at 16-Sep-2025 11:07:23 AM"},{"type":"text","text":"https://qa-staging-2.oqsha.com/#/work-permit/view/2793?orgID=310&dlType=viewWorkPermit"}]}]}}}


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


Osmo-x WhatsApp Message has been Sent


Sending Task Assignment Email for TaskId: 3717, UserId: 2072


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


Reading and binding data to Email Template


Initializing Email Service Client


Generating Email Request


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


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


--- Email response from Osmo-x is 201


Message : {"EventName":"Update_USER","EventArgs":[{"Key":"DisplayName","Value":"Mounika Laisetti"},{"Key":"Password","Value":""},{"Key":"OrganisationName","Value":"TTK Beta - QA"},{"Key":"UserDivisions","Value":"Near Miss, Observation, Unsafe Act, Unsafe Condition"},{"Key":"UserIncidentSites","Value":"Coimbatore"},{"Key":"OldEmail","Value":""},{"Key":"Email","Value":"mounika.l@osmosys.co"}]}


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


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


Calling Send Email Function for Update User Email


Your OQSHA Access Has Been Updated


### End Event Execution ###


### Start Event Execution ###


Message : {"EventName":"Update_APP_USER","EventArgs":[{"Key":"DisplayName","Value":"Mounika Laisetti"},{"Key":"Password","Value":""},{"Key":"OrganisationName","Value":"TTK Beta - QA"},{"Key":"UserUid","Value":""},{"Key":"UserDivisions","Value":"Near Miss, Observation, Unsafe Act, Unsafe Condition"},{"Key":"UserIncidentSites","Value":"Coimbatore"},{"Key":"Email","Value":"mounika.l@osmosys.co"},{"Key":"MobileNumber","Value":"+918179415544"}]}


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


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


Message : {"EventName":"Update_USER","EventArgs":[{"Key":"DisplayName","Value":"Kumar Samarjeet"},{"Key":"Password","Value":""},{"Key":"OrganisationName","Value":"TTK Beta - QA"},{"Key":"UserDivisions","Value":"Near Miss, Observation, Unsafe Act, Unsafe Condition"},{"Key":"UserIncidentSites","Value":"Coimbatore, Hosur, Khadri, 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, Observation, Unsafe Act, Unsafe Condition"},{"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"}]}


Initializing Email Service Client


Generating Email Request


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


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


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


Executing email notifications to Incident Approvers about the Pending approval


A new incident has been reported

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


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


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"9145454545454","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"oqsha_incident_submitted_v2","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"Mounika Consent"},{"type":"text","text":"IMF/TTK/COI/III/25/00099"},{"type":"text","text":"Raj Kumar Pativada"},{"type":"text","text":"15-Sep-2025 10:42:00 PM"},{"type":"text","text":"Coimbatore"},{"type":"text","text":"Create Incident from Health module. Location: "},{"type":"text","text":"0"},{"type":"text","text":"https://oqsha.com/#/incident-management/report-incident/view/392"},{"type":"text","text":"EHS Department - TTK Private Limited"}]}]}}}


Osmo-x WhatsApp Message has been Sent


### Ended processing Incident Submitted Event ###


### End Event Execution ###


### Start Event Execution ###


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


Reading and binding data to Email Template


Initializing Email Service Client


Generating Email Request


Your OQSHA Access Has Been Updated


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


# Calling SendNotificationToTaskAssignees function for WhatsApp notification #


Sending WhatsApp notification for task assignment to user ID: 1761


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


New Action Tracker Assigned - TA/TTK//SCM/25/00008


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


--- Email response from Osmo-x is 201


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


New Action Tracker Assigned - TA/TTK/COI/TRF/25/00008


Osmo-x WhatsApp Message has been Sent


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


New Action Tracker Assigned - TA/TTK//TRF/25/00003


### End Event Execution ###


### Start Event Execution ###


Sending WhatsApp notification for task assignment to user ID: 1954


Sending Task Assignment Email for TaskId: 3726, UserId: 1954


Initializing Email Service Client


Generating Email Request


New Action Tracker Assigned - TA/TTK/COI/TRF/25/00011


Message : {"EventName":"NOTIFICATION_FOR_WORK_PERMIT_CREATION","EventArgs":[{"Key":"WorkPermitId","Value":"161"},{"Key":"ApproverIds","Value":"[2448]"},{"Key":"SiteName","Value":"16 july 2025"},{"Key":"CreatedBy","Value":"Raj Kumar Pativada"},{"Key":"WorkPermitUid","Value":"WP/APR/16J/HWW/25/00007"},{"Key":"OrgId","Value":310},{"Key":"OrganisationName","Value":"Aparna Constructions"}]}


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