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


# Fetching devices honoring user preferences for Multiple Module IDs (Bulk) #


Executing sending notification to issuers through whatsapp


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


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"914444444443","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/NTSK/VWH/MOBER/HO/26/00001"},{"type":"text","text":"31-Aug-2026"},{"type":"text","text":"Hot Work"},{"type":"text","text":"Archer Lodge"},{"type":"text","text":" "},{"type":"text","text":"Requested by Mario Mattern at 31-Aug-2026 10:33:48 AM"},{"type":"text","text":"Issue"},{"type":"text","text":"Mario Mattern"},{"type":"text","text":"https://sandbox.oqsha.com/#/wp/view/249/441109"}]}]}}}


Osmo-x WhatsApp Message has been Sent


Executing sending push notification to the issuers


# Push Subject for Issuer P/NTSK/VWH/MOBER/HO/26/00001


# Preparing notification body #


### End Event Execution ###


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


# Calling SendNotificationToEitherReviewerOrApprover function for  whatsapp and push notification #


Starting Execution for whatsapp notification for users


Executing sending notification to users through whatsapp


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


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"914444444443","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/NTSK/VWH/MOBER/HO/26/00001"},{"type":"text","text":"31-Aug-2026"},{"type":"text","text":"Hot Work"},{"type":"text","text":"Archer Lodge"},{"type":"text","text":" "},{"type":"text","text":"Issued by Mario Mattern at 31-Aug-2026 10:34:17 AM"},{"type":"text","text":"Approve"},{"type":"text","text":"Mario Mattern"},{"type":"text","text":"https://sandbox.oqsha.com/#/wp/view/249/441109"}]}]}}}


# Push Subject P/NTSK/VWH/MOBER/HO/26/00001


# string body 31-Aug-2026, Mario Mattern,


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


### Start Event Execution ###


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"914444444443","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/NTSK/VWH/MOBER/HO/26/00001"},{"type":"text","text":"31-Aug-2026"},{"type":"text","text":"Hot Work"},{"type":"text","text":"Archer Lodge"},{"type":"text","text":" "},{"type":"text","text":"Approved by Mario Mattern at 31-Aug-2026 10:34:25 AM"},{"type":"text","text":"Authorize"},{"type":"text","text":"Mario Mattern"},{"type":"text","text":"https://sandbox.oqsha.com/#/wp/view/249/441109"}]}]}}}


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


# Calling SendNotificationToAllExceptReviewer function for whatsapp and push notification #


User Ids for notification: [5125,5928,5939,5993,6901,6918,7102,7216,7708]


# Fetching devices honoring user preferences for Multiple Module IDs (Bulk) #


Starting Execution for whatsapp notification for all


Sending notification to requester regarding permit to work 441109


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"914444444443","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/NTSK/VWH/MOBER/HO/26/00001"},{"type":"text","text":"31-Aug-2026"},{"type":"text","text":"Hot Work"},{"type":"text","text":"Archer Lodge"},{"type":"text","text":" "},{"type":"text","text":"Authorized by Mario Mattern at 31-Aug-2026 10:34:29 AM"},{"type":"text","text":"Start Work"},{"type":"text","text":"https://sandbox.oqsha.com/#/wp/view/249/441109"}]}]}}}


Osmo-x WhatsApp Message has been Sent


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000009518","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/NTSK/VWH/MOBER/HO/26/00001"},{"type":"text","text":"31-Aug-2026"},{"type":"text","text":"Hot Work"},{"type":"text","text":"Archer Lodge"},{"type":"text","text":" "},{"type":"text","text":"Authorized by Mario Mattern at 31-Aug-2026 10:34:29 AM"},{"type":"text","text":"Start Work"},{"type":"text","text":"https://sandbox.oqsha.com/#/wp/view/249/441109"}]}]}}}


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000005578","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/NTSK/VWH/MOBER/HO/26/00001"},{"type":"text","text":"31-Aug-2026"},{"type":"text","text":"Hot Work"},{"type":"text","text":"Archer Lodge"},{"type":"text","text":" "},{"type":"text","text":"Authorized by Mario Mattern at 31-Aug-2026 10:34:29 AM"},{"type":"text","text":"Start Work"},{"type":"text","text":"https://sandbox.oqsha.com/#/wp/view/249/441109"}]}]}}}


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"914444444441","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/NTSK/VWH/MOBER/HO/26/00001"},{"type":"text","text":"31-Aug-2026"},{"type":"text","text":"Hot Work"},{"type":"text","text":"Archer Lodge"},{"type":"text","text":" "},{"type":"text","text":"Authorized by Mario Mattern at 31-Aug-2026 10:34:29 AM"},{"type":"text","text":"Start Work"},{"type":"text","text":"https://sandbox.oqsha.com/#/wp/view/249/441109"}]}]}}}


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000008846","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/NTSK/VWH/MOBER/HO/26/00001"},{"type":"text","text":"31-Aug-2026"},{"type":"text","text":"Hot Work"},{"type":"text","text":"Archer Lodge"},{"type":"text","text":" "},{"type":"text","text":"Authorized by Mario Mattern at 31-Aug-2026 10:34:29 AM"},{"type":"text","text":"Start Work"},{"type":"text","text":"https://sandbox.oqsha.com/#/wp/view/249/441109"}]}]}}}


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000008253","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/NTSK/VWH/MOBER/HO/26/00001"},{"type":"text","text":"31-Aug-2026"},{"type":"text","text":"Hot Work"},{"type":"text","text":"Archer Lodge"},{"type":"text","text":" "},{"type":"text","text":"Authorized by Mario Mattern at 31-Aug-2026 10:34:29 AM"},{"type":"text","text":"Start Work"},{"type":"text","text":"https://sandbox.oqsha.com/#/wp/view/249/441109"}]}]}}}


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000008300","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/NTSK/VWH/MOBER/HO/26/00001"},{"type":"text","text":"31-Aug-2026"},{"type":"text","text":"Hot Work"},{"type":"text","text":"Archer Lodge"},{"type":"text","text":" "},{"type":"text","text":"Authorized by Mario Mattern at 31-Aug-2026 10:34:29 AM"},{"type":"text","text":"Start Work"},{"type":"text","text":"https://sandbox.oqsha.com/#/wp/view/249/441109"}]}]}}}


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000002430","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/NTSK/VWH/MOBER/HO/26/00001"},{"type":"text","text":"31-Aug-2026"},{"type":"text","text":"Hot Work"},{"type":"text","text":"Archer Lodge"},{"type":"text","text":" "},{"type":"text","text":"Authorized by Mario Mattern at 31-Aug-2026 10:34:29 AM"},{"type":"text","text":"Start Work"},{"type":"text","text":"https://sandbox.oqsha.com/#/wp/view/249/441109"}]}]}}}


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000008369","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/NTSK/VWH/MOBER/HO/26/00001"},{"type":"text","text":"31-Aug-2026"},{"type":"text","text":"Hot Work"},{"type":"text","text":"Archer Lodge"},{"type":"text","text":" "},{"type":"text","text":"Authorized by Mario Mattern at 31-Aug-2026 10:34:29 AM"},{"type":"text","text":"Start Work"},{"type":"text","text":"https://sandbox.oqsha.com/#/wp/view/249/441109"}]}]}}}


Starting Execution for push notification for all


# Preparing notification body #


# Push Subject for Issuer P/NTSK/VWH/MOBER/HO/26/00001


# string body 31-Aug-2026, Mario Mattern, P/NTSK/VWH/MOBER/HO/26/00001, 31-Aug-2026


### End Event Execution ###


### Start Event Execution ###


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


# Calling SendNotificationToIssuersForExtensionPTW function for whatsapp and push notification #


# Fetching devices honoring user preferences for Multiple Module IDs (Bulk) #


Executing sending notification to issuers for extended PTW through whatsapp


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


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"914444444443","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/NTSK/VWH/MOBER/HO/26/00001"},{"type":"text","text":"31-Aug-2026"},{"type":"text","text":"Hot Work"},{"type":"text","text":"Archer Lodge"},{"type":"text","text":" "},{"type":"text","text":"Extension Requested by Mario Mattern for 5 hour(s) at 31-Aug-2026 10:34:44 AM"},{"type":"text","text":"Extension Issue"},{"type":"text","text":"Mario Mattern"},{"type":"text","text":"https://sandbox.oqsha.com/#/wp/view/249/441109"}]}]}}}


Osmo-x WhatsApp Message has been Sent


Executing sending push notification to the issuers for extended PTW


# string body Mario Mattern, 5 hour(s), P/NTSK/VWH/MOBER/HO/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 441109


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"914444444443","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/NTSK/VWH/MOBER/HO/26/00001"},{"type":"text","text":"31-Aug-2026"},{"type":"text","text":"Hot Work"},{"type":"text","text":"Archer Lodge"},{"type":"text","text":" "},{"type":"text","text":"Extension Issued by Mario Mattern for 5 hour(s) at 31-Aug-2026 10:35:06 AM"},{"type":"text","text":"Extension Approve"},{"type":"text","text":"Mario Mattern"},{"type":"text","text":"https://sandbox.oqsha.com/#/wp/view/249/441109"}]}]}}}


# Preparing notification body #


# string body Mario Mattern, 5 hour(s), P/NTSK/VWH/MOBER/HO/26/00001,,


### End Event Execution ###


### Start Event Execution ###


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"914444444443","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/NTSK/VWH/MOBER/HO/26/00001"},{"type":"text","text":"31-Aug-2026"},{"type":"text","text":"Hot Work"},{"type":"text","text":"Archer Lodge"},{"type":"text","text":" "},{"type":"text","text":"Extension Approved by Mario Mattern for 5 hour(s) at 31-Aug-2026 10:35:10 AM"},{"type":"text","text":"Extension Authorize"},{"type":"text","text":"Mario Mattern"},{"type":"text","text":"https://sandbox.oqsha.com/#/wp/view/249/441109"}]}]}}}


# Push Subject for Issuer P/NTSK/VWH/MOBER/HO/26/00001


# string body Mario Mattern, 5 hour(s), P/NTSK/VWH/MOBER/HO/26/00001,Mario Mattern,


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


# Calling SendNotificationToAllExceptReviewerForExtendedPTW function for  whatsapp and push notification #


# Fetching devices honoring user preferences for Multiple Module IDs (Bulk) #


Starting Execution for whatsapp notification for all


Sending notification to requester regarding permit to work 441109


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"914444444443","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/NTSK/VWH/MOBER/HO/26/00001"},{"type":"text","text":"31-Aug-2026"},{"type":"text","text":"Hot Work"},{"type":"text","text":"Archer Lodge"},{"type":"text","text":" "},{"type":"text","text":"Extension Authorized by Mario Mattern for 5 hour(s) at 31-Aug-2026 10:35:13 AM"},{"type":"text","text":"Start Work"},{"type":"text","text":"https://sandbox.oqsha.com/#/wp/view/249/441109"}]}]}}}


Osmo-x WhatsApp Message has been Sent


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000009518","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/NTSK/VWH/MOBER/HO/26/00001"},{"type":"text","text":"31-Aug-2026"},{"type":"text","text":"Hot Work"},{"type":"text","text":"Archer Lodge"},{"type":"text","text":" "},{"type":"text","text":"Extension Authorized by Mario Mattern for 5 hour(s) at 31-Aug-2026 10:35:13 AM"},{"type":"text","text":"Start Work"},{"type":"text","text":"https://sandbox.oqsha.com/#/wp/view/249/441109"}]}]}}}


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000005578","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/NTSK/VWH/MOBER/HO/26/00001"},{"type":"text","text":"31-Aug-2026"},{"type":"text","text":"Hot Work"},{"type":"text","text":"Archer Lodge"},{"type":"text","text":" "},{"type":"text","text":"Extension Authorized by Mario Mattern for 5 hour(s) at 31-Aug-2026 10:35:13 AM"},{"type":"text","text":"Start Work"},{"type":"text","text":"https://sandbox.oqsha.com/#/wp/view/249/441109"}]}]}}}


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"914444444441","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/NTSK/VWH/MOBER/HO/26/00001"},{"type":"text","text":"31-Aug-2026"},{"type":"text","text":"Hot Work"},{"type":"text","text":"Archer Lodge"},{"type":"text","text":" "},{"type":"text","text":"Extension Authorized by Mario Mattern for 5 hour(s) at 31-Aug-2026 10:35:13 AM"},{"type":"text","text":"Start Work"},{"type":"text","text":"https://sandbox.oqsha.com/#/wp/view/249/441109"}]}]}}}


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000008846","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/NTSK/VWH/MOBER/HO/26/00001"},{"type":"text","text":"31-Aug-2026"},{"type":"text","text":"Hot Work"},{"type":"text","text":"Archer Lodge"},{"type":"text","text":" "},{"type":"text","text":"Extension Authorized by Mario Mattern for 5 hour(s) at 31-Aug-2026 10:35:13 AM"},{"type":"text","text":"Start Work"},{"type":"text","text":"https://sandbox.oqsha.com/#/wp/view/249/441109"}]}]}}}


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000008253","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/NTSK/VWH/MOBER/HO/26/00001"},{"type":"text","text":"31-Aug-2026"},{"type":"text","text":"Hot Work"},{"type":"text","text":"Archer Lodge"},{"type":"text","text":" "},{"type":"text","text":"Extension Authorized by Mario Mattern for 5 hour(s) at 31-Aug-2026 10:35:13 AM"},{"type":"text","text":"Start Work"},{"type":"text","text":"https://sandbox.oqsha.com/#/wp/view/249/441109"}]}]}}}


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000008300","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/NTSK/VWH/MOBER/HO/26/00001"},{"type":"text","text":"31-Aug-2026"},{"type":"text","text":"Hot Work"},{"type":"text","text":"Archer Lodge"},{"type":"text","text":" "},{"type":"text","text":"Extension Authorized by Mario Mattern for 5 hour(s) at 31-Aug-2026 10:35:13 AM"},{"type":"text","text":"Start Work"},{"type":"text","text":"https://sandbox.oqsha.com/#/wp/view/249/441109"}]}]}}}


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000002430","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/NTSK/VWH/MOBER/HO/26/00001"},{"type":"text","text":"31-Aug-2026"},{"type":"text","text":"Hot Work"},{"type":"text","text":"Archer Lodge"},{"type":"text","text":" "},{"type":"text","text":"Extension Authorized by Mario Mattern for 5 hour(s) at 31-Aug-2026 10:35:13 AM"},{"type":"text","text":"Start Work"},{"type":"text","text":"https://sandbox.oqsha.com/#/wp/view/249/441109"}]}]}}}


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000008369","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/NTSK/VWH/MOBER/HO/26/00001"},{"type":"text","text":"31-Aug-2026"},{"type":"text","text":"Hot Work"},{"type":"text","text":"Archer Lodge"},{"type":"text","text":" "},{"type":"text","text":"Extension Authorized by Mario Mattern for 5 hour(s) at 31-Aug-2026 10:35:13 AM"},{"type":"text","text":"Start Work"},{"type":"text","text":"https://sandbox.oqsha.com/#/wp/view/249/441109"}]}]}}}


# Preparing notification body #


# string body Mario Mattern, 5 hour(s), P/NTSK/VWH/MOBER/HO/26/00001


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


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"914444444443","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/NTSK/VWH/MOBER/HO/26/00001"},{"type":"text","text":"31-Aug-2026"},{"type":"text","text":"Hot Work"},{"type":"text","text":"Archer Lodge"},{"type":"text","text":" "},{"type":"text","text":"Extension Requested by Mario Mattern for 4 hour(s) at 31-Aug-2026 10:35:37 AM"},{"type":"text","text":"Extension Issue"},{"type":"text","text":"Mario Mattern"},{"type":"text","text":"https://sandbox.oqsha.com/#/wp/view/249/441109"}]}]}}}


Osmo-x WhatsApp Message has been Sent


Executing sending push notification to the issuers for extended PTW


# Push Subject for Issuer P/NTSK/VWH/MOBER/HO/26/00001


# string body Mario Mattern, 4 hour(s), P/NTSK/VWH/MOBER/HO/26/00001


Message : {"EventName":"ASSIGNED_TO_NOTIFICATION","EventArgs":[{"Key":"AssignedIncidentID","Value":79329},{"Key":"AssignedToID","Value":1955}]}


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


## Sending email to Renard Whatley, UserId : 1955 for assigned to notification ##


Sending Assigned To Email for IncidentId:79329


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


Reading and binding data to Email Template


Initializing Email Service Client


Generating Email Request


A Ticket V0XLP6 is assigned to you related to 'Near miss'


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


--- Email response from Osmo-x is 201


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


Sending Assigned To Whatsapp for IncidentId:79329


Osmo-x WhatsApp Message has been Sent


# Preparing notification body #


# Fetching devices honoring user preferences for Multiple Module IDs (Single) #


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


### End Event Execution ###


### Start Event Execution ###


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


### Started processing for Update incident Event ###


# Calling  SendNotification function for  all types of notification #


Sending Email for IncidentId:79329


Initializing Email Service Client


Generating Email Request


Ticket V0XLP6 has been updated


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


--- Email response from Osmo-x is 201


# Fetching devices honoring user preferences for Multiple Module IDs (Bulk) #


### Ended processing Update incident Event ###


Message : {"EventName":"ASSIGNED_TO_NOTIFICATION","EventArgs":[{"Key":"AssignedIncidentID","Value":79330},{"Key":"AssignedToID","Value":11697}]}


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


Sending Assigned To Whatsapp for IncidentId:79330


Osmo-x WhatsApp Message has been Sent


# Preparing notification body #


### End Event Execution ###


### Start Event Execution ###


Message : {"EventName":"ASSIGNED_TO_NOTIFICATION","EventArgs":[{"Key":"AssignedIncidentID","Value":79331},{"Key":"AssignedToID","Value":4124}]}


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


Sending Assigned To Whatsapp for IncidentId:79331


# Checking for device existence #


# User device exists #


Sending Assigned To Notification for IncidentId:79331


Inside SendAppNotification Device Type: GCM


Generating AWS SNS Request


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/55a3ed7f-4d11-3630-88e8-d63f80d5c06e


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


# Push notification did not send #


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


### End Event Execution ###


### Start Event Execution ###


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


### Started processing for Update incident Event ###


# Calling  SendNotification function for  all types of notification #


Sending Email for IncidentId:79331


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


Reading and binding data to Email Template


Initializing Email Service Client


Generating Email Request


Ticket T/MIRA/EEE/26/00001 has been updated


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


--- Email response from Osmo-x is 201


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"919999999999","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"oqsha_ticket_update_whatsapp_template_v4","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"Neppie Traynor"},{"type":"text","text":"Ticket"},{"type":"text","text":"T/MIRA/EEE/26/00001"},{"type":"text","text":"Ticket status updated to Resolved., Comments are added as test"},{"type":"text","text":"Ticket"},{"type":"text","text":" "},{"type":"text","text":"Rio"},{"type":"text","text":"EHS-Accident/Incident"},{"type":"text","text":"Neppie Traynor"},{"type":"text","text":"MIRA Pharmaceuticals Inc."},{"type":"text","text":"Resolved"},{"type":"text","text":"https://sandbox.oqsha.com/#/inct/view/232/79331"},{"type":"text","text":"Oqsha Team"}]}]}}}


Osmo-x WhatsApp Message has been Sent


# Preparing notification body #


# Fetching devices honoring user preferences for Multiple Module IDs (Single) #


# Checking for device existence #


# User device exists #


Inside SendAppNotification Device Type: APNS


Generating AWS SNS Request


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/APNS/Oqsha-IOS-Production/7bb31d49-51e8-3a1b-9bd7-54a13d36420f


Unauthorized


Push notification failed to send to a device 26701.


# Push notification did not send #


Sending Assigned To Whatsapp for IncidentId:79331


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000006276","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"oqsha_ticket_update_whatsapp_template_v4","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"Adda Pollak"},{"type":"text","text":"Ticket"},{"type":"text","text":"T/MIRA/EEE/26/00001"},{"type":"text","text":"Ticket status updated to Resolved., Comments are added as test"},{"type":"text","text":"Ticket"},{"type":"text","text":" "},{"type":"text","text":"Rio"},{"type":"text","text":"EHS-Accident/Incident"},{"type":"text","text":"Neppie Traynor"},{"type":"text","text":"MIRA Pharmaceuticals Inc."},{"type":"text","text":"Resolved"},{"type":"text","text":"https://sandbox.oqsha.com/#/inct/view/232/79331"},{"type":"text","text":"Oqsha Team"}]}]}}}


# Fetching devices honoring user preferences for Multiple Module IDs (Bulk) #


Sending Assigned To Notification for IncidentId:79331


Inside SendAppNotification Device Type: GCM


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/55a3ed7f-4d11-3630-88e8-d63f80d5c06e


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


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


Push notification failed to send to a device 6401.


# Preparing notification body #


# Checking for device existence #


# User device exists #


Generating AWS SNS Request


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/e4b40208-26e7-3949-b435-21362a15b9bc


Unauthorized


Push notification failed to send to a device 26499.


# Push notification did not send #


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000002469","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"oqsha_ticket_update_whatsapp_template_v4","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"Nettie Lough"},{"type":"text","text":"Ticket"},{"type":"text","text":"T/MIRA/EEE/26/00001"},{"type":"text","text":"Ticket status updated to Resolved., Comments are added as test"},{"type":"text","text":"Ticket"},{"type":"text","text":" "},{"type":"text","text":"Rio"},{"type":"text","text":"EHS-Accident/Incident"},{"type":"text","text":"Neppie Traynor"},{"type":"text","text":"MIRA Pharmaceuticals Inc."},{"type":"text","text":"Resolved"},{"type":"text","text":"https://sandbox.oqsha.com/#/inct/view/232/79331"},{"type":"text","text":"Oqsha Team"}]}]}}}


Osmo-x WhatsApp Message has been Sent


Invalid Mobile Number - 912000002469912000002469


### Ended processing Update incident Event ###


### End Event Execution ###


### Start Event Execution ###


Message : {"EventName":"ASSIGNED_TO_NOTIFICATION","EventArgs":[{"Key":"AssignedIncidentID","Value":79332},{"Key":"AssignedToID","Value":4124}]}


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


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


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:79332


# Preparing notification body #


# Fetching devices honoring user preferences for Multiple Module IDs (Single) #


# Checking for device existence #


# User device exists #


Sending Assigned To Notification for IncidentId:79332


Inside SendAppNotification Device Type: GCM


Generating AWS SNS Request


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/55a3ed7f-4d11-3630-88e8-d63f80d5c06e


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


# Push notification did not send #


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


### End Event Execution ###


### Start Event Execution ###


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


### Started processing for Update incident Event ###


# Calling  SendNotification function for  all types of notification #


Sending Email for IncidentId:79332


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


Reading and binding data to Email Template


Initializing Email Service Client


Generating Email Request


Ticket T/MIRA/EAA/26/00001 has been updated


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


--- Email response from Osmo-x is 201


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"919999999999","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"oqsha_ticket_update_whatsapp_template_v4","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"Neppie Traynor"},{"type":"text","text":"Ticket"},{"type":"text","text":"T/MIRA/EAA/26/00001"},{"type":"text","text":"Ticket status updated to Resolved., Comments are added as resolved"},{"type":"text","text":"Ticket"},{"type":"text","text":" "},{"type":"text","text":"Rio"},{"type":"text","text":"EHS-Unsafe Act"},{"type":"text","text":"Neppie Traynor"},{"type":"text","text":"MIRA Pharmaceuticals Inc."},{"type":"text","text":"Resolved"},{"type":"text","text":"https://sandbox.oqsha.com/#/inct/view/232/79332"},{"type":"text","text":"Oqsha Team"}]}]}}}


Osmo-x WhatsApp Message has been Sent


# Preparing notification body #


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000006276","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"oqsha_ticket_update_whatsapp_template_v4","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"Adda Pollak"},{"type":"text","text":"Ticket"},{"type":"text","text":"T/MIRA/EAA/26/00001"},{"type":"text","text":"Ticket status updated to Resolved., Comments are added as resolved"},{"type":"text","text":"Ticket"},{"type":"text","text":" "},{"type":"text","text":"Rio"},{"type":"text","text":"EHS-Unsafe Act"},{"type":"text","text":"Neppie Traynor"},{"type":"text","text":"MIRA Pharmaceuticals Inc."},{"type":"text","text":"Resolved"},{"type":"text","text":"https://sandbox.oqsha.com/#/inct/view/232/79332"},{"type":"text","text":"Oqsha Team"}]}]}}}


# Fetching devices honoring user preferences for Multiple Module IDs (Bulk) #


# Checking for device existence #


# User device exists #


Generating AWS SNS Request


Unauthorized


# Push notification did not send #


Inside SendAppNotification Device Type: APNS


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/APNS/Oqsha-IOS-Production/7bb31d49-51e8-3a1b-9bd7-54a13d36420f


Push notification failed to send to a device 26702.


# Fetching devices honoring user preferences for Multiple Module IDs (Single) #


Sending Assigned To Notification for IncidentId:79332


Inside SendAppNotification Device Type: GCM


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/e4b40208-26e7-3949-b435-21362a15b9bc


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


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


Push notification failed to send to a device 26499.


# Preparing notification body #


Sending Assigned To Whatsapp for IncidentId:79332


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000002469","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"oqsha_ticket_update_whatsapp_template_v4","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"Nettie Lough"},{"type":"text","text":"Ticket"},{"type":"text","text":"T/MIRA/EAA/26/00001"},{"type":"text","text":"Ticket status updated to Resolved., Comments are added as resolved"},{"type":"text","text":"Ticket"},{"type":"text","text":" "},{"type":"text","text":"Rio"},{"type":"text","text":"EHS-Unsafe Act"},{"type":"text","text":"Neppie Traynor"},{"type":"text","text":"MIRA Pharmaceuticals Inc."},{"type":"text","text":"Resolved"},{"type":"text","text":"https://sandbox.oqsha.com/#/inct/view/232/79332"},{"type":"text","text":"Oqsha Team"}]}]}}}


Osmo-x WhatsApp Message has been Sent


Invalid Mobile Number - 912000002469912000002469


### Ended processing Update incident Event ###


### End Event Execution ###


### Start Event Execution ###


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


# Calling SendNotificationToIssuerForCreatingPermitToWork function for whatsapp and push notification #


# Fetching devices honoring user preferences for Multiple Module IDs (Bulk) #


Executing sending notification to issuers through whatsapp


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


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"919999999999","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"ptw_assigned_to_generic_template_v4","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"P/MIRA/FCP/YI/CS/26/00001"},{"type":"text","text":"31-Aug-2026"},{"type":"text","text":"Confined Space"},{"type":"text","text":"Rio"},{"type":"text","text":" "},{"type":"text","text":"Requested by Neppie Traynor at 31-Aug-2026 02:00:20 PM"},{"type":"text","text":"Accept"},{"type":"text","text":"Neppie Traynor"},{"type":"text","text":"https://sandbox.oqsha.com/#/wp/view/232/441110"}]}]}}}


Executing sending push notification to the issuers


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


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


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


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


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


# Preparing notification body #


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


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"919999999999","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"ptw_assigned_to_generic_template_v4","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"P/MIRA/FCP/YI/CS/26/00003"},{"type":"text","text":"30-Sep-2026"},{"type":"text","text":"Confined Space"},{"type":"text","text":"Rio"},{"type":"text","text":" "},{"type":"text","text":"Requested by Neppie Traynor at 31-Aug-2026 03:10:51 PM"},{"type":"text","text":"Accept"},{"type":"text","text":"Neppie Traynor"},{"type":"text","text":"https://sandbox.oqsha.com/#/wp/view/232/441112"}]}]}}}


Osmo-x WhatsApp Message has been Sent


# Push Subject for Issuer P/MIRA/FCP/YI/CS/26/00003


### End Event Execution ###


### Start Event Execution ###


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


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"919999999999","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"ptw_assigned_to_generic_template_v4","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"P/MIRA/FCP/YI/CS/26/00004"},{"type":"text","text":"31-Oct-2026"},{"type":"text","text":"Confined Space"},{"type":"text","text":"Rio"},{"type":"text","text":" "},{"type":"text","text":"Requested by Neppie Traynor at 31-Aug-2026 03:12:02 PM"},{"type":"text","text":"Accept"},{"type":"text","text":"Neppie Traynor"},{"type":"text","text":"https://sandbox.oqsha.com/#/wp/view/232/441113"}]}]}}}


# Push Subject for Issuer P/MIRA/FCP/YI/CS/26/00004


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


# Calling SendNotificationToIssuerForCreatingPermitToWork function for whatsapp and push notification #


# Fetching devices honoring user preferences for Multiple Module IDs (Bulk) #


Executing sending notification to issuers through whatsapp


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


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000007385","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":"31-Aug-2026"},{"type":"text","text":"Cold work"},{"type":"text","text":"Meadow Oaks"},{"type":"text","text":" "},{"type":"text","text":"Requested by Ana Eaton at 31-Aug-2026 03:20:26 PM"},{"type":"text","text":"Issue"},{"type":"text","text":"Albertha Keith"},{"type":"text","text":"https://sandbox.oqsha.com/#/wp/view/207/441114"}]}]}}}


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: 441114


Inside SendAppNotification Device Type: GCM


Generating AWS SNS Request


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/8d44ad78-8b14-3b2c-885c-92039149a4e4


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


# Push notification did not send #


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


Push notification failed to send to a device 24207.


### End Event Execution ###


### Start Event Execution ###


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


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000007385","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/ACIW/CW/26/00001"},{"type":"text","text":"31-Aug-2026"},{"type":"text","text":"Cold work"},{"type":"text","text":"Meadow Oaks"},{"type":"text","text":" "},{"type":"text","text":"Requested by Ana Eaton at 31-Aug-2026 03:35:18 PM"},{"type":"text","text":"Issue"},{"type":"text","text":"Albertha Keith"},{"type":"text","text":"https://sandbox.oqsha.com/#/wp/view/207/441115"}]}]}}}


Osmo-x WhatsApp Message has been Sent


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


# Preparing notification body #


# Checking for device existence #


# User device exists #


Sending notification for permit to work: 441115


Generating AWS SNS Request


Unauthorized


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


# Calling SendNotificationToIssuerForCreatingPermitToWork function for whatsapp and push notification #


# Fetching devices honoring user preferences for Multiple Module IDs (Bulk) #


Executing sending notification to issuers through whatsapp


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


Executing sending push notification to the issuers


# Push Subject for Issuer P/MIRA/FCP/YI/CS/26/00005


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


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000002469","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"ptw_assigned_to_generic_template_v4","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"P/MIRA/FCP/YI/CS/26/00001"},{"type":"text","text":"31-Aug-2026"},{"type":"text","text":"Confined Space"},{"type":"text","text":"Rio"},{"type":"text","text":" "},{"type":"text","text":"Accepted by Neppie Traynor at 31-Aug-2026 03:44:48 PM"},{"type":"text","text":"Quality Verify"},{"type":"text","text":"Nettie Lough"},{"type":"text","text":"https://sandbox.oqsha.com/#/wp/view/232/441110"}]}]}}}


Osmo-x WhatsApp Message has been Sent


# Preparing notification body #


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


# string body 31-Aug-2026, Neppie Traynor,


# Checking for device existence #


# User device exists #


Sending notification for permit to work: 441110


Inside SendAppNotification Device Type: GCM


Generating AWS SNS Request


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/e4b40208-26e7-3949-b435-21362a15b9bc


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


# Push notification did not send #


Object reference not set to an instance of an object.


### End Event Execution ###


### Start Event Execution ###


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


# Calling SendNotificationToIssuerForCreatingPermitToWork function for whatsapp and push notification #


# Fetching devices honoring user preferences for Multiple Module IDs (Bulk) #


Executing sending notification to issuers through whatsapp


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


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000003164","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/ACIW/CW/26/00002"},{"type":"text","text":"31-Aug-2026"},{"type":"text","text":"Cold work"},{"type":"text","text":"Meadow Oaks"},{"type":"text","text":" "},{"type":"text","text":"Requested by Ana Eaton at 31-Aug-2026 03:51:42 PM"},{"type":"text","text":"Issue"},{"type":"text","text":"Alois Osborn"},{"type":"text","text":"https://sandbox.oqsha.com/#/wp/view/207/441117"}]}]}}}


Osmo-x WhatsApp Message has been Sent


Executing sending push notification to the issuers


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


# Preparing notification body #


# Checking for device existence #


# User device exists #


Sending notification for permit to work: 441117


Generating AWS SNS Request


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/8d44ad78-8b14-3b2c-885c-92039149a4e4


Unauthorized


Push notification failed to send to a device 25502.


# Push notification did not send #


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


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/9f284867-2f1e-3cee-ba06-2d4246d6d2c3


Push notification failed to send to a device 16392.


### End Event Execution ###


### Start Event Execution ###


Message : {"EventName":"Update_APP_USER","EventArgs":[{"Key":"DisplayName","Value":"Adalynn Bayless"},{"Key":"Password","Value":""},{"Key":"OrganisationName","Value":"Netskope Inc."},{"Key":"UserUid","Value":""},{"Key":"UserDivisions","Value":"Observation, Near Miss, Accident, Unsafe Act, Unsafe condition, Environmental Incident"},{"Key":"UserIncidentSites","Value":"Archer Lodge, Butterfield Park, Harwood, Mount Repose, Yakima"},{"Key":"Email","Value":"osm07942@osmosys.co"},{"Key":"MobileNumber","Value":"+912000006234"}]}


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


### Started Event for Update App 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

This is a test mode notification. Notification was not delivered to recipient.


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


--- Email response from Osmo-x is 201


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


# Calling SendNotificationToIssuerForCreatingPermitToWork function for whatsapp and push notification #


# Fetching devices honoring user preferences for Multiple Module IDs (Bulk) #


Executing sending notification to issuers through whatsapp


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


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"919999999999","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"ptw_assigned_to_generic_template_v4","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"P/MIRA/FCP/YI/CS/26/00006"},{"type":"text","text":"31-Aug-2026"},{"type":"text","text":"Confined Space"},{"type":"text","text":"Rio"},{"type":"text","text":" "},{"type":"text","text":"Requested by Neppie Traynor at 31-Aug-2026 04:40:33 PM"},{"type":"text","text":"Accept"},{"type":"text","text":"Neppie Traynor"},{"type":"text","text":"https://sandbox.oqsha.com/#/wp/view/232/441118"}]}]}}}


Osmo-x WhatsApp Message has been Sent


Executing sending push notification to the issuers


# Push Subject for Issuer P/MIRA/FCP/YI/CS/26/00006


# Preparing notification body #


### End Event Execution ###


### Start Event Execution ###


Message : {"EventName":"NEW_ORGANISATION_OWNER","EventArgs":[{"Key":"OrganisationName","Value":"Central Bancompany Inc."},{"Key":"UserIds","Value":"[4892,9745,4911,881]"}]}


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


# Calling SendNotificationForNewOrganisationOwner function for email/push #


Executing email notifications to new organisation owners


Sending organisation owner welcome email to: osm06269@osmosys.co


Initializing Email Service Client


Generating Email Request


Added as an Organization Owner in OQSHA


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


--- Email response from Osmo-x is 201


Sending organisation owner welcome email to: osm08910@osmosys.co


Sending organisation owner welcome email to: osm06341@osmosys.co


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


Reading and binding data to Email Template


Sending organisation owner welcome email to: RIT_SEC@oqsha.com


### End Event Execution ###


### Start Event Execution ###


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


# Calling SendNotificationToIssuerForCreatingPermitToWork function for whatsapp and push notification #


# Fetching devices honoring user preferences for Multiple Module IDs (Bulk) #


Executing sending notification to issuers through whatsapp


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


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"919999999999","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"ptw_assigned_to_generic_template_v4","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"P/MIRA/FCP/YI/CS/26/00007"},{"type":"text","text":"31-Aug-2026"},{"type":"text","text":"Confined Space"},{"type":"text","text":"Rio"},{"type":"text","text":" "},{"type":"text","text":"Requested by Neppie Traynor at 31-Aug-2026 05:16:58 PM"},{"type":"text","text":"Accept"},{"type":"text","text":"Neppie Traynor"},{"type":"text","text":"https://sandbox.oqsha.com/#/wp/view/232/441119"}]}]}}}


Osmo-x WhatsApp Message has been Sent


Executing sending push notification to the issuers


# Push Subject for Issuer P/MIRA/FCP/YI/CS/26/00007


# Preparing notification body #


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


# Calling SendNotificationToEitherReviewerOrApprover function for  whatsapp and push notification #


Starting Execution for whatsapp notification for users


Executing sending notification to users through whatsapp


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


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000007341","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"ptw_assigned_to_generic_template_v4","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"P/MIRA/FCP/YI/CS/26/00005"},{"type":"text","text":"31-Aug-2026"},{"type":"text","text":"Confined Space"},{"type":"text","text":"Rio"},{"type":"text","text":"dsfdsf"},{"type":"text","text":"Accepted by Neppie Traynor at 31-Aug-2026 05:22:58 PM"},{"type":"text","text":"Quality Verify"},{"type":"text","text":"Sacherby Markham"},{"type":"text","text":"https://sandbox.oqsha.com/#/wp/view/232/441116"}]}]}}}


# Push Subject P/MIRA/FCP/YI/CS/26/00005


# string body 31-Aug-2026, Neppie Traynor,


# Checking for device existence #


# User device exists #


Sending notification for permit to work: 441116


Inside SendAppNotification Device Type: GCM


Generating AWS SNS Request


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/e793f253-b906-3344-ba6a-4566ef41b064


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


# Push notification did not send #


Object reference not set to an instance of an object.


### End Event Execution ###


### Start Event Execution ###


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


# Calling SendNotificationToIssuerForCreatingPermitToWork function for whatsapp and push notification #


# Fetching devices honoring user preferences for Multiple Module IDs (Bulk) #


Executing sending notification to issuers through whatsapp


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


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"919999999999","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"ptw_assigned_to_generic_template_v4","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"P/MIRA/FCP/YI/CS/26/00008"},{"type":"text","text":"31-Aug-2026"},{"type":"text","text":"Confined Space"},{"type":"text","text":"Rio"},{"type":"text","text":" "},{"type":"text","text":"Requested by Neppie Traynor at 31-Aug-2026 05:26:23 PM"},{"type":"text","text":"Accept"},{"type":"text","text":"Neppie Traynor"},{"type":"text","text":"https://sandbox.oqsha.com/#/wp/view/232/441120"}]}]}}}


Osmo-x WhatsApp Message has been Sent


Executing sending push notification to the issuers


# Push Subject for Issuer P/MIRA/FCP/YI/CS/26/00008


# Preparing notification body #


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


# Calling SendNotificationToEitherReviewerOrApprover function for  whatsapp and push notification #


Starting Execution for whatsapp notification for users


Executing sending notification to users through whatsapp


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


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000007341","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"ptw_assigned_to_generic_template_v4","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"P/MIRA/FCP/YI/CS/26/00006"},{"type":"text","text":"31-Aug-2026"},{"type":"text","text":"Confined Space"},{"type":"text","text":"Rio"},{"type":"text","text":" "},{"type":"text","text":"Accepted by Neppie Traynor at 31-Aug-2026 05:26:48 PM"},{"type":"text","text":"Quality Verify"},{"type":"text","text":"Sacherby Markham"},{"type":"text","text":"https://sandbox.oqsha.com/#/wp/view/232/441118"}]}]}}}


# Push Subject P/MIRA/FCP/YI/CS/26/00006


# string body 31-Aug-2026, Neppie Traynor,


# Checking for device existence #


# User device exists #


Sending notification for permit to work: 441118


Inside SendAppNotification Device Type: GCM


Generating AWS SNS Request


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/e793f253-b906-3344-ba6a-4566ef41b064


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


# Push notification did not send #


Object reference not set to an instance of an object.


### End Event Execution ###


### Start Event Execution ###


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


# INSPECTION_NEXT_DUE_DATE_NOTIFICATION - Calling InspectionNextDueDateNotification function for WhatsApp Notification #


## Sending Inspection WhatsApp Next Due Date Notification | UserId: 4945 | Inspection: I/GLTO/GRA/P-H/26/00001 ##


Osmo-x WhatsApp Message has been Sent


## Sending Inspection WhatsApp Next Due Date Notification | UserId: 4945 | Inspection: I/GLTO/GRA/P-F/26/00001 ##


## Sending Inspection WhatsApp Next Due Date Notification | UserId: 1962 | Inspection: I/GLTO/GRA/P-H/26/00001 ##


## Sending Inspection WhatsApp Next Due Date Notification | UserId: 5581 | Inspection: I/GLTO/GRA/P-F/26/00001 ##


## Sending Inspection WhatsApp Next Due Date Notification | UserId: 11178 | Inspection: I/GLTO/GRA/FBH/26/00001 ##


## Sending Inspection WhatsApp Next Due Date Notification | UserId: 11178 | Inspection: I/GLTO/GRA/FBH/26/00002 ##


## Sending Inspection WhatsApp Next Due Date Notification | UserId: 11178 | Inspection: I/GLTO/GRA/FBH/26/00003 ##


## Sending Inspection WhatsApp Next Due Date Notification | UserId: 11178 | Inspection: I/GLTO/GRA/FBH/26/00004 ##


## Sending Inspection WhatsApp Next Due Date Notification | UserId: 7449 | Inspection: I/GLTO/GRA/FBH/26/00001 ##


## Sending Inspection WhatsApp Next Due Date Notification | UserId: 7449 | Inspection: I/GLTO/GRA/FBH/26/00002 ##


## Sending Inspection WhatsApp Next Due Date Notification | UserId: 7449 | Inspection: I/GLTO/GRA/FBH/26/00003 ##


## Sending Inspection WhatsApp Next Due Date Notification | UserId: 7449 | Inspection: I/GLTO/GRA/FBH/26/00004 ##


### End Event Execution ###


### Start Event Execution ###


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


# Calling SendNotificationToIssuerForCreatingPermitToWork function for whatsapp and push notification #


# Fetching devices honoring user preferences for Multiple Module IDs (Bulk) #


Executing sending notification to issuers through whatsapp


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


Osmo-x WhatsApp Message has been Sent


Executing sending push notification to the issuers


# Push Subject for Issuer P/BEAT/COM/JFU/BL/26/00001


# Preparing notification body #


# Checking for device existence #


# User device exists #


Sending notification for permit to work: 441121


Inside SendAppNotification Device Type: GCM


Generating AWS SNS Request


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/de4d85be-a3fe-3a30-9305-ef877b8494cf


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


# Push notification did not send #


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/6231d64d-57cd-3a62-b990-ae01c9bf5014


Push notification failed to send to a device 26335.


### End Event Execution ###


### Start Event Execution ###


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


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000007385","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/ACIW/CW/26/00003"},{"type":"text","text":"01-Sep-2026"},{"type":"text","text":"Cold work"},{"type":"text","text":"Meadow Oaks"},{"type":"text","text":" "},{"type":"text","text":"Requested by Roberto Cope at 31-Aug-2026 07:16:48 PM"},{"type":"text","text":"Issue"},{"type":"text","text":"Albertha Keith"},{"type":"text","text":"https://sandbox.oqsha.com/#/wp/view/207/441122"}]}]}}}


Osmo-x WhatsApp Message has been Sent


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


# Preparing notification body #


# Checking for device existence #


# User device exists #


Sending notification for permit to work: 441122


Generating AWS SNS Request


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/8d44ad78-8b14-3b2c-885c-92039149a4e4


Unauthorized


Push notification failed to send to a device 25502.


# Push notification did not send #


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


Push notification failed to send to a device 24207.


### End Event Execution ###


### Start Event Execution ###


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


# Calling SendNotificationToIssuerForCreatingPermitToWork function for whatsapp and push notification #


# Fetching devices honoring user preferences for Multiple Module IDs (Bulk) #


Executing sending notification to issuers through whatsapp


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


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000007385","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/ACIW/CW/26/00004"},{"type":"text","text":"01-Sep-2026"},{"type":"text","text":"Cold work"},{"type":"text","text":"Meadow Oaks"},{"type":"text","text":" "},{"type":"text","text":"Requested by Roberto Cope at 31-Aug-2026 07:24:19 PM"},{"type":"text","text":"Issue"},{"type":"text","text":"Albertha Keith"},{"type":"text","text":"https://sandbox.oqsha.com/#/wp/view/207/441123"}]}]}}}


Osmo-x WhatsApp Message has been Sent


Executing sending push notification to the issuers


# Push Subject for Issuer P/HUBG/TFX/ACIW/CW/26/00004


# Preparing notification body #


# Checking for device existence #


# User device exists #


Sending notification for permit to work: 441123


Inside SendAppNotification Device Type: GCM


Generating AWS SNS Request


Unauthorized


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


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


# Push notification did not send #


### End Event Execution ###


### Start Event Execution ###


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


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"919999999999","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"ptw_assigned_to_generic_template_v4","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"P/MIRA/FCP/YI/CS/26/00009"},{"type":"text","text":"01-Sep-2026"},{"type":"text","text":"Confined Space"},{"type":"text","text":"Rio"},{"type":"text","text":" "},{"type":"text","text":"Requested by Neppie Traynor at 31-Aug-2026 07:27:50 PM"},{"type":"text","text":"Accept"},{"type":"text","text":"Neppie Traynor"},{"type":"text","text":"https://sandbox.oqsha.com/#/wp/view/232/441124"}]}]}}}


Osmo-x WhatsApp Message has been Sent


# Push Subject for Issuer P/MIRA/FCP/YI/CS/26/00009


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


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"2000003468","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/BEAT/COM/JFU/BL/CW/26/00001"},{"type":"text","text":"01-Sep-2026"},{"type":"text","text":"Blasting Work, Concrete Work"},{"type":"text","text":"Robertsdale"},{"type":"text","text":" "},{"type":"text","text":"Requested by Furman Mcclintock at 31-Aug-2026 07:36:29 PM"},{"type":"text","text":"Review"},{"type":"text","text":"Elizabet Patty"},{"type":"text","text":"https://sandbox.oqsha.com/#/wp/view/204/441125"}]}]}}}


# Push Subject for Issuer P/BEAT/COM/JFU/BL/CW/26/00001


# Preparing notification body #


# Checking for device existence #


# User device exists #


Sending notification for permit to work: 441125


Generating AWS SNS Request


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/de4d85be-a3fe-3a30-9305-ef877b8494cf


Unauthorized


Push notification failed to send to a device 25154.


# Push notification did not send #


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/6231d64d-57cd-3a62-b990-ae01c9bf5014


Push notification failed to send to a device 26335.


### End Event Execution ###


### Start Event Execution ###


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


# Calling SendNotificationToIssuerForCreatingPermitToWork function for whatsapp and push notification #


# Fetching devices honoring user preferences for Multiple Module IDs (Bulk) #


Executing sending notification to issuers through whatsapp


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


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000000090","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":"31-Aug-2026"},{"type":"text","text":"Cold work"},{"type":"text","text":"Meadow Oaks"},{"type":"text","text":" "},{"type":"text","text":"Requested by Ana Eaton at 31-Aug-2026 07:41:06 PM"},{"type":"text","text":"Issue"},{"type":"text","text":"Butler Christy"},{"type":"text","text":"https://sandbox.oqsha.com/#/wp/view/207/441126"}]}]}}}


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: 441126


Inside SendAppNotification Device Type: APNS


Generating AWS SNS Request


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/APNS/Oqsha-IOS-Production/78f87932-ef2e-345d-bde3-41d9a8a11d54


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


# Push notification did not send #


Inside SendAppNotification Device Type: GCM


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/8d44ad78-8b14-3b2c-885c-92039149a4e4


Push notification failed to send to a device 25502.


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


Push notification failed to send to a device 24207.


### End Event Execution ###


### Start Event Execution ###


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


# Calling SendNotificationToIssuerForCreatingPermitToWork function for whatsapp and push notification #


# Fetching devices honoring user preferences for Multiple Module IDs (Bulk) #


Executing sending notification to issuers through whatsapp


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


Osmo-x WhatsApp Message has been Sent


Executing sending push notification to the issuers


# Push Subject for Issuer P/GLTO/VIP/CPZ/BL/26/00001


# Preparing notification body #


# Checking for device existence #


# User device exists #


Sending notification for permit to work: 441127


Generating AWS SNS Request


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/68cc0e60-3f76-3b29-8e0c-3c523163409f


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


# Push notification did not send #


Inside SendAppNotification Device Type: GCM


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/c2ef4769-03bb-3a3d-97e8-fb92fb2b9d40


Push notification failed to send to a device 25608.


### End Event Execution ###


### Start Event Execution ###


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


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"919999999999","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"ptw_assigned_to_generic_template_v4","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"P/MIRA/FCP/YI/CS/26/00010"},{"type":"text","text":"01-Sep-2026"},{"type":"text","text":"Confined Space"},{"type":"text","text":"Rio"},{"type":"text","text":" "},{"type":"text","text":"Requested by Neppie Traynor at 31-Aug-2026 07:46:51 PM"},{"type":"text","text":"Accept"},{"type":"text","text":"Neppie Traynor"},{"type":"text","text":"https://sandbox.oqsha.com/#/wp/view/232/441128"}]}]}}}


Osmo-x WhatsApp Message has been Sent


# Push Subject for Issuer P/MIRA/FCP/YI/CS/26/00010


# Preparing notification body #


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


# Calling SendNotificationToIssuerForCreatingPermitToWork function for whatsapp and push notification #


# Fetching devices honoring user preferences for Multiple Module IDs (Bulk) #


Executing sending notification to issuers through whatsapp


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


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000006525","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":"31-Aug-2026"},{"type":"text","text":"Cold work"},{"type":"text","text":"Meadow Oaks"},{"type":"text","text":" "},{"type":"text","text":"Requested by Ana Eaton at 31-Aug-2026 07:47:00 PM"},{"type":"text","text":"Issue"},{"type":"text","text":"Demetri Pagano"},{"type":"text","text":"https://sandbox.oqsha.com/#/wp/view/207/441129"}]}]}}}


Executing sending push notification to the issuers


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


# Checking for device existence #


# User device exists #


Sending notification for permit to work: 441129


Inside SendAppNotification Device Type: APNS


Generating AWS SNS Request


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/APNS/Oqsha-IOS-Production/78f87932-ef2e-345d-bde3-41d9a8a11d54


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


# Push notification did not send #


Inside SendAppNotification Device Type: GCM


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Test/7f0d6d1d-cc75-3391-b2b1-bc1c69755498


Push notification failed to send to a device 26718.


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/8d44ad78-8b14-3b2c-885c-92039149a4e4


Push notification failed to send to a device 25502.


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


Push notification failed to send to a device 24207.


### End Event Execution ###


### Start Event Execution ###


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


# Calling SendNotificationToEitherReviewerOrApprover function for  whatsapp and push notification #


# Fetching devices honoring user preferences for Multiple Module IDs (Bulk) #


Starting Execution for whatsapp notification for users


Executing sending notification to users through whatsapp


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


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000002469","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"ptw_assigned_to_generic_template_v4","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"P/MIRA/FCP/YI/CS/26/00002"},{"type":"text","text":"01-Sep-2026"},{"type":"text","text":"Confined Space"},{"type":"text","text":"Rio"},{"type":"text","text":"sdfsdf"},{"type":"text","text":"Accepted by Neppie Traynor at 31-Aug-2026 07:47:55 PM"},{"type":"text","text":"Quality Verify"},{"type":"text","text":"Nettie Lough"},{"type":"text","text":"https://sandbox.oqsha.com/#/wp/view/232/441111"}]}]}}}


Osmo-x WhatsApp Message has been Sent


# Preparing notification body #


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


# string body 01-Sep-2026, Neppie Traynor,


# Checking for device existence #


# User device exists #


Sending notification for permit to work: 441111


Inside SendAppNotification Device Type: GCM


Generating AWS SNS Request


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/e4b40208-26e7-3949-b435-21362a15b9bc


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


# Push notification did not send #


Object reference not set to an instance of an object.


### End Event Execution ###


### Start Event Execution ###


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


# Calling SendNotificationToIssuerForCreatingPermitToWork function for whatsapp and push notification #


Executing sending notification to issuers through whatsapp


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


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"919999999999","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"ptw_assigned_to_generic_template_v4","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"P/MIRA/FCP/YI/CS/26/00011"},{"type":"text","text":"01-Sep-2026"},{"type":"text","text":"Confined Space"},{"type":"text","text":"Rio"},{"type":"text","text":" "},{"type":"text","text":"Requested by Neppie Traynor at 31-Aug-2026 07:52:06 PM"},{"type":"text","text":"Accept"},{"type":"text","text":"Neppie Traynor"},{"type":"text","text":"https://sandbox.oqsha.com/#/wp/view/232/441130"}]}]}}}


Osmo-x WhatsApp Message has been Sent


Executing sending push notification to the issuers


# Push Subject for Issuer P/MIRA/FCP/YI/CS/26/00011


# Preparing notification body #


# Fetching devices honoring user preferences for Multiple Module IDs (Bulk) #


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


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000007385","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/CS/26/00001"},{"type":"text","text":"31-Aug-2026"},{"type":"text","text":"Confined space"},{"type":"text","text":"Meadow Oaks"},{"type":"text","text":" "},{"type":"text","text":"Requested by Ana Eaton at 31-Aug-2026 07:53:05 PM"},{"type":"text","text":"Issue"},{"type":"text","text":"Albertha Keith"},{"type":"text","text":"https://sandbox.oqsha.com/#/wp/view/207/441131"}]}]}}}


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


# Checking for device existence #


# User device exists #


Sending notification for permit to work: 441131


Inside SendAppNotification Device Type: APNS


Generating AWS SNS Request


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/APNS/Oqsha-IOS-Production/78f87932-ef2e-345d-bde3-41d9a8a11d54


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


# Push notification did not send #


Inside SendAppNotification Device Type: GCM


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Test/7f0d6d1d-cc75-3391-b2b1-bc1c69755498


Push notification failed to send to a device 26718.


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/8d44ad78-8b14-3b2c-885c-92039149a4e4


Push notification failed to send to a device 25502.


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


Push notification failed to send to a device 24207.


### End Event Execution ###


### Start Event Execution ###


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


# Calling SendNotificationToEitherReviewerOrApprover function for  whatsapp and push notification #


# Fetching devices honoring user preferences for Multiple Module IDs (Bulk) #


Starting Execution for whatsapp notification for users


Executing sending notification to users through whatsapp


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


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000007341","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"ptw_assigned_to_generic_template_v4","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"P/MIRA/FCP/YI/CS/26/00009"},{"type":"text","text":"01-Sep-2026"},{"type":"text","text":"Confined Space"},{"type":"text","text":"Rio"},{"type":"text","text":" "},{"type":"text","text":"Accepted by Neppie Traynor at 31-Aug-2026 07:53:27 PM"},{"type":"text","text":"Quality Verify"},{"type":"text","text":"Sacherby Markham"},{"type":"text","text":"https://sandbox.oqsha.com/#/wp/view/232/441124"}]}]}}}


Osmo-x WhatsApp Message has been Sent


# Preparing notification body #


# Push Subject P/MIRA/FCP/YI/CS/26/00009


# string body 01-Sep-2026, Neppie Traynor,


# Checking for device existence #


# User device exists #


Sending notification for permit to work: 441124


Inside SendAppNotification Device Type: GCM


Generating AWS SNS Request


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/e793f253-b906-3344-ba6a-4566ef41b064


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


# Push notification did not send #


Object reference not set to an instance of an object.


### End Event Execution ###


### Start Event Execution ###


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000007341","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"ptw_assigned_to_generic_template_v4","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"P/MIRA/FCP/YI/CS/26/00009"},{"type":"text","text":"01-Sep-2026"},{"type":"text","text":"Confined Space"},{"type":"text","text":"Rio"},{"type":"text","text":" "},{"type":"text","text":"Quality Verified by Sacherby Markham at 31-Aug-2026 07:54:30 PM"},{"type":"text","text":"Approve"},{"type":"text","text":"Sacherby Markham"},{"type":"text","text":"https://sandbox.oqsha.com/#/wp/view/232/441124"}]}]}}}


Osmo-x WhatsApp Message has been Sent


# Preparing notification body #


# Checking for device existence #


# User device exists #


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


# Calling SendNotificationToAllExceptReviewer function for whatsapp and push notification #


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


# Fetching devices honoring user preferences for Multiple Module IDs (Bulk) #


Starting Execution for whatsapp notification for all


Sending notification to requester regarding permit to work 441124


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"919999999999","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"ptw_generic_status_template_v4","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"P/MIRA/FCP/YI/CS/26/00009"},{"type":"text","text":"01-Sep-2026"},{"type":"text","text":"Confined Space"},{"type":"text","text":"Rio"},{"type":"text","text":" "},{"type":"text","text":"Approved by Sacherby Markham at 31-Aug-2026 07:54:35 PM"},{"type":"text","text":"Start Work"},{"type":"text","text":"https://sandbox.oqsha.com/#/wp/view/232/441124"}]}]}}}


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000010468","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"ptw_generic_status_template_v4","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"P/MIRA/FCP/YI/CS/26/00009"},{"type":"text","text":"01-Sep-2026"},{"type":"text","text":"Confined Space"},{"type":"text","text":"Rio"},{"type":"text","text":" "},{"type":"text","text":"Approved by Sacherby Markham at 31-Aug-2026 07:54:35 PM"},{"type":"text","text":"Start Work"},{"type":"text","text":"https://sandbox.oqsha.com/#/wp/view/232/441124"}]}]}}}


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000001909","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"ptw_generic_status_template_v4","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"P/MIRA/FCP/YI/CS/26/00009"},{"type":"text","text":"01-Sep-2026"},{"type":"text","text":"Confined Space"},{"type":"text","text":"Rio"},{"type":"text","text":" "},{"type":"text","text":"Approved by Sacherby Markham at 31-Aug-2026 07:54:35 PM"},{"type":"text","text":"Start Work"},{"type":"text","text":"https://sandbox.oqsha.com/#/wp/view/232/441124"}]}]}}}


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"917777777771","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"ptw_generic_status_template_v4","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"P/MIRA/FCP/YI/CS/26/00009"},{"type":"text","text":"01-Sep-2026"},{"type":"text","text":"Confined Space"},{"type":"text","text":"Rio"},{"type":"text","text":" "},{"type":"text","text":"Approved by Sacherby Markham at 31-Aug-2026 07:54:35 PM"},{"type":"text","text":"Start Work"},{"type":"text","text":"https://sandbox.oqsha.com/#/wp/view/232/441124"}]}]}}}


Starting Execution for push notification for all


# Push Subject for Issuer P/MIRA/FCP/YI/CS/26/00009


# string body 01-Sep-2026, Sacherby Markham, P/MIRA/FCP/YI/CS/26/00009, 01-Sep-2026


Sending permit to work Notification for permit id: 441124


Inside SendAppNotification Device Type: GCM


Generating AWS SNS Request


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/e793f253-b906-3344-ba6a-4566ef41b064


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


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


# Fetching devices honoring user preferences for Multiple Module IDs (Bulk) #


Executing sending notification to issuers for extended PTW through whatsapp


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


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"919999999999","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"ptw_assigned_to_generic_template_v4","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"P/MIRA/FCP/YI/CS/26/00009"},{"type":"text","text":"01-Sep-2026"},{"type":"text","text":"Confined Space"},{"type":"text","text":"Rio"},{"type":"text","text":" "},{"type":"text","text":"Extension Requested by Sacherby Markham for 16 hour(s) at 31-Aug-2026 07:58:00 PM"},{"type":"text","text":"Extension Accept"},{"type":"text","text":"Neppie Traynor"},{"type":"text","text":"https://sandbox.oqsha.com/#/wp/view/232/441124"}]}]}}}


Osmo-x WhatsApp Message has been Sent


Executing sending push notification to the issuers for extended PTW


# Preparing notification body #


# string body Sacherby Markham, 16 hour(s), P/MIRA/FCP/YI/CS/26/00009


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


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000001389","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"ptw_assigned_to_generic_template_v4","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"P/MIRA/FCP/YI/CS/26/00009"},{"type":"text","text":"01-Sep-2026"},{"type":"text","text":"Confined Space"},{"type":"text","text":"Rio"},{"type":"text","text":" "},{"type":"text","text":"Extension Accepted by Neppie Traynor for 16 hour(s) at 31-Aug-2026 07:59:22 PM"},{"type":"text","text":"Extension Quality Verify"},{"type":"text","text":"Bee Bainbridge"},{"type":"text","text":"https://sandbox.oqsha.com/#/wp/view/232/441124"}]}]}}}


# Push Subject for Issuer P/MIRA/FCP/YI/CS/26/00009


# string body Sacherby Markham, 16 hour(s), P/MIRA/FCP/YI/CS/26/00009,,


# Checking for device existence #


# User device exists #


Sending notification for permit to work: 441124


Inside SendAppNotification Device Type: GCM


Generating AWS SNS Request


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/e793f253-b906-3344-ba6a-4566ef41b064


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


# Push notification did not send #


Push notification failed to send to a device 26531.


### End Event Execution ###


### Start Event Execution ###


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


# Calling SendNotificationToIssuerForCreatingPermitToWork function for whatsapp and push notification #


# Fetching devices honoring user preferences for Multiple Module IDs (Bulk) #


Executing sending notification to issuers through whatsapp


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


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"919999999999","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"ptw_assigned_to_generic_template_v4","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"P/MIRA/FCP/YI/CS/26/00012"},{"type":"text","text":"01-Sep-2026"},{"type":"text","text":"Confined Space"},{"type":"text","text":"Rio"},{"type":"text","text":" "},{"type":"text","text":"Requested by Neppie Traynor at 31-Aug-2026 08:36:05 PM"},{"type":"text","text":"Accept"},{"type":"text","text":"Neppie Traynor"},{"type":"text","text":"https://sandbox.oqsha.com/#/wp/view/232/441132"}]}]}}}


Osmo-x WhatsApp Message has been Sent


Executing sending push notification to the issuers


# Push Subject for Issuer P/MIRA/FCP/YI/CS/26/00012


# Preparing notification body #


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


# Calling SendNotificationToEitherReviewerOrApprover function for  whatsapp and push notification #


Starting Execution for whatsapp notification for users


Executing sending notification to users through whatsapp


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


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000007341","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"ptw_assigned_to_generic_template_v4","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"P/MIRA/FCP/YI/CS/26/00010"},{"type":"text","text":"01-Sep-2026"},{"type":"text","text":"Confined Space"},{"type":"text","text":"Rio"},{"type":"text","text":" "},{"type":"text","text":"Accepted by Neppie Traynor at 31-Aug-2026 08:36:45 PM"},{"type":"text","text":"Quality Verify"},{"type":"text","text":"Sacherby Markham"},{"type":"text","text":"https://sandbox.oqsha.com/#/wp/view/232/441128"}]}]}}}


# Push Subject P/MIRA/FCP/YI/CS/26/00010


# string body 01-Sep-2026, Neppie Traynor,


# Checking for device existence #


# User device exists #


Sending notification for permit to work: 441128


Inside SendAppNotification Device Type: GCM


Generating AWS SNS Request


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/e793f253-b906-3344-ba6a-4566ef41b064


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


# Push notification did not send #


Object reference not set to an instance of an object.


### End Event Execution ###


### Start Event Execution ###


# Fetching devices honoring user preferences for Multiple Module IDs (Bulk) #


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000007341","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"ptw_assigned_to_generic_template_v4","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"P/MIRA/FCP/YI/CS/26/00010"},{"type":"text","text":"01-Sep-2026"},{"type":"text","text":"Confined Space"},{"type":"text","text":"Rio"},{"type":"text","text":" "},{"type":"text","text":"Quality Verified by Sacherby Markham at 31-Aug-2026 08:37:51 PM"},{"type":"text","text":"Approve"},{"type":"text","text":"Sacherby Markham"},{"type":"text","text":"https://sandbox.oqsha.com/#/wp/view/232/441128"}]}]}}}


Osmo-x WhatsApp Message has been Sent


# Preparing notification body #


# Checking for device existence #


# User device exists #


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


# Calling SendNotificationToAllExceptReviewer function for whatsapp and push notification #


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


Starting Execution for whatsapp notification for all


Sending notification to requester regarding permit to work 441128


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"919999999999","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"ptw_generic_status_template_v4","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"P/MIRA/FCP/YI/CS/26/00010"},{"type":"text","text":"01-Sep-2026"},{"type":"text","text":"Confined Space"},{"type":"text","text":"Rio"},{"type":"text","text":" "},{"type":"text","text":"Approved by Sacherby Markham at 31-Aug-2026 08:38:06 PM"},{"type":"text","text":"Start Work"},{"type":"text","text":"https://sandbox.oqsha.com/#/wp/view/232/441128"}]}]}}}


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000010468","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"ptw_generic_status_template_v4","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"P/MIRA/FCP/YI/CS/26/00010"},{"type":"text","text":"01-Sep-2026"},{"type":"text","text":"Confined Space"},{"type":"text","text":"Rio"},{"type":"text","text":" "},{"type":"text","text":"Approved by Sacherby Markham at 31-Aug-2026 08:38:06 PM"},{"type":"text","text":"Start Work"},{"type":"text","text":"https://sandbox.oqsha.com/#/wp/view/232/441128"}]}]}}}


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000001909","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"ptw_generic_status_template_v4","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"P/MIRA/FCP/YI/CS/26/00010"},{"type":"text","text":"01-Sep-2026"},{"type":"text","text":"Confined Space"},{"type":"text","text":"Rio"},{"type":"text","text":" "},{"type":"text","text":"Approved by Sacherby Markham at 31-Aug-2026 08:38:06 PM"},{"type":"text","text":"Start Work"},{"type":"text","text":"https://sandbox.oqsha.com/#/wp/view/232/441128"}]}]}}}


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"917777777771","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"ptw_generic_status_template_v4","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"P/MIRA/FCP/YI/CS/26/00010"},{"type":"text","text":"01-Sep-2026"},{"type":"text","text":"Confined Space"},{"type":"text","text":"Rio"},{"type":"text","text":" "},{"type":"text","text":"Approved by Sacherby Markham at 31-Aug-2026 08:38:06 PM"},{"type":"text","text":"Start Work"},{"type":"text","text":"https://sandbox.oqsha.com/#/wp/view/232/441128"}]}]}}}


Starting Execution for push notification for all


# Push Subject for Issuer P/MIRA/FCP/YI/CS/26/00010


# string body 01-Sep-2026, Sacherby Markham, P/MIRA/FCP/YI/CS/26/00010, 01-Sep-2026


Sending permit to work Notification for permit id: 441128


Inside SendAppNotification Device Type: GCM


Generating AWS SNS Request