Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000006623","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/HUBG/TFX/RDVT/CS/26/00001"},{"type":"text","text":"03-Jul-2026"},{"type":"text","text":"Confined space"},{"type":"text","text":"Meadow Oaks"},{"type":"text","text":" "},{"type":"text","text":"Extension Reviewed by Robby Soukup for 2 hour(s) at 03-Jul-2026 04:05:48 PM"},{"type":"text","text":"Start Work"},{"type":"text","text":"https://oqsha.com/#/work-permit/view/398549?orgID=207&dlType=viewWorkPermit"}]}]}}}


Osmo-x WhatsApp Message has been Sent


Sending notification to requester regarding permit to work 398549


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000001717","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/HUBG/TFX/RDVT/CS/26/00001"},{"type":"text","text":"03-Jul-2026"},{"type":"text","text":"Confined space"},{"type":"text","text":"Meadow Oaks"},{"type":"text","text":" "},{"type":"text","text":"Extension Reviewed by Robby Soukup for 2 hour(s) at 03-Jul-2026 04:05:48 PM"},{"type":"text","text":"Start Work"},{"type":"text","text":"https://oqsha.com/#/work-permit/view/398549?orgID=207&dlType=viewWorkPermit"}]}]}}}


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"915555557098","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/HUBG/TFX/RDVT/CS/26/00001"},{"type":"text","text":"03-Jul-2026"},{"type":"text","text":"Confined space"},{"type":"text","text":"Meadow Oaks"},{"type":"text","text":" "},{"type":"text","text":"Extension Reviewed by Robby Soukup for 2 hour(s) at 03-Jul-2026 04:05:48 PM"},{"type":"text","text":"Start Work"},{"type":"text","text":"https://oqsha.com/#/work-permit/view/398549?orgID=207&dlType=viewWorkPermit"}]}]}}}


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000010247","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/HUBG/TFX/RDVT/CS/26/00001"},{"type":"text","text":"03-Jul-2026"},{"type":"text","text":"Confined space"},{"type":"text","text":"Meadow Oaks"},{"type":"text","text":" "},{"type":"text","text":"Extension Reviewed by Robby Soukup for 2 hour(s) at 03-Jul-2026 04:05:48 PM"},{"type":"text","text":"Start Work"},{"type":"text","text":"https://oqsha.com/#/work-permit/view/398549?orgID=207&dlType=viewWorkPermit"}]}]}}}


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000000959","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/HUBG/TFX/RDVT/CS/26/00001"},{"type":"text","text":"03-Jul-2026"},{"type":"text","text":"Confined space"},{"type":"text","text":"Meadow Oaks"},{"type":"text","text":" "},{"type":"text","text":"Extension Reviewed by Robby Soukup for 2 hour(s) at 03-Jul-2026 04:05:48 PM"},{"type":"text","text":"Start Work"},{"type":"text","text":"https://oqsha.com/#/work-permit/view/398549?orgID=207&dlType=viewWorkPermit"}]}]}}}


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000007577","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/HUBG/TFX/RDVT/CS/26/00001"},{"type":"text","text":"03-Jul-2026"},{"type":"text","text":"Confined space"},{"type":"text","text":"Meadow Oaks"},{"type":"text","text":" "},{"type":"text","text":"Extension Reviewed by Robby Soukup for 2 hour(s) at 03-Jul-2026 04:05:48 PM"},{"type":"text","text":"Start Work"},{"type":"text","text":"https://oqsha.com/#/work-permit/view/398549?orgID=207&dlType=viewWorkPermit"}]}]}}}


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000003340","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/HUBG/TFX/RDVT/CS/26/00001"},{"type":"text","text":"03-Jul-2026"},{"type":"text","text":"Confined space"},{"type":"text","text":"Meadow Oaks"},{"type":"text","text":" "},{"type":"text","text":"Extension Reviewed by Robby Soukup for 2 hour(s) at 03-Jul-2026 04:05:48 PM"},{"type":"text","text":"Start Work"},{"type":"text","text":"https://oqsha.com/#/work-permit/view/398549?orgID=207&dlType=viewWorkPermit"}]}]}}}


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000000337","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/HUBG/TFX/RDVT/CS/26/00001"},{"type":"text","text":"03-Jul-2026"},{"type":"text","text":"Confined space"},{"type":"text","text":"Meadow Oaks"},{"type":"text","text":" "},{"type":"text","text":"Extension Reviewed by Robby Soukup for 2 hour(s) at 03-Jul-2026 04:05:48 PM"},{"type":"text","text":"Start Work"},{"type":"text","text":"https://oqsha.com/#/work-permit/view/398549?orgID=207&dlType=viewWorkPermit"}]}]}}}


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000000734","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/HUBG/TFX/RDVT/CS/26/00001"},{"type":"text","text":"03-Jul-2026"},{"type":"text","text":"Confined space"},{"type":"text","text":"Meadow Oaks"},{"type":"text","text":" "},{"type":"text","text":"Extension Reviewed by Robby Soukup for 2 hour(s) at 03-Jul-2026 04:05:48 PM"},{"type":"text","text":"Start Work"},{"type":"text","text":"https://oqsha.com/#/work-permit/view/398549?orgID=207&dlType=viewWorkPermit"}]}]}}}


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000003805","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/HUBG/TFX/RDVT/CS/26/00001"},{"type":"text","text":"03-Jul-2026"},{"type":"text","text":"Confined space"},{"type":"text","text":"Meadow Oaks"},{"type":"text","text":" "},{"type":"text","text":"Extension Reviewed by Robby Soukup for 2 hour(s) at 03-Jul-2026 04:05:48 PM"},{"type":"text","text":"Start Work"},{"type":"text","text":"https://oqsha.com/#/work-permit/view/398549?orgID=207&dlType=viewWorkPermit"}]}]}}}


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000003712","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/HUBG/TFX/RDVT/CS/26/00001"},{"type":"text","text":"03-Jul-2026"},{"type":"text","text":"Confined space"},{"type":"text","text":"Meadow Oaks"},{"type":"text","text":" "},{"type":"text","text":"Extension Reviewed by Robby Soukup for 2 hour(s) at 03-Jul-2026 04:05:48 PM"},{"type":"text","text":"Start Work"},{"type":"text","text":"https://oqsha.com/#/work-permit/view/398549?orgID=207&dlType=viewWorkPermit"}]}]}}}


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000000884","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/HUBG/TFX/RDVT/CS/26/00001"},{"type":"text","text":"03-Jul-2026"},{"type":"text","text":"Confined space"},{"type":"text","text":"Meadow Oaks"},{"type":"text","text":" "},{"type":"text","text":"Extension Reviewed by Robby Soukup for 2 hour(s) at 03-Jul-2026 04:05:48 PM"},{"type":"text","text":"Start Work"},{"type":"text","text":"https://oqsha.com/#/work-permit/view/398549?orgID=207&dlType=viewWorkPermit"}]}]}}}


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000000090","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/HUBG/TFX/RDVT/CS/26/00001"},{"type":"text","text":"03-Jul-2026"},{"type":"text","text":"Confined space"},{"type":"text","text":"Meadow Oaks"},{"type":"text","text":" "},{"type":"text","text":"Extension Reviewed by Robby Soukup for 2 hour(s) at 03-Jul-2026 04:05:48 PM"},{"type":"text","text":"Start Work"},{"type":"text","text":"https://oqsha.com/#/work-permit/view/398549?orgID=207&dlType=viewWorkPermit"}]}]}}}


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000000684","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/HUBG/TFX/RDVT/CS/26/00001"},{"type":"text","text":"03-Jul-2026"},{"type":"text","text":"Confined space"},{"type":"text","text":"Meadow Oaks"},{"type":"text","text":" "},{"type":"text","text":"Extension Reviewed by Robby Soukup for 2 hour(s) at 03-Jul-2026 04:05:48 PM"},{"type":"text","text":"Start Work"},{"type":"text","text":"https://oqsha.com/#/work-permit/view/398549?orgID=207&dlType=viewWorkPermit"}]}]}}}


# Preparing notification body #


# Push Subject for Issuer P/HUBG/TFX/RDVT/CS/26/00001


# string body Robby Soukup, 2 hour(s), P/HUBG/TFX/RDVT/CS/26/00001


# Checking for device existence #


# User device exists #


Sending notification for permit to work: 398549


Inside SendAppNotification Device Type: APNS


Generating AWS SNS Request


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/APNS/Oqsha-IOS-Production/501adf38-8d1b-386b-9b68-3e68df90200c


Unauthorized


--- AWS SNS Push Notification created using Osmo-x ---


--- Push notification response from Osmo-x is Unauthorized


Push notification failed to send to a device 22339.


# Push notification did not send #


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


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000006623","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/HUBG/TFX/RDVT/CS/26/00001"},{"type":"text","text":"03-Jul-2026"},{"type":"text","text":"Confined space"},{"type":"text","text":"Meadow Oaks"},{"type":"text","text":" "},{"type":"text","text":"Extension Requested by Cian Mccandless for 1 hour(s) at 03-Jul-2026 04:06:35 PM"},{"type":"text","text":"Extension Issue"},{"type":"text","text":"Edna Bradbury"},{"type":"text","text":"https://oqsha.com/#/work-permit/view/398549?orgID=207&dlType=viewWorkPermit"}]}]}}}


Osmo-x WhatsApp Message has been Sent


Executing sending push notification to the issuers for extended PTW


# Preparing notification body #


# string body Cian Mccandless, 1 hour(s), P/HUBG/TFX/RDVT/CS/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 398549


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000006623","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/HUBG/TFX/RDVT/CS/26/00001"},{"type":"text","text":"03-Jul-2026"},{"type":"text","text":"Confined space"},{"type":"text","text":"Meadow Oaks"},{"type":"text","text":" "},{"type":"text","text":"Extension Issued by Edna Bradbury for 1 hour(s) at 03-Jul-2026 04:09:32 PM"},{"type":"text","text":"Extension Approve"},{"type":"text","text":"Edna Bradbury"},{"type":"text","text":"https://oqsha.com/#/work-permit/view/398549?orgID=207&dlType=viewWorkPermit"}]}]}}}


# Push Subject for Issuer P/HUBG/TFX/RDVT/CS/26/00001


# string body Cian Mccandless, 1 hour(s), P/HUBG/TFX/RDVT/CS/26/00001,,


# Checking for device existence #


# User device exists #


Sending notification for permit to work: 398549


Inside SendAppNotification Device Type: GCM


Generating AWS SNS Request


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Test/8d11500e-029f-3926-a9ac-9f0a4b65f522


Unauthorized


--- AWS SNS Push Notification created using Osmo-x ---


--- Push notification response from Osmo-x is Unauthorized


Push notification failed to send to a device 22343.


# Push notification did not send #


### End Event Execution ###


### Start Event Execution ###


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000010247","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/HUBG/TFX/RDVT/CS/26/00001"},{"type":"text","text":"03-Jul-2026"},{"type":"text","text":"Confined space"},{"type":"text","text":"Meadow Oaks"},{"type":"text","text":" "},{"type":"text","text":"Extension Approved by Edna Bradbury for 1 hour(s) at 03-Jul-2026 04:09:51 PM"},{"type":"text","text":"Extension Review"},{"type":"text","text":"Robby Soukup"},{"type":"text","text":"https://oqsha.com/#/work-permit/view/398549?orgID=207&dlType=viewWorkPermit"}]}]}}}


Osmo-x WhatsApp Message has been Sent


# Preparing notification body #


# string body Cian Mccandless, 1 hour(s), P/HUBG/TFX/RDVT/CS/26/00001,Edna Bradbury,


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


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000001644","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/HUBG/TFX/RDVT/CS/26/00001"},{"type":"text","text":"03-Jul-2026"},{"type":"text","text":"Confined space"},{"type":"text","text":"Meadow Oaks"},{"type":"text","text":" "},{"type":"text","text":"Extension Reviewed by Robby Soukup for 1 hour(s) at 03-Jul-2026 04:10:44 PM"},{"type":"text","text":"Start Work"},{"type":"text","text":"https://oqsha.com/#/work-permit/view/398549?orgID=207&dlType=viewWorkPermit"}]}]}}}


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000005063","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/HUBG/TFX/RDVT/CS/26/00001"},{"type":"text","text":"03-Jul-2026"},{"type":"text","text":"Confined space"},{"type":"text","text":"Meadow Oaks"},{"type":"text","text":" "},{"type":"text","text":"Extension Reviewed by Robby Soukup for 1 hour(s) at 03-Jul-2026 04:10:44 PM"},{"type":"text","text":"Start Work"},{"type":"text","text":"https://oqsha.com/#/work-permit/view/398549?orgID=207&dlType=viewWorkPermit"}]}]}}}


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000006623","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/HUBG/TFX/RDVT/CS/26/00001"},{"type":"text","text":"03-Jul-2026"},{"type":"text","text":"Confined space"},{"type":"text","text":"Meadow Oaks"},{"type":"text","text":" "},{"type":"text","text":"Extension Reviewed by Robby Soukup for 1 hour(s) at 03-Jul-2026 04:10:44 PM"},{"type":"text","text":"Start Work"},{"type":"text","text":"https://oqsha.com/#/work-permit/view/398549?orgID=207&dlType=viewWorkPermit"}]}]}}}


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000001717","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/HUBG/TFX/RDVT/CS/26/00001"},{"type":"text","text":"03-Jul-2026"},{"type":"text","text":"Confined space"},{"type":"text","text":"Meadow Oaks"},{"type":"text","text":" "},{"type":"text","text":"Extension Reviewed by Robby Soukup for 1 hour(s) at 03-Jul-2026 04:10:44 PM"},{"type":"text","text":"Start Work"},{"type":"text","text":"https://oqsha.com/#/work-permit/view/398549?orgID=207&dlType=viewWorkPermit"}]}]}}}


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"915555557098","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/HUBG/TFX/RDVT/CS/26/00001"},{"type":"text","text":"03-Jul-2026"},{"type":"text","text":"Confined space"},{"type":"text","text":"Meadow Oaks"},{"type":"text","text":" "},{"type":"text","text":"Extension Reviewed by Robby Soukup for 1 hour(s) at 03-Jul-2026 04:10:44 PM"},{"type":"text","text":"Start Work"},{"type":"text","text":"https://oqsha.com/#/work-permit/view/398549?orgID=207&dlType=viewWorkPermit"}]}]}}}


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000010247","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/HUBG/TFX/RDVT/CS/26/00001"},{"type":"text","text":"03-Jul-2026"},{"type":"text","text":"Confined space"},{"type":"text","text":"Meadow Oaks"},{"type":"text","text":" "},{"type":"text","text":"Extension Reviewed by Robby Soukup for 1 hour(s) at 03-Jul-2026 04:10:44 PM"},{"type":"text","text":"Start Work"},{"type":"text","text":"https://oqsha.com/#/work-permit/view/398549?orgID=207&dlType=viewWorkPermit"}]}]}}}


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000000959","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/HUBG/TFX/RDVT/CS/26/00001"},{"type":"text","text":"03-Jul-2026"},{"type":"text","text":"Confined space"},{"type":"text","text":"Meadow Oaks"},{"type":"text","text":" "},{"type":"text","text":"Extension Reviewed by Robby Soukup for 1 hour(s) at 03-Jul-2026 04:10:44 PM"},{"type":"text","text":"Start Work"},{"type":"text","text":"https://oqsha.com/#/work-permit/view/398549?orgID=207&dlType=viewWorkPermit"}]}]}}}


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000007577","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/HUBG/TFX/RDVT/CS/26/00001"},{"type":"text","text":"03-Jul-2026"},{"type":"text","text":"Confined space"},{"type":"text","text":"Meadow Oaks"},{"type":"text","text":" "},{"type":"text","text":"Extension Reviewed by Robby Soukup for 1 hour(s) at 03-Jul-2026 04:10:44 PM"},{"type":"text","text":"Start Work"},{"type":"text","text":"https://oqsha.com/#/work-permit/view/398549?orgID=207&dlType=viewWorkPermit"}]}]}}}


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000003340","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/HUBG/TFX/RDVT/CS/26/00001"},{"type":"text","text":"03-Jul-2026"},{"type":"text","text":"Confined space"},{"type":"text","text":"Meadow Oaks"},{"type":"text","text":" "},{"type":"text","text":"Extension Reviewed by Robby Soukup for 1 hour(s) at 03-Jul-2026 04:10:44 PM"},{"type":"text","text":"Start Work"},{"type":"text","text":"https://oqsha.com/#/work-permit/view/398549?orgID=207&dlType=viewWorkPermit"}]}]}}}


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000000337","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/HUBG/TFX/RDVT/CS/26/00001"},{"type":"text","text":"03-Jul-2026"},{"type":"text","text":"Confined space"},{"type":"text","text":"Meadow Oaks"},{"type":"text","text":" "},{"type":"text","text":"Extension Reviewed by Robby Soukup for 1 hour(s) at 03-Jul-2026 04:10:44 PM"},{"type":"text","text":"Start Work"},{"type":"text","text":"https://oqsha.com/#/work-permit/view/398549?orgID=207&dlType=viewWorkPermit"}]}]}}}


Osmo-x WhatsApp Message has been Sent


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000000734","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/HUBG/TFX/RDVT/CS/26/00001"},{"type":"text","text":"03-Jul-2026"},{"type":"text","text":"Confined space"},{"type":"text","text":"Meadow Oaks"},{"type":"text","text":" "},{"type":"text","text":"Extension Reviewed by Robby Soukup for 1 hour(s) at 03-Jul-2026 04:10:44 PM"},{"type":"text","text":"Start Work"},{"type":"text","text":"https://oqsha.com/#/work-permit/view/398549?orgID=207&dlType=viewWorkPermit"}]}]}}}


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000003805","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/HUBG/TFX/RDVT/CS/26/00001"},{"type":"text","text":"03-Jul-2026"},{"type":"text","text":"Confined space"},{"type":"text","text":"Meadow Oaks"},{"type":"text","text":" "},{"type":"text","text":"Extension Reviewed by Robby Soukup for 1 hour(s) at 03-Jul-2026 04:10:44 PM"},{"type":"text","text":"Start Work"},{"type":"text","text":"https://oqsha.com/#/work-permit/view/398549?orgID=207&dlType=viewWorkPermit"}]}]}}}


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000003712","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/HUBG/TFX/RDVT/CS/26/00001"},{"type":"text","text":"03-Jul-2026"},{"type":"text","text":"Confined space"},{"type":"text","text":"Meadow Oaks"},{"type":"text","text":" "},{"type":"text","text":"Extension Reviewed by Robby Soukup for 1 hour(s) at 03-Jul-2026 04:10:44 PM"},{"type":"text","text":"Start Work"},{"type":"text","text":"https://oqsha.com/#/work-permit/view/398549?orgID=207&dlType=viewWorkPermit"}]}]}}}


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000000884","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/HUBG/TFX/RDVT/CS/26/00001"},{"type":"text","text":"03-Jul-2026"},{"type":"text","text":"Confined space"},{"type":"text","text":"Meadow Oaks"},{"type":"text","text":" "},{"type":"text","text":"Extension Reviewed by Robby Soukup for 1 hour(s) at 03-Jul-2026 04:10:44 PM"},{"type":"text","text":"Start Work"},{"type":"text","text":"https://oqsha.com/#/work-permit/view/398549?orgID=207&dlType=viewWorkPermit"}]}]}}}


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000000090","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/HUBG/TFX/RDVT/CS/26/00001"},{"type":"text","text":"03-Jul-2026"},{"type":"text","text":"Confined space"},{"type":"text","text":"Meadow Oaks"},{"type":"text","text":" "},{"type":"text","text":"Extension Reviewed by Robby Soukup for 1 hour(s) at 03-Jul-2026 04:10:44 PM"},{"type":"text","text":"Start Work"},{"type":"text","text":"https://oqsha.com/#/work-permit/view/398549?orgID=207&dlType=viewWorkPermit"}]}]}}}


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000000684","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/HUBG/TFX/RDVT/CS/26/00001"},{"type":"text","text":"03-Jul-2026"},{"type":"text","text":"Confined space"},{"type":"text","text":"Meadow Oaks"},{"type":"text","text":" "},{"type":"text","text":"Extension Reviewed by Robby Soukup for 1 hour(s) at 03-Jul-2026 04:10:44 PM"},{"type":"text","text":"Start Work"},{"type":"text","text":"https://oqsha.com/#/work-permit/view/398549?orgID=207&dlType=viewWorkPermit"}]}]}}}


# Preparing notification body #


# Push Subject for Issuer P/HUBG/TFX/RDVT/CS/26/00001


# string body Robby Soukup, 1 hour(s), P/HUBG/TFX/RDVT/CS/26/00001


# Checking for device existence #


# User device exists #


Sending notification for permit to work: 398549


Inside SendAppNotification Device Type: APNS


Generating AWS SNS Request


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/APNS/Oqsha-IOS-Production/501adf38-8d1b-386b-9b68-3e68df90200c


Unauthorized


--- AWS SNS Push Notification created using Osmo-x ---


--- Push notification response from Osmo-x is Unauthorized


Push notification failed to send to a device 22344.


# Push notification did not send #


### 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 whatsapp message:


RequestBody: {  "providerId": 48,  "data": {    "to": "912000001644",    "messaging_product": "whatsapp",    "type": "template",    "template": {        "namespace": "d8bcb6bd_2ab2_439c_9d9e_947501266c77",        "name": "oqsha_ptw_history_image_v2",        "language": {            "code": "en",            "policy": "deterministic"        },        "components": [{"type":"header","parameters":[{"type":"image","text":null,"image":{"link":"https://api.oqsha.in/attachments\\207\\permit-to-work-history\\IMG3689_4d0cb750-063c-4ef4-a3dd-7f27eb58cbcb.jpeg"},"document":null,"video":null}]},{"type":"body","parameters":[{"type":"text","text":"P/HUBG/TFX/RDVT/CS/26/00001","image":null,"document":null,"video":null},{"type":"text","text":"03-Jul-2026","image":null,"document":null,"video":null},{"type":"text","text":"Confined space","image":null,"document":null,"video":null},{"type":"text","text":"Meadow Oaks","image":null,"document":null,"video":null},{"type":"text","text":" ","image":null,"document":null,"video":null},{"type":"text","text":"Cancel. The status has changed to Cancelled.","image":null,"document":null,"video":null},{"type":"text","text":"Robby Soukup at 03-Jul-2026 04:11:14 PM","image":null,"document":null,"video":null},{"type":"text","text":"https://oqsha.com/#/work-permit/view/398549?orgID=207&dlType=viewWorkPermit","image":null,"document":null,"video":null}]}]    }   }}


Osmo-x WhatsApp Message has been Sent


RequestBody: {  "providerId": 48,  "data": {    "to": "912000005063",    "messaging_product": "whatsapp",    "type": "template",    "template": {        "namespace": "d8bcb6bd_2ab2_439c_9d9e_947501266c77",        "name": "oqsha_ptw_history_image_v2",        "language": {            "code": "en",            "policy": "deterministic"        },        "components": [{"type":"header","parameters":[{"type":"image","text":null,"image":{"link":"https://api.oqsha.in/attachments\\207\\permit-to-work-history\\IMG3689_4d0cb750-063c-4ef4-a3dd-7f27eb58cbcb.jpeg"},"document":null,"video":null}]},{"type":"body","parameters":[{"type":"text","text":"P/HUBG/TFX/RDVT/CS/26/00001","image":null,"document":null,"video":null},{"type":"text","text":"03-Jul-2026","image":null,"document":null,"video":null},{"type":"text","text":"Confined space","image":null,"document":null,"video":null},{"type":"text","text":"Meadow Oaks","image":null,"document":null,"video":null},{"type":"text","text":" ","image":null,"document":null,"video":null},{"type":"text","text":"Cancel. The status has changed to Cancelled.","image":null,"document":null,"video":null},{"type":"text","text":"Robby Soukup at 03-Jul-2026 04:11:14 PM","image":null,"document":null,"video":null},{"type":"text","text":"https://oqsha.com/#/work-permit/view/398549?orgID=207&dlType=viewWorkPermit","image":null,"document":null,"video":null}]}]    }   }}


RequestBody: {  "providerId": 48,  "data": {    "to": "912000006623",    "messaging_product": "whatsapp",    "type": "template",    "template": {        "namespace": "d8bcb6bd_2ab2_439c_9d9e_947501266c77",        "name": "oqsha_ptw_history_image_v2",        "language": {            "code": "en",            "policy": "deterministic"        },        "components": [{"type":"header","parameters":[{"type":"image","text":null,"image":{"link":"https://api.oqsha.in/attachments\\207\\permit-to-work-history\\IMG3689_4d0cb750-063c-4ef4-a3dd-7f27eb58cbcb.jpeg"},"document":null,"video":null}]},{"type":"body","parameters":[{"type":"text","text":"P/HUBG/TFX/RDVT/CS/26/00001","image":null,"document":null,"video":null},{"type":"text","text":"03-Jul-2026","image":null,"document":null,"video":null},{"type":"text","text":"Confined space","image":null,"document":null,"video":null},{"type":"text","text":"Meadow Oaks","image":null,"document":null,"video":null},{"type":"text","text":" ","image":null,"document":null,"video":null},{"type":"text","text":"Cancel. The status has changed to Cancelled.","image":null,"document":null,"video":null},{"type":"text","text":"Robby Soukup at 03-Jul-2026 04:11:14 PM","image":null,"document":null,"video":null},{"type":"text","text":"https://oqsha.com/#/work-permit/view/398549?orgID=207&dlType=viewWorkPermit","image":null,"document":null,"video":null}]}]    }   }}


RequestBody: {  "providerId": 48,  "data": {    "to": "912000001717",    "messaging_product": "whatsapp",    "type": "template",    "template": {        "namespace": "d8bcb6bd_2ab2_439c_9d9e_947501266c77",        "name": "oqsha_ptw_history_image_v2",        "language": {            "code": "en",            "policy": "deterministic"        },        "components": [{"type":"header","parameters":[{"type":"image","text":null,"image":{"link":"https://api.oqsha.in/attachments\\207\\permit-to-work-history\\IMG3689_4d0cb750-063c-4ef4-a3dd-7f27eb58cbcb.jpeg"},"document":null,"video":null}]},{"type":"body","parameters":[{"type":"text","text":"P/HUBG/TFX/RDVT/CS/26/00001","image":null,"document":null,"video":null},{"type":"text","text":"03-Jul-2026","image":null,"document":null,"video":null},{"type":"text","text":"Confined space","image":null,"document":null,"video":null},{"type":"text","text":"Meadow Oaks","image":null,"document":null,"video":null},{"type":"text","text":" ","image":null,"document":null,"video":null},{"type":"text","text":"Cancel. The status has changed to Cancelled.","image":null,"document":null,"video":null},{"type":"text","text":"Robby Soukup at 03-Jul-2026 04:11:14 PM","image":null,"document":null,"video":null},{"type":"text","text":"https://oqsha.com/#/work-permit/view/398549?orgID=207&dlType=viewWorkPermit","image":null,"document":null,"video":null}]}]    }   }}


RequestBody: {  "providerId": 48,  "data": {    "to": "915555557098",    "messaging_product": "whatsapp",    "type": "template",    "template": {        "namespace": "d8bcb6bd_2ab2_439c_9d9e_947501266c77",        "name": "oqsha_ptw_history_image_v2",        "language": {            "code": "en",            "policy": "deterministic"        },        "components": [{"type":"header","parameters":[{"type":"image","text":null,"image":{"link":"https://api.oqsha.in/attachments\\207\\permit-to-work-history\\IMG3689_4d0cb750-063c-4ef4-a3dd-7f27eb58cbcb.jpeg"},"document":null,"video":null}]},{"type":"body","parameters":[{"type":"text","text":"P/HUBG/TFX/RDVT/CS/26/00001","image":null,"document":null,"video":null},{"type":"text","text":"03-Jul-2026","image":null,"document":null,"video":null},{"type":"text","text":"Confined space","image":null,"document":null,"video":null},{"type":"text","text":"Meadow Oaks","image":null,"document":null,"video":null},{"type":"text","text":" ","image":null,"document":null,"video":null},{"type":"text","text":"Cancel. The status has changed to Cancelled.","image":null,"document":null,"video":null},{"type":"text","text":"Robby Soukup at 03-Jul-2026 04:11:14 PM","image":null,"document":null,"video":null},{"type":"text","text":"https://oqsha.com/#/work-permit/view/398549?orgID=207&dlType=viewWorkPermit","image":null,"document":null,"video":null}]}]    }   }}


RequestBody: {  "providerId": 48,  "data": {    "to": "912000010247",    "messaging_product": "whatsapp",    "type": "template",    "template": {        "namespace": "d8bcb6bd_2ab2_439c_9d9e_947501266c77",        "name": "oqsha_ptw_history_image_v2",        "language": {            "code": "en",            "policy": "deterministic"        },        "components": [{"type":"header","parameters":[{"type":"image","text":null,"image":{"link":"https://api.oqsha.in/attachments\\207\\permit-to-work-history\\IMG3689_4d0cb750-063c-4ef4-a3dd-7f27eb58cbcb.jpeg"},"document":null,"video":null}]},{"type":"body","parameters":[{"type":"text","text":"P/HUBG/TFX/RDVT/CS/26/00001","image":null,"document":null,"video":null},{"type":"text","text":"03-Jul-2026","image":null,"document":null,"video":null},{"type":"text","text":"Confined space","image":null,"document":null,"video":null},{"type":"text","text":"Meadow Oaks","image":null,"document":null,"video":null},{"type":"text","text":" ","image":null,"document":null,"video":null},{"type":"text","text":"Cancel. The status has changed to Cancelled.","image":null,"document":null,"video":null},{"type":"text","text":"Robby Soukup at 03-Jul-2026 04:11:14 PM","image":null,"document":null,"video":null},{"type":"text","text":"https://oqsha.com/#/work-permit/view/398549?orgID=207&dlType=viewWorkPermit","image":null,"document":null,"video":null}]}]    }   }}


RequestBody: {  "providerId": 48,  "data": {    "to": "912000000959",    "messaging_product": "whatsapp",    "type": "template",    "template": {        "namespace": "d8bcb6bd_2ab2_439c_9d9e_947501266c77",        "name": "oqsha_ptw_history_image_v2",        "language": {            "code": "en",            "policy": "deterministic"        },        "components": [{"type":"header","parameters":[{"type":"image","text":null,"image":{"link":"https://api.oqsha.in/attachments\\207\\permit-to-work-history\\IMG3689_4d0cb750-063c-4ef4-a3dd-7f27eb58cbcb.jpeg"},"document":null,"video":null}]},{"type":"body","parameters":[{"type":"text","text":"P/HUBG/TFX/RDVT/CS/26/00001","image":null,"document":null,"video":null},{"type":"text","text":"03-Jul-2026","image":null,"document":null,"video":null},{"type":"text","text":"Confined space","image":null,"document":null,"video":null},{"type":"text","text":"Meadow Oaks","image":null,"document":null,"video":null},{"type":"text","text":" ","image":null,"document":null,"video":null},{"type":"text","text":"Cancel. The status has changed to Cancelled.","image":null,"document":null,"video":null},{"type":"text","text":"Robby Soukup at 03-Jul-2026 04:11:14 PM","image":null,"document":null,"video":null},{"type":"text","text":"https://oqsha.com/#/work-permit/view/398549?orgID=207&dlType=viewWorkPermit","image":null,"document":null,"video":null}]}]    }   }}


RequestBody: {  "providerId": 48,  "data": {    "to": "912000007577",    "messaging_product": "whatsapp",    "type": "template",    "template": {        "namespace": "d8bcb6bd_2ab2_439c_9d9e_947501266c77",        "name": "oqsha_ptw_history_image_v2",        "language": {            "code": "en",            "policy": "deterministic"        },        "components": [{"type":"header","parameters":[{"type":"image","text":null,"image":{"link":"https://api.oqsha.in/attachments\\207\\permit-to-work-history\\IMG3689_4d0cb750-063c-4ef4-a3dd-7f27eb58cbcb.jpeg"},"document":null,"video":null}]},{"type":"body","parameters":[{"type":"text","text":"P/HUBG/TFX/RDVT/CS/26/00001","image":null,"document":null,"video":null},{"type":"text","text":"03-Jul-2026","image":null,"document":null,"video":null},{"type":"text","text":"Confined space","image":null,"document":null,"video":null},{"type":"text","text":"Meadow Oaks","image":null,"document":null,"video":null},{"type":"text","text":" ","image":null,"document":null,"video":null},{"type":"text","text":"Cancel. The status has changed to Cancelled.","image":null,"document":null,"video":null},{"type":"text","text":"Robby Soukup at 03-Jul-2026 04:11:14 PM","image":null,"document":null,"video":null},{"type":"text","text":"https://oqsha.com/#/work-permit/view/398549?orgID=207&dlType=viewWorkPermit","image":null,"document":null,"video":null}]}]    }   }}


RequestBody: {  "providerId": 48,  "data": {    "to": "912000003340",    "messaging_product": "whatsapp",    "type": "template",    "template": {        "namespace": "d8bcb6bd_2ab2_439c_9d9e_947501266c77",        "name": "oqsha_ptw_history_image_v2",        "language": {            "code": "en",            "policy": "deterministic"        },        "components": [{"type":"header","parameters":[{"type":"image","text":null,"image":{"link":"https://api.oqsha.in/attachments\\207\\permit-to-work-history\\IMG3689_4d0cb750-063c-4ef4-a3dd-7f27eb58cbcb.jpeg"},"document":null,"video":null}]},{"type":"body","parameters":[{"type":"text","text":"P/HUBG/TFX/RDVT/CS/26/00001","image":null,"document":null,"video":null},{"type":"text","text":"03-Jul-2026","image":null,"document":null,"video":null},{"type":"text","text":"Confined space","image":null,"document":null,"video":null},{"type":"text","text":"Meadow Oaks","image":null,"document":null,"video":null},{"type":"text","text":" ","image":null,"document":null,"video":null},{"type":"text","text":"Cancel. The status has changed to Cancelled.","image":null,"document":null,"video":null},{"type":"text","text":"Robby Soukup at 03-Jul-2026 04:11:14 PM","image":null,"document":null,"video":null},{"type":"text","text":"https://oqsha.com/#/work-permit/view/398549?orgID=207&dlType=viewWorkPermit","image":null,"document":null,"video":null}]}]    }   }}


RequestBody: {  "providerId": 48,  "data": {    "to": "912000000337",    "messaging_product": "whatsapp",    "type": "template",    "template": {        "namespace": "d8bcb6bd_2ab2_439c_9d9e_947501266c77",        "name": "oqsha_ptw_history_image_v2",        "language": {            "code": "en",            "policy": "deterministic"        },        "components": [{"type":"header","parameters":[{"type":"image","text":null,"image":{"link":"https://api.oqsha.in/attachments\\207\\permit-to-work-history\\IMG3689_4d0cb750-063c-4ef4-a3dd-7f27eb58cbcb.jpeg"},"document":null,"video":null}]},{"type":"body","parameters":[{"type":"text","text":"P/HUBG/TFX/RDVT/CS/26/00001","image":null,"document":null,"video":null},{"type":"text","text":"03-Jul-2026","image":null,"document":null,"video":null},{"type":"text","text":"Confined space","image":null,"document":null,"video":null},{"type":"text","text":"Meadow Oaks","image":null,"document":null,"video":null},{"type":"text","text":" ","image":null,"document":null,"video":null},{"type":"text","text":"Cancel. The status has changed to Cancelled.","image":null,"document":null,"video":null},{"type":"text","text":"Robby Soukup at 03-Jul-2026 04:11:14 PM","image":null,"document":null,"video":null},{"type":"text","text":"https://oqsha.com/#/work-permit/view/398549?orgID=207&dlType=viewWorkPermit","image":null,"document":null,"video":null}]}]    }   }}


RequestBody: {  "providerId": 48,  "data": {    "to": "912000000734",    "messaging_product": "whatsapp",    "type": "template",    "template": {        "namespace": "d8bcb6bd_2ab2_439c_9d9e_947501266c77",        "name": "oqsha_ptw_history_image_v2",        "language": {            "code": "en",            "policy": "deterministic"        },        "components": [{"type":"header","parameters":[{"type":"image","text":null,"image":{"link":"https://api.oqsha.in/attachments\\207\\permit-to-work-history\\IMG3689_4d0cb750-063c-4ef4-a3dd-7f27eb58cbcb.jpeg"},"document":null,"video":null}]},{"type":"body","parameters":[{"type":"text","text":"P/HUBG/TFX/RDVT/CS/26/00001","image":null,"document":null,"video":null},{"type":"text","text":"03-Jul-2026","image":null,"document":null,"video":null},{"type":"text","text":"Confined space","image":null,"document":null,"video":null},{"type":"text","text":"Meadow Oaks","image":null,"document":null,"video":null},{"type":"text","text":" ","image":null,"document":null,"video":null},{"type":"text","text":"Cancel. The status has changed to Cancelled.","image":null,"document":null,"video":null},{"type":"text","text":"Robby Soukup at 03-Jul-2026 04:11:14 PM","image":null,"document":null,"video":null},{"type":"text","text":"https://oqsha.com/#/work-permit/view/398549?orgID=207&dlType=viewWorkPermit","image":null,"document":null,"video":null}]}]    }   }}


RequestBody: {  "providerId": 48,  "data": {    "to": "912000003805",    "messaging_product": "whatsapp",    "type": "template",    "template": {        "namespace": "d8bcb6bd_2ab2_439c_9d9e_947501266c77",        "name": "oqsha_ptw_history_image_v2",        "language": {            "code": "en",            "policy": "deterministic"        },        "components": [{"type":"header","parameters":[{"type":"image","text":null,"image":{"link":"https://api.oqsha.in/attachments\\207\\permit-to-work-history\\IMG3689_4d0cb750-063c-4ef4-a3dd-7f27eb58cbcb.jpeg"},"document":null,"video":null}]},{"type":"body","parameters":[{"type":"text","text":"P/HUBG/TFX/RDVT/CS/26/00001","image":null,"document":null,"video":null},{"type":"text","text":"03-Jul-2026","image":null,"document":null,"video":null},{"type":"text","text":"Confined space","image":null,"document":null,"video":null},{"type":"text","text":"Meadow Oaks","image":null,"document":null,"video":null},{"type":"text","text":" ","image":null,"document":null,"video":null},{"type":"text","text":"Cancel. The status has changed to Cancelled.","image":null,"document":null,"video":null},{"type":"text","text":"Robby Soukup at 03-Jul-2026 04:11:14 PM","image":null,"document":null,"video":null},{"type":"text","text":"https://oqsha.com/#/work-permit/view/398549?orgID=207&dlType=viewWorkPermit","image":null,"document":null,"video":null}]}]    }   }}


RequestBody: {  "providerId": 48,  "data": {    "to": "912000003712",    "messaging_product": "whatsapp",    "type": "template",    "template": {        "namespace": "d8bcb6bd_2ab2_439c_9d9e_947501266c77",        "name": "oqsha_ptw_history_image_v2",        "language": {            "code": "en",            "policy": "deterministic"        },        "components": [{"type":"header","parameters":[{"type":"image","text":null,"image":{"link":"https://api.oqsha.in/attachments\\207\\permit-to-work-history\\IMG3689_4d0cb750-063c-4ef4-a3dd-7f27eb58cbcb.jpeg"},"document":null,"video":null}]},{"type":"body","parameters":[{"type":"text","text":"P/HUBG/TFX/RDVT/CS/26/00001","image":null,"document":null,"video":null},{"type":"text","text":"03-Jul-2026","image":null,"document":null,"video":null},{"type":"text","text":"Confined space","image":null,"document":null,"video":null},{"type":"text","text":"Meadow Oaks","image":null,"document":null,"video":null},{"type":"text","text":" ","image":null,"document":null,"video":null},{"type":"text","text":"Cancel. The status has changed to Cancelled.","image":null,"document":null,"video":null},{"type":"text","text":"Robby Soukup at 03-Jul-2026 04:11:14 PM","image":null,"document":null,"video":null},{"type":"text","text":"https://oqsha.com/#/work-permit/view/398549?orgID=207&dlType=viewWorkPermit","image":null,"document":null,"video":null}]}]    }   }}


RequestBody: {  "providerId": 48,  "data": {    "to": "912000000884",    "messaging_product": "whatsapp",    "type": "template",    "template": {        "namespace": "d8bcb6bd_2ab2_439c_9d9e_947501266c77",        "name": "oqsha_ptw_history_image_v2",        "language": {            "code": "en",            "policy": "deterministic"        },        "components": [{"type":"header","parameters":[{"type":"image","text":null,"image":{"link":"https://api.oqsha.in/attachments\\207\\permit-to-work-history\\IMG3689_4d0cb750-063c-4ef4-a3dd-7f27eb58cbcb.jpeg"},"document":null,"video":null}]},{"type":"body","parameters":[{"type":"text","text":"P/HUBG/TFX/RDVT/CS/26/00001","image":null,"document":null,"video":null},{"type":"text","text":"03-Jul-2026","image":null,"document":null,"video":null},{"type":"text","text":"Confined space","image":null,"document":null,"video":null},{"type":"text","text":"Meadow Oaks","image":null,"document":null,"video":null},{"type":"text","text":" ","image":null,"document":null,"video":null},{"type":"text","text":"Cancel. The status has changed to Cancelled.","image":null,"document":null,"video":null},{"type":"text","text":"Robby Soukup at 03-Jul-2026 04:11:14 PM","image":null,"document":null,"video":null},{"type":"text","text":"https://oqsha.com/#/work-permit/view/398549?orgID=207&dlType=viewWorkPermit","image":null,"document":null,"video":null}]}]    }   }}


RequestBody: {  "providerId": 48,  "data": {    "to": "912000000090",    "messaging_product": "whatsapp",    "type": "template",    "template": {        "namespace": "d8bcb6bd_2ab2_439c_9d9e_947501266c77",        "name": "oqsha_ptw_history_image_v2",        "language": {            "code": "en",            "policy": "deterministic"        },        "components": [{"type":"header","parameters":[{"type":"image","text":null,"image":{"link":"https://api.oqsha.in/attachments\\207\\permit-to-work-history\\IMG3689_4d0cb750-063c-4ef4-a3dd-7f27eb58cbcb.jpeg"},"document":null,"video":null}]},{"type":"body","parameters":[{"type":"text","text":"P/HUBG/TFX/RDVT/CS/26/00001","image":null,"document":null,"video":null},{"type":"text","text":"03-Jul-2026","image":null,"document":null,"video":null},{"type":"text","text":"Confined space","image":null,"document":null,"video":null},{"type":"text","text":"Meadow Oaks","image":null,"document":null,"video":null},{"type":"text","text":" ","image":null,"document":null,"video":null},{"type":"text","text":"Cancel. The status has changed to Cancelled.","image":null,"document":null,"video":null},{"type":"text","text":"Robby Soukup at 03-Jul-2026 04:11:14 PM","image":null,"document":null,"video":null},{"type":"text","text":"https://oqsha.com/#/work-permit/view/398549?orgID=207&dlType=viewWorkPermit","image":null,"document":null,"video":null}]}]    }   }}


Sending whatsapp message:


RequestBody: {  "providerId": 48,  "data": {    "to": "912000000684",    "messaging_product": "whatsapp",    "type": "template",    "template": {        "namespace": "d8bcb6bd_2ab2_439c_9d9e_947501266c77",        "name": "oqsha_ptw_history_image_v2",        "language": {            "code": "en",            "policy": "deterministic"        },        "components": [{"type":"header","parameters":[{"type":"image","text":null,"image":{"link":"https://api.oqsha.in/attachments\\207\\permit-to-work-history\\IMG3689_4d0cb750-063c-4ef4-a3dd-7f27eb58cbcb.jpeg"},"document":null,"video":null}]},{"type":"body","parameters":[{"type":"text","text":"P/HUBG/TFX/RDVT/CS/26/00001","image":null,"document":null,"video":null},{"type":"text","text":"03-Jul-2026","image":null,"document":null,"video":null},{"type":"text","text":"Confined space","image":null,"document":null,"video":null},{"type":"text","text":"Meadow Oaks","image":null,"document":null,"video":null},{"type":"text","text":" ","image":null,"document":null,"video":null},{"type":"text","text":"Cancel. The status has changed to Cancelled.","image":null,"document":null,"video":null},{"type":"text","text":"Robby Soukup at 03-Jul-2026 04:11:14 PM","image":null,"document":null,"video":null},{"type":"text","text":"https://oqsha.com/#/work-permit/view/398549?orgID=207&dlType=viewWorkPermit","image":null,"document":null,"video":null}]}]    }   }}


Osmo-x WhatsApp Message has been Sent


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


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000001644","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/HUBG/TFX/RDVT/CS/26/00001"},{"type":"text","text":"03-Jul-2026"},{"type":"text","text":"Confined space"},{"type":"text","text":"Meadow Oaks"},{"type":"text","text":" "},{"type":"text","text":"Re approving. The status has changed to Re-Approved."},{"type":"text","text":"Robby Soukup at 03-Jul-2026 04:11:24 PM"},{"type":"text","text":"https://oqsha.com/#/work-permit/view/398549?orgID=207&dlType=viewWorkPermit"}]}]}}}


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000005063","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/HUBG/TFX/RDVT/CS/26/00001"},{"type":"text","text":"03-Jul-2026"},{"type":"text","text":"Confined space"},{"type":"text","text":"Meadow Oaks"},{"type":"text","text":" "},{"type":"text","text":"Re approving. The status has changed to Re-Approved."},{"type":"text","text":"Robby Soukup at 03-Jul-2026 04:11:24 PM"},{"type":"text","text":"https://oqsha.com/#/work-permit/view/398549?orgID=207&dlType=viewWorkPermit"}]}]}}}


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000006623","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/HUBG/TFX/RDVT/CS/26/00001"},{"type":"text","text":"03-Jul-2026"},{"type":"text","text":"Confined space"},{"type":"text","text":"Meadow Oaks"},{"type":"text","text":" "},{"type":"text","text":"Re approving. The status has changed to Re-Approved."},{"type":"text","text":"Robby Soukup at 03-Jul-2026 04:11:24 PM"},{"type":"text","text":"https://oqsha.com/#/work-permit/view/398549?orgID=207&dlType=viewWorkPermit"}]}]}}}


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000001717","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/HUBG/TFX/RDVT/CS/26/00001"},{"type":"text","text":"03-Jul-2026"},{"type":"text","text":"Confined space"},{"type":"text","text":"Meadow Oaks"},{"type":"text","text":" "},{"type":"text","text":"Re approving. The status has changed to Re-Approved."},{"type":"text","text":"Robby Soukup at 03-Jul-2026 04:11:24 PM"},{"type":"text","text":"https://oqsha.com/#/work-permit/view/398549?orgID=207&dlType=viewWorkPermit"}]}]}}}


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"915555557098","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/HUBG/TFX/RDVT/CS/26/00001"},{"type":"text","text":"03-Jul-2026"},{"type":"text","text":"Confined space"},{"type":"text","text":"Meadow Oaks"},{"type":"text","text":" "},{"type":"text","text":"Re approving. The status has changed to Re-Approved."},{"type":"text","text":"Robby Soukup at 03-Jul-2026 04:11:24 PM"},{"type":"text","text":"https://oqsha.com/#/work-permit/view/398549?orgID=207&dlType=viewWorkPermit"}]}]}}}


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000010247","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/HUBG/TFX/RDVT/CS/26/00001"},{"type":"text","text":"03-Jul-2026"},{"type":"text","text":"Confined space"},{"type":"text","text":"Meadow Oaks"},{"type":"text","text":" "},{"type":"text","text":"Re approving. The status has changed to Re-Approved."},{"type":"text","text":"Robby Soukup at 03-Jul-2026 04:11:24 PM"},{"type":"text","text":"https://oqsha.com/#/work-permit/view/398549?orgID=207&dlType=viewWorkPermit"}]}]}}}


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000000959","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/HUBG/TFX/RDVT/CS/26/00001"},{"type":"text","text":"03-Jul-2026"},{"type":"text","text":"Confined space"},{"type":"text","text":"Meadow Oaks"},{"type":"text","text":" "},{"type":"text","text":"Re approving. The status has changed to Re-Approved."},{"type":"text","text":"Robby Soukup at 03-Jul-2026 04:11:24 PM"},{"type":"text","text":"https://oqsha.com/#/work-permit/view/398549?orgID=207&dlType=viewWorkPermit"}]}]}}}


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000007577","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/HUBG/TFX/RDVT/CS/26/00001"},{"type":"text","text":"03-Jul-2026"},{"type":"text","text":"Confined space"},{"type":"text","text":"Meadow Oaks"},{"type":"text","text":" "},{"type":"text","text":"Re approving. The status has changed to Re-Approved."},{"type":"text","text":"Robby Soukup at 03-Jul-2026 04:11:24 PM"},{"type":"text","text":"https://oqsha.com/#/work-permit/view/398549?orgID=207&dlType=viewWorkPermit"}]}]}}}


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000003340","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/HUBG/TFX/RDVT/CS/26/00001"},{"type":"text","text":"03-Jul-2026"},{"type":"text","text":"Confined space"},{"type":"text","text":"Meadow Oaks"},{"type":"text","text":" "},{"type":"text","text":"Re approving. The status has changed to Re-Approved."},{"type":"text","text":"Robby Soukup at 03-Jul-2026 04:11:24 PM"},{"type":"text","text":"https://oqsha.com/#/work-permit/view/398549?orgID=207&dlType=viewWorkPermit"}]}]}}}


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000000337","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/HUBG/TFX/RDVT/CS/26/00001"},{"type":"text","text":"03-Jul-2026"},{"type":"text","text":"Confined space"},{"type":"text","text":"Meadow Oaks"},{"type":"text","text":" "},{"type":"text","text":"Re approving. The status has changed to Re-Approved."},{"type":"text","text":"Robby Soukup at 03-Jul-2026 04:11:24 PM"},{"type":"text","text":"https://oqsha.com/#/work-permit/view/398549?orgID=207&dlType=viewWorkPermit"}]}]}}}


Osmo-x WhatsApp Message has been Sent


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000000734","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/HUBG/TFX/RDVT/CS/26/00001"},{"type":"text","text":"03-Jul-2026"},{"type":"text","text":"Confined space"},{"type":"text","text":"Meadow Oaks"},{"type":"text","text":" "},{"type":"text","text":"Re approving. The status has changed to Re-Approved."},{"type":"text","text":"Robby Soukup at 03-Jul-2026 04:11:24 PM"},{"type":"text","text":"https://oqsha.com/#/work-permit/view/398549?orgID=207&dlType=viewWorkPermit"}]}]}}}


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000003805","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/HUBG/TFX/RDVT/CS/26/00001"},{"type":"text","text":"03-Jul-2026"},{"type":"text","text":"Confined space"},{"type":"text","text":"Meadow Oaks"},{"type":"text","text":" "},{"type":"text","text":"Re approving. The status has changed to Re-Approved."},{"type":"text","text":"Robby Soukup at 03-Jul-2026 04:11:24 PM"},{"type":"text","text":"https://oqsha.com/#/work-permit/view/398549?orgID=207&dlType=viewWorkPermit"}]}]}}}


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000003712","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/HUBG/TFX/RDVT/CS/26/00001"},{"type":"text","text":"03-Jul-2026"},{"type":"text","text":"Confined space"},{"type":"text","text":"Meadow Oaks"},{"type":"text","text":" "},{"type":"text","text":"Re approving. The status has changed to Re-Approved."},{"type":"text","text":"Robby Soukup at 03-Jul-2026 04:11:24 PM"},{"type":"text","text":"https://oqsha.com/#/work-permit/view/398549?orgID=207&dlType=viewWorkPermit"}]}]}}}


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000000884","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/HUBG/TFX/RDVT/CS/26/00001"},{"type":"text","text":"03-Jul-2026"},{"type":"text","text":"Confined space"},{"type":"text","text":"Meadow Oaks"},{"type":"text","text":" "},{"type":"text","text":"Re approving. The status has changed to Re-Approved."},{"type":"text","text":"Robby Soukup at 03-Jul-2026 04:11:24 PM"},{"type":"text","text":"https://oqsha.com/#/work-permit/view/398549?orgID=207&dlType=viewWorkPermit"}]}]}}}


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000000090","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/HUBG/TFX/RDVT/CS/26/00001"},{"type":"text","text":"03-Jul-2026"},{"type":"text","text":"Confined space"},{"type":"text","text":"Meadow Oaks"},{"type":"text","text":" "},{"type":"text","text":"Re approving. The status has changed to Re-Approved."},{"type":"text","text":"Robby Soukup at 03-Jul-2026 04:11:24 PM"},{"type":"text","text":"https://oqsha.com/#/work-permit/view/398549?orgID=207&dlType=viewWorkPermit"}]}]}}}


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000000684","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/HUBG/TFX/RDVT/CS/26/00001"},{"type":"text","text":"03-Jul-2026"},{"type":"text","text":"Confined space"},{"type":"text","text":"Meadow Oaks"},{"type":"text","text":" "},{"type":"text","text":"Re approving. The status has changed to Re-Approved."},{"type":"text","text":"Robby Soukup at 03-Jul-2026 04:11:24 PM"},{"type":"text","text":"https://oqsha.com/#/work-permit/view/398549?orgID=207&dlType=viewWorkPermit"}]}]}}}


### End Event Execution ###


### Start Notification Sender Program.cs Execution ###


### Calling ConfigureService.Configure() function ###


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


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"916666666661","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/HUBG/TFX/HUBG/CW/26/00001"},{"type":"text","text":"03-Jul-2026"},{"type":"text","text":"Cold work"},{"type":"text","text":"Meadow Oaks"},{"type":"text","text":" "},{"type":"text","text":"Requested by Martha Mcclintock at 03-Jul-2026 05:56:47 PM"},{"type":"text","text":"Issue"},{"type":"text","text":"Martha Mcclintock"},{"type":"text","text":"https://oqsha.com/#/work-permit/view/398550?orgID=207&dlType=viewWorkPermit"}]}]}}}


Executing sending push notification to the issuers


# Push Subject for Issuer P/HUBG/TFX/HUBG/CW/26/00001


# Preparing notification body #


# Checking for device existence #


# User device exists #


Sending notification for permit to work: 398550


Inside SendAppNotification Device Type: GCM


Generating AWS SNS Request


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/05ac1796-2a72-3e82-b920-86bf79f5f9e0


Unauthorized


--- AWS SNS Push Notification created using Osmo-x ---


--- Push notification response from Osmo-x is Unauthorized


Push notification failed to send to a device 14371.


# Push notification did not send #


### End Event Execution ###


### Start Event Execution ###


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


# Calling SendNotificationToTaskAssignees function for WhatsApp notification #


Sending WhatsApp notification for task assignment to user ID: 267


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000001875","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"oqsha_task_assigned_to_notification_v4","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"Sal Eaton"},{"type":"text","text":"Action Tracker"},{"type":"text","text":"AT/FBYDW/ROO/3PR/26/00002"},{"type":"text","text":"demo"},{"type":"text","text":"3rd Party Risk Assessment"},{"type":"text","text":"https://oqsha.com/#/tasks/edit/14893?dlType=viewTask&orgID=248"},{"type":"text","text":"EHS Department - TTK Prestige Limited"}]}]}}}


Osmo-x WhatsApp Message has been Sent


Sending Task Assignment Email for TaskId: 14893, UserId: 267


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


Reading and binding data to Email Template


Initializing Email Service Client


Generating Email Request


New Action Tracker Assigned - AT/FBYDW/ROO/3PR/26/00002


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


--- Email response from Osmo-x is 201


# Preparing notification body #


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000001875","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"oqsha_task_assigned_to_notification_v4","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"Sal Eaton"},{"type":"text","text":"Action Tracker"},{"type":"text","text":"AT/FBYDW/ROO/3PR/26/00004"},{"type":"text","text":"demo"},{"type":"text","text":"3rd Party Risk Assessment"},{"type":"text","text":"https://oqsha.com/#/tasks/edit/14895?dlType=viewTask&orgID=248"},{"type":"text","text":"EHS Department - TTK Prestige Limited"}]}]}}}


Sending Task Assignment Email for TaskId: 14895, UserId: 267


New Action Tracker Assigned - AT/FBYDW/ROO/3PR/26/00004


### End Event Execution ###


### Start Event Execution ###


Message : {"EventName":"TASK_CLOSURE_NOTIFICATION_VALIDATION_1","EventArgs":[{"Key":"TaskId","Value":14895},{"Key":"OrgId","Value":248}]}


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


### Started processing for Task Closure Validation Level 1 Event ###


## Sending notification to Site EHS user ##


## Notification to be send for these users: []


### Ended processing Incident Closure Validation Level 1 Event ###


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


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"916666666661","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/HUBG/TFX/HUBG/CW/26/00001"},{"type":"text","text":"03-Jul-2026"},{"type":"text","text":"Cold work"},{"type":"text","text":"Meadow Oaks"},{"type":"text","text":" "},{"type":"text","text":"Issued by Martha Mcclintock at 03-Jul-2026 06:19:24 PM"},{"type":"text","text":"Approve"},{"type":"text","text":"Martha Mcclintock"},{"type":"text","text":"https://oqsha.com/#/work-permit/view/398550?orgID=207&dlType=viewWorkPermit"}]}]}}}


Osmo-x WhatsApp Message has been Sent


# Preparing notification body #


# Push Subject P/HUBG/TFX/HUBG/CW/26/00001


# string body 03-Jul-2026, Martha Mcclintock,


System.NullReferenceException: Object reference not set to an instance of an object.
   at IncidentReporter.NotificationSender.DAL.Events.Notifier.SendNotificationToEitherReviewerOrApprover(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 4075
   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 564


### End Event Execution ###


### Start Event Execution ###


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"916666666661","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/HUBG/TFX/HUBG/CW/26/00001"},{"type":"text","text":"03-Jul-2026"},{"type":"text","text":"Cold work"},{"type":"text","text":"Meadow Oaks"},{"type":"text","text":" "},{"type":"text","text":"Approved by Martha Mcclintock at 03-Jul-2026 06:44:25 PM"},{"type":"text","text":"Review"},{"type":"text","text":"Martha Mcclintock"},{"type":"text","text":"https://oqsha.com/#/work-permit/view/398550?orgID=207&dlType=viewWorkPermit"}]}]}}}


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


# Calling SendNotificationForPTWRejectedStatus function for whatsapp and push notification #


Executing sending notification for rejection status through whatsapp


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


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"916666666661","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/HUBG/TFX/HUBG/CW/26/00001"},{"type":"text","text":"03-Jul-2026"},{"type":"text","text":"Cold work"},{"type":"text","text":"Meadow Oaks"},{"type":"text","text":" "},{"type":"text","text":"Rejected by Martha Mcclintock at 03-Jul-2026 06:48:38 PM. Reason- Reject"},{"type":"text","text":"Request Again"},{"type":"text","text":"https://oqsha.com/#/work-permit/view/398550?orgID=207&dlType=viewWorkPermit"}]}]}}}


Starting Execution for push notification for rejection status


# Push Subject for Issuer P/HUBG/TFX/HUBG/CW/26/00001


# string body Martha Mcclintock,P/HUBG/TFX/HUBG/CW/26/00001, Reject


### Start Notification Sender Program.cs Execution ###


### Calling ConfigureService.Configure() function ###


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


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"916666666661","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/HUBG/TFX/HUBG/CW/26/00002"},{"type":"text","text":"03-Jul-2026"},{"type":"text","text":"Cold work"},{"type":"text","text":"Meadow Oaks"},{"type":"text","text":" "},{"type":"text","text":"Requested by Martha Mcclintock at 03-Jul-2026 07:03:16 PM"},{"type":"text","text":"Issue"},{"type":"text","text":"Martha Mcclintock"},{"type":"text","text":"https://oqsha.com/#/work-permit/view/398551?orgID=207&dlType=viewWorkPermit"}]}]}}}


Osmo-x WhatsApp Message has been Sent


Executing sending push notification to the issuers


# Push Subject for Issuer P/HUBG/TFX/HUBG/CW/26/00002


# Preparing notification body #


# Checking for device existence #


# User device exists #


Sending notification for permit to work: 398551


Inside SendAppNotification Device Type: APNS


Generating AWS SNS Request


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/APNS/Oqsha-IOS-Production/812af877-38ff-3628-9262-302e7350a1d4


Unauthorized


--- AWS SNS Push Notification created using Osmo-x ---


--- Push notification response from Osmo-x is Unauthorized


Push notification failed to send to a device 22346.


# Push notification did not send #


### End Event Execution ###


### Start Event Execution ###


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


# Calling SendNotificationForPTWRejectedStatus function for whatsapp and push notification #


Executing sending notification for rejection status through whatsapp


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


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"916666666661","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/HUBG/TFX/HUBG/CW/26/00002"},{"type":"text","text":"03-Jul-2026"},{"type":"text","text":"Cold work"},{"type":"text","text":"Meadow Oaks"},{"type":"text","text":" "},{"type":"text","text":"Rejected by Martha Mcclintock at 03-Jul-2026 07:03:27 PM. Reason- Rejected "},{"type":"text","text":"Request Again"},{"type":"text","text":"https://oqsha.com/#/work-permit/view/398551?orgID=207&dlType=viewWorkPermit"}]}]}}}


Osmo-x WhatsApp Message has been Sent


Starting Execution for push notification for rejection status


# Preparing notification body #


# string body Martha Mcclintock,P/HUBG/TFX/HUBG/CW/26/00002, Rejected


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


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"916666666661","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/HUBG/TFX/HUBG/CW/26/00002"},{"type":"text","text":"03-Jul-2026"},{"type":"text","text":"Cold work"},{"type":"text","text":"Meadow Oaks"},{"type":"text","text":" "},{"type":"text","text":"Requested by Martha Mcclintock at 03-Jul-2026 07:03:44 PM"},{"type":"text","text":"Issue"},{"type":"text","text":"https://oqsha.com/#/work-permit/view/398551?orgID=207&dlType=viewWorkPermit"}]}]}}}


Executing sending push notification to the issuers


# Push Subject for Issuer P/HUBG/TFX/HUBG/CW/26/00002


### End Event Execution ###


### Start Event Execution ###


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"916666666661","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/HUBG/TFX/HUBG/CW/26/00002"},{"type":"text","text":"03-Jul-2026"},{"type":"text","text":"Cold work"},{"type":"text","text":"Meadow Oaks"},{"type":"text","text":" "},{"type":"text","text":"Rejected by Martha Mcclintock at 03-Jul-2026 07:03:57 PM. Reason- reject"},{"type":"text","text":"Request Again"},{"type":"text","text":"https://oqsha.com/#/work-permit/view/398551?orgID=207&dlType=viewWorkPermit"}]}]}}}


# string body Martha Mcclintock,P/HUBG/TFX/HUBG/CW/26/00002, reject


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"916666666661","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/HUBG/TFX/HUBG/CW/26/00002"},{"type":"text","text":"03-Jul-2026"},{"type":"text","text":"Cold work"},{"type":"text","text":"Meadow Oaks"},{"type":"text","text":" "},{"type":"text","text":"Requested by Martha Mcclintock at 03-Jul-2026 07:04:11 PM"},{"type":"text","text":"Issue"},{"type":"text","text":"https://oqsha.com/#/work-permit/view/398551?orgID=207&dlType=viewWorkPermit"}]}]}}}


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


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"916666666661","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/HUBG/TFX/HUBG/CW/26/00002"},{"type":"text","text":"03-Jul-2026"},{"type":"text","text":"Cold work"},{"type":"text","text":"Meadow Oaks"},{"type":"text","text":" "},{"type":"text","text":"Issued by Martha Mcclintock at 03-Jul-2026 07:04:17 PM"},{"type":"text","text":"Approve"},{"type":"text","text":"Martha Mcclintock"},{"type":"text","text":"https://oqsha.com/#/work-permit/view/398551?orgID=207&dlType=viewWorkPermit"}]}]}}}


Osmo-x WhatsApp Message has been Sent


# Preparing notification body #


# Push Subject P/HUBG/TFX/HUBG/CW/26/00002


# string body 03-Jul-2026, Martha Mcclintock,


Object reference not set to an instance of an object.


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"916666666661","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/HUBG/TFX/HUBG/CW/26/00002"},{"type":"text","text":"03-Jul-2026"},{"type":"text","text":"Cold work"},{"type":"text","text":"Meadow Oaks"},{"type":"text","text":" "},{"type":"text","text":"Approved by Martha Mcclintock at 03-Jul-2026 07:04:25 PM"},{"type":"text","text":"Review"},{"type":"text","text":"Martha Mcclintock"},{"type":"text","text":"https://oqsha.com/#/work-permit/view/398551?orgID=207&dlType=viewWorkPermit"}]}]}}}


### End Event Execution ###


### Start Event Execution ###


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


# Calling SendNotificationForPTWRejectedStatus function for whatsapp and push notification #


Executing sending notification for rejection status through whatsapp


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


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"916666666661","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/HUBG/TFX/HUBG/CW/26/00002"},{"type":"text","text":"03-Jul-2026"},{"type":"text","text":"Cold work"},{"type":"text","text":"Meadow Oaks"},{"type":"text","text":" "},{"type":"text","text":"Rejected by Martha Mcclintock at 03-Jul-2026 07:04:35 PM. Reason- Reject"},{"type":"text","text":"Request Again"},{"type":"text","text":"https://oqsha.com/#/work-permit/view/398551?orgID=207&dlType=viewWorkPermit"}]}]}}}


Starting Execution for push notification for rejection status


# Push Subject for Issuer P/HUBG/TFX/HUBG/CW/26/00002


# string body Martha Mcclintock,P/HUBG/TFX/HUBG/CW/26/00002, Reject


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


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"916666666661","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/HUBG/TFX/HUBG/CW/26/00002"},{"type":"text","text":"03-Jul-2026"},{"type":"text","text":"Cold work"},{"type":"text","text":"Meadow Oaks"},{"type":"text","text":" "},{"type":"text","text":"Requested by Martha Mcclintock at 03-Jul-2026 07:05:13 PM"},{"type":"text","text":"Issue"},{"type":"text","text":"https://oqsha.com/#/work-permit/view/398551?orgID=207&dlType=viewWorkPermit"}]}]}}}


Osmo-x WhatsApp Message has been Sent


Executing sending push notification to the issuers


# Preparing notification body #


### End Event Execution ###


### Start Event Execution ###


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


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"916666666661","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/HUBG/TFX/HUBG/CW/26/00003"},{"type":"text","text":"03-Jul-2026"},{"type":"text","text":"Cold work"},{"type":"text","text":"Meadow Oaks"},{"type":"text","text":" "},{"type":"text","text":"Requested by Martha Mcclintock at 03-Jul-2026 07:06:16 PM"},{"type":"text","text":"Issue"},{"type":"text","text":"Martha Mcclintock"},{"type":"text","text":"https://oqsha.com/#/work-permit/view/398552?orgID=207&dlType=viewWorkPermit"}]}]}}}


# Push Subject for Issuer P/HUBG/TFX/HUBG/CW/26/00003


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


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"916666666661","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/HUBG/TFX/HUBG/CW/26/00003"},{"type":"text","text":"03-Jul-2026"},{"type":"text","text":"Cold work"},{"type":"text","text":"Meadow Oaks"},{"type":"text","text":" "},{"type":"text","text":"Issued by Martha Mcclintock at 03-Jul-2026 07:06:25 PM"},{"type":"text","text":"Approve"},{"type":"text","text":"Martha Mcclintock"},{"type":"text","text":"https://oqsha.com/#/work-permit/view/398552?orgID=207&dlType=viewWorkPermit"}]}]}}}


# Push Subject P/HUBG/TFX/HUBG/CW/26/00003


# string body 03-Jul-2026, Martha Mcclintock,


Object reference not set to an instance of an object.


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"916666666661","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/HUBG/TFX/HUBG/CW/26/00003"},{"type":"text","text":"03-Jul-2026"},{"type":"text","text":"Cold work"},{"type":"text","text":"Meadow Oaks"},{"type":"text","text":" "},{"type":"text","text":"Approved by Martha Mcclintock at 03-Jul-2026 07:06:31 PM"},{"type":"text","text":"Review"},{"type":"text","text":"Martha Mcclintock"},{"type":"text","text":"https://oqsha.com/#/work-permit/view/398552?orgID=207&dlType=viewWorkPermit"}]}]}}}


Osmo-x WhatsApp Message has been Sent


# Preparing notification body #


### End Event Execution ###


### Start Event Execution ###


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


# Calling SendNotificationForPTWRejectedStatus function for whatsapp and push notification #


Executing sending notification for rejection status through whatsapp


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


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"916666666661","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/HUBG/TFX/HUBG/CW/26/00003"},{"type":"text","text":"03-Jul-2026"},{"type":"text","text":"Cold work"},{"type":"text","text":"Meadow Oaks"},{"type":"text","text":" "},{"type":"text","text":"Rejected by Martha Mcclintock at 03-Jul-2026 07:06:43 PM. Reason- Rejecting to test the flow"},{"type":"text","text":"Request Again"},{"type":"text","text":"https://oqsha.com/#/work-permit/view/398552?orgID=207&dlType=viewWorkPermit"}]}]}}}


Starting Execution for push notification for rejection status


# Push Subject for Issuer P/HUBG/TFX/HUBG/CW/26/00003


# string body Martha Mcclintock,P/HUBG/TFX/HUBG/CW/26/00003, Rejecting to test the flow


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


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"916666666661","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/HUBG/TFX/HUBG/CW/26/00003"},{"type":"text","text":"03-Jul-2026"},{"type":"text","text":"Cold work"},{"type":"text","text":"Meadow Oaks"},{"type":"text","text":" "},{"type":"text","text":"Requested by Martha Mcclintock at 03-Jul-2026 07:06:50 PM"},{"type":"text","text":"Issue"},{"type":"text","text":"https://oqsha.com/#/work-permit/view/398552?orgID=207&dlType=viewWorkPermit"}]}]}}}


Osmo-x WhatsApp Message has been Sent


Executing sending push notification to the issuers


# Preparing notification body #


### End Event Execution ###


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


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"916666666661","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/HUBG/TFX/HUBG/CW/26/00003"},{"type":"text","text":"03-Jul-2026"},{"type":"text","text":"Cold work"},{"type":"text","text":"Meadow Oaks"},{"type":"text","text":" "},{"type":"text","text":"Issued by Martha Mcclintock at 03-Jul-2026 07:06:57 PM"},{"type":"text","text":"Approve"},{"type":"text","text":"https://oqsha.com/#/work-permit/view/398552?orgID=207&dlType=viewWorkPermit"}]}]}}}


# Push Subject P/HUBG/TFX/HUBG/CW/26/00003


# string body 03-Jul-2026, Martha Mcclintock,


Object reference not set to an instance of an object.


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"916666666661","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/HUBG/TFX/HUBG/CW/26/00003"},{"type":"text","text":"03-Jul-2026"},{"type":"text","text":"Cold work"},{"type":"text","text":"Meadow Oaks"},{"type":"text","text":" "},{"type":"text","text":"Approved by Martha Mcclintock at 03-Jul-2026 07:07:03 PM"},{"type":"text","text":"Review"},{"type":"text","text":"https://oqsha.com/#/work-permit/view/398552?orgID=207&dlType=viewWorkPermit"}]}]}}}


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


# Calling SendNotificationToAllExceptReviewer function for whatsapp and push notification #


User Ids for notification: [1855,1861,4243,4244,4459,4504,4516,4518,4583,4594,4690,4691,4806,5106,5111,8719]


Starting Execution for whatsapp notification for all


Sending notification to requester regarding permit to work 398552


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000001644","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/HUBG/TFX/HUBG/CW/26/00003"},{"type":"text","text":"03-Jul-2026"},{"type":"text","text":"Cold work"},{"type":"text","text":"Meadow Oaks"},{"type":"text","text":" "},{"type":"text","text":"Reviewed by Martha Mcclintock at 03-Jul-2026 07:07:08 PM"},{"type":"text","text":"Start Work"},{"type":"text","text":"https://oqsha.com/#/work-permit/view/398552?orgID=207&dlType=viewWorkPermit"}]}]}}}


Osmo-x WhatsApp Message has been Sent


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000005063","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/HUBG/TFX/HUBG/CW/26/00003"},{"type":"text","text":"03-Jul-2026"},{"type":"text","text":"Cold work"},{"type":"text","text":"Meadow Oaks"},{"type":"text","text":" "},{"type":"text","text":"Reviewed by Martha Mcclintock at 03-Jul-2026 07:07:08 PM"},{"type":"text","text":"Start Work"},{"type":"text","text":"https://oqsha.com/#/work-permit/view/398552?orgID=207&dlType=viewWorkPermit"}]}]}}}


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000006623","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/HUBG/TFX/HUBG/CW/26/00003"},{"type":"text","text":"03-Jul-2026"},{"type":"text","text":"Cold work"},{"type":"text","text":"Meadow Oaks"},{"type":"text","text":" "},{"type":"text","text":"Reviewed by Martha Mcclintock at 03-Jul-2026 07:07:08 PM"},{"type":"text","text":"Start Work"},{"type":"text","text":"https://oqsha.com/#/work-permit/view/398552?orgID=207&dlType=viewWorkPermit"}]}]}}}


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000001717","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/HUBG/TFX/HUBG/CW/26/00003"},{"type":"text","text":"03-Jul-2026"},{"type":"text","text":"Cold work"},{"type":"text","text":"Meadow Oaks"},{"type":"text","text":" "},{"type":"text","text":"Reviewed by Martha Mcclintock at 03-Jul-2026 07:07:08 PM"},{"type":"text","text":"Start Work"},{"type":"text","text":"https://oqsha.com/#/work-permit/view/398552?orgID=207&dlType=viewWorkPermit"}]}]}}}


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"915555557098","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/HUBG/TFX/HUBG/CW/26/00003"},{"type":"text","text":"03-Jul-2026"},{"type":"text","text":"Cold work"},{"type":"text","text":"Meadow Oaks"},{"type":"text","text":" "},{"type":"text","text":"Reviewed by Martha Mcclintock at 03-Jul-2026 07:07:08 PM"},{"type":"text","text":"Start Work"},{"type":"text","text":"https://oqsha.com/#/work-permit/view/398552?orgID=207&dlType=viewWorkPermit"}]}]}}}


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000010247","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/HUBG/TFX/HUBG/CW/26/00003"},{"type":"text","text":"03-Jul-2026"},{"type":"text","text":"Cold work"},{"type":"text","text":"Meadow Oaks"},{"type":"text","text":" "},{"type":"text","text":"Reviewed by Martha Mcclintock at 03-Jul-2026 07:07:08 PM"},{"type":"text","text":"Start Work"},{"type":"text","text":"https://oqsha.com/#/work-permit/view/398552?orgID=207&dlType=viewWorkPermit"}]}]}}}


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000000959","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/HUBG/TFX/HUBG/CW/26/00003"},{"type":"text","text":"03-Jul-2026"},{"type":"text","text":"Cold work"},{"type":"text","text":"Meadow Oaks"},{"type":"text","text":" "},{"type":"text","text":"Reviewed by Martha Mcclintock at 03-Jul-2026 07:07:08 PM"},{"type":"text","text":"Start Work"},{"type":"text","text":"https://oqsha.com/#/work-permit/view/398552?orgID=207&dlType=viewWorkPermit"}]}]}}}