### 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 bypassing preferences (system event or unknown module) (Bulk) #


Executing sending notification to issuers through whatsapp


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


Osmo-x WhatsApp Message has been Sent


Executing sending push notification to the issuers


# Push Subject for Issuer P/GLTO/MH9/TRUP/EL/26/00001


# Preparing notification body #


# Checking for device existence #


# User device exists #


Sending notification for permit to work: 434413


Inside SendAppNotification Device Type: GCM


Generating AWS SNS Request


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/55e3b2c9-6b27-3423-b3e8-2c9d778b1d4d


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


# Push notification did not send #


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/f45610fb-cc44-34af-8ba8-d3ad1927ef38


Push notification failed to send to a device 26034.


### End Event Execution ###


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


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


### Start Event Execution ###


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


# Calling SendNotificationForPTWHistory function for whatsapp and push notification #


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


Executing sending notification to reviewer through whatsapp


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


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000007330","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"ptw_history_comments_latest_v2","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"P/GLTO/MH9/TRUP/EL/26/00001"},{"type":"text","text":"21-Aug-2026"},{"type":"text","text":"Electrical Work"},{"type":"text","text":"Fleischmanns"},{"type":"text","text":"test"},{"type":"text","text":"test. The status has changed to Issued."},{"type":"text","text":"Marlon Welton at 21-Aug-2026 11:30:18 AM"},{"type":"text","text":"https://sandbox.oqsha.com/#/wp/view/211/434413"}]}]}}}


Osmo-x WhatsApp Message has been Sent


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


# Preparing notification body #


# Push Subject P/GLTO/MH9/TRUP/EL/26/00001


# string body 21-Aug-2026, Marlon Welton,


# Checking for device existence #


# User device exists #


Sending notification for permit to work: 434413


Inside SendAppNotification Device Type: GCM


Generating AWS SNS Request


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/55e3b2c9-6b27-3423-b3e8-2c9d778b1d4d


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


# Push notification did not send #


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/f45610fb-cc44-34af-8ba8-d3ad1927ef38


Push notification failed to send to a device 26034.


Inside SendAppNotification Device Type: APNS


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/APNS/Oqsha-IOS-Production/f9653f76-5861-360f-af1b-5929c5662a55


Push notification failed to send to a device 26177.


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


### End Event Execution ###


### Start Event Execution ###


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


# Calling SendNotificationForPTWHistory function for whatsapp and push notification #


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


Executing sending notification to reviewer through whatsapp


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


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000001383","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"ptw_history_comments_latest_v2","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"P/GLTO/MH9/TRUP/EL/26/00001"},{"type":"text","text":"21-Aug-2026"},{"type":"text","text":"Electrical Work"},{"type":"text","text":"Fleischmanns"},{"type":"text","text":"test"},{"type":"text","text":"test 1. The status has changed to Approved."},{"type":"text","text":"Almus Toribio at 21-Aug-2026 11:34:43 AM"},{"type":"text","text":"https://sandbox.oqsha.com/#/wp/view/211/434413"}]}]}}}


Osmo-x WhatsApp Message has been Sent


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000007330","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"ptw_history_comments_latest_v2","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"P/GLTO/MH9/TRUP/EL/26/00001"},{"type":"text","text":"21-Aug-2026"},{"type":"text","text":"Electrical Work"},{"type":"text","text":"Fleischmanns"},{"type":"text","text":"test"},{"type":"text","text":"test 1. The status has changed to Approved."},{"type":"text","text":"Almus Toribio at 21-Aug-2026 11:34:43 AM"},{"type":"text","text":"https://sandbox.oqsha.com/#/wp/view/211/434413"}]}]}}}


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


# Preparing notification body #


# Push Subject P/GLTO/MH9/TRUP/EL/26/00001


# string body 21-Aug-2026, Marlon Welton,


# Checking for device existence #


# User device exists #


Sending notification for permit to work: 434413


Inside SendAppNotification Device Type: APNS


Generating AWS SNS Request


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/APNS/Oqsha-IOS-Production/f9653f76-5861-360f-af1b-5929c5662a55


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


# Push notification did not send #


Inside SendAppNotification Device Type: GCM


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/8376223d-22c6-3ccd-9856-e58989016c30


Push notification failed to send to a device 25312.


### End Event Execution ###


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


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


### Start Event Execution ###


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


# Calling SendNotificationForPTWHistory function for whatsapp and push notification #


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


Executing sending notification to reviewer through whatsapp


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


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000010272","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"ptw_history_comments_latest_v2","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"P/GLTO/MH9/TRUP/EL/26/00001"},{"type":"text","text":"21-Aug-2026"},{"type":"text","text":"Electrical Work"},{"type":"text","text":"Fleischmanns"},{"type":"text","text":"test"},{"type":"text","text":"authorized. The status has changed to Authorized."},{"type":"text","text":"Jakobe Cooke at 21-Aug-2026 11:45:07 AM"},{"type":"text","text":"https://sandbox.oqsha.com/#/wp/view/211/434413"}]}]}}}


Osmo-x WhatsApp Message has been Sent


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000001383","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"ptw_history_comments_latest_v2","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"P/GLTO/MH9/TRUP/EL/26/00001"},{"type":"text","text":"21-Aug-2026"},{"type":"text","text":"Electrical Work"},{"type":"text","text":"Fleischmanns"},{"type":"text","text":"test"},{"type":"text","text":"authorized. The status has changed to Authorized."},{"type":"text","text":"Jakobe Cooke at 21-Aug-2026 11:45:07 AM"},{"type":"text","text":"https://sandbox.oqsha.com/#/wp/view/211/434413"}]}]}}}


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000007330","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"ptw_history_comments_latest_v2","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"P/GLTO/MH9/TRUP/EL/26/00001"},{"type":"text","text":"21-Aug-2026"},{"type":"text","text":"Electrical Work"},{"type":"text","text":"Fleischmanns"},{"type":"text","text":"test"},{"type":"text","text":"authorized. The status has changed to Authorized."},{"type":"text","text":"Jakobe Cooke at 21-Aug-2026 11:45:07 AM"},{"type":"text","text":"https://sandbox.oqsha.com/#/wp/view/211/434413"}]}]}}}


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


# Calling SendNotificationToAllExceptReviewer function for whatsapp and push notification #


User Ids for notification: [23175]


Starting Execution for whatsapp notification for all


Sending notification to requester regarding permit to work 434413


Starting Execution for push notification for all


# Preparing notification body #


# Push Subject for Issuer P/GLTO/MH9/TRUP/EL/26/00001


# string body 21-Aug-2026, Jakobe Cooke, P/GLTO/MH9/TRUP/EL/26/00001, 21-Aug-2026


### End Event Execution ###


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


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


### Start Event Execution ###


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


# Calling SendNotificationToIssuerForCreatingPermitToWork function for whatsapp and push notification #


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


Executing sending notification to issuers through whatsapp


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


Osmo-x WhatsApp Message has been Sent


Executing sending push notification to the issuers


# Push Subject for Issuer P/GLTO/VIP/INBKZ/CW/26/00001


# Checking for device existence #


# User device exists #


Sending notification for permit to work: 434414


Inside SendAppNotification Device Type: GCM


Generating AWS SNS Request


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/c844d195-1bf1-339e-b2a3-6528151fd03a


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


# Push notification did not send #


### End Event Execution ###


### Start Event Execution ###


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


# Calling SendNotificationForPTWHistory function for whatsapp and push notification #


Executing sending notification to reviewer through whatsapp


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


Osmo-x WhatsApp Message has been Sent


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


# Calling SendNotificationToEitherReviewerOrApprover function for  whatsapp and push notification #


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


Starting Execution for whatsapp notification for users


Executing sending notification to users through whatsapp


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


# Preparing notification body #


# Push Subject P/GLTO/VIP/INBKZ/CW/26/00001


# string body 21-Aug-2026, ,


# Checking for device existence #


# User device exists #


Sending notification for permit to work: 434414


Inside SendAppNotification Device Type: GCM


Generating AWS SNS Request


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/46e41b95-ce35-31ae-982b-45b854c184c8


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


# Push notification did not send #


### End Event Execution ###


### Start Event Execution ###


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


# Calling SendNotificationForPTWHistory function for whatsapp and push notification #


Executing sending notification to reviewer through whatsapp


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


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000001115","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"ptw_history_comments_latest_v2","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"P/GLTO/VIP/INBKZ/CW/26/00001"},{"type":"text","text":"21-Aug-2026"},{"type":"text","text":"Concrete Work"},{"type":"text","text":"Vinings"},{"type":"text","text":"fnfn"},{"type":"text","text":"fjdj. The status has changed to Authorized."},{"type":"text","text":"Acie Dandrea at 21-Aug-2026 12:48:19 PM"},{"type":"text","text":"https://sandbox.oqsha.com/#/wp/view/211/434414"}]}]}}}


Osmo-x WhatsApp Message has been Sent


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"915555557923","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"ptw_history_comments_latest_v2","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"P/GLTO/VIP/INBKZ/CW/26/00001"},{"type":"text","text":"21-Aug-2026"},{"type":"text","text":"Concrete Work"},{"type":"text","text":"Vinings"},{"type":"text","text":"fnfn"},{"type":"text","text":"fjdj. The status has changed to Authorized."},{"type":"text","text":"Acie Dandrea at 21-Aug-2026 12:48:19 PM"},{"type":"text","text":"https://sandbox.oqsha.com/#/wp/view/211/434414"}]}]}}}


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


# Calling SendNotificationToAllExceptReviewer function for whatsapp and push notification #


User Ids for notification: [20358]


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


Starting Execution for whatsapp notification for all


Sending notification to requester regarding permit to work 434414


Starting Execution for push notification for all


# Preparing notification body #


# Push Subject for Issuer P/GLTO/VIP/INBKZ/CW/26/00001


# string body 21-Aug-2026, Acie Dandrea, P/GLTO/VIP/INBKZ/CW/26/00001, 21-Aug-2026


### End Event Execution ###


### Start Event Execution ###


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


# Calling SendNotificationToIssuersForExtensionPTW function for whatsapp and push notification #


Executing sending notification to issuers for extended PTW through whatsapp


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


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000001115","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"ptw_assigned_to_generic_template_v4","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"P/GLTO/VIP/INBKZ/CW/26/00001"},{"type":"text","text":"21-Aug-2026"},{"type":"text","text":"Concrete Work"},{"type":"text","text":"Vinings"},{"type":"text","text":"fnfn"},{"type":"text","text":"Extension Requested by Giselle Kress for 1 hour(s) at 21-Aug-2026 12:53:57 PM"},{"type":"text","text":"Extension Approve"},{"type":"text","text":"Adamaris Krall"},{"type":"text","text":"https://sandbox.oqsha.com/#/wp/view/211/434414"}]}]}}}


Osmo-x WhatsApp Message has been Sent


Executing sending push notification to the issuers for extended PTW


# string body Giselle Kress, 1 hour(s), P/GLTO/VIP/INBKZ/CW/26/00001


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


# Calling SendNotificationToEitherReviewerOrApproverForExtendedPTW function for  whatsapp and push notification #


Starting Execution for whatsapp notification for users


Executing sending notification to users through whatsapp


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


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000004353","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"ptw_assigned_to_generic_template_v4","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"P/GLTO/VIP/INBKZ/CW/26/00001"},{"type":"text","text":"21-Aug-2026"},{"type":"text","text":"Concrete Work"},{"type":"text","text":"Vinings"},{"type":"text","text":"fnfn"},{"type":"text","text":"Extension Approved by Adamaris Krall for 1 hour(s) at 21-Aug-2026 12:59:24 PM"},{"type":"text","text":"Extension Authorize"},{"type":"text","text":"Acie Dandrea"},{"type":"text","text":"https://sandbox.oqsha.com/#/wp/view/211/434414"}]}]}}}


# Preparing notification body #


# string body Giselle Kress, 1 hour(s), P/GLTO/VIP/INBKZ/CW/26/00001,,


### 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 bypassing preferences (system event or unknown module) (Bulk) #


Executing sending notification to issuers through whatsapp


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


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000002202","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"ptw_assigned_to_generic_template_v4","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"P/GLTO/APA/TXG/CW/26/00001"},{"type":"text","text":"21-Aug-2026"},{"type":"text","text":"Concrete Work"},{"type":"text","text":"Bowers"},{"type":"text","text":" "},{"type":"text","text":"Requested by Acel Wildman at 21-Aug-2026 01:05:42 PM"},{"type":"text","text":"Approve"},{"type":"text","text":"Adam Toribio"},{"type":"text","text":"https://sandbox.oqsha.com/#/wp/view/211/434415"}]}]}}}


Osmo-x WhatsApp Message has been Sent


Executing sending push notification to the issuers


# Push Subject for Issuer P/GLTO/APA/TXG/CW/26/00001


# Checking for device existence #


# User device exists #


Sending notification for permit to work: 434415


Inside SendAppNotification Device Type: GCM


Generating AWS SNS Request


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/702ce669-1ae0-3d01-8513-ffedcccfb18c


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


# Push notification did not send #


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


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000010760","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"ptw_assigned_to_generic_template_v4","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"P/GLTO/APA/TXG/CW/26/00001"},{"type":"text","text":"21-Aug-2026"},{"type":"text","text":"Concrete Work"},{"type":"text","text":"Bowers"},{"type":"text","text":" "},{"type":"text","text":"Approved by Adam Toribio at 21-Aug-2026 01:08:19 PM"},{"type":"text","text":"Authorize"},{"type":"text","text":"Annemie Braxton"},{"type":"text","text":"https://sandbox.oqsha.com/#/wp/view/211/434415"}]}]}}}


Osmo-x WhatsApp Message has been Sent


# Preparing notification body #


# Push Subject P/GLTO/APA/TXG/CW/26/00001


# string body 21-Aug-2026, ,


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


# Calling SendNotificationToIssuerForCreatingPermitToWork function for whatsapp and push notification #


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


Executing sending notification to issuers through whatsapp


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


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000001383","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"ptw_assigned_to_generic_template_v4","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"P/GLTO/MH9/TRUP/EL/26/00002"},{"type":"text","text":"21-Aug-2026"},{"type":"text","text":"Electrical Work"},{"type":"text","text":"Fleischmanns"},{"type":"text","text":" "},{"type":"text","text":"Requested by Nadasity Alderete at 21-Aug-2026 01:18:26 PM"},{"type":"text","text":"Issue"},{"type":"text","text":"Marlon Welton"},{"type":"text","text":"https://sandbox.oqsha.com/#/wp/view/211/434416"}]}]}}}


Executing sending push notification to the issuers


# Push Subject for Issuer P/GLTO/MH9/TRUP/EL/26/00002


### End Event Execution ###


### Start Event Execution ###


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


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000010272","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"ptw_assigned_to_generic_template_v4","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"P/GLTO/MH9/TRUP/EL/26/00002"},{"type":"text","text":"21-Aug-2026"},{"type":"text","text":"Electrical Work"},{"type":"text","text":"Fleischmanns"},{"type":"text","text":" "},{"type":"text","text":"Issued by Marlon Welton at 21-Aug-2026 01:19:51 PM"},{"type":"text","text":"Approve"},{"type":"text","text":"Almus Toribio"},{"type":"text","text":"https://sandbox.oqsha.com/#/wp/view/211/434416"}]}]}}}


# Push Subject P/GLTO/MH9/TRUP/EL/26/00002


# string body 21-Aug-2026, Marlon Welton,


Object reference not set to an instance of an object.


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


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000006347","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"ptw_assigned_to_generic_template_v4","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"P/GLTO/MH9/TRUP/EL/26/00002"},{"type":"text","text":"21-Aug-2026"},{"type":"text","text":"Electrical Work"},{"type":"text","text":"Fleischmanns"},{"type":"text","text":" "},{"type":"text","text":"Approved by Almus Toribio at 21-Aug-2026 01:20:52 PM"},{"type":"text","text":"Authorize"},{"type":"text","text":"Jakobe Cooke"},{"type":"text","text":"https://sandbox.oqsha.com/#/wp/view/211/434416"}]}]}}}


Osmo-x WhatsApp Message has been Sent


# Preparing notification body #


# Checking for device existence #


# User device exists #


Sending notification for permit to work: 434416


Inside SendAppNotification Device Type: GCM


Generating AWS SNS Request


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/8376223d-22c6-3ccd-9856-e58989016c30


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


# Push notification did not send #


Inside SendAppNotification Device Type: APNS


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/APNS/Oqsha-IOS-Production/f9653f76-5861-360f-af1b-5929c5662a55


Push notification failed to send to a device 26179.


### End Event Execution ###


### Start Event Execution ###


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


# Calling SendNotificationToAllExceptReviewer function for whatsapp and push notification #


User Ids for notification: [23175]


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


Starting Execution for whatsapp notification for all


Sending notification to requester regarding permit to work 434416


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000007330","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"ptw_generic_status_template_v4","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"P/GLTO/MH9/TRUP/EL/26/00002"},{"type":"text","text":"21-Aug-2026"},{"type":"text","text":"Electrical Work"},{"type":"text","text":"Fleischmanns"},{"type":"text","text":" "},{"type":"text","text":"Authorized by Jakobe Cooke at 21-Aug-2026 01:21:33 PM"},{"type":"text","text":"Start Work"},{"type":"text","text":"https://sandbox.oqsha.com/#/wp/view/211/434416"}]}]}}}


Osmo-x WhatsApp Message has been Sent


Starting Execution for push notification for all


# Preparing notification body #


# Push Subject for Issuer P/GLTO/MH9/TRUP/EL/26/00002


# string body 21-Aug-2026, Jakobe Cooke, P/GLTO/MH9/TRUP/EL/26/00002, 21-Aug-2026


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


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000001383","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"ptw_assigned_to_generic_template_v4","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"P/GLTO/MH9/TRUP/EL/26/00002"},{"type":"text","text":"21-Aug-2026"},{"type":"text","text":"Electrical Work"},{"type":"text","text":"Fleischmanns"},{"type":"text","text":" "},{"type":"text","text":"Extension Requested by Nadasity Alderete for 2 hour(s) at 21-Aug-2026 01:22:25 PM"},{"type":"text","text":"Extension Issue"},{"type":"text","text":"Marlon Welton"},{"type":"text","text":"https://sandbox.oqsha.com/#/wp/view/211/434416"}]}]}}}


Executing sending push notification to the issuers for extended PTW


# string body Nadasity Alderete, 2 hour(s), P/GLTO/MH9/TRUP/EL/26/00002


### End Event Execution ###


### Start Event Execution ###


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


# Calling SendNotificationToEitherReviewerOrApproverForExtendedPTW function for  whatsapp and push notification #


Starting Execution for whatsapp notification for users


Executing sending notification to users through whatsapp


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


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000010272","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"ptw_assigned_to_generic_template_v4","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"P/GLTO/MH9/TRUP/EL/26/00002"},{"type":"text","text":"21-Aug-2026"},{"type":"text","text":"Electrical Work"},{"type":"text","text":"Fleischmanns"},{"type":"text","text":" "},{"type":"text","text":"Extension Issued by Marlon Welton for 2 hour(s) at 21-Aug-2026 01:23:07 PM"},{"type":"text","text":"Extension Approve"},{"type":"text","text":"Almus Toribio"},{"type":"text","text":"https://sandbox.oqsha.com/#/wp/view/211/434416"}]}]}}}


Osmo-x WhatsApp Message has been Sent


# Preparing notification body #


# string body Nadasity Alderete, 2 hour(s), P/GLTO/MH9/TRUP/EL/26/00002,,


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


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000006347","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"ptw_assigned_to_generic_template_v4","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"P/GLTO/MH9/TRUP/EL/26/00002"},{"type":"text","text":"21-Aug-2026"},{"type":"text","text":"Electrical Work"},{"type":"text","text":"Fleischmanns"},{"type":"text","text":" "},{"type":"text","text":"Extension Approved by Almus Toribio for 2 hour(s) at 21-Aug-2026 01:24:06 PM"},{"type":"text","text":"Extension Authorize"},{"type":"text","text":"Jakobe Cooke"},{"type":"text","text":"https://sandbox.oqsha.com/#/wp/view/211/434416"}]}]}}}


# Push Subject for Issuer P/GLTO/MH9/TRUP/EL/26/00002


# string body Nadasity Alderete, 2 hour(s), P/GLTO/MH9/TRUP/EL/26/00002,Marlon Welton,


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


# Calling SendNotificationToAllForExtennsionRejectedStatus function for  whatsapp and push notification #


Executing sending notification for extension rejection status through whatsapp


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


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000010272","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"ptw_generic_status_template_v4","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"P/GLTO/MH9/TRUP/EL/26/00002"},{"type":"text","text":"21-Aug-2026"},{"type":"text","text":"Electrical Work"},{"type":"text","text":"Fleischmanns"},{"type":"text","text":" "},{"type":"text","text":"Extension Rejected by Jakobe Cooke for 0 hour(s) at 21-Aug-2026 01:28:16 PM. Reason- Ghgg"},{"type":"text","text":"Request again"},{"type":"text","text":"https://sandbox.oqsha.com/#/wp/view/211/434416"}]}]}}}


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000001383","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"ptw_generic_status_template_v4","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"P/GLTO/MH9/TRUP/EL/26/00002"},{"type":"text","text":"21-Aug-2026"},{"type":"text","text":"Electrical Work"},{"type":"text","text":"Fleischmanns"},{"type":"text","text":" "},{"type":"text","text":"Extension Rejected by Jakobe Cooke for 0 hour(s) at 21-Aug-2026 01:28:16 PM. Reason- Ghgg"},{"type":"text","text":"Request again"},{"type":"text","text":"https://sandbox.oqsha.com/#/wp/view/211/434416"}]}]}}}


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000007330","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"ptw_generic_status_template_v4","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"P/GLTO/MH9/TRUP/EL/26/00002"},{"type":"text","text":"21-Aug-2026"},{"type":"text","text":"Electrical Work"},{"type":"text","text":"Fleischmanns"},{"type":"text","text":" "},{"type":"text","text":"Extension Rejected by Jakobe Cooke for 0 hour(s) at 21-Aug-2026 01:28:16 PM. Reason- Ghgg"},{"type":"text","text":"Request again"},{"type":"text","text":"https://sandbox.oqsha.com/#/wp/view/211/434416"}]}]}}}


Starting Execution for push notification for extension rejection status


# string body Jakobe Cooke,P/GLTO/MH9/TRUP/EL/26/00002, Ghgg


### End Event Execution ###


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


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


### Start Event Execution ###


Message : {"EventName":"ASSIGNED_TO_NOTIFICATION","EventArgs":[{"Key":"AssignedIncidentID","Value":78905},{"Key":"AssignedToID","Value":3354}]}


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


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


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


Generating report.


Converted to byte file


PDF generation successfull


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


Sending Assigned To Whatsapp for IncidentId:78905


Osmo-x WhatsApp Message has been Sent


# Preparing notification body #


# Fetching devices bypassing preferences (Single System Fallback) #


# Checking for device existence #


# User device exists #


Sending Assigned To Notification for IncidentId:78905


Inside SendAppNotification Device Type: GCM


Generating AWS SNS Request


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/1cd93a38-d535-3d16-bb43-27f3ac81c832


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


# Push notification did not send #


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


### End Event Execution ###


### Start Event Execution ###


Message : {"EventName":"INFORM_TO_INCIDENT_CREATION_NOTIFICATION","EventArgs":[{"Key":"IncidentId","Value":78906},{"Key":"InformToUserId","Value":1322}]}


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


### Started processing Inform-To Incident Creation Notification ###


Calling SendInformToNotification function for ticket creation


Sending Inform-To WhatsApp for IncidentId: 78906


Osmo-x WhatsApp Message has been Sent


Generating Safety Alert report.


Converted to byte file


## Safety Alert Email Sent to Aloysius Weathers##


Sending Inform-To Email (with Safety Alert PDF) for IncidentId: 78906


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


Reading and binding data to Email Template


Initializing Email Service Client


Generating Email Request


Safety Alert T/LULU/NMM/26/00001 has been created

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


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


--- Email response from Osmo-x is 201


# Fetching devices bypassing preferences (Single System Fallback) #


### Ended processing Inform-To Incident Creation Notification ###


### End Event Execution ###


### Start Event Execution ###


Message : {"EventName":"ASSIGNED_TO_NOTIFICATION","EventArgs":[{"Key":"AssignedIncidentID","Value":78907},{"Key":"AssignedToID","Value":3354}]}


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


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


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


Generating report.


Converted to byte file


PDF generation successfull


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


Sending Assigned To Whatsapp for IncidentId:78907


Osmo-x WhatsApp Message has been Sent


# Preparing notification body #


# Checking for device existence #


# User device exists #


Sending Assigned To Notification for IncidentId:78907


Inside SendAppNotification Device Type: GCM


Generating AWS SNS Request


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/1cd93a38-d535-3d16-bb43-27f3ac81c832


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


# Push notification did not send #


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


### End Event Execution ###


### Start Event Execution ###


Message : {"EventName":"ASSIGNED_TO_NOTIFICATION","EventArgs":[{"Key":"AssignedIncidentID","Value":78908},{"Key":"AssignedToID","Value":3354}]}


Generating report.


Converted to byte file


PDF generation successfull


Sending Assigned To Whatsapp for IncidentId:78908


Osmo-x WhatsApp Message has been Sent


# Preparing notification body #


# Fetching devices bypassing preferences (Single System Fallback) #


# Checking for device existence #


# User device exists #


Sending Assigned To Notification for IncidentId:78908


Generating AWS SNS Request


Unauthorized


# Push notification did not send #


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


# Calling SendNotificationToIssuerForCreatingPermitToWork function for whatsapp and push notification #


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


Executing sending notification to issuers through whatsapp


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


Executing sending push notification to the issuers


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


Sending notification for permit to work: 434417


Inside SendAppNotification Device Type: GCM


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/df61cac2-8db1-3de9-adbc-b6fa08577a29


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


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


Push notification failed to send to a device 4333.


# Checking for device existence #


# User device exists #


Generating AWS SNS Request


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/cb253338-3fb9-31b7-bbe4-27570e6f7a44


Unauthorized


Push notification failed to send to a device 7210.


# Push notification did not send #


### End Event Execution ###


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


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


### Start Event Execution ###


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


# Calling SendNotificationToIssuerForCreatingPermitToWork function for whatsapp and push notification #


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


Executing sending notification to issuers through whatsapp


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


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000006302","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"ptw_assigned_to_generic_template_v4","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"P/GLTO/VIP/GLTO/BL/26/00001"},{"type":"text","text":"21-Aug-2026"},{"type":"text","text":"Blasting Work"},{"type":"text","text":"Vinings"},{"type":"text","text":" "},{"type":"text","text":"Requested by Launa Landis at 21-Aug-2026 03:11:07 PM"},{"type":"text","text":"Approve"},{"type":"text","text":"Lenon Toribio"},{"type":"text","text":"https://sandbox.oqsha.com/#/wp/view/211/434418"}]}]}}}


Osmo-x WhatsApp Message has been Sent


Executing sending push notification to the issuers


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


# Preparing notification body #


# Checking for device existence #


# User device exists #


Sending notification for permit to work: 434418


Inside SendAppNotification Device Type: GCM


Generating AWS SNS Request


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/df61cac2-8db1-3de9-adbc-b6fa08577a29


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


# Push notification did not send #


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/cb253338-3fb9-31b7-bbe4-27570e6f7a44


Push notification failed to send to a device 7210.


### End Event Execution ###


### Start Event Execution ###


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


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000001383","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"ptw_assigned_to_generic_template_v4","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"P/GLTO/MH9/TRUP/EL/26/00003"},{"type":"text","text":"21-Aug-2026"},{"type":"text","text":"Electrical Work"},{"type":"text","text":"Fleischmanns"},{"type":"text","text":" "},{"type":"text","text":"Requested by Nadasity Alderete at 21-Aug-2026 03:30:20 PM"},{"type":"text","text":"Issue"},{"type":"text","text":"Marlon Welton"},{"type":"text","text":"https://sandbox.oqsha.com/#/wp/view/211/434419"}]}]}}}


Osmo-x WhatsApp Message has been Sent


# Push Subject for Issuer P/GLTO/MH9/TRUP/EL/26/00003


# Preparing notification body #


Message : {"EventName":"ASSIGNED_TO_NOTIFICATION","EventArgs":[{"Key":"AssignedIncidentID","Value":78909},{"Key":"AssignedToID","Value":5296}]}


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


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


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


Generating report.


Converted to byte file


PDF generation successfull


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


Sending Assigned To Whatsapp for IncidentId:78909


# Fetching devices bypassing preferences (Single System Fallback) #


# Checking for device existence #


# User device exists #


Sending Assigned To Notification for IncidentId:78909


Inside SendAppNotification Device Type: GCM


Generating AWS SNS Request


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/023fe420-0e17-3c42-828b-ad967204a8b0


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


# Push notification did not send #


### Ended processing Assigned to Notification 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 bypassing preferences (system event or unknown module) (Bulk) #


Executing sending notification to issuers through whatsapp


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


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000005691","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"ptw_assigned_to_generic_template_v4","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"P/GLTO/VIP/GLTO/BL/26/00002"},{"type":"text","text":"21-Aug-2026"},{"type":"text","text":"Blasting Work"},{"type":"text","text":"Vinings"},{"type":"text","text":" "},{"type":"text","text":"Requested by Launa Landis at 21-Aug-2026 03:37:50 PM"},{"type":"text","text":"Approve"},{"type":"text","text":"Arbie Toribio"},{"type":"text","text":"https://sandbox.oqsha.com/#/wp/view/211/434420"}]}]}}}


Osmo-x WhatsApp Message has been Sent


Executing sending push notification to the issuers


# Push Subject for Issuer P/GLTO/VIP/GLTO/BL/26/00002


# Preparing notification body #


# Checking for device existence #


# User device exists #


Sending notification for permit to work: 434420


Generating AWS SNS Request


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/42b14ff2-d2a4-3b14-8154-ae16d46dc387


Unauthorized


Push notification failed to send to a device 4300.


# Push notification did not send #


### End Event Execution ###


### Start Event Execution ###


Message : {"EventName":"ASSIGNED_TO_NOTIFICATION","EventArgs":[{"Key":"AssignedIncidentID","Value":78910},{"Key":"AssignedToID","Value":5296}]}


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


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


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


Generating report.


Converted to byte file


PDF generation successfull


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


Sending Assigned To Whatsapp for IncidentId:78910


Osmo-x WhatsApp Message has been Sent


# Preparing notification body #


# Fetching devices bypassing preferences (Single System Fallback) #


# Checking for device existence #


# User device exists #


Sending Assigned To Notification for IncidentId:78910


Inside SendAppNotification Device Type: GCM


Generating AWS SNS Request


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/023fe420-0e17-3c42-828b-ad967204a8b0


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


# Push notification did not send #


### Ended processing Assigned to Notification 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 bypassing preferences (system event or unknown module) (Bulk) #


Executing sending notification to issuers through whatsapp


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


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000000561","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"ptw_assigned_to_generic_template_v4","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"P/GLTO/UDY/OCFC/BL/26/00001"},{"type":"text","text":"21-Aug-2026"},{"type":"text","text":"Blasting Work"},{"type":"text","text":"Council Bluffs"},{"type":"text","text":" "},{"type":"text","text":"Requested by Jukka Benites at 21-Aug-2026 04:21:24 PM"},{"type":"text","text":"Approve"},{"type":"text","text":"Annukka Northrup"},{"type":"text","text":"https://sandbox.oqsha.com/#/wp/view/211/434421"}]}]}}}


Osmo-x WhatsApp Message has been Sent


Executing sending push notification to the issuers


# Push Subject for Issuer P/GLTO/UDY/OCFC/BL/26/00001


# Preparing notification body #


# Checking for device existence #


# User device exists #


Sending notification for permit to work: 434421


Generating AWS SNS Request


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/3c93ae9b-7721-3519-a007-9edd132f15aa


Unauthorized


Push notification failed to send to a device 25593.


# Push notification did not send #


### End Event Execution ###


### Start Event Execution ###


Message : {"EventName":"TASK_CREATE_EHS_NOTIFICATION","EventArgs":[{"Key":"TaskId","Value":17303},{"Key":"OrgId","Value":211}]}


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


### Started processing for Task Creation Notification to site EHS Event ###


## Sending notification to Site EHS user ##


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


### Ended processing Task Creation Notification to site EHS Event ###


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


# Calling SendNotificationToTaskAssignees function for WhatsApp notification #


Sending WhatsApp notification for task assignment to user ID: 11697


Osmo-x WhatsApp Message has been Sent


# Preparing notification body #


# Fetching devices bypassing preferences (Single System Fallback) #


Message : {"EventName":"COMPLETED_BATCH","EventArgs":[{"Key":"BatchId","Value":2913}]}


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


# Calling SendNotificationToBatchParticipantsForCompletedStatus function for  whatsapp notification #


Executing completed notification function to batch participants


Generating certificate.


System.ArgumentNullException: Value cannot be null.
Parameter name: path4
   at System.IO.Path.Combine(String path1, String path2, String path3, String path4)
   at IncidentReporter.API.Helpers.ExportTrainingCertificateHelper.ExportCertificate(TrainingCertificateDTO participant, String outputAbsoluteFilePath, Int32 orgId) in C:\GitLab-Runner\builds\27n6lYj0J\0\incident-reporter\incident-reporter-api\IncidentReporter\IncidentReporter.API\Helpers\ExportTrainingCertificateHelper.cs:line 26
   at IncidentReporter.API.Helpers.ExportTrainingCertificateHelper.ExportCertificatePDFAsByteArray(TrainingCertificateDTO participant, Int32 orgId, Int32 batchId, Int32 participantId) in C:\GitLab-Runner\builds\27n6lYj0J\0\incident-reporter\incident-reporter-api\IncidentReporter\IncidentReporter.API\Helpers\ExportTrainingCertificateHelper.cs:line 117
   at IncidentReporter.NotificationSender.DAL.Events.Notifier.SendNotificationToBatchParticipantsForCompletedStatus(String eventName, Int64 batchId) in C:\GitLab-Runner\builds\27n6lYj0J\0\incident-reporter\incident-reporter-api\IncidentReporter\IncidentReporter.NotificationSender\DAL\Events\Notifier.cs:line 3552
   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 538


### End Event Execution ###


### Start Event Execution ###


Message : {"EventName":"NOTIFICATION_FOR_BATCH_COMPLETION_ROLE_USERS","EventArgs":[{"Key":"BatchId","Value":2913},{"Key":"OrganisationId","Value":264}]}


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


# Calling SendBatchCompletionRoleNotification for batchId=2913 organisationId=264 #


Using org-specific template for Org 264: Templates\OrgTemplates\264\Templates\BatchCompleteRoleTemplate.html


Using org-specific template for Org 264: Templates\OrgTemplates\264\Templates\BatchAbsenteesRoleTemplate.html


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


Reading and binding data to Email Template


Initializing Email Service Client


Generating Email Request


Training Batch Completed - Confined Space - Executive


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


--- Email response from Osmo-x is 201


Training Batch Absentees - Confined Space - Executive


## Batch Completion Main Emails Sent to 24 Target Role Users ##


## Batch Absentees Emails Sent to 24 Target Role Users ##


### 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: 9529 | Inspection: I/GLTO/GRR/RGF/26/00001 ##


Osmo-x WhatsApp Message has been Sent


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


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


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


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


## Sending Inspection WhatsApp Next Due Date Notification | UserId: 14339 | Inspection: I/GLTO/AKR/CM//26/00001 ##


## Sending Inspection WhatsApp Next Due Date Notification | UserId: 6618 | Inspection: I/GLTO/NIS/DMI/26/00001 ##


## Sending Inspection WhatsApp Next Due Date Notification | UserId: 6618 | Inspection: I/GLTO/NIS/ABI/26/00001 ##


## Sending Inspection WhatsApp Next Due Date Notification | UserId: 6618 | Inspection: I/GLTO/NIS/DMI/26/00002 ##


## Sending Inspection WhatsApp Next Due Date Notification | UserId: 4749 | Inspection: I/GLTO/NIS/AGI/26/00001 ##


## Sending Inspection WhatsApp Next Due Date Notification | UserId: 5047 | Inspection: I/GLTO/NIS/AGI/26/00001 ##


## Sending Inspection WhatsApp Next Due Date Notification | UserId: 3735 | Inspection: I/GLTO/AVA/PDP/26/00001 ##


## Sending Inspection WhatsApp Next Due Date Notification | UserId: 3735 | Inspection: I/GLTO/AVA/PDP/26/00002 ##


## Sending Inspection WhatsApp Next Due Date Notification | UserId: 3735 | Inspection: I/GLTO/AVA/PDP/26/00003 ##


## Sending Inspection WhatsApp Next Due Date Notification | UserId: 3735 | Inspection: I/GLTO/AVA/PDP/26/00004 ##


## Sending Inspection WhatsApp Next Due Date Notification | UserId: 3735 | Inspection: I/GLTO/AVA/PDP/26/00005 ##


## Sending Inspection WhatsApp Next Due Date Notification | UserId: 3735 | Inspection: I/GLTO/AVA/PDP/26/00006 ##


Osmo-x WhatsApp Message has been Sent


## Sending Inspection WhatsApp Next Due Date Notification | UserId: 3735 | Inspection: I/GLTO/AVA/PDP/26/00007 ##


## Sending Inspection WhatsApp Next Due Date Notification | UserId: 3735 | Inspection: I/GLTO/AVA/PDP/26/00008 ##


## Sending Inspection WhatsApp Next Due Date Notification | UserId: 3735 | Inspection: I/GLTO/AVA/PDP/26/00009 ##


## Sending Inspection WhatsApp Next Due Date Notification | UserId: 3735 | Inspection: I/GLTO/AVA/PDP/26/00010 ##


## Sending Inspection WhatsApp Next Due Date Notification | UserId: 3735 | Inspection: I/GLTO/AVA/PDP/26/00011 ##


## Sending Inspection WhatsApp Next Due Date Notification | UserId: 3735 | Inspection: I/GLTO/AVA/PDP/26/00012 ##


## Sending Inspection WhatsApp Next Due Date Notification | UserId: 3735 | Inspection: I/GLTO/AVA/PDP/26/00013 ##


## Sending Inspection WhatsApp Next Due Date Notification | UserId: 3735 | Inspection: I/GLTO/AVA/PDP/26/00014 ##


## Sending Inspection WhatsApp Next Due Date Notification | UserId: 3735 | Inspection: I/GLTO/AVA/PDP/26/00015 ##


## Sending Inspection WhatsApp Next Due Date Notification | UserId: 3735 | Inspection: I/GLTO/AVA/PDP/26/00016 ##


## Sending Inspection WhatsApp Next Due Date Notification | UserId: 3735 | Inspection: I/GLTO/AVA/PDP/26/00017 ##


## Sending Inspection WhatsApp Next Due Date Notification | UserId: 3735 | Inspection: I/GLTO/AVA/PDP/26/00018 ##


## Sending Inspection WhatsApp Next Due Date Notification | UserId: 3735 | Inspection: I/GLTO/AVA/PDP/26/00019 ##


## Sending Inspection WhatsApp Next Due Date Notification | UserId: 3735 | Inspection: I/GLTO/AVA/PDP/26/00020 ##


## Sending Inspection WhatsApp Next Due Date Notification | UserId: 3735 | Inspection: I/GLTO/AVA/PDP/26/00021 ##


## Sending Inspection WhatsApp Next Due Date Notification | UserId: 3735 | Inspection: I/GLTO/AVA/PDP/26/00022 ##


Osmo-x WhatsApp Message has been Sent


## Sending Inspection WhatsApp Next Due Date Notification | UserId: 3735 | Inspection: I/GLTO/AVA/PDP/26/00023 ##


## Sending Inspection WhatsApp Next Due Date Notification | UserId: 3891 | Inspection: I/GLTO/AVA/PDP/26/00001 ##


## Sending Inspection WhatsApp Next Due Date Notification | UserId: 3891 | Inspection: I/GLTO/AVA/PDP/26/00002 ##


## Sending Inspection WhatsApp Next Due Date Notification | UserId: 3891 | Inspection: I/GLTO/AVA/PDP/26/00003 ##


## Sending Inspection WhatsApp Next Due Date Notification | UserId: 3891 | Inspection: I/GLTO/AVA/PDP/26/00004 ##


## Sending Inspection WhatsApp Next Due Date Notification | UserId: 3891 | Inspection: I/GLTO/AVA/PDP/26/00005 ##


## Sending Inspection WhatsApp Next Due Date Notification | UserId: 3891 | Inspection: I/GLTO/AVA/PDP/26/00006 ##


## Sending Inspection WhatsApp Next Due Date Notification | UserId: 3891 | Inspection: I/GLTO/AVA/PDP/26/00007 ##


## Sending Inspection WhatsApp Next Due Date Notification | UserId: 3891 | Inspection: I/GLTO/AVA/PDP/26/00008 ##


## Sending Inspection WhatsApp Next Due Date Notification | UserId: 3891 | Inspection: I/GLTO/AVA/PDP/26/00009 ##


## Sending Inspection WhatsApp Next Due Date Notification | UserId: 3891 | Inspection: I/GLTO/AVA/PDP/26/00010 ##


## Sending Inspection WhatsApp Next Due Date Notification | UserId: 3891 | Inspection: I/GLTO/AVA/PDP/26/00011 ##


## Sending Inspection WhatsApp Next Due Date Notification | UserId: 3891 | Inspection: I/GLTO/AVA/PDP/26/00012 ##


## Sending Inspection WhatsApp Next Due Date Notification | UserId: 3891 | Inspection: I/GLTO/AVA/PDP/26/00013 ##


## Sending Inspection WhatsApp Next Due Date Notification | UserId: 3891 | Inspection: I/GLTO/AVA/PDP/26/00014 ##


## Sending Inspection WhatsApp Next Due Date Notification | UserId: 3891 | Inspection: I/GLTO/AVA/PDP/26/00015 ##


Osmo-x WhatsApp Message has been Sent


## Sending Inspection WhatsApp Next Due Date Notification | UserId: 3891 | Inspection: I/GLTO/AVA/PDP/26/00016 ##


## Sending Inspection WhatsApp Next Due Date Notification | UserId: 3891 | Inspection: I/GLTO/AVA/PDP/26/00017 ##


## Sending Inspection WhatsApp Next Due Date Notification | UserId: 3891 | Inspection: I/GLTO/AVA/PDP/26/00018 ##


## Sending Inspection WhatsApp Next Due Date Notification | UserId: 3891 | Inspection: I/GLTO/AVA/PDP/26/00019 ##


## Sending Inspection WhatsApp Next Due Date Notification | UserId: 3891 | Inspection: I/GLTO/AVA/PDP/26/00020 ##


## Sending Inspection WhatsApp Next Due Date Notification | UserId: 3891 | Inspection: I/GLTO/AVA/PDP/26/00021 ##


## Sending Inspection WhatsApp Next Due Date Notification | UserId: 3891 | Inspection: I/GLTO/AVA/PDP/26/00022 ##


## Sending Inspection WhatsApp Next Due Date Notification | UserId: 3891 | Inspection: I/GLTO/AVA/PDP/26/00023 ##


## Sending Inspection WhatsApp Next Due Date Notification | UserId: 3891 | Inspection: I/GLTO/AVA/PDP/26/00024 ##


## Sending Inspection WhatsApp Next Due Date Notification | UserId: 3891 | Inspection: I/GLTO/AVA/PDP/26/00025 ##


## Sending Inspection WhatsApp Next Due Date Notification | UserId: 3891 | Inspection: I/GLTO/AVA/PDP/26/00026 ##


## Sending Inspection WhatsApp Next Due Date Notification | UserId: 3891 | Inspection: I/GLTO/AVA/PDP/26/00027 ##


## Sending Inspection WhatsApp Next Due Date Notification | UserId: 3891 | Inspection: I/GLTO/AVA/PDP/26/00028 ##


## Sending Inspection WhatsApp Next Due Date Notification | UserId: 2896 | Inspection: I/GLTO/APA/DFE/26/00001 ##


## Sending Inspection WhatsApp Next Due Date Notification | UserId: 2896 | Inspection: I/GLTO/APA/CFE/26/00001 ##


## Sending Inspection WhatsApp Next Due Date Notification | UserId: 2896 | Inspection: I/GLTO/APA/FFE/26/00001 ##


Osmo-x WhatsApp Message has been Sent


## Sending Inspection WhatsApp Next Due Date Notification | UserId: 2896 | Inspection: I/GLTO/APA/FFE/26/00002 ##


## Sending Inspection WhatsApp Next Due Date Notification | UserId: 2896 | Inspection: I/GLTO/APA/FFE/26/00003 ##


## Sending Inspection WhatsApp Next Due Date Notification | UserId: 2896 | Inspection: I/GLTO/APA/DFE/26/00002 ##


## Sending Inspection WhatsApp Next Due Date Notification | UserId: 2935 | Inspection: I/GLTO/APA/DFE/26/00001 ##


## Sending Inspection WhatsApp Next Due Date Notification | UserId: 2935 | Inspection: I/GLTO/APA/CFE/26/00001 ##


## Sending Inspection WhatsApp Next Due Date Notification | UserId: 2935 | Inspection: I/GLTO/APA/FFE/26/00001 ##


## Sending Inspection WhatsApp Next Due Date Notification | UserId: 2935 | Inspection: I/GLTO/APA/FFE/26/00002 ##


## Sending Inspection WhatsApp Next Due Date Notification | UserId: 2935 | Inspection: I/GLTO/APA/FFE/26/00003 ##


## Sending Inspection WhatsApp Next Due Date Notification | UserId: 2935 | Inspection: I/GLTO/APA/DFE/26/00002 ##


## Sending Inspection WhatsApp Next Due Date Notification | UserId: 3736 | Inspection: I/GLTO/AVA/PDP/26/00024 ##


## Sending Inspection WhatsApp Next Due Date Notification | UserId: 3736 | Inspection: I/GLTO/AVA/PDP/26/00025 ##


## Sending Inspection WhatsApp Next Due Date Notification | UserId: 3736 | Inspection: I/GLTO/AVA/PDP/26/00026 ##


## Sending Inspection WhatsApp Next Due Date Notification | UserId: 3736 | Inspection: I/GLTO/AVA/PDP/26/00027 ##


## Sending Inspection WhatsApp Next Due Date Notification | UserId: 3736 | Inspection: I/GLTO/AVA/PDP/26/00028 ##


## Sending Inspection WhatsApp Next Due Date Notification | UserId: 7914 | Inspection: I/GLTO/AKR/PDP/26/00001 ##


### End Event Execution ###


### Start Event Execution ###


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


# Calling SendNotificationForValidationIssued function for  whatsapp and push notification #


Message payload: { FacultyUserName = Sacherby Markham, CourseName = ttt, BatchName = TEE_LAL_Sacherby Markham_25-07-2025_01, StartDate = 25-Jul-2025 01:43 PM, Location = Tomahawk, LinkText = https://oqsha.com/#/batches/view/194/158/?dlType=viewBatch, OrganisationName = Opera Limited American }


## Sending whatsapp notification to:+912000007341 ##


Osmo-x WhatsApp Message has been Sent


# Preparing notification body #


# Fetching devices bypassing preferences (Single System Fallback) #


Message payload: { FacultyUserName = Sacherby Markham, CourseName = ttt, BatchName = TEE_LAL_Sacherby Markham_25-07-2025_02, StartDate = 25-Jul-2025 01:43 PM, Location = Tomahawk, LinkText = https://oqsha.com/#/batches/view/194/158/?dlType=viewBatch, OrganisationName = Opera Limited American }


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


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


Message : {"EventName":"ASSIGNED_TO_NOTIFICATION","EventArgs":[{"Key":"AssignedIncidentID","Value":78911},{"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


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


Sending Assigned To Whatsapp for IncidentId:78911


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


### End Event Execution ###


### Start Event Execution ###


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


Sending Assigned To Whatsapp for IncidentId:78912


Osmo-x WhatsApp Message has been Sent


# Preparing notification body #


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


# Calling SendNotificationToIssuerForCreatingPermitToWork function for whatsapp and push notification #


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


Executing sending notification to issuers through whatsapp


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


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000001383","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"ptw_assigned_to_generic_template_v4","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"P/GLTO/MH9/TRUP/EL/26/00004"},{"type":"text","text":"22-Aug-2026"},{"type":"text","text":"Electrical Work"},{"type":"text","text":"Fleischmanns"},{"type":"text","text":" "},{"type":"text","text":"Requested by Nadasity Alderete at 21-Aug-2026 06:02:05 PM"},{"type":"text","text":"Issue"},{"type":"text","text":"Marlon Welton"},{"type":"text","text":"https://sandbox.oqsha.com/#/wp/view/211/434422"}]}]}}}


Executing sending push notification to the issuers


# Push Subject for Issuer P/GLTO/MH9/TRUP/EL/26/00004


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


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000001383","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"ptw_assigned_to_generic_template_v4","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"P/GLTO/MH9/TRUP/EL/26/00005"},{"type":"text","text":"22-Aug-2026"},{"type":"text","text":"Electrical Work"},{"type":"text","text":"Fleischmanns"},{"type":"text","text":" "},{"type":"text","text":"Requested by Nadasity Alderete at 21-Aug-2026 06:04:03 PM"},{"type":"text","text":"Issue"},{"type":"text","text":"Marlon Welton"},{"type":"text","text":"https://sandbox.oqsha.com/#/wp/view/211/434423"}]}]}}}


# Push Subject for Issuer P/GLTO/MH9/TRUP/EL/26/00005


### End Event Execution ###


### Start Event Execution ###


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


# Calling AssetCertificationReminderNotification function for email notification #


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


Reading and binding data to Email Template


Error occurred while sending email using Osmo-x.


System.IO.FileNotFoundException: Could not find file 'D:\App-Data\iis\api.incidentreporter365.com\Apps\NotificationSender\asset_certification_reminder.html'.
File name: 'D:\App-Data\iis\api.incidentreporter365.com\Apps\NotificationSender\asset_certification_reminder.html'
   at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
   at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)
   at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)
   at System.IO.StreamReader..ctor(String path, Encoding encoding, Boolean detectEncodingFromByteOrderMarks, Int32 bufferSize, Boolean checkHost)
   at System.IO.File.InternalReadAllText(String path, Encoding encoding, Boolean checkHost)
   at System.IO.File.ReadAllText(String path)
   at IncidentReporter.NotificationSender.EmailHelper.ReadFile(String template, String rootEmailTemplatePath) in C:\GitLab-Runner\builds\27n6lYj0J\0\incident-reporter\incident-reporter-api\IncidentReporter\IncidentReporter.NotificationSender\Helpers\EmailHelper.cs:line 183
   at IncidentReporter.NotificationSender.EmailHelper.SendEmail(String template, String subject, Object args, String toAddress, String ccAddress, List`1 reportAttachments, List`1 additionalAttachmentsFilePath, String rootEmailTemplatePath, OrganisationFromConfig organisationFromAddress) in C:\GitLab-Runner\builds\27n6lYj0J\0\incident-reporter\incident-reporter-api\IncidentReporter\IncidentReporter.NotificationSender\Helpers\EmailHelper.cs:line 57


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


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


Initializing Email Service Client


Generating Email Request


Asset Certification Renewal Reminder


--- 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 bypassing preferences (system event or unknown module) (Bulk) #


Executing sending notification to issuers through whatsapp


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


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000001383","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"ptw_assigned_to_generic_template_v4","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"P/GLTO/MH9/TRUP/EL/26/00006"},{"type":"text","text":"22-Aug-2026"},{"type":"text","text":"Electrical Work"},{"type":"text","text":"Fleischmanns"},{"type":"text","text":" "},{"type":"text","text":"Requested by Nadasity Alderete at 21-Aug-2026 11:27:49 PM"},{"type":"text","text":"Issue"},{"type":"text","text":"Marlon Welton"},{"type":"text","text":"https://sandbox.oqsha.com/#/wp/view/211/434424"}]}]}}}


Osmo-x WhatsApp Message has been Sent


Executing sending push notification to the issuers


# Push Subject for Issuer P/GLTO/MH9/TRUP/EL/26/00006


# Preparing notification body #


### End Event Execution ###


### Start Event Execution ###


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


# Calling SendNotificationToEitherReviewerOrApprover function for  whatsapp and push notification #


Starting Execution for whatsapp notification for users


Executing sending notification to users through whatsapp


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


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000010272","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"ptw_assigned_to_generic_template_v4","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"P/GLTO/MH9/TRUP/EL/26/00006"},{"type":"text","text":"22-Aug-2026"},{"type":"text","text":"Electrical Work"},{"type":"text","text":"Fleischmanns"},{"type":"text","text":" "},{"type":"text","text":"Issued by Marlon Welton at 22-Aug-2026 12:05:31 AM"},{"type":"text","text":"Approve"},{"type":"text","text":"Almus Toribio"},{"type":"text","text":"https://sandbox.oqsha.com/#/wp/view/211/434424"}]}]}}}


# Push Subject P/GLTO/MH9/TRUP/EL/26/00006


# string body 22-Aug-2026, Marlon Welton,


Object reference not set to an instance of an object.


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000006347","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"ptw_assigned_to_generic_template_v4","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"P/GLTO/MH9/TRUP/EL/26/00006"},{"type":"text","text":"22-Aug-2026"},{"type":"text","text":"Electrical Work"},{"type":"text","text":"Fleischmanns"},{"type":"text","text":" "},{"type":"text","text":"Approved by Almus Toribio at 22-Aug-2026 12:08:29 AM"},{"type":"text","text":"Authorize"},{"type":"text","text":"Jakobe Cooke"},{"type":"text","text":"https://sandbox.oqsha.com/#/wp/view/211/434424"}]}]}}}


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


# Calling SendNotificationToAllExceptReviewer function for whatsapp and push notification #


User Ids for notification: [23175]


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


Starting Execution for whatsapp notification for all


Sending notification to requester regarding permit to work 434424


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000007330","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"ptw_generic_status_template_v4","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"P/GLTO/MH9/TRUP/EL/26/00006"},{"type":"text","text":"22-Aug-2026"},{"type":"text","text":"Electrical Work"},{"type":"text","text":"Fleischmanns"},{"type":"text","text":" "},{"type":"text","text":"Authorized by Jakobe Cooke at 22-Aug-2026 12:09:13 AM"},{"type":"text","text":"Start Work"},{"type":"text","text":"https://sandbox.oqsha.com/#/wp/view/211/434424"}]}]}}}


Osmo-x WhatsApp Message has been Sent


Starting Execution for push notification for all


# Preparing notification body #


# Push Subject for Issuer P/GLTO/MH9/TRUP/EL/26/00006


# string body 22-Aug-2026, Jakobe Cooke, P/GLTO/MH9/TRUP/EL/26/00006, 22-Aug-2026


### End Event Execution ###


### Start Event Execution ###


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


# Calling SendNotificationToIssuersForExtensionPTW function for whatsapp and push notification #


Executing sending notification to issuers for extended PTW through whatsapp


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


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000001383","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"ptw_assigned_to_generic_template_v4","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"P/GLTO/MH9/TRUP/EL/26/00006"},{"type":"text","text":"22-Aug-2026"},{"type":"text","text":"Electrical Work"},{"type":"text","text":"Fleischmanns"},{"type":"text","text":" "},{"type":"text","text":"Extension Requested by Nadasity Alderete for 1 hour(s) at 22-Aug-2026 12:12:36 AM"},{"type":"text","text":"Extension Issue"},{"type":"text","text":"Marlon Welton"},{"type":"text","text":"https://sandbox.oqsha.com/#/wp/view/211/434424"}]}]}}}


Executing sending push notification to the issuers for extended PTW


# string body Nadasity Alderete, 1 hour(s), P/GLTO/MH9/TRUP/EL/26/00006


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


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000010272","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"ptw_assigned_to_generic_template_v4","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"P/GLTO/MH9/TRUP/EL/26/00006"},{"type":"text","text":"22-Aug-2026"},{"type":"text","text":"Electrical Work"},{"type":"text","text":"Fleischmanns"},{"type":"text","text":" "},{"type":"text","text":"Extension Issued by Marlon Welton for 1 hour(s) at 22-Aug-2026 12:13:25 AM"},{"type":"text","text":"Extension Approve"},{"type":"text","text":"Almus Toribio"},{"type":"text","text":"https://sandbox.oqsha.com/#/wp/view/211/434424"}]}]}}}


Osmo-x WhatsApp Message has been Sent


# Preparing notification body #


# string body Nadasity Alderete, 1 hour(s), P/GLTO/MH9/TRUP/EL/26/00006,,


### End Event Execution ###


### Start Event Execution ###


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


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000006347","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"ptw_assigned_to_generic_template_v4","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"P/GLTO/MH9/TRUP/EL/26/00006"},{"type":"text","text":"22-Aug-2026"},{"type":"text","text":"Electrical Work"},{"type":"text","text":"Fleischmanns"},{"type":"text","text":" "},{"type":"text","text":"Extension Approved by Almus Toribio for 1 hour(s) at 22-Aug-2026 12:14:36 AM"},{"type":"text","text":"Extension Authorize"},{"type":"text","text":"Jakobe Cooke"},{"type":"text","text":"https://sandbox.oqsha.com/#/wp/view/211/434424"}]}]}}}


# Push Subject for Issuer P/GLTO/MH9/TRUP/EL/26/00006


# string body Nadasity Alderete, 1 hour(s), P/GLTO/MH9/TRUP/EL/26/00006,Marlon Welton,


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


# Calling SendNotificationToAllExceptReviewerForExtendedPTW function for  whatsapp and push notification #


Starting Execution for whatsapp notification for all


Sending notification to requester regarding permit to work 434424


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000007330","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"ptw_generic_status_template_v4","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"P/GLTO/MH9/TRUP/EL/26/00006"},{"type":"text","text":"22-Aug-2026"},{"type":"text","text":"Electrical Work"},{"type":"text","text":"Fleischmanns"},{"type":"text","text":" "},{"type":"text","text":"Extension Authorized by Jakobe Cooke for 1 hour(s) at 22-Aug-2026 12:15:25 AM"},{"type":"text","text":"Start Work"},{"type":"text","text":"https://sandbox.oqsha.com/#/wp/view/211/434424"}]}]}}}


# string body Jakobe Cooke, 1 hour(s), P/GLTO/MH9/TRUP/EL/26/00006