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


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000003528","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/GLTO/GRA/GLTO/WH/26/00001"},{"type":"text","text":"06-Jul-2026"},{"type":"text","text":"Work At Height"},{"type":"text","text":"Leeper"},{"type":"text","text":" "},{"type":"text","text":"Requested by Helyn Blackmore at 06-Jul-2026 10:56:48 AM"},{"type":"text","text":"Approve"},{"type":"text","text":"Natali Wideman"},{"type":"text","text":"https://oqsha.com/#/work-permit/view/400241?orgID=211&dlType=viewWorkPermit"}]}]}}}


Osmo-x WhatsApp Message has been Sent


Executing sending push notification to the issuers


# Push Subject for Issuer P/GLTO/GRA/GLTO/WH/26/00001


# Preparing notification body #


# Checking for device existence #


# User device exists #


Sending notification for permit to work: 400241


Inside SendAppNotification Device Type: GCM


Generating AWS SNS Request


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/19b9be4f-ac6e-3e85-a967-f2b839dadb6b


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 9375.


# Push notification did not send #


Endpoint: arn:aws:sns:us-west-2:505884080245:endpoint/GCM/OQSHA-Android/35a3a8ad-f727-3976-b3d3-95da0f048cc9


Push notification failed to send to a device 10879.


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


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000000580","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/GLTO/GRA/GLTO/WH/26/00001"},{"type":"text","text":"06-Jul-2026"},{"type":"text","text":"Work At Height"},{"type":"text","text":"Leeper"},{"type":"text","text":" "},{"type":"text","text":"Approved by Natali Wideman at 06-Jul-2026 10:59:31 AM"},{"type":"text","text":"Authorize"},{"type":"text","text":"Laddie Gaffney"},{"type":"text","text":"https://oqsha.com/#/work-permit/view/400241?orgID=211&dlType=viewWorkPermit"}]}]}}}


Osmo-x WhatsApp Message has been Sent


# Preparing notification body #


# Push Subject P/GLTO/GRA/GLTO/WH/26/00001


# string body 06-Jul-2026, ,


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


# Calling SendNotificationToAllExceptReviewer function for whatsapp and push notification #


User Ids for notification: [20294]


Starting Execution for whatsapp notification for all


Sending notification to requester regarding permit to work 400241


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"915555555819","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/GLTO/GRA/GLTO/WH/26/00001"},{"type":"text","text":"06-Jul-2026"},{"type":"text","text":"Work At Height"},{"type":"text","text":"Leeper"},{"type":"text","text":" "},{"type":"text","text":"Authorized by Laddie Gaffney at 06-Jul-2026 11:00:51 AM"},{"type":"text","text":"Start Work"},{"type":"text","text":"https://oqsha.com/#/work-permit/view/400241?orgID=211&dlType=viewWorkPermit"}]}]}}}


Starting Execution for push notification for all


# Push Subject for Issuer P/GLTO/GRA/GLTO/WH/26/00001


# string body 06-Jul-2026, Laddie Gaffney, P/GLTO/GRA/GLTO/WH/26/00001, 06-Jul-2026


### End Event Execution ###


### Start Event Execution ###


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


# Calling SendNotificationToIssuersForExtensionPTW function for whatsapp and push notification #


Executing sending notification to issuers for extended PTW through whatsapp


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


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000003528","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/GLTO/GRA/GLTO/WH/26/00001"},{"type":"text","text":"06-Jul-2026"},{"type":"text","text":"Testing"},{"type":"text","text":"Leeper"},{"type":"text","text":" "},{"type":"text","text":"Extension Requested by Helyn Blackmore for 5 hour(s) at 06-Jul-2026 11:34:03 AM"},{"type":"text","text":"Extension Approve"},{"type":"text","text":"Natali Wideman"},{"type":"text","text":"https://oqsha.com/#/work-permit/view/400241?orgID=211&dlType=viewWorkPermit"}]}]}}}


Osmo-x WhatsApp Message has been Sent


Executing sending push notification to the issuers for extended PTW


# Preparing notification body #


# string body Helyn Blackmore, 5 hour(s), P/GLTO/GRA/GLTO/WH/26/00001


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


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000003712","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/CW/26/00001"},{"type":"text","text":"06-Jul-2026"},{"type":"text","text":"Cold work"},{"type":"text","text":"Meadow Oaks"},{"type":"text","text":" "},{"type":"text","text":"Requested by Cian Mccandless at 06-Jul-2026 11:34:59 AM"},{"type":"text","text":"Issue"},{"type":"text","text":"Maxim Noyes"},{"type":"text","text":"https://oqsha.com/#/work-permit/view/400242?orgID=207&dlType=viewWorkPermit"}]}]}}}


Executing sending push notification to the issuers


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


# Checking for device existence #


# User device exists #


Sending notification for permit to work: 400242


Inside SendAppNotification Device Type: GCM


Generating AWS SNS Request


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/601c1b17-2af0-3f9d-8ea5-777d1234172e


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 6210.


# Push notification did not send #


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/cd99c807-79df-3252-abc2-9a65d4caf23b


Push notification failed to send to a device 10376.


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/27462b11-d660-3321-8287-d7d314f9e282


Push notification failed to send to a device 10901.


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/7f147d30-3a67-3fe9-9367-0e9c198c234d


Push notification failed to send to a device 7168.


# Checking for device existence #


# User device exists #


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/882761bd-1d76-3979-a5de-b182b79fd03a


Push notification failed to send to a device 7194.


Generating AWS SNS Request


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/24356160-1bdb-3a27-83fa-b8289a947d2c


Unauthorized


Push notification failed to send to a device 10575.


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/e080cf4e-d752-32fe-91ca-d3e7df957270


Push notification failed to send to a device 6822.


# Push notification did not send #


Sending notification for permit to work: 400242


Inside SendAppNotification Device Type: GCM


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/a705152c-79d0-3248-9312-52767547c5d7


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


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


Push notification failed to send to a device 8864.


# Checking for device existence #


# User device exists #


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/3d00a271-e797-3253-8bf8-514d7bf39abb


Push notification failed to send to a device 22203.


Generating AWS SNS Request


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/7d901924-169d-331d-9953-d6bb919f9aa1


Unauthorized


Push notification failed to send to a device 6974.


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/2ee46e5d-0ca6-311b-9832-b2ba57878e01


Push notification failed to send to a device 8654.


# Push notification did not send #


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/12d409c9-a80e-3528-a26a-62371c2cb304


Push notification failed to send to a device 11116.


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/86befed8-83b8-3477-a8f0-72840ec822b5


Push notification failed to send to a device 11151.


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/dbf5a473-0c4b-3fe5-85c0-e5536c74289a


Push notification failed to send to a device 7222.


# Checking for device existence #


# User device exists #


Sending notification for permit to work: 400242


Inside SendAppNotification Device Type: GCM


Generating AWS SNS Request


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/8670124d-f221-30c6-a589-30083defce83


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 9491.


# Push notification did not send #


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/e27f1f5f-cf67-34c8-9db3-e915ec00727c


Push notification failed to send to a device 10490.


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/eba11478-c55c-3bd9-9e47-0b4fbd026f40


Push notification failed to send to a device 7795.


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/92f40b3c-7b70-311c-9096-c22c3b0ab766


Push notification failed to send to a device 7794.


# Checking for device existence #


# User device exists #


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/cbd76a09-6afb-3b2e-b3ba-2f8af06e72ea


Push notification failed to send to a device 11265.


Generating AWS SNS Request


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/fb1043d4-01e5-3628-8387-c71af3c46cc6


Unauthorized


Push notification failed to send to a device 21324.


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/72d6e5f9-427a-34a7-9970-ce29c8bf86b8


Push notification failed to send to a device 9428.


# Push notification did not send #


Sending notification for permit to work: 400242


Inside SendAppNotification Device Type: GCM


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/f4efb887-45b1-3133-8647-101a6629c0a9


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


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


Push notification failed to send to a device 16706.


### End Event Execution ###


### Start Event Execution ###


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


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000000580","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/GLTO/GRA/GLTO/WH/26/00001"},{"type":"text","text":"06-Jul-2026"},{"type":"text","text":"Testing"},{"type":"text","text":"Leeper"},{"type":"text","text":" "},{"type":"text","text":"Extension Approved by Natali Wideman for 5 hour(s) at 06-Jul-2026 11:36:03 AM"},{"type":"text","text":"Extension Authorize"},{"type":"text","text":"Laddie Gaffney"},{"type":"text","text":"https://oqsha.com/#/work-permit/view/400241?orgID=211&dlType=viewWorkPermit"}]}]}}}


Osmo-x WhatsApp Message has been Sent


# Preparing notification body #


# Push Subject for Issuer P/GLTO/GRA/GLTO/WH/26/00001


# string body Helyn Blackmore, 5 hour(s), P/GLTO/GRA/GLTO/WH/26/00001,,


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


# Calling SendNotificationToEitherReviewerOrApprover function for  whatsapp and push notification #


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


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/CW/26/00001"},{"type":"text","text":"06-Jul-2026"},{"type":"text","text":"Cold work"},{"type":"text","text":"Meadow Oaks"},{"type":"text","text":" "},{"type":"text","text":"Issued by Maxim Noyes at 06-Jul-2026 11:36:34 AM"},{"type":"text","text":"Approve"},{"type":"text","text":"Edna Bradbury"},{"type":"text","text":"https://oqsha.com/#/work-permit/view/400242?orgID=207&dlType=viewWorkPermit"}]}]}}}


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


# string body 06-Jul-2026, Maxim Noyes,


# Checking for device existence #


# User device exists #


Sending notification for permit to work: 400242


Inside SendAppNotification Device Type: GCM


Generating AWS SNS Request


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Test/2f730358-e751-3298-8396-8e150078c8ff


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 22464.


# Push notification did not send #


Inside SendAppNotification Device Type: APNS


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/APNS/Oqsha-IOS-Production/595af79b-ff0a-3b2f-9216-6a27108f17ef


Push notification failed to send to a device 22462.


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


Starting Execution for whatsapp notification for users


Executing sending notification to users through whatsapp


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/CW/26/00001"},{"type":"text","text":"06-Jul-2026"},{"type":"text","text":"Cold work"},{"type":"text","text":"Meadow Oaks"},{"type":"text","text":" "},{"type":"text","text":"Approved by Edna Bradbury at 06-Jul-2026 11:37:22 AM"},{"type":"text","text":"Review"},{"type":"text","text":"Robby Soukup"},{"type":"text","text":"https://oqsha.com/#/work-permit/view/400242?orgID=207&dlType=viewWorkPermit"}]}]}}}


Osmo-x WhatsApp Message has been Sent


# Preparing notification body #


# string body 06-Jul-2026, Maxim Noyes,


# Checking for device existence #


# User device exists #


Generating AWS SNS Request


Unauthorized


Push notification failed to send to a device 22466.


# Push notification did not send #


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


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"915555555819","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/GLTO/GRA/GLTO/WH/26/00001"},{"type":"text","text":"06-Jul-2026"},{"type":"text","text":"Testing"},{"type":"text","text":"Leeper"},{"type":"text","text":" "},{"type":"text","text":"Extension Authorized by Laddie Gaffney for 5 hour(s) at 06-Jul-2026 11:37:25 AM"},{"type":"text","text":"Start Work"},{"type":"text","text":"https://oqsha.com/#/work-permit/view/400241?orgID=211&dlType=viewWorkPermit"}]}]}}}


# Push Subject for Issuer P/GLTO/GRA/GLTO/WH/26/00001


# string body Laddie Gaffney, 5 hour(s), P/GLTO/GRA/GLTO/WH/26/00001


### End Event Execution ###


### Start Event Execution ###


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


# Calling SendNotificationToAllExceptReviewer function for whatsapp and push notification #


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


Sending notification to requester regarding permit to work 400242


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/CW/26/00001"},{"type":"text","text":"06-Jul-2026"},{"type":"text","text":"Cold work"},{"type":"text","text":"Meadow Oaks"},{"type":"text","text":" "},{"type":"text","text":"Reviewed by Robby Soukup at 06-Jul-2026 11:40:16 AM"},{"type":"text","text":"Start Work"},{"type":"text","text":"https://oqsha.com/#/work-permit/view/400242?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/RDVT/CW/26/00001"},{"type":"text","text":"06-Jul-2026"},{"type":"text","text":"Cold work"},{"type":"text","text":"Meadow Oaks"},{"type":"text","text":" "},{"type":"text","text":"Reviewed by Robby Soukup at 06-Jul-2026 11:40:16 AM"},{"type":"text","text":"Start Work"},{"type":"text","text":"https://oqsha.com/#/work-permit/view/400242?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/CW/26/00001"},{"type":"text","text":"06-Jul-2026"},{"type":"text","text":"Cold work"},{"type":"text","text":"Meadow Oaks"},{"type":"text","text":" "},{"type":"text","text":"Reviewed by Robby Soukup at 06-Jul-2026 11:40:16 AM"},{"type":"text","text":"Start Work"},{"type":"text","text":"https://oqsha.com/#/work-permit/view/400242?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/CW/26/00001"},{"type":"text","text":"06-Jul-2026"},{"type":"text","text":"Cold work"},{"type":"text","text":"Meadow Oaks"},{"type":"text","text":" "},{"type":"text","text":"Reviewed by Robby Soukup at 06-Jul-2026 11:40:16 AM"},{"type":"text","text":"Start Work"},{"type":"text","text":"https://oqsha.com/#/work-permit/view/400242?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/CW/26/00001"},{"type":"text","text":"06-Jul-2026"},{"type":"text","text":"Cold work"},{"type":"text","text":"Meadow Oaks"},{"type":"text","text":" "},{"type":"text","text":"Reviewed by Robby Soukup at 06-Jul-2026 11:40:16 AM"},{"type":"text","text":"Start Work"},{"type":"text","text":"https://oqsha.com/#/work-permit/view/400242?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/CW/26/00001"},{"type":"text","text":"06-Jul-2026"},{"type":"text","text":"Cold work"},{"type":"text","text":"Meadow Oaks"},{"type":"text","text":" "},{"type":"text","text":"Reviewed by Robby Soukup at 06-Jul-2026 11:40:16 AM"},{"type":"text","text":"Start Work"},{"type":"text","text":"https://oqsha.com/#/work-permit/view/400242?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/CW/26/00001"},{"type":"text","text":"06-Jul-2026"},{"type":"text","text":"Cold work"},{"type":"text","text":"Meadow Oaks"},{"type":"text","text":" "},{"type":"text","text":"Reviewed by Robby Soukup at 06-Jul-2026 11:40:16 AM"},{"type":"text","text":"Start Work"},{"type":"text","text":"https://oqsha.com/#/work-permit/view/400242?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/CW/26/00001"},{"type":"text","text":"06-Jul-2026"},{"type":"text","text":"Cold work"},{"type":"text","text":"Meadow Oaks"},{"type":"text","text":" "},{"type":"text","text":"Reviewed by Robby Soukup at 06-Jul-2026 11:40:16 AM"},{"type":"text","text":"Start Work"},{"type":"text","text":"https://oqsha.com/#/work-permit/view/400242?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/CW/26/00001"},{"type":"text","text":"06-Jul-2026"},{"type":"text","text":"Cold work"},{"type":"text","text":"Meadow Oaks"},{"type":"text","text":" "},{"type":"text","text":"Reviewed by Robby Soukup at 06-Jul-2026 11:40:16 AM"},{"type":"text","text":"Start Work"},{"type":"text","text":"https://oqsha.com/#/work-permit/view/400242?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/CW/26/00001"},{"type":"text","text":"06-Jul-2026"},{"type":"text","text":"Cold work"},{"type":"text","text":"Meadow Oaks"},{"type":"text","text":" "},{"type":"text","text":"Reviewed by Robby Soukup at 06-Jul-2026 11:40:16 AM"},{"type":"text","text":"Start Work"},{"type":"text","text":"https://oqsha.com/#/work-permit/view/400242?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/CW/26/00001"},{"type":"text","text":"06-Jul-2026"},{"type":"text","text":"Cold work"},{"type":"text","text":"Meadow Oaks"},{"type":"text","text":" "},{"type":"text","text":"Reviewed by Robby Soukup at 06-Jul-2026 11:40:16 AM"},{"type":"text","text":"Start Work"},{"type":"text","text":"https://oqsha.com/#/work-permit/view/400242?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/CW/26/00001"},{"type":"text","text":"06-Jul-2026"},{"type":"text","text":"Cold work"},{"type":"text","text":"Meadow Oaks"},{"type":"text","text":" "},{"type":"text","text":"Reviewed by Robby Soukup at 06-Jul-2026 11:40:16 AM"},{"type":"text","text":"Start Work"},{"type":"text","text":"https://oqsha.com/#/work-permit/view/400242?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/CW/26/00001"},{"type":"text","text":"06-Jul-2026"},{"type":"text","text":"Cold work"},{"type":"text","text":"Meadow Oaks"},{"type":"text","text":" "},{"type":"text","text":"Reviewed by Robby Soukup at 06-Jul-2026 11:40:16 AM"},{"type":"text","text":"Start Work"},{"type":"text","text":"https://oqsha.com/#/work-permit/view/400242?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/CW/26/00001"},{"type":"text","text":"06-Jul-2026"},{"type":"text","text":"Cold work"},{"type":"text","text":"Meadow Oaks"},{"type":"text","text":" "},{"type":"text","text":"Reviewed by Robby Soukup at 06-Jul-2026 11:40:16 AM"},{"type":"text","text":"Start Work"},{"type":"text","text":"https://oqsha.com/#/work-permit/view/400242?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/CW/26/00001"},{"type":"text","text":"06-Jul-2026"},{"type":"text","text":"Cold work"},{"type":"text","text":"Meadow Oaks"},{"type":"text","text":" "},{"type":"text","text":"Reviewed by Robby Soukup at 06-Jul-2026 11:40:16 AM"},{"type":"text","text":"Start Work"},{"type":"text","text":"https://oqsha.com/#/work-permit/view/400242?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/CW/26/00001"},{"type":"text","text":"06-Jul-2026"},{"type":"text","text":"Cold work"},{"type":"text","text":"Meadow Oaks"},{"type":"text","text":" "},{"type":"text","text":"Reviewed by Robby Soukup at 06-Jul-2026 11:40:16 AM"},{"type":"text","text":"Start Work"},{"type":"text","text":"https://oqsha.com/#/work-permit/view/400242?orgID=207&dlType=viewWorkPermit"}]}]}}}


Starting Execution for push notification for all


# Preparing notification body #


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


# string body 06-Jul-2026, Robby Soukup, P/HUBG/TFX/RDVT/CW/26/00001, 06-Jul-2026


# Checking for device existence #


# User device exists #


Sending permit to work Notification for permit id: 400242


Inside SendAppNotification Device Type: GCM


Generating AWS SNS Request


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Test/2f730358-e751-3298-8396-8e150078c8ff


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 22468.


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


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000003712","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/CW/26/00001"},{"type":"text","text":"06-Jul-2026"},{"type":"text","text":"Cold work"},{"type":"text","text":"Meadow Oaks"},{"type":"text","text":" "},{"type":"text","text":"Extension Requested by Cian Mccandless for 2 hour(s) at 06-Jul-2026 11:41:33 AM"},{"type":"text","text":"Extension Issue"},{"type":"text","text":"Maxim Noyes"},{"type":"text","text":"https://oqsha.com/#/work-permit/view/400242?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, 2 hour(s), P/HUBG/TFX/RDVT/CW/26/00001


# Checking for device existence #


# User device exists #


Sending notification for extended permit to work: 400242


Inside SendAppNotification Device Type: APNS


Generating AWS SNS Request


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/APNS/Oqsha-IOS-Production/595af79b-ff0a-3b2f-9216-6a27108f17ef


Unauthorized


Push notification failed to send to a device 22469.


# Push notification did not send #


### End Event Execution ###


### Start Event Execution ###


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


# Calling SendNotificationToAllForExtennsionRejectedStatus function for  whatsapp and push notification #


Executing sending notification for extension rejection status through whatsapp


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


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/CW/26/00001"},{"type":"text","text":"06-Jul-2026"},{"type":"text","text":"Cold work"},{"type":"text","text":"Meadow Oaks"},{"type":"text","text":" "},{"type":"text","text":"Extension Rejected by Maxim Noyes for 0 hour(s) at 06-Jul-2026 11:42:01 AM. Reason- Rejecting extension"},{"type":"text","text":"Request again"},{"type":"text","text":"https://oqsha.com/#/work-permit/view/400242?orgID=207&dlType=viewWorkPermit"}]}]}}}


Osmo-x WhatsApp Message has been Sent


Starting Execution for push notification for extension rejection status


# Preparing notification body #


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


# string body Maxim Noyes,P/HUBG/TFX/RDVT/CW/26/00001, Rejecting extension


# Checking for device existence #


# User device exists #


Sending extension rejected status for permit to work with Id: 400242


Inside SendAppNotification Device Type: GCM


Generating AWS SNS Request


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Test/2f730358-e751-3298-8396-8e150078c8ff


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 22470.


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


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000003712","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/CW/26/00001"},{"type":"text","text":"06-Jul-2026"},{"type":"text","text":"Cold work"},{"type":"text","text":"Meadow Oaks"},{"type":"text","text":" "},{"type":"text","text":"Extension Requested by Cian Mccandless for 1 hour(s) at 06-Jul-2026 11:42:58 AM"},{"type":"text","text":"Extension Issue"},{"type":"text","text":"Maxim Noyes"},{"type":"text","text":"https://oqsha.com/#/work-permit/view/400242?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/CW/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 400242


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/CW/26/00001"},{"type":"text","text":"06-Jul-2026"},{"type":"text","text":"Cold work"},{"type":"text","text":"Meadow Oaks"},{"type":"text","text":" "},{"type":"text","text":"Extension Issued by Maxim Noyes for 1 hour(s) at 06-Jul-2026 11:43:42 AM"},{"type":"text","text":"Extension Approve"},{"type":"text","text":"Edna Bradbury"},{"type":"text","text":"https://oqsha.com/#/work-permit/view/400242?orgID=207&dlType=viewWorkPermit"}]}]}}}


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


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


### End Event Execution ###


### Start Event Execution ###


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


# Calling SendNotificationToAllForExtennsionRejectedStatus function for  whatsapp and push notification #


Executing sending notification for extension rejection status through whatsapp


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


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/CW/26/00001"},{"type":"text","text":"06-Jul-2026"},{"type":"text","text":"Cold work"},{"type":"text","text":"Meadow Oaks"},{"type":"text","text":" "},{"type":"text","text":"Extension Rejected by Edna Bradbury for 0 hour(s) at 06-Jul-2026 11:44:33 AM. Reason- Extension rejected from approver"},{"type":"text","text":"Request again"},{"type":"text","text":"https://oqsha.com/#/work-permit/view/400242?orgID=207&dlType=viewWorkPermit"}]}]}}}


Osmo-x WhatsApp Message has been Sent


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/CW/26/00001"},{"type":"text","text":"06-Jul-2026"},{"type":"text","text":"Cold work"},{"type":"text","text":"Meadow Oaks"},{"type":"text","text":" "},{"type":"text","text":"Extension Rejected by Edna Bradbury for 0 hour(s) at 06-Jul-2026 11:44:33 AM. Reason- Extension rejected from approver"},{"type":"text","text":"Request again"},{"type":"text","text":"https://oqsha.com/#/work-permit/view/400242?orgID=207&dlType=viewWorkPermit"}]}]}}}


Starting Execution for push notification for extension rejection status


# Preparing notification body #


# string body Edna Bradbury,P/HUBG/TFX/RDVT/CW/26/00001, Extension rejected from approver


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


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000003712","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/CW/26/00001"},{"type":"text","text":"06-Jul-2026"},{"type":"text","text":"Cold work"},{"type":"text","text":"Meadow Oaks"},{"type":"text","text":" "},{"type":"text","text":"Extension Requested by Cian Mccandless for 2 hour(s) at 06-Jul-2026 11:45:39 AM"},{"type":"text","text":"Extension Issue"},{"type":"text","text":"Maxim Noyes"},{"type":"text","text":"https://oqsha.com/#/work-permit/view/400242?orgID=207&dlType=viewWorkPermit"}]}]}}}


Executing sending push notification to the issuers for extended PTW


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


# Checking for device existence #


# User device exists #


Sending notification for extended permit to work: 400242


Inside SendAppNotification Device Type: APNS


Generating AWS SNS Request


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/APNS/Oqsha-IOS-Production/595af79b-ff0a-3b2f-9216-6a27108f17ef


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 22473.


# Push notification did not send #


### End Event Execution ###


### Start Event Execution ###


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


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/CW/26/00001"},{"type":"text","text":"06-Jul-2026"},{"type":"text","text":"Cold work"},{"type":"text","text":"Meadow Oaks"},{"type":"text","text":" "},{"type":"text","text":"Extension Issued by Maxim Noyes for 2 hour(s) at 06-Jul-2026 11:45:59 AM"},{"type":"text","text":"Extension Approve"},{"type":"text","text":"Edna Bradbury"},{"type":"text","text":"https://oqsha.com/#/work-permit/view/400242?orgID=207&dlType=viewWorkPermit"}]}]}}}


Osmo-x WhatsApp Message has been Sent


# Preparing notification body #


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


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


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/CW/26/00001"},{"type":"text","text":"06-Jul-2026"},{"type":"text","text":"Cold work"},{"type":"text","text":"Meadow Oaks"},{"type":"text","text":" "},{"type":"text","text":"Extension Approved by Edna Bradbury for 2 hour(s) at 06-Jul-2026 11:46:35 AM"},{"type":"text","text":"Extension Review"},{"type":"text","text":"Robby Soukup"},{"type":"text","text":"https://oqsha.com/#/work-permit/view/400242?orgID=207&dlType=viewWorkPermit"}]}]}}}


# string body Cian Mccandless, 2 hour(s), P/HUBG/TFX/RDVT/CW/26/00001,Maxim Noyes,


# Checking for device existence #


# User device exists #


Sending notification for permit to work: 400242


Generating AWS SNS Request


Unauthorized


Push notification failed to send to a device 22475.


# Push notification did not send #


### End Event Execution ###


### Start Event Execution ###


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


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/CW/26/00001"},{"type":"text","text":"06-Jul-2026"},{"type":"text","text":"Cold work"},{"type":"text","text":"Meadow Oaks"},{"type":"text","text":" "},{"type":"text","text":"Extension Reviewed by Robby Soukup for 2 hour(s) at 06-Jul-2026 11:46:48 AM"},{"type":"text","text":"Start Work"},{"type":"text","text":"https://oqsha.com/#/work-permit/view/400242?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/RDVT/CW/26/00001"},{"type":"text","text":"06-Jul-2026"},{"type":"text","text":"Cold work"},{"type":"text","text":"Meadow Oaks"},{"type":"text","text":" "},{"type":"text","text":"Extension Reviewed by Robby Soukup for 2 hour(s) at 06-Jul-2026 11:46:48 AM"},{"type":"text","text":"Start Work"},{"type":"text","text":"https://oqsha.com/#/work-permit/view/400242?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/CW/26/00001"},{"type":"text","text":"06-Jul-2026"},{"type":"text","text":"Cold work"},{"type":"text","text":"Meadow Oaks"},{"type":"text","text":" "},{"type":"text","text":"Extension Reviewed by Robby Soukup for 2 hour(s) at 06-Jul-2026 11:46:48 AM"},{"type":"text","text":"Start Work"},{"type":"text","text":"https://oqsha.com/#/work-permit/view/400242?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/CW/26/00001"},{"type":"text","text":"06-Jul-2026"},{"type":"text","text":"Cold work"},{"type":"text","text":"Meadow Oaks"},{"type":"text","text":" "},{"type":"text","text":"Extension Reviewed by Robby Soukup for 2 hour(s) at 06-Jul-2026 11:46:48 AM"},{"type":"text","text":"Start Work"},{"type":"text","text":"https://oqsha.com/#/work-permit/view/400242?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/CW/26/00001"},{"type":"text","text":"06-Jul-2026"},{"type":"text","text":"Cold work"},{"type":"text","text":"Meadow Oaks"},{"type":"text","text":" "},{"type":"text","text":"Extension Reviewed by Robby Soukup for 2 hour(s) at 06-Jul-2026 11:46:48 AM"},{"type":"text","text":"Start Work"},{"type":"text","text":"https://oqsha.com/#/work-permit/view/400242?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/CW/26/00001"},{"type":"text","text":"06-Jul-2026"},{"type":"text","text":"Cold work"},{"type":"text","text":"Meadow Oaks"},{"type":"text","text":" "},{"type":"text","text":"Extension Reviewed by Robby Soukup for 2 hour(s) at 06-Jul-2026 11:46:48 AM"},{"type":"text","text":"Start Work"},{"type":"text","text":"https://oqsha.com/#/work-permit/view/400242?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/CW/26/00001"},{"type":"text","text":"06-Jul-2026"},{"type":"text","text":"Cold work"},{"type":"text","text":"Meadow Oaks"},{"type":"text","text":" "},{"type":"text","text":"Extension Reviewed by Robby Soukup for 2 hour(s) at 06-Jul-2026 11:46:48 AM"},{"type":"text","text":"Start Work"},{"type":"text","text":"https://oqsha.com/#/work-permit/view/400242?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/CW/26/00001"},{"type":"text","text":"06-Jul-2026"},{"type":"text","text":"Cold work"},{"type":"text","text":"Meadow Oaks"},{"type":"text","text":" "},{"type":"text","text":"Extension Reviewed by Robby Soukup for 2 hour(s) at 06-Jul-2026 11:46:48 AM"},{"type":"text","text":"Start Work"},{"type":"text","text":"https://oqsha.com/#/work-permit/view/400242?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/CW/26/00001"},{"type":"text","text":"06-Jul-2026"},{"type":"text","text":"Cold work"},{"type":"text","text":"Meadow Oaks"},{"type":"text","text":" "},{"type":"text","text":"Extension Reviewed by Robby Soukup for 2 hour(s) at 06-Jul-2026 11:46:48 AM"},{"type":"text","text":"Start Work"},{"type":"text","text":"https://oqsha.com/#/work-permit/view/400242?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/CW/26/00001"},{"type":"text","text":"06-Jul-2026"},{"type":"text","text":"Cold work"},{"type":"text","text":"Meadow Oaks"},{"type":"text","text":" "},{"type":"text","text":"Extension Reviewed by Robby Soukup for 2 hour(s) at 06-Jul-2026 11:46:48 AM"},{"type":"text","text":"Start Work"},{"type":"text","text":"https://oqsha.com/#/work-permit/view/400242?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/CW/26/00001"},{"type":"text","text":"06-Jul-2026"},{"type":"text","text":"Cold work"},{"type":"text","text":"Meadow Oaks"},{"type":"text","text":" "},{"type":"text","text":"Extension Reviewed by Robby Soukup for 2 hour(s) at 06-Jul-2026 11:46:48 AM"},{"type":"text","text":"Start Work"},{"type":"text","text":"https://oqsha.com/#/work-permit/view/400242?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/CW/26/00001"},{"type":"text","text":"06-Jul-2026"},{"type":"text","text":"Cold work"},{"type":"text","text":"Meadow Oaks"},{"type":"text","text":" "},{"type":"text","text":"Extension Reviewed by Robby Soukup for 2 hour(s) at 06-Jul-2026 11:46:48 AM"},{"type":"text","text":"Start Work"},{"type":"text","text":"https://oqsha.com/#/work-permit/view/400242?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/CW/26/00001"},{"type":"text","text":"06-Jul-2026"},{"type":"text","text":"Cold work"},{"type":"text","text":"Meadow Oaks"},{"type":"text","text":" "},{"type":"text","text":"Extension Reviewed by Robby Soukup for 2 hour(s) at 06-Jul-2026 11:46:48 AM"},{"type":"text","text":"Start Work"},{"type":"text","text":"https://oqsha.com/#/work-permit/view/400242?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/CW/26/00001"},{"type":"text","text":"06-Jul-2026"},{"type":"text","text":"Cold work"},{"type":"text","text":"Meadow Oaks"},{"type":"text","text":" "},{"type":"text","text":"Extension Reviewed by Robby Soukup for 2 hour(s) at 06-Jul-2026 11:46:48 AM"},{"type":"text","text":"Start Work"},{"type":"text","text":"https://oqsha.com/#/work-permit/view/400242?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/CW/26/00001"},{"type":"text","text":"06-Jul-2026"},{"type":"text","text":"Cold work"},{"type":"text","text":"Meadow Oaks"},{"type":"text","text":" "},{"type":"text","text":"Extension Reviewed by Robby Soukup for 2 hour(s) at 06-Jul-2026 11:46:48 AM"},{"type":"text","text":"Start Work"},{"type":"text","text":"https://oqsha.com/#/work-permit/view/400242?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/CW/26/00001"},{"type":"text","text":"06-Jul-2026"},{"type":"text","text":"Cold work"},{"type":"text","text":"Meadow Oaks"},{"type":"text","text":" "},{"type":"text","text":"Extension Reviewed by Robby Soukup for 2 hour(s) at 06-Jul-2026 11:46:48 AM"},{"type":"text","text":"Start Work"},{"type":"text","text":"https://oqsha.com/#/work-permit/view/400242?orgID=207&dlType=viewWorkPermit"}]}]}}}


# Preparing notification body #


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


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


# Checking for device existence #


# User device exists #


Sending notification for permit to work: 400242


Inside SendAppNotification Device Type: GCM


Generating AWS SNS Request


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Test/2f730358-e751-3298-8396-8e150078c8ff


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 22474.


# 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 notification to reviewer of the comapny regarding permit to work 400242


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/CW/26/00001"},{"type":"text","text":"06-Jul-2026"},{"type":"text","text":"Cold work"},{"type":"text","text":"Meadow Oaks"},{"type":"text","text":" "},{"type":"text","text":"cancel. The status has changed to Cancelled."},{"type":"text","text":"Edna Bradbury at 06-Jul-2026 11:47:22 AM"},{"type":"text","text":"https://oqsha.com/#/work-permit/view/400242?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_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/CW/26/00001"},{"type":"text","text":"06-Jul-2026"},{"type":"text","text":"Cold work"},{"type":"text","text":"Meadow Oaks"},{"type":"text","text":" "},{"type":"text","text":"cancel. The status has changed to Cancelled."},{"type":"text","text":"Edna Bradbury at 06-Jul-2026 11:47:22 AM"},{"type":"text","text":"https://oqsha.com/#/work-permit/view/400242?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/CW/26/00001"},{"type":"text","text":"06-Jul-2026"},{"type":"text","text":"Cold work"},{"type":"text","text":"Meadow Oaks"},{"type":"text","text":" "},{"type":"text","text":"cancel. The status has changed to Cancelled."},{"type":"text","text":"Edna Bradbury at 06-Jul-2026 11:47:22 AM"},{"type":"text","text":"https://oqsha.com/#/work-permit/view/400242?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/CW/26/00001"},{"type":"text","text":"06-Jul-2026"},{"type":"text","text":"Cold work"},{"type":"text","text":"Meadow Oaks"},{"type":"text","text":" "},{"type":"text","text":"cancel. The status has changed to Cancelled."},{"type":"text","text":"Edna Bradbury at 06-Jul-2026 11:47:22 AM"},{"type":"text","text":"https://oqsha.com/#/work-permit/view/400242?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/CW/26/00001"},{"type":"text","text":"06-Jul-2026"},{"type":"text","text":"Cold work"},{"type":"text","text":"Meadow Oaks"},{"type":"text","text":" "},{"type":"text","text":"cancel. The status has changed to Cancelled."},{"type":"text","text":"Edna Bradbury at 06-Jul-2026 11:47:22 AM"},{"type":"text","text":"https://oqsha.com/#/work-permit/view/400242?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/CW/26/00001"},{"type":"text","text":"06-Jul-2026"},{"type":"text","text":"Cold work"},{"type":"text","text":"Meadow Oaks"},{"type":"text","text":" "},{"type":"text","text":"cancel. The status has changed to Cancelled."},{"type":"text","text":"Edna Bradbury at 06-Jul-2026 11:47:22 AM"},{"type":"text","text":"https://oqsha.com/#/work-permit/view/400242?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/CW/26/00001"},{"type":"text","text":"06-Jul-2026"},{"type":"text","text":"Cold work"},{"type":"text","text":"Meadow Oaks"},{"type":"text","text":" "},{"type":"text","text":"cancel. The status has changed to Cancelled."},{"type":"text","text":"Edna Bradbury at 06-Jul-2026 11:47:22 AM"},{"type":"text","text":"https://oqsha.com/#/work-permit/view/400242?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/CW/26/00001"},{"type":"text","text":"06-Jul-2026"},{"type":"text","text":"Cold work"},{"type":"text","text":"Meadow Oaks"},{"type":"text","text":" "},{"type":"text","text":"cancel. The status has changed to Cancelled."},{"type":"text","text":"Edna Bradbury at 06-Jul-2026 11:47:22 AM"},{"type":"text","text":"https://oqsha.com/#/work-permit/view/400242?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/CW/26/00001"},{"type":"text","text":"06-Jul-2026"},{"type":"text","text":"Cold work"},{"type":"text","text":"Meadow Oaks"},{"type":"text","text":" "},{"type":"text","text":"cancel. The status has changed to Cancelled."},{"type":"text","text":"Edna Bradbury at 06-Jul-2026 11:47:22 AM"},{"type":"text","text":"https://oqsha.com/#/work-permit/view/400242?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/CW/26/00001"},{"type":"text","text":"06-Jul-2026"},{"type":"text","text":"Cold work"},{"type":"text","text":"Meadow Oaks"},{"type":"text","text":" "},{"type":"text","text":"cancel. The status has changed to Cancelled."},{"type":"text","text":"Edna Bradbury at 06-Jul-2026 11:47:22 AM"},{"type":"text","text":"https://oqsha.com/#/work-permit/view/400242?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_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/CW/26/00001"},{"type":"text","text":"06-Jul-2026"},{"type":"text","text":"Cold work"},{"type":"text","text":"Meadow Oaks"},{"type":"text","text":" "},{"type":"text","text":"cancel. The status has changed to Cancelled."},{"type":"text","text":"Edna Bradbury at 06-Jul-2026 11:47:22 AM"},{"type":"text","text":"https://oqsha.com/#/work-permit/view/400242?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/CW/26/00001"},{"type":"text","text":"06-Jul-2026"},{"type":"text","text":"Cold work"},{"type":"text","text":"Meadow Oaks"},{"type":"text","text":" "},{"type":"text","text":"cancel. The status has changed to Cancelled."},{"type":"text","text":"Edna Bradbury at 06-Jul-2026 11:47:22 AM"},{"type":"text","text":"https://oqsha.com/#/work-permit/view/400242?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/CW/26/00001"},{"type":"text","text":"06-Jul-2026"},{"type":"text","text":"Cold work"},{"type":"text","text":"Meadow Oaks"},{"type":"text","text":" "},{"type":"text","text":"cancel. The status has changed to Cancelled."},{"type":"text","text":"Edna Bradbury at 06-Jul-2026 11:47:22 AM"},{"type":"text","text":"https://oqsha.com/#/work-permit/view/400242?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/CW/26/00001"},{"type":"text","text":"06-Jul-2026"},{"type":"text","text":"Cold work"},{"type":"text","text":"Meadow Oaks"},{"type":"text","text":" "},{"type":"text","text":"cancel. The status has changed to Cancelled."},{"type":"text","text":"Edna Bradbury at 06-Jul-2026 11:47:22 AM"},{"type":"text","text":"https://oqsha.com/#/work-permit/view/400242?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/CW/26/00001"},{"type":"text","text":"06-Jul-2026"},{"type":"text","text":"Cold work"},{"type":"text","text":"Meadow Oaks"},{"type":"text","text":" "},{"type":"text","text":"cancel. The status has changed to Cancelled."},{"type":"text","text":"Edna Bradbury at 06-Jul-2026 11:47:22 AM"},{"type":"text","text":"https://oqsha.com/#/work-permit/view/400242?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/CW/26/00001"},{"type":"text","text":"06-Jul-2026"},{"type":"text","text":"Cold work"},{"type":"text","text":"Meadow Oaks"},{"type":"text","text":" "},{"type":"text","text":"cancel. The status has changed to Cancelled."},{"type":"text","text":"Edna Bradbury at 06-Jul-2026 11:47:22 AM"},{"type":"text","text":"https://oqsha.com/#/work-permit/view/400242?orgID=207&dlType=viewWorkPermit"}]}]}}}


### End Event Execution ###


### Start Event Execution ###


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


# Calling SendNotificationForPTWHistory function for whatsapp and push notification #


Executing sending notification to reviewer through whatsapp


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


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/CW/26/00001"},{"type":"text","text":"06-Jul-2026"},{"type":"text","text":"Cold work"},{"type":"text","text":"Meadow Oaks"},{"type":"text","text":" "},{"type":"text","text":"re apprpve. The status has changed to Re-Approved."},{"type":"text","text":"Edna Bradbury at 06-Jul-2026 11:47:35 AM"},{"type":"text","text":"https://oqsha.com/#/work-permit/view/400242?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_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/CW/26/00001"},{"type":"text","text":"06-Jul-2026"},{"type":"text","text":"Cold work"},{"type":"text","text":"Meadow Oaks"},{"type":"text","text":" "},{"type":"text","text":"re apprpve. The status has changed to Re-Approved."},{"type":"text","text":"Edna Bradbury at 06-Jul-2026 11:47:35 AM"},{"type":"text","text":"https://oqsha.com/#/work-permit/view/400242?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/CW/26/00001"},{"type":"text","text":"06-Jul-2026"},{"type":"text","text":"Cold work"},{"type":"text","text":"Meadow Oaks"},{"type":"text","text":" "},{"type":"text","text":"re apprpve. The status has changed to Re-Approved."},{"type":"text","text":"Edna Bradbury at 06-Jul-2026 11:47:35 AM"},{"type":"text","text":"https://oqsha.com/#/work-permit/view/400242?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/CW/26/00001"},{"type":"text","text":"06-Jul-2026"},{"type":"text","text":"Cold work"},{"type":"text","text":"Meadow Oaks"},{"type":"text","text":" "},{"type":"text","text":"re apprpve. The status has changed to Re-Approved."},{"type":"text","text":"Edna Bradbury at 06-Jul-2026 11:47:35 AM"},{"type":"text","text":"https://oqsha.com/#/work-permit/view/400242?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/CW/26/00001"},{"type":"text","text":"06-Jul-2026"},{"type":"text","text":"Cold work"},{"type":"text","text":"Meadow Oaks"},{"type":"text","text":" "},{"type":"text","text":"re apprpve. The status has changed to Re-Approved."},{"type":"text","text":"Edna Bradbury at 06-Jul-2026 11:47:35 AM"},{"type":"text","text":"https://oqsha.com/#/work-permit/view/400242?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/CW/26/00001"},{"type":"text","text":"06-Jul-2026"},{"type":"text","text":"Cold work"},{"type":"text","text":"Meadow Oaks"},{"type":"text","text":" "},{"type":"text","text":"re apprpve. The status has changed to Re-Approved."},{"type":"text","text":"Edna Bradbury at 06-Jul-2026 11:47:35 AM"},{"type":"text","text":"https://oqsha.com/#/work-permit/view/400242?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/CW/26/00001"},{"type":"text","text":"06-Jul-2026"},{"type":"text","text":"Cold work"},{"type":"text","text":"Meadow Oaks"},{"type":"text","text":" "},{"type":"text","text":"re apprpve. The status has changed to Re-Approved."},{"type":"text","text":"Edna Bradbury at 06-Jul-2026 11:47:35 AM"},{"type":"text","text":"https://oqsha.com/#/work-permit/view/400242?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/CW/26/00001"},{"type":"text","text":"06-Jul-2026"},{"type":"text","text":"Cold work"},{"type":"text","text":"Meadow Oaks"},{"type":"text","text":" "},{"type":"text","text":"re apprpve. The status has changed to Re-Approved."},{"type":"text","text":"Edna Bradbury at 06-Jul-2026 11:47:35 AM"},{"type":"text","text":"https://oqsha.com/#/work-permit/view/400242?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/CW/26/00001"},{"type":"text","text":"06-Jul-2026"},{"type":"text","text":"Cold work"},{"type":"text","text":"Meadow Oaks"},{"type":"text","text":" "},{"type":"text","text":"re apprpve. The status has changed to Re-Approved."},{"type":"text","text":"Edna Bradbury at 06-Jul-2026 11:47:35 AM"},{"type":"text","text":"https://oqsha.com/#/work-permit/view/400242?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/CW/26/00001"},{"type":"text","text":"06-Jul-2026"},{"type":"text","text":"Cold work"},{"type":"text","text":"Meadow Oaks"},{"type":"text","text":" "},{"type":"text","text":"re apprpve. The status has changed to Re-Approved."},{"type":"text","text":"Edna Bradbury at 06-Jul-2026 11:47:35 AM"},{"type":"text","text":"https://oqsha.com/#/work-permit/view/400242?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_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/CW/26/00001"},{"type":"text","text":"06-Jul-2026"},{"type":"text","text":"Cold work"},{"type":"text","text":"Meadow Oaks"},{"type":"text","text":" "},{"type":"text","text":"re apprpve. The status has changed to Re-Approved."},{"type":"text","text":"Edna Bradbury at 06-Jul-2026 11:47:35 AM"},{"type":"text","text":"https://oqsha.com/#/work-permit/view/400242?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/CW/26/00001"},{"type":"text","text":"06-Jul-2026"},{"type":"text","text":"Cold work"},{"type":"text","text":"Meadow Oaks"},{"type":"text","text":" "},{"type":"text","text":"re apprpve. The status has changed to Re-Approved."},{"type":"text","text":"Edna Bradbury at 06-Jul-2026 11:47:35 AM"},{"type":"text","text":"https://oqsha.com/#/work-permit/view/400242?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/CW/26/00001"},{"type":"text","text":"06-Jul-2026"},{"type":"text","text":"Cold work"},{"type":"text","text":"Meadow Oaks"},{"type":"text","text":" "},{"type":"text","text":"re apprpve. The status has changed to Re-Approved."},{"type":"text","text":"Edna Bradbury at 06-Jul-2026 11:47:35 AM"},{"type":"text","text":"https://oqsha.com/#/work-permit/view/400242?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/CW/26/00001"},{"type":"text","text":"06-Jul-2026"},{"type":"text","text":"Cold work"},{"type":"text","text":"Meadow Oaks"},{"type":"text","text":" "},{"type":"text","text":"re apprpve. The status has changed to Re-Approved."},{"type":"text","text":"Edna Bradbury at 06-Jul-2026 11:47:35 AM"},{"type":"text","text":"https://oqsha.com/#/work-permit/view/400242?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/CW/26/00001"},{"type":"text","text":"06-Jul-2026"},{"type":"text","text":"Cold work"},{"type":"text","text":"Meadow Oaks"},{"type":"text","text":" "},{"type":"text","text":"re apprpve. The status has changed to Re-Approved."},{"type":"text","text":"Edna Bradbury at 06-Jul-2026 11:47:35 AM"},{"type":"text","text":"https://oqsha.com/#/work-permit/view/400242?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/CW/26/00001"},{"type":"text","text":"06-Jul-2026"},{"type":"text","text":"Cold work"},{"type":"text","text":"Meadow Oaks"},{"type":"text","text":" "},{"type":"text","text":"re apprpve. The status has changed to Re-Approved."},{"type":"text","text":"Edna Bradbury at 06-Jul-2026 11:47:35 AM"},{"type":"text","text":"https://oqsha.com/#/work-permit/view/400242?orgID=207&dlType=viewWorkPermit"}]}]}}}


### End Event Execution ###


### Start Event Execution ###


Message : {"EventName":"Update_USER","EventArgs":[{"Key":"DisplayName","Value":"Renard Whatley"},{"Key":"Password","Value":""},{"Key":"OrganisationName","Value":"Galecto Inc."},{"Key":"UserDivisions","Value":"Near miss, Unsafe Act, Unsafe Condition"},{"Key":"UserIncidentSites","Value":"Alanreed, Bowers, Council Bluffs, Cowgill, Fleischmanns, Fort Myers Beach, Galeville, Leeper, Rosewood, Suffield Depot, Vinings, Weldona, Yorba Linda"},{"Key":"OldEmail","Value":""},{"Key":"Email","Value":"MH_Admin_HO@oqsha.com"}]}


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


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


Calling Send Email Function for Update User Email


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


Reading and binding data to Email Template


Initializing Email Service Client


Generating Email Request


Your OQSHA Access Has Been Updated


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


--- Email response from Osmo-x is 201


Message : {"EventName":"Update_APP_USER","EventArgs":[{"Key":"DisplayName","Value":"Renard Whatley"},{"Key":"Password","Value":""},{"Key":"OrganisationName","Value":"Galecto Inc."},{"Key":"UserUid","Value":"9100999124"},{"Key":"UserDivisions","Value":"Near miss, Unsafe Act, Unsafe Condition"},{"Key":"UserIncidentSites","Value":"Alanreed, Bowers, Council Bluffs, Cowgill, Fleischmanns, Fort Myers Beach, Galeville, Leeper, Rosewood, Suffield Depot, Vinings, Weldona, Yorba Linda"},{"Key":"Email","Value":"MH_Admin_HO@oqsha.com"},{"Key":"MobileNumber","Value":"+912000000713"}]}


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


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


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


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"915555555917","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/GLTO/UDY/CMCSA/DW/26/00001"},{"type":"text","text":"06-Jul-2026"},{"type":"text","text":"De-shuttering Work"},{"type":"text","text":"Council Bluffs"},{"type":"text","text":" "},{"type":"text","text":"Requested by Renard Whatley at 06-Jul-2026 04:08:27 PM"},{"type":"text","text":"Issue"},{"type":"text","text":"Hansjoachim Maury"},{"type":"text","text":"https://oqsha.com/#/work-permit/view/400243?orgID=211&dlType=viewWorkPermit"}]}]}}}


Osmo-x WhatsApp Message has been Sent


Executing sending push notification to the issuers


# Push Subject for Issuer P/GLTO/UDY/CMCSA/DW/26/00001


# Preparing notification body #


### End Event Execution ###


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


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


### Start Event Execution ###


Message : {"EventName":"ASSIGNED_TO_NOTIFICATION","EventArgs":[{"Key":"AssignedIncidentID","Value":76603},{"Key":"AssignedToID","Value":5191}]}


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


### Started processing Assigned to Notification Event ###


# Calling SendNotificationToAssignedId function for all types of assigned to notification #


Generating report.


Converted to byte file


PDF generation successfull


Stopped Assigned To SMS as Org Level setting is set to false


Sending Assigned To Whatsapp for IncidentId:76603


Osmo-x WhatsApp Message has been Sent


# Checking for device existence #


# User device exists #


Sending Assigned To Notification for IncidentId:76603


Inside SendAppNotification Device Type: GCM


Generating AWS SNS Request


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/2eb31efa-2234-3721-99c9-fd2490b01e13


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 10035.


# Push notification did not send #


Inside SendAppNotification Device Type: APNS


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/APNS/Oqsha-IOS-Production/fffe4151-3247-30d1-926e-7592287402ae


Push notification failed to send to a device 22175.


### Ended processing Assigned to Notification Event ###


### End Event Execution ###