Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"919989248964","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"oqsha_moc_approved_inform_to_template_v2","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"Lalit Aditya Kola"},{"type":"text","text":"Mounika Laisetti"},{"type":"text","text":"M/TTK/COI/MMM/25/00007"},{"type":"text","text":"Coimbatore"},{"type":"text","text":"TTK Beta - QA"},{"type":"text","text":"15-Sep-2025 11:54:39 AM"},{"type":"text","text":"https://qa-staging-2.oqsha.com/#/moc/view/387/754?dlType=viewMOC"},{"type":"text","text":"EHS Department - TTK Private Limited"}]}]}}}


Osmo-x WhatsApp Message has been Sent


### End Event Execution ###


### Start Event Execution ###


Message : {"EventName":"WORK_PERMIT_APPROVED_INFORM_TO_CREATOR_NOTIFICATION","EventArgs":[{"Key":"CreatorId","Value":"1"},{"Key":"ApproverName","Value":"Lalit Aditya Kola"},{"Key":"WorkPermitId","Value":"142"},{"Key":"WorkPermitUid","Value":"WP/TTK/COI/HOK/25/00046"},{"Key":"SiteName","Value":"Coimbatore"},{"Key":"OrganisationName","Value":"TTK Beta - QA"},{"Key":"ApprovedOn","Value":"15-Sep-2025 12:16:42 PM"},{"Key":"OrgId","Value":387}]}


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


# Calling SendWorkPermitApprovedInformToCreatorNotification function for email #


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


Message : {"EventName":"WORK_PERMIT_APPROVAL_INVITATION_NOTIFICATION","EventArgs":[{"Key":"UserIds","Value":"[1597]"},{"Key":"WorkPermitId","Value":"142"},{"Key":"WorkPermitUid","Value":"WP/TTK/COI/HOK/25/00046"},{"Key":"SiteName","Value":"Coimbatore"},{"Key":"InitiatorName","Value":"Raj Kumar Pativada"},{"Key":"OrganisationName","Value":"TTK Beta - QA"},{"Key":"OrgId","Value":387}]}


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


# Calling SendWorkPermitApprovalInvitationNotification function for email/WhatsApp #


Executing email notifications to WorkPermit Approvers about the Pending approval


Message : {"EventName":"WORK_PERMIT_APPROVED_INFORM_TO_CREATOR_NOTIFICATION","EventArgs":[{"Key":"CreatorId","Value":"1"},{"Key":"ApproverName","Value":"Sayan Mondal"},{"Key":"WorkPermitId","Value":"142"},{"Key":"WorkPermitUid","Value":"WP/TTK/COI/HOK/25/00046"},{"Key":"SiteName","Value":"Coimbatore"},{"Key":"OrganisationName","Value":"TTK Beta - QA"},{"Key":"ApprovedOn","Value":"15-Sep-2025 12:17:04 PM"},{"Key":"OrgId","Value":387}]}


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


# Calling SendNotificationToTaskAssignees function for WhatsApp notification #


Sending WhatsApp notification for task assignment to user ID: 1954


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


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


Reading and binding data to Email Template


Initializing Email Service Client


Generating Email Request


New Action Tracker Assigned - TA/TTK/COI/PSR/25/00041


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


--- Email response from Osmo-x is 201


### End Event Execution ###