Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"9109354117657","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/APS/APP/MYHOME/CW/25/00003"},{"type":"text","text":"26-Sep-2025"},{"type":"text","text":"Concrete Work"},{"type":"text","text":"Apas"},{"type":"text","text":" "},{"type":"text","text":"Issued by Mounika Laisetti at 26-Sep-2025 12:57:16 PM"},{"type":"text","text":"Approve"},{"type":"text","text":"Raj Kumar Pativada"},{"type":"text","text":"https://qa-staging-2.oqsha.com/#/work-permit/view/3264?orgID=297&dlType=viewWorkPermit"}]}]}}}


Osmo-x WhatsApp Message has been Sent


Sending notification to approver of the comapny regarding permit to work 3264


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"919582670233","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/APS/APP/MYHOME/CW/25/00003"},{"type":"text","text":"26-Sep-2025"},{"type":"text","text":"Concrete Work"},{"type":"text","text":"Apas"},{"type":"text","text":" "},{"type":"text","text":"Issued by Mounika Laisetti at 26-Sep-2025 12:57:16 PM"},{"type":"text","text":"Approve"},{"type":"text","text":"Raj Kumar Pativada"},{"type":"text","text":"https://qa-staging-2.oqsha.com/#/work-permit/view/3264?orgID=297&dlType=viewWorkPermit"}]}]}}}


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"919219455633","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/APS/APP/MYHOME/CW/25/00003"},{"type":"text","text":"26-Sep-2025"},{"type":"text","text":"Concrete Work"},{"type":"text","text":"Apas"},{"type":"text","text":" "},{"type":"text","text":"Issued by Mounika Laisetti at 26-Sep-2025 12:57:16 PM"},{"type":"text","text":"Approve"},{"type":"text","text":"Raj Kumar Pativada"},{"type":"text","text":"https://qa-staging-2.oqsha.com/#/work-permit/view/3264?orgID=297&dlType=viewWorkPermit"}]}]}}}


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"917659053010","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/APS/APP/MYHOME/CW/25/00003"},{"type":"text","text":"26-Sep-2025"},{"type":"text","text":"Concrete Work"},{"type":"text","text":"Apas"},{"type":"text","text":" "},{"type":"text","text":"Issued by Mounika Laisetti at 26-Sep-2025 12:57:16 PM"},{"type":"text","text":"Approve"},{"type":"text","text":"Raj Kumar Pativada"},{"type":"text","text":"https://qa-staging-2.oqsha.com/#/work-permit/view/3264?orgID=297&dlType=viewWorkPermit"}]}]}}}


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"919999999999","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/APS/APP/MYHOME/CW/25/00003"},{"type":"text","text":"26-Sep-2025"},{"type":"text","text":"Concrete Work"},{"type":"text","text":"Apas"},{"type":"text","text":" "},{"type":"text","text":"Issued by Mounika Laisetti at 26-Sep-2025 12:57:16 PM"},{"type":"text","text":"Approve"},{"type":"text","text":"Raj Kumar Pativada"},{"type":"text","text":"https://qa-staging-2.oqsha.com/#/work-permit/view/3264?orgID=297&dlType=viewWorkPermit"}]}]}}}


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"91967845782","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/APS/APP/MYHOME/CW/25/00003"},{"type":"text","text":"26-Sep-2025"},{"type":"text","text":"Concrete Work"},{"type":"text","text":"Apas"},{"type":"text","text":" "},{"type":"text","text":"Issued by Mounika Laisetti at 26-Sep-2025 12:57:16 PM"},{"type":"text","text":"Approve"},{"type":"text","text":"Raj Kumar Pativada"},{"type":"text","text":"https://qa-staging-2.oqsha.com/#/work-permit/view/3264?orgID=297&dlType=viewWorkPermit"}]}]}}}


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"918864904164","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/APS/APP/MYHOME/CW/25/00003"},{"type":"text","text":"26-Sep-2025"},{"type":"text","text":"Concrete Work"},{"type":"text","text":"Apas"},{"type":"text","text":" "},{"type":"text","text":"Issued by Mounika Laisetti at 26-Sep-2025 12:57:16 PM"},{"type":"text","text":"Approve"},{"type":"text","text":"Raj Kumar Pativada"},{"type":"text","text":"https://qa-staging-2.oqsha.com/#/work-permit/view/3264?orgID=297&dlType=viewWorkPermit"}]}]}}}


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"91798507565","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/APS/APP/MYHOME/CW/25/00003"},{"type":"text","text":"26-Sep-2025"},{"type":"text","text":"Concrete Work"},{"type":"text","text":"Apas"},{"type":"text","text":" "},{"type":"text","text":"Issued by Mounika Laisetti at 26-Sep-2025 12:57:16 PM"},{"type":"text","text":"Approve"},{"type":"text","text":"Raj Kumar Pativada"},{"type":"text","text":"https://qa-staging-2.oqsha.com/#/work-permit/view/3264?orgID=297&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/APS/APP/MYHOME/CW/25/00003"},{"type":"text","text":"26-Sep-2025"},{"type":"text","text":"Concrete Work"},{"type":"text","text":"Apas"},{"type":"text","text":" "},{"type":"text","text":"Issued by Mounika Laisetti at 26-Sep-2025 12:57:16 PM"},{"type":"text","text":"Approve"},{"type":"text","text":"Raj Kumar Pativada"},{"type":"text","text":"https://qa-staging-2.oqsha.com/#/work-permit/view/3264?orgID=297&dlType=viewWorkPermit"}]}]}}}


### End Event Execution ###


### Start Event Execution ###


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


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


RequestBody: {  "providerId": 11,  "data": {    "to": "919160948627",    "messaging_product": "whatsapp",    "type": "template",    "template": {        "namespace": "d8bcb6bd_2ab2_439c_9d9e_947501266c77",        "name": "oqsha_audit_creation_template",        "language": {            "code": "en",            "policy": "deterministic"        },        "components": [{"type":"header","parameters":[{"type":"document","text":null,"image":null,"document":{"filename":"doc.pdf","link":"https://api-qa-staging-2.oqsha.com/attachments/temp/Audit_A_TTK_COI_TRM_25_00042_a72bef7a-86f1-4c1d-b453-6df75753cd3a.pdf"},"video":null}]},{"type":"body","parameters":[{"type":"text","text":"test 002","image":null,"document":null,"video":null},{"type":"text","text":"30-Sep-2025 06:27:51 PM","image":null,"document":null,"video":null},{"type":"text","text":"EHS Department - TTK Private Limited","image":null,"document":null,"video":null}]}]    }   }}


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


# Calling SendNotificationToAskUserConsent function for asking user consent #


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


# Calling SendNotificationToEitherReviewerOrApprover function for  whatsapp and push notification #


Starting Execution for whatsapp notification for users


Executing sending notification to users through whatsapp


Sending notification to approver of the comapny regarding permit to work 3266


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/APS/APP/MYHOME/CS/25/00001"},{"type":"text","text":"26-Sep-2025"},{"type":"text","text":"Confined Space Entry"},{"type":"text","text":"Apas"},{"type":"text","text":" "},{"type":"text","text":"Approved by Raj Kumar Pativada at 26-Sep-2025 12:58:46 PM"},{"type":"text","text":"Review"},{"type":"text","text":"Lalit Reviewer"},{"type":"text","text":"https://qa-staging-2.oqsha.com/#/work-permit/view/3266?orgID=297&dlType=viewWorkPermit"}]}]}}}


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"919560325895","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/APS/APP/MYHOME/CS/25/00001"},{"type":"text","text":"26-Sep-2025"},{"type":"text","text":"Confined Space Entry"},{"type":"text","text":"Apas"},{"type":"text","text":" "},{"type":"text","text":"Approved by Raj Kumar Pativada at 26-Sep-2025 12:58:46 PM"},{"type":"text","text":"Review"},{"type":"text","text":"Lalit Reviewer"},{"type":"text","text":"https://qa-staging-2.oqsha.com/#/work-permit/view/3266?orgID=297&dlType=viewWorkPermit"}]}]}}}


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"917905588778","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/APS/APP/MYHOME/CS/25/00001"},{"type":"text","text":"26-Sep-2025"},{"type":"text","text":"Confined Space Entry"},{"type":"text","text":"Apas"},{"type":"text","text":" "},{"type":"text","text":"Approved by Raj Kumar Pativada at 26-Sep-2025 12:58:46 PM"},{"type":"text","text":"Review"},{"type":"text","text":"Lalit Reviewer"},{"type":"text","text":"https://qa-staging-2.oqsha.com/#/work-permit/view/3266?orgID=297&dlType=viewWorkPermit"}]}]}}}


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"919959835508","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/APS/APP/MYHOME/CS/25/00001"},{"type":"text","text":"26-Sep-2025"},{"type":"text","text":"Confined Space Entry"},{"type":"text","text":"Apas"},{"type":"text","text":" "},{"type":"text","text":"Approved by Raj Kumar Pativada at 26-Sep-2025 12:58:46 PM"},{"type":"text","text":"Review"},{"type":"text","text":"Lalit Reviewer"},{"type":"text","text":"https://qa-staging-2.oqsha.com/#/work-permit/view/3266?orgID=297&dlType=viewWorkPermit"}]}]}}}


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"918967697371","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"ptw_assigned_to_generic_template_v4","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"P/APS/APP/MYHOME/CS/25/00001"},{"type":"text","text":"26-Sep-2025"},{"type":"text","text":"Confined Space Entry"},{"type":"text","text":"Apas"},{"type":"text","text":" "},{"type":"text","text":"Approved by Raj Kumar Pativada at 26-Sep-2025 12:58:46 PM"},{"type":"text","text":"Review"},{"type":"text","text":"Lalit Reviewer"},{"type":"text","text":"https://qa-staging-2.oqsha.com/#/work-permit/view/3266?orgID=297&dlType=viewWorkPermit"}]}]}}}


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"919000187652","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/APS/APP/MYHOME/CS/25/00001"},{"type":"text","text":"26-Sep-2025"},{"type":"text","text":"Confined Space Entry"},{"type":"text","text":"Apas"},{"type":"text","text":" "},{"type":"text","text":"Approved by Raj Kumar Pativada at 26-Sep-2025 12:58:46 PM"},{"type":"text","text":"Review"},{"type":"text","text":"Lalit Reviewer"},{"type":"text","text":"https://qa-staging-2.oqsha.com/#/work-permit/view/3266?orgID=297&dlType=viewWorkPermit"}]}]}}}


Osmo-x WhatsApp Message has been Sent


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"919368788867","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/APS/APP/MYHOME/CS/25/00001"},{"type":"text","text":"26-Sep-2025"},{"type":"text","text":"Confined Space Entry"},{"type":"text","text":"Apas"},{"type":"text","text":" "},{"type":"text","text":"Approved by Raj Kumar Pativada at 26-Sep-2025 12:58:46 PM"},{"type":"text","text":"Review"},{"type":"text","text":"Lalit Reviewer"},{"type":"text","text":"https://qa-staging-2.oqsha.com/#/work-permit/view/3266?orgID=297&dlType=viewWorkPermit"}]}]}}}


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"918909058909","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/APS/APP/MYHOME/CS/25/00001"},{"type":"text","text":"26-Sep-2025"},{"type":"text","text":"Confined Space Entry"},{"type":"text","text":"Apas"},{"type":"text","text":" "},{"type":"text","text":"Approved by Raj Kumar Pativada at 26-Sep-2025 12:58:46 PM"},{"type":"text","text":"Review"},{"type":"text","text":"Lalit Reviewer"},{"type":"text","text":"https://qa-staging-2.oqsha.com/#/work-permit/view/3266?orgID=297&dlType=viewWorkPermit"}]}]}}}


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"9109354117657","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/APS/APP/MYHOME/CS/25/00001"},{"type":"text","text":"26-Sep-2025"},{"type":"text","text":"Confined Space Entry"},{"type":"text","text":"Apas"},{"type":"text","text":" "},{"type":"text","text":"Approved by Raj Kumar Pativada at 26-Sep-2025 12:58:46 PM"},{"type":"text","text":"Review"},{"type":"text","text":"Lalit Reviewer"},{"type":"text","text":"https://qa-staging-2.oqsha.com/#/work-permit/view/3266?orgID=297&dlType=viewWorkPermit"}]}]}}}


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"919582670233","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/APS/APP/MYHOME/CS/25/00001"},{"type":"text","text":"26-Sep-2025"},{"type":"text","text":"Confined Space Entry"},{"type":"text","text":"Apas"},{"type":"text","text":" "},{"type":"text","text":"Approved by Raj Kumar Pativada at 26-Sep-2025 12:58:46 PM"},{"type":"text","text":"Review"},{"type":"text","text":"Lalit Reviewer"},{"type":"text","text":"https://qa-staging-2.oqsha.com/#/work-permit/view/3266?orgID=297&dlType=viewWorkPermit"}]}]}}}


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"919219455633","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/APS/APP/MYHOME/CS/25/00001"},{"type":"text","text":"26-Sep-2025"},{"type":"text","text":"Confined Space Entry"},{"type":"text","text":"Apas"},{"type":"text","text":" "},{"type":"text","text":"Approved by Raj Kumar Pativada at 26-Sep-2025 12:58:46 PM"},{"type":"text","text":"Review"},{"type":"text","text":"Lalit Reviewer"},{"type":"text","text":"https://qa-staging-2.oqsha.com/#/work-permit/view/3266?orgID=297&dlType=viewWorkPermit"}]}]}}}


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"917659053010","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/APS/APP/MYHOME/CS/25/00001"},{"type":"text","text":"26-Sep-2025"},{"type":"text","text":"Confined Space Entry"},{"type":"text","text":"Apas"},{"type":"text","text":" "},{"type":"text","text":"Approved by Raj Kumar Pativada at 26-Sep-2025 12:58:46 PM"},{"type":"text","text":"Review"},{"type":"text","text":"Lalit Reviewer"},{"type":"text","text":"https://qa-staging-2.oqsha.com/#/work-permit/view/3266?orgID=297&dlType=viewWorkPermit"}]}]}}}


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"919999999999","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/APS/APP/MYHOME/CS/25/00001"},{"type":"text","text":"26-Sep-2025"},{"type":"text","text":"Confined Space Entry"},{"type":"text","text":"Apas"},{"type":"text","text":" "},{"type":"text","text":"Approved by Raj Kumar Pativada at 26-Sep-2025 12:58:46 PM"},{"type":"text","text":"Review"},{"type":"text","text":"Lalit Reviewer"},{"type":"text","text":"https://qa-staging-2.oqsha.com/#/work-permit/view/3266?orgID=297&dlType=viewWorkPermit"}]}]}}}


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"91967845782","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/APS/APP/MYHOME/CS/25/00001"},{"type":"text","text":"26-Sep-2025"},{"type":"text","text":"Confined Space Entry"},{"type":"text","text":"Apas"},{"type":"text","text":" "},{"type":"text","text":"Approved by Raj Kumar Pativada at 26-Sep-2025 12:58:46 PM"},{"type":"text","text":"Review"},{"type":"text","text":"Lalit Reviewer"},{"type":"text","text":"https://qa-staging-2.oqsha.com/#/work-permit/view/3266?orgID=297&dlType=viewWorkPermit"}]}]}}}


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"918864904164","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/APS/APP/MYHOME/CS/25/00001"},{"type":"text","text":"26-Sep-2025"},{"type":"text","text":"Confined Space Entry"},{"type":"text","text":"Apas"},{"type":"text","text":" "},{"type":"text","text":"Approved by Raj Kumar Pativada at 26-Sep-2025 12:58:46 PM"},{"type":"text","text":"Review"},{"type":"text","text":"Lalit Reviewer"},{"type":"text","text":"https://qa-staging-2.oqsha.com/#/work-permit/view/3266?orgID=297&dlType=viewWorkPermit"}]}]}}}


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"91798507565","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/APS/APP/MYHOME/CS/25/00001"},{"type":"text","text":"26-Sep-2025"},{"type":"text","text":"Confined Space Entry"},{"type":"text","text":"Apas"},{"type":"text","text":" "},{"type":"text","text":"Approved by Raj Kumar Pativada at 26-Sep-2025 12:58:46 PM"},{"type":"text","text":"Review"},{"type":"text","text":"Lalit Reviewer"},{"type":"text","text":"https://qa-staging-2.oqsha.com/#/work-permit/view/3266?orgID=297&dlType=viewWorkPermit"}]}]}}}


Sending notification to approver of the comapny regarding permit to work 3266


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/APS/APP/MYHOME/CS/25/00001"},{"type":"text","text":"26-Sep-2025"},{"type":"text","text":"Confined Space Entry"},{"type":"text","text":"Apas"},{"type":"text","text":" "},{"type":"text","text":"Approved by Raj Kumar Pativada at 26-Sep-2025 12:58:46 PM"},{"type":"text","text":"Review"},{"type":"text","text":"Lalit Reviewer"},{"type":"text","text":"https://qa-staging-2.oqsha.com/#/work-permit/view/3266?orgID=297&dlType=viewWorkPermit"}]}]}}}


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"917777777771","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/APS/APP/MYHOME/CS/25/00001"},{"type":"text","text":"26-Sep-2025"},{"type":"text","text":"Confined Space Entry"},{"type":"text","text":"Apas"},{"type":"text","text":" "},{"type":"text","text":"Approved by Raj Kumar Pativada at 26-Sep-2025 12:58:46 PM"},{"type":"text","text":"Review"},{"type":"text","text":"Lalit Reviewer"},{"type":"text","text":"https://qa-staging-2.oqsha.com/#/work-permit/view/3266?orgID=297&dlType=viewWorkPermit"}]}]}}}


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"917273883504","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/APS/APP/MYHOME/CS/25/00001"},{"type":"text","text":"26-Sep-2025"},{"type":"text","text":"Confined Space Entry"},{"type":"text","text":"Apas"},{"type":"text","text":" "},{"type":"text","text":"Approved by Raj Kumar Pativada at 26-Sep-2025 12:58:46 PM"},{"type":"text","text":"Review"},{"type":"text","text":"Lalit Reviewer"},{"type":"text","text":"https://qa-staging-2.oqsha.com/#/work-permit/view/3266?orgID=297&dlType=viewWorkPermit"}]}]}}}


### End Event Execution ###


### Start Event Execution ###


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


# Calling SendNotificationToAskUserConsent function for asking user consent #


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


# Calling SendNotificationToEitherReviewerOrApprover function for  whatsapp and push notification #


Starting Execution for whatsapp notification for users


Executing sending notification to users through whatsapp


Sending notification to approver of the comapny regarding permit to work 3265


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/APS/APP/MYHOME/BL/25/00003"},{"type":"text","text":"26-Sep-2025"},{"type":"text","text":"Blasting Work"},{"type":"text","text":"Apas"},{"type":"text","text":" "},{"type":"text","text":"Approved by Raj Kumar Pativada at 26-Sep-2025 12:59:02 PM"},{"type":"text","text":"Review"},{"type":"text","text":"Lalit Reviewer"},{"type":"text","text":"https://qa-staging-2.oqsha.com/#/work-permit/view/3265?orgID=297&dlType=viewWorkPermit"}]}]}}}


Osmo-x WhatsApp Message has been Sent


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"919560325895","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/APS/APP/MYHOME/BL/25/00003"},{"type":"text","text":"26-Sep-2025"},{"type":"text","text":"Blasting Work"},{"type":"text","text":"Apas"},{"type":"text","text":" "},{"type":"text","text":"Approved by Raj Kumar Pativada at 26-Sep-2025 12:59:02 PM"},{"type":"text","text":"Review"},{"type":"text","text":"Lalit Reviewer"},{"type":"text","text":"https://qa-staging-2.oqsha.com/#/work-permit/view/3265?orgID=297&dlType=viewWorkPermit"}]}]}}}


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"917905588778","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/APS/APP/MYHOME/BL/25/00003"},{"type":"text","text":"26-Sep-2025"},{"type":"text","text":"Blasting Work"},{"type":"text","text":"Apas"},{"type":"text","text":" "},{"type":"text","text":"Approved by Raj Kumar Pativada at 26-Sep-2025 12:59:02 PM"},{"type":"text","text":"Review"},{"type":"text","text":"Lalit Reviewer"},{"type":"text","text":"https://qa-staging-2.oqsha.com/#/work-permit/view/3265?orgID=297&dlType=viewWorkPermit"}]}]}}}


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"919959835508","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/APS/APP/MYHOME/BL/25/00003"},{"type":"text","text":"26-Sep-2025"},{"type":"text","text":"Blasting Work"},{"type":"text","text":"Apas"},{"type":"text","text":" "},{"type":"text","text":"Approved by Raj Kumar Pativada at 26-Sep-2025 12:59:02 PM"},{"type":"text","text":"Review"},{"type":"text","text":"Lalit Reviewer"},{"type":"text","text":"https://qa-staging-2.oqsha.com/#/work-permit/view/3265?orgID=297&dlType=viewWorkPermit"}]}]}}}


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"918967697371","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"ptw_assigned_to_generic_template_v4","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"P/APS/APP/MYHOME/BL/25/00003"},{"type":"text","text":"26-Sep-2025"},{"type":"text","text":"Blasting Work"},{"type":"text","text":"Apas"},{"type":"text","text":" "},{"type":"text","text":"Approved by Raj Kumar Pativada at 26-Sep-2025 12:59:02 PM"},{"type":"text","text":"Review"},{"type":"text","text":"Lalit Reviewer"},{"type":"text","text":"https://qa-staging-2.oqsha.com/#/work-permit/view/3265?orgID=297&dlType=viewWorkPermit"}]}]}}}


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"919000187652","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/APS/APP/MYHOME/BL/25/00003"},{"type":"text","text":"26-Sep-2025"},{"type":"text","text":"Blasting Work"},{"type":"text","text":"Apas"},{"type":"text","text":" "},{"type":"text","text":"Approved by Raj Kumar Pativada at 26-Sep-2025 12:59:02 PM"},{"type":"text","text":"Review"},{"type":"text","text":"Lalit Reviewer"},{"type":"text","text":"https://qa-staging-2.oqsha.com/#/work-permit/view/3265?orgID=297&dlType=viewWorkPermit"}]}]}}}


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"919368788867","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/APS/APP/MYHOME/BL/25/00003"},{"type":"text","text":"26-Sep-2025"},{"type":"text","text":"Blasting Work"},{"type":"text","text":"Apas"},{"type":"text","text":" "},{"type":"text","text":"Approved by Raj Kumar Pativada at 26-Sep-2025 12:59:02 PM"},{"type":"text","text":"Review"},{"type":"text","text":"Lalit Reviewer"},{"type":"text","text":"https://qa-staging-2.oqsha.com/#/work-permit/view/3265?orgID=297&dlType=viewWorkPermit"}]}]}}}


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"918909058909","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/APS/APP/MYHOME/BL/25/00003"},{"type":"text","text":"26-Sep-2025"},{"type":"text","text":"Blasting Work"},{"type":"text","text":"Apas"},{"type":"text","text":" "},{"type":"text","text":"Approved by Raj Kumar Pativada at 26-Sep-2025 12:59:02 PM"},{"type":"text","text":"Review"},{"type":"text","text":"Lalit Reviewer"},{"type":"text","text":"https://qa-staging-2.oqsha.com/#/work-permit/view/3265?orgID=297&dlType=viewWorkPermit"}]}]}}}


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"9109354117657","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/APS/APP/MYHOME/BL/25/00003"},{"type":"text","text":"26-Sep-2025"},{"type":"text","text":"Blasting Work"},{"type":"text","text":"Apas"},{"type":"text","text":" "},{"type":"text","text":"Approved by Raj Kumar Pativada at 26-Sep-2025 12:59:02 PM"},{"type":"text","text":"Review"},{"type":"text","text":"Lalit Reviewer"},{"type":"text","text":"https://qa-staging-2.oqsha.com/#/work-permit/view/3265?orgID=297&dlType=viewWorkPermit"}]}]}}}


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"919582670233","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/APS/APP/MYHOME/BL/25/00003"},{"type":"text","text":"26-Sep-2025"},{"type":"text","text":"Blasting Work"},{"type":"text","text":"Apas"},{"type":"text","text":" "},{"type":"text","text":"Approved by Raj Kumar Pativada at 26-Sep-2025 12:59:02 PM"},{"type":"text","text":"Review"},{"type":"text","text":"Lalit Reviewer"},{"type":"text","text":"https://qa-staging-2.oqsha.com/#/work-permit/view/3265?orgID=297&dlType=viewWorkPermit"}]}]}}}


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"919219455633","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/APS/APP/MYHOME/BL/25/00003"},{"type":"text","text":"26-Sep-2025"},{"type":"text","text":"Blasting Work"},{"type":"text","text":"Apas"},{"type":"text","text":" "},{"type":"text","text":"Approved by Raj Kumar Pativada at 26-Sep-2025 12:59:02 PM"},{"type":"text","text":"Review"},{"type":"text","text":"Lalit Reviewer"},{"type":"text","text":"https://qa-staging-2.oqsha.com/#/work-permit/view/3265?orgID=297&dlType=viewWorkPermit"}]}]}}}


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"917659053010","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/APS/APP/MYHOME/BL/25/00003"},{"type":"text","text":"26-Sep-2025"},{"type":"text","text":"Blasting Work"},{"type":"text","text":"Apas"},{"type":"text","text":" "},{"type":"text","text":"Approved by Raj Kumar Pativada at 26-Sep-2025 12:59:02 PM"},{"type":"text","text":"Review"},{"type":"text","text":"Lalit Reviewer"},{"type":"text","text":"https://qa-staging-2.oqsha.com/#/work-permit/view/3265?orgID=297&dlType=viewWorkPermit"}]}]}}}


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"919999999999","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/APS/APP/MYHOME/BL/25/00003"},{"type":"text","text":"26-Sep-2025"},{"type":"text","text":"Blasting Work"},{"type":"text","text":"Apas"},{"type":"text","text":" "},{"type":"text","text":"Approved by Raj Kumar Pativada at 26-Sep-2025 12:59:02 PM"},{"type":"text","text":"Review"},{"type":"text","text":"Lalit Reviewer"},{"type":"text","text":"https://qa-staging-2.oqsha.com/#/work-permit/view/3265?orgID=297&dlType=viewWorkPermit"}]}]}}}


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"91967845782","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/APS/APP/MYHOME/BL/25/00003"},{"type":"text","text":"26-Sep-2025"},{"type":"text","text":"Blasting Work"},{"type":"text","text":"Apas"},{"type":"text","text":" "},{"type":"text","text":"Approved by Raj Kumar Pativada at 26-Sep-2025 12:59:02 PM"},{"type":"text","text":"Review"},{"type":"text","text":"Lalit Reviewer"},{"type":"text","text":"https://qa-staging-2.oqsha.com/#/work-permit/view/3265?orgID=297&dlType=viewWorkPermit"}]}]}}}


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"918864904164","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/APS/APP/MYHOME/BL/25/00003"},{"type":"text","text":"26-Sep-2025"},{"type":"text","text":"Blasting Work"},{"type":"text","text":"Apas"},{"type":"text","text":" "},{"type":"text","text":"Approved by Raj Kumar Pativada at 26-Sep-2025 12:59:02 PM"},{"type":"text","text":"Review"},{"type":"text","text":"Lalit Reviewer"},{"type":"text","text":"https://qa-staging-2.oqsha.com/#/work-permit/view/3265?orgID=297&dlType=viewWorkPermit"}]}]}}}


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"91798507565","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/APS/APP/MYHOME/BL/25/00003"},{"type":"text","text":"26-Sep-2025"},{"type":"text","text":"Blasting Work"},{"type":"text","text":"Apas"},{"type":"text","text":" "},{"type":"text","text":"Approved by Raj Kumar Pativada at 26-Sep-2025 12:59:02 PM"},{"type":"text","text":"Review"},{"type":"text","text":"Lalit Reviewer"},{"type":"text","text":"https://qa-staging-2.oqsha.com/#/work-permit/view/3265?orgID=297&dlType=viewWorkPermit"}]}]}}}


Sending notification to approver of the comapny regarding permit to work 3265


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/APS/APP/MYHOME/BL/25/00003"},{"type":"text","text":"26-Sep-2025"},{"type":"text","text":"Blasting Work"},{"type":"text","text":"Apas"},{"type":"text","text":" "},{"type":"text","text":"Approved by Raj Kumar Pativada at 26-Sep-2025 12:59:02 PM"},{"type":"text","text":"Review"},{"type":"text","text":"Lalit Reviewer"},{"type":"text","text":"https://qa-staging-2.oqsha.com/#/work-permit/view/3265?orgID=297&dlType=viewWorkPermit"}]}]}}}


Osmo-x WhatsApp Message has been Sent


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"917777777771","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/APS/APP/MYHOME/BL/25/00003"},{"type":"text","text":"26-Sep-2025"},{"type":"text","text":"Blasting Work"},{"type":"text","text":"Apas"},{"type":"text","text":" "},{"type":"text","text":"Approved by Raj Kumar Pativada at 26-Sep-2025 12:59:02 PM"},{"type":"text","text":"Review"},{"type":"text","text":"Lalit Reviewer"},{"type":"text","text":"https://qa-staging-2.oqsha.com/#/work-permit/view/3265?orgID=297&dlType=viewWorkPermit"}]}]}}}


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"917273883504","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/APS/APP/MYHOME/BL/25/00003"},{"type":"text","text":"26-Sep-2025"},{"type":"text","text":"Blasting Work"},{"type":"text","text":"Apas"},{"type":"text","text":" "},{"type":"text","text":"Approved by Raj Kumar Pativada at 26-Sep-2025 12:59:02 PM"},{"type":"text","text":"Review"},{"type":"text","text":"Lalit Reviewer"},{"type":"text","text":"https://qa-staging-2.oqsha.com/#/work-permit/view/3265?orgID=297&dlType=viewWorkPermit"}]}]}}}


### End Event Execution ###


### Start Event Execution ###


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


# Calling SendNotificationToAskUserConsent function for asking user consent #


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


# Calling SendNotificationToEitherReviewerOrApprover function for  whatsapp and push notification #


Starting Execution for whatsapp notification for users


Executing sending notification to users through whatsapp


Sending notification to approver of the comapny regarding permit to work 3264


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/APS/APP/MYHOME/CW/25/00003"},{"type":"text","text":"26-Sep-2025"},{"type":"text","text":"Concrete Work"},{"type":"text","text":"Apas"},{"type":"text","text":" "},{"type":"text","text":"Approved by Raj Kumar Pativada at 26-Sep-2025 12:59:25 PM"},{"type":"text","text":"Review"},{"type":"text","text":"Lalit Reviewer"},{"type":"text","text":"https://qa-staging-2.oqsha.com/#/work-permit/view/3264?orgID=297&dlType=viewWorkPermit"}]}]}}}


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"919560325895","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/APS/APP/MYHOME/CW/25/00003"},{"type":"text","text":"26-Sep-2025"},{"type":"text","text":"Concrete Work"},{"type":"text","text":"Apas"},{"type":"text","text":" "},{"type":"text","text":"Approved by Raj Kumar Pativada at 26-Sep-2025 12:59:25 PM"},{"type":"text","text":"Review"},{"type":"text","text":"Lalit Reviewer"},{"type":"text","text":"https://qa-staging-2.oqsha.com/#/work-permit/view/3264?orgID=297&dlType=viewWorkPermit"}]}]}}}


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"917905588778","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/APS/APP/MYHOME/CW/25/00003"},{"type":"text","text":"26-Sep-2025"},{"type":"text","text":"Concrete Work"},{"type":"text","text":"Apas"},{"type":"text","text":" "},{"type":"text","text":"Approved by Raj Kumar Pativada at 26-Sep-2025 12:59:25 PM"},{"type":"text","text":"Review"},{"type":"text","text":"Lalit Reviewer"},{"type":"text","text":"https://qa-staging-2.oqsha.com/#/work-permit/view/3264?orgID=297&dlType=viewWorkPermit"}]}]}}}


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"919959835508","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/APS/APP/MYHOME/CW/25/00003"},{"type":"text","text":"26-Sep-2025"},{"type":"text","text":"Concrete Work"},{"type":"text","text":"Apas"},{"type":"text","text":" "},{"type":"text","text":"Approved by Raj Kumar Pativada at 26-Sep-2025 12:59:25 PM"},{"type":"text","text":"Review"},{"type":"text","text":"Lalit Reviewer"},{"type":"text","text":"https://qa-staging-2.oqsha.com/#/work-permit/view/3264?orgID=297&dlType=viewWorkPermit"}]}]}}}


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"918967697371","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"ptw_assigned_to_generic_template_v4","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"P/APS/APP/MYHOME/CW/25/00003"},{"type":"text","text":"26-Sep-2025"},{"type":"text","text":"Concrete Work"},{"type":"text","text":"Apas"},{"type":"text","text":" "},{"type":"text","text":"Approved by Raj Kumar Pativada at 26-Sep-2025 12:59:25 PM"},{"type":"text","text":"Review"},{"type":"text","text":"Lalit Reviewer"},{"type":"text","text":"https://qa-staging-2.oqsha.com/#/work-permit/view/3264?orgID=297&dlType=viewWorkPermit"}]}]}}}


Osmo-x WhatsApp Message has been Sent


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"919000187652","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/APS/APP/MYHOME/CW/25/00003"},{"type":"text","text":"26-Sep-2025"},{"type":"text","text":"Concrete Work"},{"type":"text","text":"Apas"},{"type":"text","text":" "},{"type":"text","text":"Approved by Raj Kumar Pativada at 26-Sep-2025 12:59:25 PM"},{"type":"text","text":"Review"},{"type":"text","text":"Lalit Reviewer"},{"type":"text","text":"https://qa-staging-2.oqsha.com/#/work-permit/view/3264?orgID=297&dlType=viewWorkPermit"}]}]}}}


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"919368788867","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/APS/APP/MYHOME/CW/25/00003"},{"type":"text","text":"26-Sep-2025"},{"type":"text","text":"Concrete Work"},{"type":"text","text":"Apas"},{"type":"text","text":" "},{"type":"text","text":"Approved by Raj Kumar Pativada at 26-Sep-2025 12:59:25 PM"},{"type":"text","text":"Review"},{"type":"text","text":"Lalit Reviewer"},{"type":"text","text":"https://qa-staging-2.oqsha.com/#/work-permit/view/3264?orgID=297&dlType=viewWorkPermit"}]}]}}}


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"918909058909","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/APS/APP/MYHOME/CW/25/00003"},{"type":"text","text":"26-Sep-2025"},{"type":"text","text":"Concrete Work"},{"type":"text","text":"Apas"},{"type":"text","text":" "},{"type":"text","text":"Approved by Raj Kumar Pativada at 26-Sep-2025 12:59:25 PM"},{"type":"text","text":"Review"},{"type":"text","text":"Lalit Reviewer"},{"type":"text","text":"https://qa-staging-2.oqsha.com/#/work-permit/view/3264?orgID=297&dlType=viewWorkPermit"}]}]}}}


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"9109354117657","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/APS/APP/MYHOME/CW/25/00003"},{"type":"text","text":"26-Sep-2025"},{"type":"text","text":"Concrete Work"},{"type":"text","text":"Apas"},{"type":"text","text":" "},{"type":"text","text":"Approved by Raj Kumar Pativada at 26-Sep-2025 12:59:25 PM"},{"type":"text","text":"Review"},{"type":"text","text":"Lalit Reviewer"},{"type":"text","text":"https://qa-staging-2.oqsha.com/#/work-permit/view/3264?orgID=297&dlType=viewWorkPermit"}]}]}}}


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"919582670233","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/APS/APP/MYHOME/CW/25/00003"},{"type":"text","text":"26-Sep-2025"},{"type":"text","text":"Concrete Work"},{"type":"text","text":"Apas"},{"type":"text","text":" "},{"type":"text","text":"Approved by Raj Kumar Pativada at 26-Sep-2025 12:59:25 PM"},{"type":"text","text":"Review"},{"type":"text","text":"Lalit Reviewer"},{"type":"text","text":"https://qa-staging-2.oqsha.com/#/work-permit/view/3264?orgID=297&dlType=viewWorkPermit"}]}]}}}


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"919219455633","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/APS/APP/MYHOME/CW/25/00003"},{"type":"text","text":"26-Sep-2025"},{"type":"text","text":"Concrete Work"},{"type":"text","text":"Apas"},{"type":"text","text":" "},{"type":"text","text":"Approved by Raj Kumar Pativada at 26-Sep-2025 12:59:25 PM"},{"type":"text","text":"Review"},{"type":"text","text":"Lalit Reviewer"},{"type":"text","text":"https://qa-staging-2.oqsha.com/#/work-permit/view/3264?orgID=297&dlType=viewWorkPermit"}]}]}}}


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"917659053010","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/APS/APP/MYHOME/CW/25/00003"},{"type":"text","text":"26-Sep-2025"},{"type":"text","text":"Concrete Work"},{"type":"text","text":"Apas"},{"type":"text","text":" "},{"type":"text","text":"Approved by Raj Kumar Pativada at 26-Sep-2025 12:59:25 PM"},{"type":"text","text":"Review"},{"type":"text","text":"Lalit Reviewer"},{"type":"text","text":"https://qa-staging-2.oqsha.com/#/work-permit/view/3264?orgID=297&dlType=viewWorkPermit"}]}]}}}


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"919999999999","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/APS/APP/MYHOME/CW/25/00003"},{"type":"text","text":"26-Sep-2025"},{"type":"text","text":"Concrete Work"},{"type":"text","text":"Apas"},{"type":"text","text":" "},{"type":"text","text":"Approved by Raj Kumar Pativada at 26-Sep-2025 12:59:25 PM"},{"type":"text","text":"Review"},{"type":"text","text":"Lalit Reviewer"},{"type":"text","text":"https://qa-staging-2.oqsha.com/#/work-permit/view/3264?orgID=297&dlType=viewWorkPermit"}]}]}}}


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"91967845782","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/APS/APP/MYHOME/CW/25/00003"},{"type":"text","text":"26-Sep-2025"},{"type":"text","text":"Concrete Work"},{"type":"text","text":"Apas"},{"type":"text","text":" "},{"type":"text","text":"Approved by Raj Kumar Pativada at 26-Sep-2025 12:59:25 PM"},{"type":"text","text":"Review"},{"type":"text","text":"Lalit Reviewer"},{"type":"text","text":"https://qa-staging-2.oqsha.com/#/work-permit/view/3264?orgID=297&dlType=viewWorkPermit"}]}]}}}


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"918864904164","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/APS/APP/MYHOME/CW/25/00003"},{"type":"text","text":"26-Sep-2025"},{"type":"text","text":"Concrete Work"},{"type":"text","text":"Apas"},{"type":"text","text":" "},{"type":"text","text":"Approved by Raj Kumar Pativada at 26-Sep-2025 12:59:25 PM"},{"type":"text","text":"Review"},{"type":"text","text":"Lalit Reviewer"},{"type":"text","text":"https://qa-staging-2.oqsha.com/#/work-permit/view/3264?orgID=297&dlType=viewWorkPermit"}]}]}}}


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"91798507565","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/APS/APP/MYHOME/CW/25/00003"},{"type":"text","text":"26-Sep-2025"},{"type":"text","text":"Concrete Work"},{"type":"text","text":"Apas"},{"type":"text","text":" "},{"type":"text","text":"Approved by Raj Kumar Pativada at 26-Sep-2025 12:59:25 PM"},{"type":"text","text":"Review"},{"type":"text","text":"Lalit Reviewer"},{"type":"text","text":"https://qa-staging-2.oqsha.com/#/work-permit/view/3264?orgID=297&dlType=viewWorkPermit"}]}]}}}


Sending notification to approver of the comapny regarding permit to work 3264


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/APS/APP/MYHOME/CW/25/00003"},{"type":"text","text":"26-Sep-2025"},{"type":"text","text":"Concrete Work"},{"type":"text","text":"Apas"},{"type":"text","text":" "},{"type":"text","text":"Approved by Raj Kumar Pativada at 26-Sep-2025 12:59:25 PM"},{"type":"text","text":"Review"},{"type":"text","text":"Lalit Reviewer"},{"type":"text","text":"https://qa-staging-2.oqsha.com/#/work-permit/view/3264?orgID=297&dlType=viewWorkPermit"}]}]}}}


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"917777777771","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/APS/APP/MYHOME/CW/25/00003"},{"type":"text","text":"26-Sep-2025"},{"type":"text","text":"Concrete Work"},{"type":"text","text":"Apas"},{"type":"text","text":" "},{"type":"text","text":"Approved by Raj Kumar Pativada at 26-Sep-2025 12:59:25 PM"},{"type":"text","text":"Review"},{"type":"text","text":"Lalit Reviewer"},{"type":"text","text":"https://qa-staging-2.oqsha.com/#/work-permit/view/3264?orgID=297&dlType=viewWorkPermit"}]}]}}}


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"917273883504","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/APS/APP/MYHOME/CW/25/00003"},{"type":"text","text":"26-Sep-2025"},{"type":"text","text":"Concrete Work"},{"type":"text","text":"Apas"},{"type":"text","text":" "},{"type":"text","text":"Approved by Raj Kumar Pativada at 26-Sep-2025 12:59:25 PM"},{"type":"text","text":"Review"},{"type":"text","text":"Lalit Reviewer"},{"type":"text","text":"https://qa-staging-2.oqsha.com/#/work-permit/view/3264?orgID=297&dlType=viewWorkPermit"}]}]}}}


### End Event Execution ###


### Start Event Execution ###


### 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: hitesh.k@osmosys.co


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


Reading and binding data to Email Template


Initializing Email Service Client


Generating Email Request


New Work Permit Assigned


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


--- Email response from Osmo-x is 201


Sending WorkPermit creation WhatsApp message to: 91687967567


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"91687967567","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":"Hitesh Osmosys"},{"type":"text","text":"WP/TTK/COI/LTP/25/00006"},{"type":"text","text":"Coimbatore"},{"type":"text","text":"TTK Beta - QA"},{"type":"text","text":"Hitesh Osmosys"},{"type":"text","text":"https://qa-staging-2.oqsha.com//#/work-permit/view/387/317&dlType=viewWorkPermit"},{"type":"text","text":"EHS Department - TTK Private Limited"}]}]}}}


Osmo-x WhatsApp Message has been Sent


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


# Calling SendNotificationToAskUserConsent function for asking user consent #


### End Event Execution ###


### Start Event Execution ###


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


# Calling SendNotificationToAllExceptReviewer function for whatsapp and push notification #


User Ids for notification: [1533,1574,1602,1631,1653,1374,1,1886,2120,2151,1597,2201,1895,1896,1897,2027,2060,2407]


Starting Execution for whatsapp notification for all


Sending notification to requester regarding permit to work 3266


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"919160948627","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"ptw_generic_status_template_v2","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"P/APS/APP/MYHOME/CS/25/00001"},{"type":"text","text":"26-Sep-2025"},{"type":"text","text":"Confined Space Entry"},{"type":"text","text":"Apas"},{"type":"text","text":" "},{"type":"text","text":"Reviewed by Lalit Reviewer at 26-Sep-2025 01:02:47 PM"},{"type":"text","text":"Start Work"},{"type":"text","text":"https://qa-staging-2.oqsha.com/#/work-permit/view/3266?orgID=297&dlType=viewWorkPermit"}]}]}}}


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"919560325895","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"ptw_generic_status_template_v2","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"P/APS/APP/MYHOME/CS/25/00001"},{"type":"text","text":"26-Sep-2025"},{"type":"text","text":"Confined Space Entry"},{"type":"text","text":"Apas"},{"type":"text","text":" "},{"type":"text","text":"Reviewed by Lalit Reviewer at 26-Sep-2025 01:02:47 PM"},{"type":"text","text":"Start Work"},{"type":"text","text":"https://qa-staging-2.oqsha.com/#/work-permit/view/3266?orgID=297&dlType=viewWorkPermit"}]}]}}}


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"917905588778","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"ptw_generic_status_template_v2","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"P/APS/APP/MYHOME/CS/25/00001"},{"type":"text","text":"26-Sep-2025"},{"type":"text","text":"Confined Space Entry"},{"type":"text","text":"Apas"},{"type":"text","text":" "},{"type":"text","text":"Reviewed by Lalit Reviewer at 26-Sep-2025 01:02:47 PM"},{"type":"text","text":"Start Work"},{"type":"text","text":"https://qa-staging-2.oqsha.com/#/work-permit/view/3266?orgID=297&dlType=viewWorkPermit"}]}]}}}


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"919959835508","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"ptw_generic_status_template_v2","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"P/APS/APP/MYHOME/CS/25/00001"},{"type":"text","text":"26-Sep-2025"},{"type":"text","text":"Confined Space Entry"},{"type":"text","text":"Apas"},{"type":"text","text":" "},{"type":"text","text":"Reviewed by Lalit Reviewer at 26-Sep-2025 01:02:47 PM"},{"type":"text","text":"Start Work"},{"type":"text","text":"https://qa-staging-2.oqsha.com/#/work-permit/view/3266?orgID=297&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_generic_status_template_v2","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"P/APS/APP/MYHOME/CS/25/00001"},{"type":"text","text":"26-Sep-2025"},{"type":"text","text":"Confined Space Entry"},{"type":"text","text":"Apas"},{"type":"text","text":" "},{"type":"text","text":"Reviewed by Lalit Reviewer at 26-Sep-2025 01:02:47 PM"},{"type":"text","text":"Start Work"},{"type":"text","text":"https://qa-staging-2.oqsha.com/#/work-permit/view/3266?orgID=297&dlType=viewWorkPermit"}]}]}}}


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"919000187652","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"ptw_generic_status_template_v2","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"P/APS/APP/MYHOME/CS/25/00001"},{"type":"text","text":"26-Sep-2025"},{"type":"text","text":"Confined Space Entry"},{"type":"text","text":"Apas"},{"type":"text","text":" "},{"type":"text","text":"Reviewed by Lalit Reviewer at 26-Sep-2025 01:02:47 PM"},{"type":"text","text":"Start Work"},{"type":"text","text":"https://qa-staging-2.oqsha.com/#/work-permit/view/3266?orgID=297&dlType=viewWorkPermit"}]}]}}}


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"919368788867","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"ptw_generic_status_template_v2","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"P/APS/APP/MYHOME/CS/25/00001"},{"type":"text","text":"26-Sep-2025"},{"type":"text","text":"Confined Space Entry"},{"type":"text","text":"Apas"},{"type":"text","text":" "},{"type":"text","text":"Reviewed by Lalit Reviewer at 26-Sep-2025 01:02:47 PM"},{"type":"text","text":"Start Work"},{"type":"text","text":"https://qa-staging-2.oqsha.com/#/work-permit/view/3266?orgID=297&dlType=viewWorkPermit"}]}]}}}


Osmo-x WhatsApp Message has been Sent


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"918909058909","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"ptw_generic_status_template_v2","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"P/APS/APP/MYHOME/CS/25/00001"},{"type":"text","text":"26-Sep-2025"},{"type":"text","text":"Confined Space Entry"},{"type":"text","text":"Apas"},{"type":"text","text":" "},{"type":"text","text":"Reviewed by Lalit Reviewer at 26-Sep-2025 01:02:47 PM"},{"type":"text","text":"Start Work"},{"type":"text","text":"https://qa-staging-2.oqsha.com/#/work-permit/view/3266?orgID=297&dlType=viewWorkPermit"}]}]}}}


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"9109354117657","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"ptw_generic_status_template_v2","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"P/APS/APP/MYHOME/CS/25/00001"},{"type":"text","text":"26-Sep-2025"},{"type":"text","text":"Confined Space Entry"},{"type":"text","text":"Apas"},{"type":"text","text":" "},{"type":"text","text":"Reviewed by Lalit Reviewer at 26-Sep-2025 01:02:47 PM"},{"type":"text","text":"Start Work"},{"type":"text","text":"https://qa-staging-2.oqsha.com/#/work-permit/view/3266?orgID=297&dlType=viewWorkPermit"}]}]}}}


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"919582670233","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"ptw_generic_status_template_v2","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"P/APS/APP/MYHOME/CS/25/00001"},{"type":"text","text":"26-Sep-2025"},{"type":"text","text":"Confined Space Entry"},{"type":"text","text":"Apas"},{"type":"text","text":" "},{"type":"text","text":"Reviewed by Lalit Reviewer at 26-Sep-2025 01:02:47 PM"},{"type":"text","text":"Start Work"},{"type":"text","text":"https://qa-staging-2.oqsha.com/#/work-permit/view/3266?orgID=297&dlType=viewWorkPermit"}]}]}}}


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"919219455633","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"ptw_generic_status_template_v2","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"P/APS/APP/MYHOME/CS/25/00001"},{"type":"text","text":"26-Sep-2025"},{"type":"text","text":"Confined Space Entry"},{"type":"text","text":"Apas"},{"type":"text","text":" "},{"type":"text","text":"Reviewed by Lalit Reviewer at 26-Sep-2025 01:02:47 PM"},{"type":"text","text":"Start Work"},{"type":"text","text":"https://qa-staging-2.oqsha.com/#/work-permit/view/3266?orgID=297&dlType=viewWorkPermit"}]}]}}}


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"917659053010","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"ptw_generic_status_template_v2","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"P/APS/APP/MYHOME/CS/25/00001"},{"type":"text","text":"26-Sep-2025"},{"type":"text","text":"Confined Space Entry"},{"type":"text","text":"Apas"},{"type":"text","text":" "},{"type":"text","text":"Reviewed by Lalit Reviewer at 26-Sep-2025 01:02:47 PM"},{"type":"text","text":"Start Work"},{"type":"text","text":"https://qa-staging-2.oqsha.com/#/work-permit/view/3266?orgID=297&dlType=viewWorkPermit"}]}]}}}


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"919999999999","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"ptw_generic_status_template_v2","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"P/APS/APP/MYHOME/CS/25/00001"},{"type":"text","text":"26-Sep-2025"},{"type":"text","text":"Confined Space Entry"},{"type":"text","text":"Apas"},{"type":"text","text":" "},{"type":"text","text":"Reviewed by Lalit Reviewer at 26-Sep-2025 01:02:47 PM"},{"type":"text","text":"Start Work"},{"type":"text","text":"https://qa-staging-2.oqsha.com/#/work-permit/view/3266?orgID=297&dlType=viewWorkPermit"}]}]}}}


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"91967845782","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"ptw_generic_status_template_v2","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"P/APS/APP/MYHOME/CS/25/00001"},{"type":"text","text":"26-Sep-2025"},{"type":"text","text":"Confined Space Entry"},{"type":"text","text":"Apas"},{"type":"text","text":" "},{"type":"text","text":"Reviewed by Lalit Reviewer at 26-Sep-2025 01:02:47 PM"},{"type":"text","text":"Start Work"},{"type":"text","text":"https://qa-staging-2.oqsha.com/#/work-permit/view/3266?orgID=297&dlType=viewWorkPermit"}]}]}}}


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"918864904164","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"ptw_generic_status_template_v2","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"P/APS/APP/MYHOME/CS/25/00001"},{"type":"text","text":"26-Sep-2025"},{"type":"text","text":"Confined Space Entry"},{"type":"text","text":"Apas"},{"type":"text","text":" "},{"type":"text","text":"Reviewed by Lalit Reviewer at 26-Sep-2025 01:02:47 PM"},{"type":"text","text":"Start Work"},{"type":"text","text":"https://qa-staging-2.oqsha.com/#/work-permit/view/3266?orgID=297&dlType=viewWorkPermit"}]}]}}}


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"91798507565","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"ptw_generic_status_template_v2","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"P/APS/APP/MYHOME/CS/25/00001"},{"type":"text","text":"26-Sep-2025"},{"type":"text","text":"Confined Space Entry"},{"type":"text","text":"Apas"},{"type":"text","text":" "},{"type":"text","text":"Reviewed by Lalit Reviewer at 26-Sep-2025 01:02:47 PM"},{"type":"text","text":"Start Work"},{"type":"text","text":"https://qa-staging-2.oqsha.com/#/work-permit/view/3266?orgID=297&dlType=viewWorkPermit"}]}]}}}


Sending notification to requester regarding permit to work 3266


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"917478192996","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"ptw_generic_status_template_v2","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"P/APS/APP/MYHOME/CS/25/00001"},{"type":"text","text":"26-Sep-2025"},{"type":"text","text":"Confined Space Entry"},{"type":"text","text":"Apas"},{"type":"text","text":" "},{"type":"text","text":"Reviewed by Lalit Reviewer at 26-Sep-2025 01:02:47 PM"},{"type":"text","text":"Start Work"},{"type":"text","text":"https://qa-staging-2.oqsha.com/#/work-permit/view/3266?orgID=297&dlType=viewWorkPermit"}]}]}}}


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"917273883504","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"ptw_generic_status_template_v2","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"P/APS/APP/MYHOME/CS/25/00001"},{"type":"text","text":"26-Sep-2025"},{"type":"text","text":"Confined Space Entry"},{"type":"text","text":"Apas"},{"type":"text","text":" "},{"type":"text","text":"Reviewed by Lalit Reviewer at 26-Sep-2025 01:02:47 PM"},{"type":"text","text":"Start Work"},{"type":"text","text":"https://qa-staging-2.oqsha.com/#/work-permit/view/3266?orgID=297&dlType=viewWorkPermit"}]}]}}}


### End Event Execution ###


### Start Event Execution ###


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


# Calling SendNotificationToAskUserConsent function for asking user consent #


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


# Calling SendNotificationToAllExceptReviewer function for whatsapp and push notification #


User Ids for notification: [1533,1574,1602,1631,1653,1374,1,1886,2120,2151,1597,2201,1895,1896,1897,2027,2060,2407]


Starting Execution for whatsapp notification for all


Sending notification to requester regarding permit to work 3265


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"919160948627","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"ptw_generic_status_template_v2","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"P/APS/APP/MYHOME/BL/25/00003"},{"type":"text","text":"26-Sep-2025"},{"type":"text","text":"Blasting Work"},{"type":"text","text":"Apas"},{"type":"text","text":" "},{"type":"text","text":"Reviewed by Lalit Reviewer at 26-Sep-2025 01:03:01 PM"},{"type":"text","text":"Start Work"},{"type":"text","text":"https://qa-staging-2.oqsha.com/#/work-permit/view/3265?orgID=297&dlType=viewWorkPermit"}]}]}}}


Osmo-x WhatsApp Message has been Sent


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"919560325895","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"ptw_generic_status_template_v2","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"P/APS/APP/MYHOME/BL/25/00003"},{"type":"text","text":"26-Sep-2025"},{"type":"text","text":"Blasting Work"},{"type":"text","text":"Apas"},{"type":"text","text":" "},{"type":"text","text":"Reviewed by Lalit Reviewer at 26-Sep-2025 01:03:01 PM"},{"type":"text","text":"Start Work"},{"type":"text","text":"https://qa-staging-2.oqsha.com/#/work-permit/view/3265?orgID=297&dlType=viewWorkPermit"}]}]}}}


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"917905588778","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"ptw_generic_status_template_v2","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"P/APS/APP/MYHOME/BL/25/00003"},{"type":"text","text":"26-Sep-2025"},{"type":"text","text":"Blasting Work"},{"type":"text","text":"Apas"},{"type":"text","text":" "},{"type":"text","text":"Reviewed by Lalit Reviewer at 26-Sep-2025 01:03:01 PM"},{"type":"text","text":"Start Work"},{"type":"text","text":"https://qa-staging-2.oqsha.com/#/work-permit/view/3265?orgID=297&dlType=viewWorkPermit"}]}]}}}


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"919959835508","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"ptw_generic_status_template_v2","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"P/APS/APP/MYHOME/BL/25/00003"},{"type":"text","text":"26-Sep-2025"},{"type":"text","text":"Blasting Work"},{"type":"text","text":"Apas"},{"type":"text","text":" "},{"type":"text","text":"Reviewed by Lalit Reviewer at 26-Sep-2025 01:03:01 PM"},{"type":"text","text":"Start Work"},{"type":"text","text":"https://qa-staging-2.oqsha.com/#/work-permit/view/3265?orgID=297&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_generic_status_template_v2","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"P/APS/APP/MYHOME/BL/25/00003"},{"type":"text","text":"26-Sep-2025"},{"type":"text","text":"Blasting Work"},{"type":"text","text":"Apas"},{"type":"text","text":" "},{"type":"text","text":"Reviewed by Lalit Reviewer at 26-Sep-2025 01:03:01 PM"},{"type":"text","text":"Start Work"},{"type":"text","text":"https://qa-staging-2.oqsha.com/#/work-permit/view/3265?orgID=297&dlType=viewWorkPermit"}]}]}}}


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"919000187652","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"ptw_generic_status_template_v2","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"P/APS/APP/MYHOME/BL/25/00003"},{"type":"text","text":"26-Sep-2025"},{"type":"text","text":"Blasting Work"},{"type":"text","text":"Apas"},{"type":"text","text":" "},{"type":"text","text":"Reviewed by Lalit Reviewer at 26-Sep-2025 01:03:01 PM"},{"type":"text","text":"Start Work"},{"type":"text","text":"https://qa-staging-2.oqsha.com/#/work-permit/view/3265?orgID=297&dlType=viewWorkPermit"}]}]}}}


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"919368788867","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"ptw_generic_status_template_v2","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"P/APS/APP/MYHOME/BL/25/00003"},{"type":"text","text":"26-Sep-2025"},{"type":"text","text":"Blasting Work"},{"type":"text","text":"Apas"},{"type":"text","text":" "},{"type":"text","text":"Reviewed by Lalit Reviewer at 26-Sep-2025 01:03:01 PM"},{"type":"text","text":"Start Work"},{"type":"text","text":"https://qa-staging-2.oqsha.com/#/work-permit/view/3265?orgID=297&dlType=viewWorkPermit"}]}]}}}


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"918909058909","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"ptw_generic_status_template_v2","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"P/APS/APP/MYHOME/BL/25/00003"},{"type":"text","text":"26-Sep-2025"},{"type":"text","text":"Blasting Work"},{"type":"text","text":"Apas"},{"type":"text","text":" "},{"type":"text","text":"Reviewed by Lalit Reviewer at 26-Sep-2025 01:03:01 PM"},{"type":"text","text":"Start Work"},{"type":"text","text":"https://qa-staging-2.oqsha.com/#/work-permit/view/3265?orgID=297&dlType=viewWorkPermit"}]}]}}}


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"9109354117657","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"ptw_generic_status_template_v2","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"P/APS/APP/MYHOME/BL/25/00003"},{"type":"text","text":"26-Sep-2025"},{"type":"text","text":"Blasting Work"},{"type":"text","text":"Apas"},{"type":"text","text":" "},{"type":"text","text":"Reviewed by Lalit Reviewer at 26-Sep-2025 01:03:01 PM"},{"type":"text","text":"Start Work"},{"type":"text","text":"https://qa-staging-2.oqsha.com/#/work-permit/view/3265?orgID=297&dlType=viewWorkPermit"}]}]}}}


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"919582670233","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"ptw_generic_status_template_v2","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"P/APS/APP/MYHOME/BL/25/00003"},{"type":"text","text":"26-Sep-2025"},{"type":"text","text":"Blasting Work"},{"type":"text","text":"Apas"},{"type":"text","text":" "},{"type":"text","text":"Reviewed by Lalit Reviewer at 26-Sep-2025 01:03:01 PM"},{"type":"text","text":"Start Work"},{"type":"text","text":"https://qa-staging-2.oqsha.com/#/work-permit/view/3265?orgID=297&dlType=viewWorkPermit"}]}]}}}


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"919219455633","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"ptw_generic_status_template_v2","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"P/APS/APP/MYHOME/BL/25/00003"},{"type":"text","text":"26-Sep-2025"},{"type":"text","text":"Blasting Work"},{"type":"text","text":"Apas"},{"type":"text","text":" "},{"type":"text","text":"Reviewed by Lalit Reviewer at 26-Sep-2025 01:03:01 PM"},{"type":"text","text":"Start Work"},{"type":"text","text":"https://qa-staging-2.oqsha.com/#/work-permit/view/3265?orgID=297&dlType=viewWorkPermit"}]}]}}}


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"917659053010","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"ptw_generic_status_template_v2","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"P/APS/APP/MYHOME/BL/25/00003"},{"type":"text","text":"26-Sep-2025"},{"type":"text","text":"Blasting Work"},{"type":"text","text":"Apas"},{"type":"text","text":" "},{"type":"text","text":"Reviewed by Lalit Reviewer at 26-Sep-2025 01:03:01 PM"},{"type":"text","text":"Start Work"},{"type":"text","text":"https://qa-staging-2.oqsha.com/#/work-permit/view/3265?orgID=297&dlType=viewWorkPermit"}]}]}}}


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"919999999999","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"ptw_generic_status_template_v2","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"P/APS/APP/MYHOME/BL/25/00003"},{"type":"text","text":"26-Sep-2025"},{"type":"text","text":"Blasting Work"},{"type":"text","text":"Apas"},{"type":"text","text":" "},{"type":"text","text":"Reviewed by Lalit Reviewer at 26-Sep-2025 01:03:01 PM"},{"type":"text","text":"Start Work"},{"type":"text","text":"https://qa-staging-2.oqsha.com/#/work-permit/view/3265?orgID=297&dlType=viewWorkPermit"}]}]}}}


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"91967845782","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"ptw_generic_status_template_v2","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"P/APS/APP/MYHOME/BL/25/00003"},{"type":"text","text":"26-Sep-2025"},{"type":"text","text":"Blasting Work"},{"type":"text","text":"Apas"},{"type":"text","text":" "},{"type":"text","text":"Reviewed by Lalit Reviewer at 26-Sep-2025 01:03:01 PM"},{"type":"text","text":"Start Work"},{"type":"text","text":"https://qa-staging-2.oqsha.com/#/work-permit/view/3265?orgID=297&dlType=viewWorkPermit"}]}]}}}


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"918864904164","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"ptw_generic_status_template_v2","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"P/APS/APP/MYHOME/BL/25/00003"},{"type":"text","text":"26-Sep-2025"},{"type":"text","text":"Blasting Work"},{"type":"text","text":"Apas"},{"type":"text","text":" "},{"type":"text","text":"Reviewed by Lalit Reviewer at 26-Sep-2025 01:03:01 PM"},{"type":"text","text":"Start Work"},{"type":"text","text":"https://qa-staging-2.oqsha.com/#/work-permit/view/3265?orgID=297&dlType=viewWorkPermit"}]}]}}}


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"91798507565","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"ptw_generic_status_template_v2","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"P/APS/APP/MYHOME/BL/25/00003"},{"type":"text","text":"26-Sep-2025"},{"type":"text","text":"Blasting Work"},{"type":"text","text":"Apas"},{"type":"text","text":" "},{"type":"text","text":"Reviewed by Lalit Reviewer at 26-Sep-2025 01:03:01 PM"},{"type":"text","text":"Start Work"},{"type":"text","text":"https://qa-staging-2.oqsha.com/#/work-permit/view/3265?orgID=297&dlType=viewWorkPermit"}]}]}}}


Sending notification to requester regarding permit to work 3265


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"917478192996","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"ptw_generic_status_template_v2","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"P/APS/APP/MYHOME/BL/25/00003"},{"type":"text","text":"26-Sep-2025"},{"type":"text","text":"Blasting Work"},{"type":"text","text":"Apas"},{"type":"text","text":" "},{"type":"text","text":"Reviewed by Lalit Reviewer at 26-Sep-2025 01:03:01 PM"},{"type":"text","text":"Start Work"},{"type":"text","text":"https://qa-staging-2.oqsha.com/#/work-permit/view/3265?orgID=297&dlType=viewWorkPermit"}]}]}}}


Osmo-x WhatsApp Message has been Sent


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"917273883504","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"ptw_generic_status_template_v2","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"P/APS/APP/MYHOME/BL/25/00003"},{"type":"text","text":"26-Sep-2025"},{"type":"text","text":"Blasting Work"},{"type":"text","text":"Apas"},{"type":"text","text":" "},{"type":"text","text":"Reviewed by Lalit Reviewer at 26-Sep-2025 01:03:01 PM"},{"type":"text","text":"Start Work"},{"type":"text","text":"https://qa-staging-2.oqsha.com/#/work-permit/view/3265?orgID=297&dlType=viewWorkPermit"}]}]}}}


### End Event Execution ###


### Start Event Execution ###


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


# Calling SendNotificationToAskUserConsent function for asking user consent #


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


# Calling SendNotificationToAllExceptReviewer function for whatsapp and push notification #


User Ids for notification: [1533,1574,1602,1631,1653,1374,1,1886,2120,2151,1597,2201,1895,1896,1897,2027,2060,2407]


Starting Execution for whatsapp notification for all


Sending notification to requester regarding permit to work 3264


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"919160948627","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"ptw_generic_status_template_v2","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"P/APS/APP/MYHOME/CW/25/00003"},{"type":"text","text":"26-Sep-2025"},{"type":"text","text":"Concrete Work"},{"type":"text","text":"Apas"},{"type":"text","text":" "},{"type":"text","text":"Reviewed by Lalit Reviewer at 26-Sep-2025 01:03:14 PM"},{"type":"text","text":"Start Work"},{"type":"text","text":"https://qa-staging-2.oqsha.com/#/work-permit/view/3264?orgID=297&dlType=viewWorkPermit"}]}]}}}


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"919560325895","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"ptw_generic_status_template_v2","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"P/APS/APP/MYHOME/CW/25/00003"},{"type":"text","text":"26-Sep-2025"},{"type":"text","text":"Concrete Work"},{"type":"text","text":"Apas"},{"type":"text","text":" "},{"type":"text","text":"Reviewed by Lalit Reviewer at 26-Sep-2025 01:03:14 PM"},{"type":"text","text":"Start Work"},{"type":"text","text":"https://qa-staging-2.oqsha.com/#/work-permit/view/3264?orgID=297&dlType=viewWorkPermit"}]}]}}}


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"917905588778","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"ptw_generic_status_template_v2","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"P/APS/APP/MYHOME/CW/25/00003"},{"type":"text","text":"26-Sep-2025"},{"type":"text","text":"Concrete Work"},{"type":"text","text":"Apas"},{"type":"text","text":" "},{"type":"text","text":"Reviewed by Lalit Reviewer at 26-Sep-2025 01:03:14 PM"},{"type":"text","text":"Start Work"},{"type":"text","text":"https://qa-staging-2.oqsha.com/#/work-permit/view/3264?orgID=297&dlType=viewWorkPermit"}]}]}}}


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"919959835508","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"ptw_generic_status_template_v2","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"P/APS/APP/MYHOME/CW/25/00003"},{"type":"text","text":"26-Sep-2025"},{"type":"text","text":"Concrete Work"},{"type":"text","text":"Apas"},{"type":"text","text":" "},{"type":"text","text":"Reviewed by Lalit Reviewer at 26-Sep-2025 01:03:14 PM"},{"type":"text","text":"Start Work"},{"type":"text","text":"https://qa-staging-2.oqsha.com/#/work-permit/view/3264?orgID=297&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_generic_status_template_v2","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"P/APS/APP/MYHOME/CW/25/00003"},{"type":"text","text":"26-Sep-2025"},{"type":"text","text":"Concrete Work"},{"type":"text","text":"Apas"},{"type":"text","text":" "},{"type":"text","text":"Reviewed by Lalit Reviewer at 26-Sep-2025 01:03:14 PM"},{"type":"text","text":"Start Work"},{"type":"text","text":"https://qa-staging-2.oqsha.com/#/work-permit/view/3264?orgID=297&dlType=viewWorkPermit"}]}]}}}


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"919000187652","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"ptw_generic_status_template_v2","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"P/APS/APP/MYHOME/CW/25/00003"},{"type":"text","text":"26-Sep-2025"},{"type":"text","text":"Concrete Work"},{"type":"text","text":"Apas"},{"type":"text","text":" "},{"type":"text","text":"Reviewed by Lalit Reviewer at 26-Sep-2025 01:03:14 PM"},{"type":"text","text":"Start Work"},{"type":"text","text":"https://qa-staging-2.oqsha.com/#/work-permit/view/3264?orgID=297&dlType=viewWorkPermit"}]}]}}}


Osmo-x WhatsApp Message has been Sent


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"919368788867","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"ptw_generic_status_template_v2","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"P/APS/APP/MYHOME/CW/25/00003"},{"type":"text","text":"26-Sep-2025"},{"type":"text","text":"Concrete Work"},{"type":"text","text":"Apas"},{"type":"text","text":" "},{"type":"text","text":"Reviewed by Lalit Reviewer at 26-Sep-2025 01:03:14 PM"},{"type":"text","text":"Start Work"},{"type":"text","text":"https://qa-staging-2.oqsha.com/#/work-permit/view/3264?orgID=297&dlType=viewWorkPermit"}]}]}}}


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"918909058909","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"ptw_generic_status_template_v2","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"P/APS/APP/MYHOME/CW/25/00003"},{"type":"text","text":"26-Sep-2025"},{"type":"text","text":"Concrete Work"},{"type":"text","text":"Apas"},{"type":"text","text":" "},{"type":"text","text":"Reviewed by Lalit Reviewer at 26-Sep-2025 01:03:14 PM"},{"type":"text","text":"Start Work"},{"type":"text","text":"https://qa-staging-2.oqsha.com/#/work-permit/view/3264?orgID=297&dlType=viewWorkPermit"}]}]}}}


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"9109354117657","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"ptw_generic_status_template_v2","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"P/APS/APP/MYHOME/CW/25/00003"},{"type":"text","text":"26-Sep-2025"},{"type":"text","text":"Concrete Work"},{"type":"text","text":"Apas"},{"type":"text","text":" "},{"type":"text","text":"Reviewed by Lalit Reviewer at 26-Sep-2025 01:03:14 PM"},{"type":"text","text":"Start Work"},{"type":"text","text":"https://qa-staging-2.oqsha.com/#/work-permit/view/3264?orgID=297&dlType=viewWorkPermit"}]}]}}}


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"919582670233","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"ptw_generic_status_template_v2","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"P/APS/APP/MYHOME/CW/25/00003"},{"type":"text","text":"26-Sep-2025"},{"type":"text","text":"Concrete Work"},{"type":"text","text":"Apas"},{"type":"text","text":" "},{"type":"text","text":"Reviewed by Lalit Reviewer at 26-Sep-2025 01:03:14 PM"},{"type":"text","text":"Start Work"},{"type":"text","text":"https://qa-staging-2.oqsha.com/#/work-permit/view/3264?orgID=297&dlType=viewWorkPermit"}]}]}}}


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"919219455633","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"ptw_generic_status_template_v2","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"P/APS/APP/MYHOME/CW/25/00003"},{"type":"text","text":"26-Sep-2025"},{"type":"text","text":"Concrete Work"},{"type":"text","text":"Apas"},{"type":"text","text":" "},{"type":"text","text":"Reviewed by Lalit Reviewer at 26-Sep-2025 01:03:14 PM"},{"type":"text","text":"Start Work"},{"type":"text","text":"https://qa-staging-2.oqsha.com/#/work-permit/view/3264?orgID=297&dlType=viewWorkPermit"}]}]}}}


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"917659053010","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"ptw_generic_status_template_v2","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"P/APS/APP/MYHOME/CW/25/00003"},{"type":"text","text":"26-Sep-2025"},{"type":"text","text":"Concrete Work"},{"type":"text","text":"Apas"},{"type":"text","text":" "},{"type":"text","text":"Reviewed by Lalit Reviewer at 26-Sep-2025 01:03:14 PM"},{"type":"text","text":"Start Work"},{"type":"text","text":"https://qa-staging-2.oqsha.com/#/work-permit/view/3264?orgID=297&dlType=viewWorkPermit"}]}]}}}


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"919999999999","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"ptw_generic_status_template_v2","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"P/APS/APP/MYHOME/CW/25/00003"},{"type":"text","text":"26-Sep-2025"},{"type":"text","text":"Concrete Work"},{"type":"text","text":"Apas"},{"type":"text","text":" "},{"type":"text","text":"Reviewed by Lalit Reviewer at 26-Sep-2025 01:03:14 PM"},{"type":"text","text":"Start Work"},{"type":"text","text":"https://qa-staging-2.oqsha.com/#/work-permit/view/3264?orgID=297&dlType=viewWorkPermit"}]}]}}}


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"91967845782","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"ptw_generic_status_template_v2","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"P/APS/APP/MYHOME/CW/25/00003"},{"type":"text","text":"26-Sep-2025"},{"type":"text","text":"Concrete Work"},{"type":"text","text":"Apas"},{"type":"text","text":" "},{"type":"text","text":"Reviewed by Lalit Reviewer at 26-Sep-2025 01:03:14 PM"},{"type":"text","text":"Start Work"},{"type":"text","text":"https://qa-staging-2.oqsha.com/#/work-permit/view/3264?orgID=297&dlType=viewWorkPermit"}]}]}}}