### Start Event Execution ###


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


# Calling SendNotificationToIssuerForCreatingPermitToWork function for whatsapp and push notification #


# Fetching devices bypassing preferences (system event or unknown module) (Bulk) #


Executing sending notification to issuers through whatsapp


Sending notification to issuers of the comapny regarding permit to work 424591


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000007341","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/MIRA/FCP/YI/EX/26/00001"},{"type":"text","text":"09-Aug-2026"},{"type":"text","text":"Excavation Work"},{"type":"text","text":"Rio"},{"type":"text","text":" "},{"type":"text","text":"Requested by Neppie Traynor at 09-Aug-2026 01:08:47 AM"},{"type":"text","text":"Accept"},{"type":"text","text":"Sacherby Markham"},{"type":"text","text":"https://sandbox.oqsha.com/#/wp/view/232/424591"}]}]}}}


Osmo-x WhatsApp Message has been Sent


Executing sending push notification to the issuers


# Push Subject for Issuer P/MIRA/FCP/YI/EX/26/00001


# Preparing notification body #


### End Event Execution ###


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


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000007341","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/MIRA/FCP/YI/EX/26/00001"},{"type":"text","text":"09-Aug-2026"},{"type":"text","text":"Excavation Work"},{"type":"text","text":"Rio"},{"type":"text","text":" "},{"type":"text","text":"Accepted by Sacherby Markham at 09-Aug-2026 01:13:12 AM"},{"type":"text","text":"Quality Verify"},{"type":"text","text":"Sacherby Markham"},{"type":"text","text":"https://sandbox.oqsha.com/#/wp/view/232/424591"}]}]}}}


# Push Subject P/MIRA/FCP/YI/EX/26/00001


# string body 09-Aug-2026, Sacherby Markham,


System.NullReferenceException: Object reference not set to an instance of an object.
   at IncidentReporter.NotificationSender.DAL.Events.Notifier.SendNotificationToEitherReviewerOrApprover(String eventName, Int64 ptwId, Int64 orgId, String stringUserIds, String stringPrevStateUserIds, String stringReceieveAllPtwUserIds, String workPermitStatus, String jobType, String statusChangeUserDisplayName, String permitToWorkUId, String startDate, String statusChangedTime, String workLocation, String assignToUserDisplayName, String nextStatus, String siteName, String modeOfNotifications, String customStatusJson, String companyUsersEmails) in C:\GitLab-Runner\builds\27n6lYj0J\0\incident-reporter\incident-reporter-api\IncidentReporter\IncidentReporter.NotificationSender\DAL\Events\Notifier.cs:line 4203
   at IncidentReporter.NotificationSender.DAL.Events.EventHandler.HandleMessage(IMessage message) in C:\GitLab-Runner\builds\27n6lYj0J\0\incident-reporter\incident-reporter-api\IncidentReporter\IncidentReporter.NotificationSender\DAL\Events\EventHandler.cs:line 589


### Start Event Execution ###


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000007341","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/MIRA/FCP/YI/EX/26/00001"},{"type":"text","text":"09-Aug-2026"},{"type":"text","text":"Excavation Work"},{"type":"text","text":"Rio"},{"type":"text","text":" "},{"type":"text","text":"Quality Verified by Sacherby Markham at 09-Aug-2026 01:13:33 AM"},{"type":"text","text":"Approve"},{"type":"text","text":"Sacherby Markham"},{"type":"text","text":"https://sandbox.oqsha.com/#/wp/view/232/424591"}]}]}}}


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


# Calling SendNotificationToAllExceptReviewer function for whatsapp and push notification #


User Ids for notification: [3978,4048,4055,4586]


# Fetching devices bypassing preferences (system event or unknown module) (Bulk) #


Starting Execution for whatsapp notification for all


Sending notification to requester regarding permit to work 424591


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"919999999999","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"ptw_generic_status_template_v4","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"P/MIRA/FCP/YI/EX/26/00001"},{"type":"text","text":"09-Aug-2026"},{"type":"text","text":"Excavation Work"},{"type":"text","text":"Rio"},{"type":"text","text":" "},{"type":"text","text":"Approved by Sacherby Markham at 09-Aug-2026 01:14:55 AM"},{"type":"text","text":"Start Work"},{"type":"text","text":"https://sandbox.oqsha.com/#/wp/view/232/424591"}]}]}}}


Osmo-x WhatsApp Message has been Sent


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000010468","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"ptw_generic_status_template_v4","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"P/MIRA/FCP/YI/EX/26/00001"},{"type":"text","text":"09-Aug-2026"},{"type":"text","text":"Excavation Work"},{"type":"text","text":"Rio"},{"type":"text","text":" "},{"type":"text","text":"Approved by Sacherby Markham at 09-Aug-2026 01:14:55 AM"},{"type":"text","text":"Start Work"},{"type":"text","text":"https://sandbox.oqsha.com/#/wp/view/232/424591"}]}]}}}


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000001909","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"ptw_generic_status_template_v4","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"P/MIRA/FCP/YI/EX/26/00001"},{"type":"text","text":"09-Aug-2026"},{"type":"text","text":"Excavation Work"},{"type":"text","text":"Rio"},{"type":"text","text":" "},{"type":"text","text":"Approved by Sacherby Markham at 09-Aug-2026 01:14:55 AM"},{"type":"text","text":"Start Work"},{"type":"text","text":"https://sandbox.oqsha.com/#/wp/view/232/424591"}]}]}}}


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"917777777771","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"ptw_generic_status_template_v4","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"P/MIRA/FCP/YI/EX/26/00001"},{"type":"text","text":"09-Aug-2026"},{"type":"text","text":"Excavation Work"},{"type":"text","text":"Rio"},{"type":"text","text":" "},{"type":"text","text":"Approved by Sacherby Markham at 09-Aug-2026 01:14:55 AM"},{"type":"text","text":"Start Work"},{"type":"text","text":"https://sandbox.oqsha.com/#/wp/view/232/424591"}]}]}}}


Starting Execution for push notification for all


# Preparing notification body #


# Push Subject for Issuer P/MIRA/FCP/YI/EX/26/00001


# string body 09-Aug-2026, Sacherby Markham, P/MIRA/FCP/YI/EX/26/00001, 09-Aug-2026


### End Event Execution ###


### Start Event Execution ###


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


# Calling SendNotificationToIssuersForExtensionPTW function for whatsapp and push notification #


Executing sending notification to issuers for extended PTW through whatsapp


Sending notification to issuers of the comapny regarding permit to work 424591


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000007341","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/MIRA/FCP/YI/EX/26/00001"},{"type":"text","text":"09-Aug-2026"},{"type":"text","text":"Excavation Work"},{"type":"text","text":"Rio"},{"type":"text","text":" "},{"type":"text","text":"Extension Requested by Neppie Traynor for 2 hour(s) at 09-Aug-2026 01:15:44 AM"},{"type":"text","text":"Extension Accept"},{"type":"text","text":"Sacherby Markham"},{"type":"text","text":"https://sandbox.oqsha.com/#/wp/view/232/424591"}]}]}}}


Executing sending push notification to the issuers for extended PTW


# string body Neppie Traynor, 2 hour(s), P/MIRA/FCP/YI/EX/26/00001


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


# Calling SendNotificationToAllForExtennsionRejectedStatus function for  whatsapp and push notification #


# Fetching devices bypassing preferences (system event or unknown module) (Bulk) #


Executing sending notification for extension rejection status through whatsapp


Sending notification for extension rejection status regarding permit to work with Id: 424591


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"919999999999","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"ptw_generic_status_template_v4","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"P/MIRA/FCP/YI/EX/26/00001"},{"type":"text","text":"09-Aug-2026"},{"type":"text","text":"Excavation Work"},{"type":"text","text":"Rio"},{"type":"text","text":" "},{"type":"text","text":"Extension Rejected by Sacherby Markham for 2 hour(s) at 09-Aug-2026 01:16:26 AM. Reason- vfcdxs"},{"type":"text","text":"Request again"},{"type":"text","text":"https://sandbox.oqsha.com/#/wp/view/232/424591"}]}]}}}


Osmo-x WhatsApp Message has been Sent


Starting Execution for push notification for extension rejection status


# Preparing notification body #


# string body Sacherby Markham,P/MIRA/FCP/YI/EX/26/00001, vfcdxs


### End Event Execution ###


### Start Event Execution ###


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000007341","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/MIRA/FCP/YI/EX/26/00001"},{"type":"text","text":"09-Aug-2026"},{"type":"text","text":"Excavation Work"},{"type":"text","text":"Rio"},{"type":"text","text":" "},{"type":"text","text":"Extension Requested by Neppie Traynor for 1 hour(s) at 09-Aug-2026 01:16:57 AM"},{"type":"text","text":"Extension Accept"},{"type":"text","text":"Sacherby Markham"},{"type":"text","text":"https://sandbox.oqsha.com/#/wp/view/232/424591"}]}]}}}


# Push Subject for Issuer P/MIRA/FCP/YI/EX/26/00001


# string body Neppie Traynor, 1 hour(s), P/MIRA/FCP/YI/EX/26/00001


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


# Calling SendNotificationToEitherReviewerOrApproverForExtendedPTW 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 424591


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000007341","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/MIRA/FCP/YI/EX/26/00001"},{"type":"text","text":"09-Aug-2026"},{"type":"text","text":"Excavation Work"},{"type":"text","text":"Rio"},{"type":"text","text":" "},{"type":"text","text":"Extension Accepted by Sacherby Markham for 1 hour(s) at 09-Aug-2026 01:21:53 AM"},{"type":"text","text":"Extension Quality Verify"},{"type":"text","text":"Sacherby Markham"},{"type":"text","text":"https://sandbox.oqsha.com/#/wp/view/232/424591"}]}]}}}


# string body Neppie Traynor, 1 hour(s), P/MIRA/FCP/YI/EX/26/00001,,


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000007341","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/MIRA/FCP/YI/EX/26/00001"},{"type":"text","text":"09-Aug-2026"},{"type":"text","text":"Excavation Work"},{"type":"text","text":"Rio"},{"type":"text","text":" "},{"type":"text","text":"Extension Quality Verified by Sacherby Markham for 1 hour(s) at 09-Aug-2026 01:22:01 AM"},{"type":"text","text":"Extension Approve"},{"type":"text","text":"Sacherby Markham"},{"type":"text","text":"https://sandbox.oqsha.com/#/wp/view/232/424591"}]}]}}}


Osmo-x WhatsApp Message has been Sent


# string body Neppie Traynor, 1 hour(s), P/MIRA/FCP/YI/EX/26/00001,Sacherby Markham,


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


# Calling SendNotificationToAllExceptReviewerForExtendedPTW function for  whatsapp and push notification #


# Fetching devices bypassing preferences (system event or unknown module) (Bulk) #


Starting Execution for whatsapp notification for all


Sending notification to requester regarding permit to work 424591


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"919999999999","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"ptw_generic_status_template_v4","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"P/MIRA/FCP/YI/EX/26/00001"},{"type":"text","text":"09-Aug-2026"},{"type":"text","text":"Excavation Work"},{"type":"text","text":"Rio"},{"type":"text","text":" "},{"type":"text","text":"Extension Approved by Sacherby Markham for 1 hour(s) at 09-Aug-2026 01:22:06 AM"},{"type":"text","text":"Start Work"},{"type":"text","text":"https://sandbox.oqsha.com/#/wp/view/232/424591"}]}]}}}


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000010468","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"ptw_generic_status_template_v4","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"P/MIRA/FCP/YI/EX/26/00001"},{"type":"text","text":"09-Aug-2026"},{"type":"text","text":"Excavation Work"},{"type":"text","text":"Rio"},{"type":"text","text":" "},{"type":"text","text":"Extension Approved by Sacherby Markham for 1 hour(s) at 09-Aug-2026 01:22:06 AM"},{"type":"text","text":"Start Work"},{"type":"text","text":"https://sandbox.oqsha.com/#/wp/view/232/424591"}]}]}}}


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000001909","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"ptw_generic_status_template_v4","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"P/MIRA/FCP/YI/EX/26/00001"},{"type":"text","text":"09-Aug-2026"},{"type":"text","text":"Excavation Work"},{"type":"text","text":"Rio"},{"type":"text","text":" "},{"type":"text","text":"Extension Approved by Sacherby Markham for 1 hour(s) at 09-Aug-2026 01:22:06 AM"},{"type":"text","text":"Start Work"},{"type":"text","text":"https://sandbox.oqsha.com/#/wp/view/232/424591"}]}]}}}


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"917777777771","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"ptw_generic_status_template_v4","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"P/MIRA/FCP/YI/EX/26/00001"},{"type":"text","text":"09-Aug-2026"},{"type":"text","text":"Excavation Work"},{"type":"text","text":"Rio"},{"type":"text","text":" "},{"type":"text","text":"Extension Approved by Sacherby Markham for 1 hour(s) at 09-Aug-2026 01:22:06 AM"},{"type":"text","text":"Start Work"},{"type":"text","text":"https://sandbox.oqsha.com/#/wp/view/232/424591"}]}]}}}


# Preparing notification body #


# Push Subject for Issuer P/MIRA/FCP/YI/EX/26/00001


# string body Sacherby Markham, 1 hour(s), P/MIRA/FCP/YI/EX/26/00001


### End Event Execution ###


### Start Event Execution ###


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


# Calling SendNotificationForPTWHistory function for whatsapp and push notification #


Executing sending notification to reviewer through whatsapp


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


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000007341","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"ptw_history_comments_latest_v2","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"P/MIRA/FCP/YI/EX/26/00001"},{"type":"text","text":"09-Aug-2026"},{"type":"text","text":"Excavation Work"},{"type":"text","text":"Rio"},{"type":"text","text":" "},{"type":"text","text":"canceled. The status has changed to Cancelled."},{"type":"text","text":"Sacherby Markham at 09-Aug-2026 01:24:03 AM"},{"type":"text","text":"https://sandbox.oqsha.com/#/wp/view/232/424591"}]}]}}}


Osmo-x WhatsApp Message has been Sent


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"919999999999","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"ptw_history_comments_latest_v2","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"P/MIRA/FCP/YI/EX/26/00001"},{"type":"text","text":"09-Aug-2026"},{"type":"text","text":"Excavation Work"},{"type":"text","text":"Rio"},{"type":"text","text":" "},{"type":"text","text":"canceled. The status has changed to Cancelled."},{"type":"text","text":"Sacherby Markham at 09-Aug-2026 01:24:03 AM"},{"type":"text","text":"https://sandbox.oqsha.com/#/wp/view/232/424591"}]}]}}}


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000010468","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"ptw_history_comments_latest_v2","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"P/MIRA/FCP/YI/EX/26/00001"},{"type":"text","text":"09-Aug-2026"},{"type":"text","text":"Excavation Work"},{"type":"text","text":"Rio"},{"type":"text","text":" "},{"type":"text","text":"canceled. The status has changed to Cancelled."},{"type":"text","text":"Sacherby Markham at 09-Aug-2026 01:24:03 AM"},{"type":"text","text":"https://sandbox.oqsha.com/#/wp/view/232/424591"}]}]}}}


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000001909","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"ptw_history_comments_latest_v2","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"P/MIRA/FCP/YI/EX/26/00001"},{"type":"text","text":"09-Aug-2026"},{"type":"text","text":"Excavation Work"},{"type":"text","text":"Rio"},{"type":"text","text":" "},{"type":"text","text":"canceled. The status has changed to Cancelled."},{"type":"text","text":"Sacherby Markham at 09-Aug-2026 01:24:03 AM"},{"type":"text","text":"https://sandbox.oqsha.com/#/wp/view/232/424591"}]}]}}}


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"917777777771","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"ptw_history_comments_latest_v2","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"P/MIRA/FCP/YI/EX/26/00001"},{"type":"text","text":"09-Aug-2026"},{"type":"text","text":"Excavation Work"},{"type":"text","text":"Rio"},{"type":"text","text":" "},{"type":"text","text":"canceled. The status has changed to Cancelled."},{"type":"text","text":"Sacherby Markham at 09-Aug-2026 01:24:03 AM"},{"type":"text","text":"https://sandbox.oqsha.com/#/wp/view/232/424591"}]}]}}}


# Fetching devices bypassing preferences (system event or unknown module) (Bulk) #


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000007341","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"ptw_history_comments_latest_v2","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"P/MIRA/FCP/YI/EX/26/00001"},{"type":"text","text":"09-Aug-2026"},{"type":"text","text":"Excavation Work"},{"type":"text","text":"Rio"},{"type":"text","text":" "},{"type":"text","text":"re approved. The status has changed to Re-Approved."},{"type":"text","text":"Neppie Traynor at 09-Aug-2026 01:24:25 AM"},{"type":"text","text":"https://sandbox.oqsha.com/#/wp/view/232/424591"}]}]}}}


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"919999999999","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"ptw_history_comments_latest_v2","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"P/MIRA/FCP/YI/EX/26/00001"},{"type":"text","text":"09-Aug-2026"},{"type":"text","text":"Excavation Work"},{"type":"text","text":"Rio"},{"type":"text","text":" "},{"type":"text","text":"re approved. The status has changed to Re-Approved."},{"type":"text","text":"Neppie Traynor at 09-Aug-2026 01:24:25 AM"},{"type":"text","text":"https://sandbox.oqsha.com/#/wp/view/232/424591"}]}]}}}


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000010468","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"ptw_history_comments_latest_v2","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"P/MIRA/FCP/YI/EX/26/00001"},{"type":"text","text":"09-Aug-2026"},{"type":"text","text":"Excavation Work"},{"type":"text","text":"Rio"},{"type":"text","text":" "},{"type":"text","text":"re approved. The status has changed to Re-Approved."},{"type":"text","text":"Neppie Traynor at 09-Aug-2026 01:24:25 AM"},{"type":"text","text":"https://sandbox.oqsha.com/#/wp/view/232/424591"}]}]}}}


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000001909","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"ptw_history_comments_latest_v2","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"P/MIRA/FCP/YI/EX/26/00001"},{"type":"text","text":"09-Aug-2026"},{"type":"text","text":"Excavation Work"},{"type":"text","text":"Rio"},{"type":"text","text":" "},{"type":"text","text":"re approved. The status has changed to Re-Approved."},{"type":"text","text":"Neppie Traynor at 09-Aug-2026 01:24:25 AM"},{"type":"text","text":"https://sandbox.oqsha.com/#/wp/view/232/424591"}]}]}}}


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"917777777771","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"ptw_history_comments_latest_v2","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"P/MIRA/FCP/YI/EX/26/00001"},{"type":"text","text":"09-Aug-2026"},{"type":"text","text":"Excavation Work"},{"type":"text","text":"Rio"},{"type":"text","text":" "},{"type":"text","text":"re approved. The status has changed to Re-Approved."},{"type":"text","text":"Neppie Traynor at 09-Aug-2026 01:24:25 AM"},{"type":"text","text":"https://sandbox.oqsha.com/#/wp/view/232/424591"}]}]}}}


### End Event Execution ###


### Start Event Execution ###


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


# Calling SendNotificationToIssuerForCreatingPermitToWork function for whatsapp and push notification #


Executing sending notification to issuers through whatsapp


Sending notification to issuers of the comapny regarding permit to work 424592


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000007341","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/MIRA/FCP/YI/EX/26/00002"},{"type":"text","text":"09-Aug-2026"},{"type":"text","text":"Excavation Work"},{"type":"text","text":"Rio"},{"type":"text","text":" "},{"type":"text","text":"Requested by Neppie Traynor at 09-Aug-2026 01:42:20 AM"},{"type":"text","text":"Accept"},{"type":"text","text":"Sacherby Markham"},{"type":"text","text":"https://sandbox.oqsha.com/#/wp/view/232/424592"}]}]}}}


Osmo-x WhatsApp Message has been Sent


Executing sending push notification to the issuers


# Push Subject for Issuer P/MIRA/FCP/YI/EX/26/00002


# Preparing notification body #


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


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000007341","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/MIRA/FCP/YI/EX/26/00002"},{"type":"text","text":"09-Aug-2026"},{"type":"text","text":"Excavation Work"},{"type":"text","text":"Rio"},{"type":"text","text":" "},{"type":"text","text":"Accepted by Sacherby Markham at 09-Aug-2026 01:43:31 AM"},{"type":"text","text":"Quality Verify"},{"type":"text","text":"Sacherby Markham"},{"type":"text","text":"https://sandbox.oqsha.com/#/wp/view/232/424592"}]}]}}}


# Push Subject P/MIRA/FCP/YI/EX/26/00002


# string body 09-Aug-2026, Sacherby Markham,


Object reference not set to an instance of an object.


### End Event Execution ###


### Start Event Execution ###


# Fetching devices bypassing preferences (system event or unknown module) (Bulk) #


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000007341","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/MIRA/FCP/YI/EX/26/00002"},{"type":"text","text":"09-Aug-2026"},{"type":"text","text":"Excavation Work"},{"type":"text","text":"Rio"},{"type":"text","text":" "},{"type":"text","text":"Quality Verified by Sacherby Markham at 09-Aug-2026 01:56:46 AM"},{"type":"text","text":"Approve"},{"type":"text","text":"Sacherby Markham"},{"type":"text","text":"https://sandbox.oqsha.com/#/wp/view/232/424592"}]}]}}}


Osmo-x WhatsApp Message has been Sent


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


# Calling SendNotificationToAllExceptReviewer function for whatsapp and push notification #


User Ids for notification: [3978,4048,4055,4586]


Starting Execution for whatsapp notification for all


Sending notification to requester regarding permit to work 424592


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"919999999999","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"ptw_generic_status_template_v4","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"P/MIRA/FCP/YI/EX/26/00002"},{"type":"text","text":"09-Aug-2026"},{"type":"text","text":"Excavation Work"},{"type":"text","text":"Rio"},{"type":"text","text":" "},{"type":"text","text":"Approved by Sacherby Markham at 09-Aug-2026 02:02:31 AM"},{"type":"text","text":"Start Work"},{"type":"text","text":"https://sandbox.oqsha.com/#/wp/view/232/424592"}]}]}}}


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000010468","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"ptw_generic_status_template_v4","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"P/MIRA/FCP/YI/EX/26/00002"},{"type":"text","text":"09-Aug-2026"},{"type":"text","text":"Excavation Work"},{"type":"text","text":"Rio"},{"type":"text","text":" "},{"type":"text","text":"Approved by Sacherby Markham at 09-Aug-2026 02:02:31 AM"},{"type":"text","text":"Start Work"},{"type":"text","text":"https://sandbox.oqsha.com/#/wp/view/232/424592"}]}]}}}


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000001909","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"ptw_generic_status_template_v4","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"P/MIRA/FCP/YI/EX/26/00002"},{"type":"text","text":"09-Aug-2026"},{"type":"text","text":"Excavation Work"},{"type":"text","text":"Rio"},{"type":"text","text":" "},{"type":"text","text":"Approved by Sacherby Markham at 09-Aug-2026 02:02:31 AM"},{"type":"text","text":"Start Work"},{"type":"text","text":"https://sandbox.oqsha.com/#/wp/view/232/424592"}]}]}}}


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"917777777771","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"ptw_generic_status_template_v4","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"P/MIRA/FCP/YI/EX/26/00002"},{"type":"text","text":"09-Aug-2026"},{"type":"text","text":"Excavation Work"},{"type":"text","text":"Rio"},{"type":"text","text":" "},{"type":"text","text":"Approved by Sacherby Markham at 09-Aug-2026 02:02:31 AM"},{"type":"text","text":"Start Work"},{"type":"text","text":"https://sandbox.oqsha.com/#/wp/view/232/424592"}]}]}}}


Starting Execution for push notification for all


# Preparing notification body #


# Push Subject for Issuer P/MIRA/FCP/YI/EX/26/00002


# string body 09-Aug-2026, Sacherby Markham, P/MIRA/FCP/YI/EX/26/00002, 09-Aug-2026


### End Event Execution ###


### Start Event Execution ###


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


# Calling SendNotificationToIssuersForExtensionPTW function for whatsapp and push notification #


Executing sending notification to issuers for extended PTW through whatsapp


Sending notification to issuers of the comapny regarding permit to work 424592


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000007341","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/MIRA/FCP/YI/EX/26/00002"},{"type":"text","text":"09-Aug-2026"},{"type":"text","text":"Excavation Work"},{"type":"text","text":"Rio"},{"type":"text","text":" "},{"type":"text","text":"Extension Requested by Neppie Traynor for 1 hour(s) at 09-Aug-2026 02:14:20 AM"},{"type":"text","text":"Extension Accept"},{"type":"text","text":"Sacherby Markham"},{"type":"text","text":"https://sandbox.oqsha.com/#/wp/view/232/424592"}]}]}}}


Osmo-x WhatsApp Message has been Sent


Executing sending push notification to the issuers for extended PTW


# string body Neppie Traynor, 1 hour(s), P/MIRA/FCP/YI/EX/26/00002


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


# Calling SendNotificationToEitherReviewerOrApproverForExtendedPTW function for  whatsapp and push notification #


# Fetching devices bypassing preferences (system event or unknown module) (Bulk) #


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 424592


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000007341","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/MIRA/FCP/YI/EX/26/00002"},{"type":"text","text":"09-Aug-2026"},{"type":"text","text":"Excavation Work"},{"type":"text","text":"Rio"},{"type":"text","text":" "},{"type":"text","text":"Extension Accepted by Sacherby Markham for 1 hour(s) at 09-Aug-2026 02:27:49 AM"},{"type":"text","text":"Extension Quality Verify"},{"type":"text","text":"Sacherby Markham"},{"type":"text","text":"https://sandbox.oqsha.com/#/wp/view/232/424592"}]}]}}}


# Preparing notification body #


# string body Neppie Traynor, 1 hour(s), P/MIRA/FCP/YI/EX/26/00002,,


### End Event Execution ###


### Start Event Execution ###


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000007341","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/MIRA/FCP/YI/EX/26/00002"},{"type":"text","text":"09-Aug-2026"},{"type":"text","text":"Excavation Work"},{"type":"text","text":"Rio"},{"type":"text","text":" "},{"type":"text","text":"Extension Quality Verified by Sacherby Markham for 1 hour(s) at 09-Aug-2026 02:30:01 AM"},{"type":"text","text":"Extension Approve"},{"type":"text","text":"Sacherby Markham"},{"type":"text","text":"https://sandbox.oqsha.com/#/wp/view/232/424592"}]}]}}}


# Push Subject for Issuer P/MIRA/FCP/YI/EX/26/00002


# string body Neppie Traynor, 1 hour(s), P/MIRA/FCP/YI/EX/26/00002,Sacherby Markham,


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


# Calling SendNotificationToAllExceptReviewerForExtendedPTW function for  whatsapp and push notification #


Starting Execution for whatsapp notification for all


Sending notification to requester regarding permit to work 424592


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"919999999999","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"ptw_generic_status_template_v4","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"P/MIRA/FCP/YI/EX/26/00002"},{"type":"text","text":"09-Aug-2026"},{"type":"text","text":"Excavation Work"},{"type":"text","text":"Rio"},{"type":"text","text":" "},{"type":"text","text":"Extension Approved by Sacherby Markham for 1 hour(s) at 09-Aug-2026 02:31:28 AM"},{"type":"text","text":"Start Work"},{"type":"text","text":"https://sandbox.oqsha.com/#/wp/view/232/424592"}]}]}}}


Osmo-x WhatsApp Message has been Sent


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000010468","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"ptw_generic_status_template_v4","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"P/MIRA/FCP/YI/EX/26/00002"},{"type":"text","text":"09-Aug-2026"},{"type":"text","text":"Excavation Work"},{"type":"text","text":"Rio"},{"type":"text","text":" "},{"type":"text","text":"Extension Approved by Sacherby Markham for 1 hour(s) at 09-Aug-2026 02:31:28 AM"},{"type":"text","text":"Start Work"},{"type":"text","text":"https://sandbox.oqsha.com/#/wp/view/232/424592"}]}]}}}


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000001909","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"ptw_generic_status_template_v4","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"P/MIRA/FCP/YI/EX/26/00002"},{"type":"text","text":"09-Aug-2026"},{"type":"text","text":"Excavation Work"},{"type":"text","text":"Rio"},{"type":"text","text":" "},{"type":"text","text":"Extension Approved by Sacherby Markham for 1 hour(s) at 09-Aug-2026 02:31:28 AM"},{"type":"text","text":"Start Work"},{"type":"text","text":"https://sandbox.oqsha.com/#/wp/view/232/424592"}]}]}}}


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"917777777771","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"ptw_generic_status_template_v4","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"P/MIRA/FCP/YI/EX/26/00002"},{"type":"text","text":"09-Aug-2026"},{"type":"text","text":"Excavation Work"},{"type":"text","text":"Rio"},{"type":"text","text":" "},{"type":"text","text":"Extension Approved by Sacherby Markham for 1 hour(s) at 09-Aug-2026 02:31:28 AM"},{"type":"text","text":"Start Work"},{"type":"text","text":"https://sandbox.oqsha.com/#/wp/view/232/424592"}]}]}}}


# string body Sacherby Markham, 1 hour(s), P/MIRA/FCP/YI/EX/26/00002


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


# Calling SendNotificationForPTWHistory function for whatsapp and push notification #


# Fetching devices bypassing preferences (system event or unknown module) (Bulk) #


Executing sending notification to reviewer through whatsapp


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


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000007341","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"ptw_history_comments_latest_v2","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"P/MIRA/FCP/YI/EX/26/00002"},{"type":"text","text":"09-Aug-2026"},{"type":"text","text":"Excavation Work"},{"type":"text","text":"Rio"},{"type":"text","text":" "},{"type":"text","text":"canceled. The status has changed to Cancelled."},{"type":"text","text":"Sacherby Markham at 09-Aug-2026 02:42:19 AM"},{"type":"text","text":"https://sandbox.oqsha.com/#/wp/view/232/424592"}]}]}}}


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"919999999999","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"ptw_history_comments_latest_v2","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"P/MIRA/FCP/YI/EX/26/00002"},{"type":"text","text":"09-Aug-2026"},{"type":"text","text":"Excavation Work"},{"type":"text","text":"Rio"},{"type":"text","text":" "},{"type":"text","text":"canceled. The status has changed to Cancelled."},{"type":"text","text":"Sacherby Markham at 09-Aug-2026 02:42:19 AM"},{"type":"text","text":"https://sandbox.oqsha.com/#/wp/view/232/424592"}]}]}}}


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000010468","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"ptw_history_comments_latest_v2","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"P/MIRA/FCP/YI/EX/26/00002"},{"type":"text","text":"09-Aug-2026"},{"type":"text","text":"Excavation Work"},{"type":"text","text":"Rio"},{"type":"text","text":" "},{"type":"text","text":"canceled. The status has changed to Cancelled."},{"type":"text","text":"Sacherby Markham at 09-Aug-2026 02:42:19 AM"},{"type":"text","text":"https://sandbox.oqsha.com/#/wp/view/232/424592"}]}]}}}


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000001909","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"ptw_history_comments_latest_v2","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"P/MIRA/FCP/YI/EX/26/00002"},{"type":"text","text":"09-Aug-2026"},{"type":"text","text":"Excavation Work"},{"type":"text","text":"Rio"},{"type":"text","text":" "},{"type":"text","text":"canceled. The status has changed to Cancelled."},{"type":"text","text":"Sacherby Markham at 09-Aug-2026 02:42:19 AM"},{"type":"text","text":"https://sandbox.oqsha.com/#/wp/view/232/424592"}]}]}}}


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"917777777771","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"ptw_history_comments_latest_v2","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"P/MIRA/FCP/YI/EX/26/00002"},{"type":"text","text":"09-Aug-2026"},{"type":"text","text":"Excavation Work"},{"type":"text","text":"Rio"},{"type":"text","text":" "},{"type":"text","text":"canceled. The status has changed to Cancelled."},{"type":"text","text":"Sacherby Markham at 09-Aug-2026 02:42:19 AM"},{"type":"text","text":"https://sandbox.oqsha.com/#/wp/view/232/424592"}]}]}}}


### End Event Execution ###


### Start Event Execution ###


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000007341","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"ptw_history_comments_latest_v2","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"P/MIRA/FCP/YI/EX/26/00002"},{"type":"text","text":"09-Aug-2026"},{"type":"text","text":"Excavation Work"},{"type":"text","text":"Rio"},{"type":"text","text":" "},{"type":"text","text":"re approved. The status has changed to Re-Approved."},{"type":"text","text":"Sacherby Markham at 09-Aug-2026 02:43:25 AM"},{"type":"text","text":"https://sandbox.oqsha.com/#/wp/view/232/424592"}]}]}}}


Osmo-x WhatsApp Message has been Sent


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"919999999999","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"ptw_history_comments_latest_v2","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"P/MIRA/FCP/YI/EX/26/00002"},{"type":"text","text":"09-Aug-2026"},{"type":"text","text":"Excavation Work"},{"type":"text","text":"Rio"},{"type":"text","text":" "},{"type":"text","text":"re approved. The status has changed to Re-Approved."},{"type":"text","text":"Sacherby Markham at 09-Aug-2026 02:43:25 AM"},{"type":"text","text":"https://sandbox.oqsha.com/#/wp/view/232/424592"}]}]}}}


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000010468","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"ptw_history_comments_latest_v2","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"P/MIRA/FCP/YI/EX/26/00002"},{"type":"text","text":"09-Aug-2026"},{"type":"text","text":"Excavation Work"},{"type":"text","text":"Rio"},{"type":"text","text":" "},{"type":"text","text":"re approved. The status has changed to Re-Approved."},{"type":"text","text":"Sacherby Markham at 09-Aug-2026 02:43:25 AM"},{"type":"text","text":"https://sandbox.oqsha.com/#/wp/view/232/424592"}]}]}}}


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000001909","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"ptw_history_comments_latest_v2","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"P/MIRA/FCP/YI/EX/26/00002"},{"type":"text","text":"09-Aug-2026"},{"type":"text","text":"Excavation Work"},{"type":"text","text":"Rio"},{"type":"text","text":" "},{"type":"text","text":"re approved. The status has changed to Re-Approved."},{"type":"text","text":"Sacherby Markham at 09-Aug-2026 02:43:25 AM"},{"type":"text","text":"https://sandbox.oqsha.com/#/wp/view/232/424592"}]}]}}}


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"917777777771","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"ptw_history_comments_latest_v2","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"P/MIRA/FCP/YI/EX/26/00002"},{"type":"text","text":"09-Aug-2026"},{"type":"text","text":"Excavation Work"},{"type":"text","text":"Rio"},{"type":"text","text":" "},{"type":"text","text":"re approved. The status has changed to Re-Approved."},{"type":"text","text":"Sacherby Markham at 09-Aug-2026 02:43:25 AM"},{"type":"text","text":"https://sandbox.oqsha.com/#/wp/view/232/424592"}]}]}}}


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000007341","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"ptw_history_comments_latest_v2","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"P/MIRA/FCP/YI/EX/26/00002"},{"type":"text","text":"09-Aug-2026"},{"type":"text","text":"Excavation Work"},{"type":"text","text":"Rio"},{"type":"text","text":" "},{"type":"text","text":"fkddl. The status has changed to Cancelled."},{"type":"text","text":"Neppie Traynor at 09-Aug-2026 02:45:54 AM"},{"type":"text","text":"https://sandbox.oqsha.com/#/wp/view/232/424592"}]}]}}}


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"919999999999","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"ptw_history_comments_latest_v2","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"P/MIRA/FCP/YI/EX/26/00002"},{"type":"text","text":"09-Aug-2026"},{"type":"text","text":"Excavation Work"},{"type":"text","text":"Rio"},{"type":"text","text":" "},{"type":"text","text":"fkddl. The status has changed to Cancelled."},{"type":"text","text":"Neppie Traynor at 09-Aug-2026 02:45:54 AM"},{"type":"text","text":"https://sandbox.oqsha.com/#/wp/view/232/424592"}]}]}}}


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000010468","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"ptw_history_comments_latest_v2","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"P/MIRA/FCP/YI/EX/26/00002"},{"type":"text","text":"09-Aug-2026"},{"type":"text","text":"Excavation Work"},{"type":"text","text":"Rio"},{"type":"text","text":" "},{"type":"text","text":"fkddl. The status has changed to Cancelled."},{"type":"text","text":"Neppie Traynor at 09-Aug-2026 02:45:54 AM"},{"type":"text","text":"https://sandbox.oqsha.com/#/wp/view/232/424592"}]}]}}}


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000001909","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"ptw_history_comments_latest_v2","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"P/MIRA/FCP/YI/EX/26/00002"},{"type":"text","text":"09-Aug-2026"},{"type":"text","text":"Excavation Work"},{"type":"text","text":"Rio"},{"type":"text","text":" "},{"type":"text","text":"fkddl. The status has changed to Cancelled."},{"type":"text","text":"Neppie Traynor at 09-Aug-2026 02:45:54 AM"},{"type":"text","text":"https://sandbox.oqsha.com/#/wp/view/232/424592"}]}]}}}


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"917777777771","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"ptw_history_comments_latest_v2","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"P/MIRA/FCP/YI/EX/26/00002"},{"type":"text","text":"09-Aug-2026"},{"type":"text","text":"Excavation Work"},{"type":"text","text":"Rio"},{"type":"text","text":" "},{"type":"text","text":"fkddl. The status has changed to Cancelled."},{"type":"text","text":"Neppie Traynor at 09-Aug-2026 02:45:54 AM"},{"type":"text","text":"https://sandbox.oqsha.com/#/wp/view/232/424592"}]}]}}}


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


# Calling SendNotificationForPTWHistory function for whatsapp and push notification #


# Fetching devices bypassing preferences (system event or unknown module) (Bulk) #


Executing sending notification to reviewer through whatsapp


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


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000007341","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"ptw_history_comments_latest_v2","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"P/MIRA/FCP/YI/EX/26/00002"},{"type":"text","text":"09-Aug-2026"},{"type":"text","text":"Excavation Work"},{"type":"text","text":"Rio"},{"type":"text","text":" "},{"type":"text","text":"fmkmf. The status has changed to Re-Approved."},{"type":"text","text":"Neppie Traynor at 09-Aug-2026 02:46:08 AM"},{"type":"text","text":"https://sandbox.oqsha.com/#/wp/view/232/424592"}]}]}}}


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"919999999999","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"ptw_history_comments_latest_v2","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"P/MIRA/FCP/YI/EX/26/00002"},{"type":"text","text":"09-Aug-2026"},{"type":"text","text":"Excavation Work"},{"type":"text","text":"Rio"},{"type":"text","text":" "},{"type":"text","text":"fmkmf. The status has changed to Re-Approved."},{"type":"text","text":"Neppie Traynor at 09-Aug-2026 02:46:08 AM"},{"type":"text","text":"https://sandbox.oqsha.com/#/wp/view/232/424592"}]}]}}}


Osmo-x WhatsApp Message has been Sent


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000010468","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"ptw_history_comments_latest_v2","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"P/MIRA/FCP/YI/EX/26/00002"},{"type":"text","text":"09-Aug-2026"},{"type":"text","text":"Excavation Work"},{"type":"text","text":"Rio"},{"type":"text","text":" "},{"type":"text","text":"fmkmf. The status has changed to Re-Approved."},{"type":"text","text":"Neppie Traynor at 09-Aug-2026 02:46:08 AM"},{"type":"text","text":"https://sandbox.oqsha.com/#/wp/view/232/424592"}]}]}}}


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000001909","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"ptw_history_comments_latest_v2","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"P/MIRA/FCP/YI/EX/26/00002"},{"type":"text","text":"09-Aug-2026"},{"type":"text","text":"Excavation Work"},{"type":"text","text":"Rio"},{"type":"text","text":" "},{"type":"text","text":"fmkmf. The status has changed to Re-Approved."},{"type":"text","text":"Neppie Traynor at 09-Aug-2026 02:46:08 AM"},{"type":"text","text":"https://sandbox.oqsha.com/#/wp/view/232/424592"}]}]}}}


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"917777777771","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"ptw_history_comments_latest_v2","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"P/MIRA/FCP/YI/EX/26/00002"},{"type":"text","text":"09-Aug-2026"},{"type":"text","text":"Excavation Work"},{"type":"text","text":"Rio"},{"type":"text","text":" "},{"type":"text","text":"fmkmf. The status has changed to Re-Approved."},{"type":"text","text":"Neppie Traynor at 09-Aug-2026 02:46:08 AM"},{"type":"text","text":"https://sandbox.oqsha.com/#/wp/view/232/424592"}]}]}}}


### End Event Execution ###