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


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


### Start Event Execution ###


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


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


# Calling SendNotificationToBatchParticipantsForCompletedStatus function for  whatsapp notification #


Executing completed notification function to batch participants


Sending completed batch notification to batch participant14358


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000005507","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"oqsha_completed_batch_v5","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"Umarenzi"},{"type":"text","text":"Safety Leadership & Behavioral Safety - Batch-1"},{"type":"text","text":"Safety Leadership & Behavioral Safety"},{"type":"text","text":"Neveu"},{"type":"text","text":"0 Week(s) 0 Day(s) 2 Hour(s)"},{"type":"text","text":"No faculty"},{"type":"text","text":"August 27, 2026  10:00:40 AM"},{"type":"text","text":"https://oqsha.com/#/batches/view/264/284/2992?dlType=viewBatch"}]}]}}}


Osmo-x WhatsApp Message has been Sent


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


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


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


# Calling SendBatchCompletionRoleNotification for batchId=2992 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 - Safety Leadership & Behavioral Safety

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


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


--- Email response from Osmo-x is 201


Training Batch Absentees - Safety Leadership & Behavioral Safety


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


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


### Start Event Execution ###


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


### Started processing for Incident Submitted Event ###


Using org-specific template for Org 211: Templates\OrgTemplates\211\Templates\IncidentSubmittedNotificationEmailTemplate.html


Executing email notifications to Incident Approvers about the Pending approval


FAC FIR Raised – Incident UID: IMF/GLTO/GRR/FAC/26/00001 | Site: Alanreed


Executing whatsapp notifications to Incident Approvers about the Pending approval


Sending WhatsApp Notification for Incident Approval to User: 1795


Osmo-x WhatsApp Message has been Sent


# Preparing notification body #


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


### Ended processing Incident Submitted Event ###


### End Event Execution ###


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


### Started processing for Incident Validated Event ###


Initializing Email Service Client


Generating Email Request


Incident Validated – Incident UID: IMF/GLTO/GRR/FAC/26/00001 | Site: Alanreed


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


--- Email response from Osmo-x is 201


Sending WhatsApp for Incident Validation to User: 1955


# Checking for device existence #


# User device exists #


Sending Incident Validated Notification for Incident Id:1336


Inside SendAppNotification Device Type: GCM


Generating AWS SNS Request


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Test/cea9d393-8e17-395c-b74f-7c0c3521bc2f


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


# Push notification did not send #


### Ended processing Incident Validated Event ###


### End Event Execution ###


### Start Event Execution ###


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


### Started processing for Incident Investigation Required notification ###


Executing email notifications for Incident Investigation Required


Using org-specific template for Org 211: Templates\OrgTemplates\211\Templates\IncidentInvestigationRequiredNotification.html


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


Reading and binding data to Email Template


Initializing Email Service Client


Generating Email Request


Investigation Required - (FAC) FIR Released | Incident UID: IMF/GLTO/GRR/FAC/26/00001 | Site: Alanreed


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


--- Email response from Osmo-x is 201


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


### Started processing for Incident Investigation In Progress Event ###


Executing email notifications to Incident Approvers about the Pending approval


Incident IMF/GLTO/GRR/FAC/26/00001 has been validated, form a team to investigate


Executing whatsapp notifications to Incident Approvers about the Pending approval


Sending WhatsApp for Incident Approval to User: 2034


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 #


Sending Investigation In Progress Notification for Investigation Id:635


Inside SendAppNotification Device Type: GCM


Generating AWS SNS Request


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/7a5b486b-170d-338c-91ba-2b36bfac86ff


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


# Push notification did not send #


### Ended processing Incident Investigation In Progress Event ###


### End Event Execution ###


### Start Event Execution ###


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


### Started processing for Investigation Submitted Event ###


Using org-specific template for Org 211: Templates\OrgTemplates\211\Templates\InvestigationSubmittedNotificationEmailTemplate.html


Executing email notifications to Investigation Approvers about the Pending approval


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


Reading and binding data to Email Template


Initializing Email Service Client


Generating Email Request


Incident Investigation Submitted – Incident UID: IMF/GLTO/GRR/FAC/26/00001 | Site: Alanreed


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


--- Email response from Osmo-x is 201


Executing whatsapp notifications to Investigation Approvers about the Pending approval


Sending WhatsApp for Investigation Approval to User: 1795


Osmo-x WhatsApp Message has been Sent


# Preparing notification body #


### Ended processing Investigation Submitted Event ###


### End Event Execution ###


### Start Event Execution ###


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


### Started processing for Investigation Validated Event ###


Incident Investigation Validated – Incident UID: IMF/GLTO/GRR/FAC/26/00001 | Site: Alanreed


Sending WhatsApp for Incident Approval to User: 1955


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


# Checking for device existence #


# User device exists #


Sending Investigation Validated Notification for Investigation Id:635


Inside SendAppNotification Device Type: GCM


Generating AWS SNS Request


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Test/cea9d393-8e17-395c-b74f-7c0c3521bc2f


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


# Push notification did not send #


### Ended processing Investigation Validated Event ###


### End Event Execution ###


### Start Event Execution ###


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


### Started processing for Investigation Final Report Released - External User ###


Executing email notifications to external users about the final report release


PDF generation completed successfully.


Incident PDF generation successfull


Using org-specific template for Org 211: Templates\OrgTemplates\211\Templates\ExternalUserInvestigationFinalReportReleasedTemplate.html


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


Reading and binding data to Email Template


Initializing Email Service Client


Generating Email Request


Incident Investigation Released – Incident UID: IMF/GLTO/GRR/FAC/26/00001 | Site: Alanreed


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


--- Email response from Osmo-x is 201


### Ended processing Investigation Final Report Released - External User ###


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


### Started processing for Incident Submitted Event ###


Using org-specific template for Org 211: Templates\OrgTemplates\211\Templates\IncidentSubmittedNotificationEmailTemplate.html


Executing email notifications to Incident Approvers about the Pending approval


FAC FIR Raised – Incident UID: IMF/GLTO/GRR/FAC/26/00002 | Site: Alanreed


Executing whatsapp notifications to Incident Approvers about the Pending approval


Sending WhatsApp Notification for Incident Approval to User: 1955


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 #


Sending Incident Submitted Notification for Incident Id:1337


Inside SendAppNotification Device Type: GCM


Generating AWS SNS Request


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Test/cea9d393-8e17-395c-b74f-7c0c3521bc2f


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


# Push notification did not send #


### Ended processing Incident Submitted Event ###


### End Event Execution ###


### Start Event Execution ###


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


### Started processing for Incident Validated Event ###


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


Reading and binding data to Email Template


Initializing Email Service Client


Generating Email Request


Incident Validated – Incident UID: IMF/GLTO/GRR/FAC/26/00002 | Site: Alanreed


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


--- Email response from Osmo-x is 201


Sending WhatsApp for Incident Validation to User: 1795


Osmo-x WhatsApp Message has been Sent


# Preparing notification body #


### Ended processing Incident Validated Event ###


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


### Started processing for Incident Investigation Required notification ###


Executing email notifications for Incident Investigation Required


Using org-specific template for Org 211: Templates\OrgTemplates\211\Templates\IncidentInvestigationRequiredNotification.html


Investigation Required - (FAC) FIR Released | Incident UID: IMF/GLTO/GRR/FAC/26/00002 | Site: Alanreed


### End Event Execution ###


### Start Event Execution ###


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


### Started processing for Incident Investigation In Progress Event ###


Executing email notifications to Incident Approvers about the Pending approval


Initializing Email Service Client


Generating Email Request


Incident IMF/GLTO/GRR/FAC/26/00002 has been validated, form a team to investigate


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


--- Email response from Osmo-x is 201


Executing whatsapp notifications to Incident Approvers about the Pending approval


Sending WhatsApp for Incident Approval to User: 1955


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 #


Sending Investigation In Progress Notification for Investigation Id:636


Inside SendAppNotification Device Type: GCM


Generating AWS SNS Request


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Test/cea9d393-8e17-395c-b74f-7c0c3521bc2f


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


# Push notification did not send #


### Ended processing Incident Investigation In Progress Event ###


### End Event Execution ###


### Start Event Execution ###


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


### Started processing for Investigation Submitted Event ###


Using org-specific template for Org 211: Templates\OrgTemplates\211\Templates\InvestigationSubmittedNotificationEmailTemplate.html


Executing email notifications to Investigation Approvers about the Pending approval


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


Reading and binding data to Email Template


Initializing Email Service Client


Generating Email Request


Incident Investigation Submitted – Incident UID: IMF/GLTO/GRR/FAC/26/00002 | Site: Alanreed


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


--- Email response from Osmo-x is 201


Executing whatsapp notifications to Investigation Approvers about the Pending approval


Sending WhatsApp for Investigation Approval to User: 1955


Osmo-x WhatsApp Message has been Sent


# Preparing notification body #


# Checking for device existence #


# User device exists #


Sending Investigation Submitted Notification for Investigation Id:636


Generating AWS SNS Request


Unauthorized


# Push notification did not send #


### Ended processing Investigation Submitted Event ###


### End Event Execution ###


### Start Event Execution ###


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


### Started processing for Investigation Validated Event ###


Initializing Email Service Client


Generating Email Request


Incident Investigation Validated – Incident UID: IMF/GLTO/GRR/FAC/26/00002 | Site: Alanreed


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


--- Email response from Osmo-x is 201


Sending WhatsApp for Incident Approval to User: 1795


Osmo-x WhatsApp Message has been Sent


# Preparing notification body #


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


### Ended processing Investigation Validated Event ###


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


### Started processing for Investigation Final Report Released - External User ###


Executing email notifications to external users about the final report release


PDF generation completed successfully.


Incident PDF generation successfull


Using org-specific template for Org 211: Templates\OrgTemplates\211\Templates\ExternalUserInvestigationFinalReportReleasedTemplate.html


Incident Investigation Released – Incident UID: IMF/GLTO/GRR/FAC/26/00002 | Site: Alanreed


### Ended processing Investigation Final Report Released - External User ###


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


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":"27-Aug-2026"},{"type":"text","text":"Cold work"},{"type":"text","text":"Meadow Oaks"},{"type":"text","text":" "},{"type":"text","text":"Requested by Ana Eaton at 27-Aug-2026 11:15:38 AM"},{"type":"text","text":"Issue"},{"type":"text","text":"Albertha Keith"},{"type":"text","text":"https://sandbox.oqsha.com/#/wp/view/207/438766"}]}]}}}


Osmo-x WhatsApp Message has been Sent


Executing sending push notification to the issuers


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


Inside SendAppNotification Device Type: APNS


Generating AWS SNS Request


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/APNS/Oqsha-IOS-Production/3b58802e-2154-35ce-bdda-eb3a4ac6ccf6


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


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


### Started processing for Incident Submitted Event ###


Using org-specific template for Org 211: Templates\OrgTemplates\211\Templates\IncidentSubmittedNotificationEmailTemplate.html


Executing email notifications to Incident Approvers about the Pending approval


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


Reading and binding data to Email Template


Initializing Email Service Client


Generating Email Request


FAC FIR Raised – Incident UID: IMF/GLTO/GRR/FAC/26/00003 | Site: Alanreed


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


--- Email response from Osmo-x is 201


Executing whatsapp notifications to Incident Approvers about the Pending approval


Sending WhatsApp Notification for Incident Approval to User: 1955


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 #


Sending Incident Submitted Notification for Incident Id:1338


Generating AWS SNS Request


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Test/cea9d393-8e17-395c-b74f-7c0c3521bc2f


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


# Push notification did not send #


### Ended processing Incident Submitted Event ###


### End Event Execution ###


### Start Event Execution ###


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


### Started processing for Incident Validated Event ###


Initializing Email Service Client


Generating Email Request


Incident Validated – Incident UID: IMF/GLTO/GRR/FAC/26/00003 | Site: Alanreed


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


--- Email response from Osmo-x is 201


Sending WhatsApp for Incident Validation to User: 1795


Osmo-x WhatsApp Message has been Sent


# Preparing notification body #


### Ended processing Incident Validated Event ###


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


### Started processing for Incident Investigation Required notification ###


Executing email notifications for Incident Investigation Required


Using org-specific template for Org 211: Templates\OrgTemplates\211\Templates\IncidentInvestigationRequiredNotification.html


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


Reading and binding data to Email Template


Investigation Required - (FAC) FIR Released | Incident UID: IMF/GLTO/GRR/FAC/26/00003 | Site: Alanreed


### End Event Execution ###


### Start Event Execution ###


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


### Started processing for Incident Investigation In Progress Event ###


Executing email notifications to Incident Approvers about the Pending approval


Initializing Email Service Client


Generating Email Request


Incident IMF/GLTO/GRR/FAC/26/00003 has been validated, form a team to investigate


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


--- Email response from Osmo-x is 201


Executing whatsapp notifications to Incident Approvers about the Pending approval


Sending WhatsApp for Incident Approval to User: 1955


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 #


Sending Investigation In Progress Notification for Investigation Id:637


Inside SendAppNotification Device Type: GCM


Generating AWS SNS Request


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Test/cea9d393-8e17-395c-b74f-7c0c3521bc2f


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


# Push notification did not send #


### Ended processing Incident Investigation In Progress Event ###


### End Event Execution ###


### Start Event Execution ###


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


### Started processing for Investigation Submitted Event ###


Using org-specific template for Org 211: Templates\OrgTemplates\211\Templates\InvestigationSubmittedNotificationEmailTemplate.html


Executing email notifications to Investigation Approvers about the Pending approval


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


Reading and binding data to Email Template


Initializing Email Service Client


Generating Email Request


Incident Investigation Submitted – Incident UID: IMF/GLTO/GRR/FAC/26/00003 | Site: Alanreed


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


--- Email response from Osmo-x is 201


Executing whatsapp notifications to Investigation Approvers about the Pending approval


Sending WhatsApp for Investigation Approval to User: 1955


Osmo-x WhatsApp Message has been Sent


# Preparing notification body #


# Checking for device existence #


# User device exists #


Sending Investigation Submitted Notification for Investigation Id:637


Generating AWS SNS Request


Unauthorized


# Push notification did not send #


### Ended processing Investigation Submitted Event ###


### End Event Execution ###


### Start Event Execution ###


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


### Started processing for Investigation Validated Event ###


Initializing Email Service Client


Generating Email Request


Incident Investigation Validated – Incident UID: IMF/GLTO/GRR/FAC/26/00003 | Site: Alanreed


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


--- Email response from Osmo-x is 201


Sending WhatsApp for Incident Approval to User: 1795


Osmo-x WhatsApp Message has been Sent


# Preparing notification body #


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


### Ended processing Investigation Validated Event ###


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


### Started processing for Investigation Final Report Released - External User ###


Executing email notifications to external users about the final report release


PDF generation completed successfully.


Incident PDF generation successfull


Using org-specific template for Org 211: Templates\OrgTemplates\211\Templates\ExternalUserInvestigationFinalReportReleasedTemplate.html


Incident Investigation Released – Incident UID: IMF/GLTO/GRR/FAC/26/00003 | Site: Alanreed


### Ended processing Investigation Final Report Released - External User ###


### End Event Execution ###


### Start Event Execution ###


Executing email notifications to Investigation Approvers about the Pending approval


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


Reading and binding data to Email Template


Initializing Email Service Client


Generating Email Request


Incident Investigation Validated – Incident UID: ZD72LR | Site: Weldona


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


--- Email response from Osmo-x is 201


Executing whatsapp notifications to Investigation Approvers about the Pending approval


Sending WhatsApp for Incident Approval to User: 1955


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000000713","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"oqsha_investigation_validation_v2","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"Renard Whatley"},{"type":"text","text":"ZD72LR"},{"type":"text","text":"Dalvin Piatt"},{"type":"text","text":"21-Aug-2026 05:15:00 PM"},{"type":"text","text":"Weldona"},{"type":"text","text":"Dated on 21.08.2026 time 5.15 pm  NTA Part-1 podium area Tower-1 South Side. One concrete piece fallen from height and injured one worker head(deep laceration over right frontal bone-(Skull)"},{"type":"text","text":"0"},{"type":"text","text":"https://oqsha.com/#/incident-management/report-investigation/view/211/634?dlType=viewInvestigation"},{"type":"text","text":"Oqsha Team"}]}]}}}


Osmo-x WhatsApp Message has been Sent


# Preparing notification body #


# Checking for device existence #


# User device exists #


Sending Investigation Validated Notification for Investigation Id:634


Inside SendAppNotification Device Type: GCM


Generating AWS SNS Request


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Test/cea9d393-8e17-395c-b74f-7c0c3521bc2f


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


# Push notification did not send #


### Ended processing Investigation Validated Event ###


### End Event Execution ###


### Start Event Execution ###


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


### Started processing for Investigation Final Report Released - External User ###


Executing email notifications to external users about the final report release


PDF generation completed successfully.


Incident PDF generation successfull


Using org-specific template for Org 211: Templates\OrgTemplates\211\Templates\ExternalUserInvestigationFinalReportReleasedTemplate.html


Initializing Email Service Client


Generating Email Request


Incident Investigation Released – Incident UID: ZD72LR | Site: Weldona


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


--- Email response from Osmo-x is 201


### Ended processing Investigation Final Report Released - External User ###


Message : {"EventName":"ASSIGNED_TO_NOTIFICATION","EventArgs":[{"Key":"AssignedIncidentID","Value":79137},{"Key":"AssignedToID","Value":881}]}


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


### Start Event Execution ###


Generating report.


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


### End Event Execution ###


Converted to byte file


PDF generation successfull


## Sending email to Sacherby Markham, UserId : 881 for assigned to notification ##


Sending Assigned To Email for IncidentId:79137


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


Reading and binding data to Email Template


Initializing Email Service Client


Generating Email Request


A Ticket T/MIRA/EEE/26/00001 is assigned to you related to 'EHS-Accident/Incident'


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


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


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/26/00001"},{"type":"text","text":"27-Aug-2026"},{"type":"text","text":"Blasting Work"},{"type":"text","text":"Robertsdale"},{"type":"text","text":" "},{"type":"text","text":"Requested by Randal Jessup at 27-Aug-2026 12:57:22 PM"},{"type":"text","text":"Review"},{"type":"text","text":"Elizabet Patty"},{"type":"text","text":"https://sandbox.oqsha.com/#/wp/view/204/438767"}]}]}}}


Executing sending push notification to the issuers


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


# Checking for device existence #


# User device exists #


Sending notification for permit to work: 438767


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


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000008454","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/TXG/SH/26/00001"},{"type":"text","text":"27-Aug-2026"},{"type":"text","text":"Shaft Activity"},{"type":"text","text":"Vinings"},{"type":"text","text":" "},{"type":"text","text":"Requested by Aaden Papp at 27-Aug-2026 02:40:50 PM"},{"type":"text","text":"Approve"},{"type":"text","text":"Alasdair Ecker"},{"type":"text","text":"https://sandbox.oqsha.com/#/wp/view/211/438768"}]}]}}}


Osmo-x WhatsApp Message has been Sent


Executing sending push notification to the issuers


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


# Preparing notification body #


# Checking for device existence #


# User device exists #


Sending notification for permit to work: 438768


Inside SendAppNotification Device Type: GCM


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 #


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


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


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/TXG/SH/26/00001"},{"type":"text","text":"27-Aug-2026"},{"type":"text","text":"Shaft Activity"},{"type":"text","text":"Vinings"},{"type":"text","text":" "},{"type":"text","text":"Approved by Alasdair Ecker at 27-Aug-2026 02:41:54 PM"},{"type":"text","text":"Authorize"},{"type":"text","text":"Acie Dandrea"},{"type":"text","text":"https://sandbox.oqsha.com/#/wp/view/211/438768"}]}]}}}


Osmo-x WhatsApp Message has been Sent


# Preparing notification body #


# Push Subject P/GLTO/VIP/TXG/SH/26/00001


# string body 27-Aug-2026, ,


# Checking for device existence #


# User device exists #


Generating AWS SNS Request


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


Unauthorized


Push notification failed to send to a device 25692.


# Push notification did not send #


Sending notification for permit to work: 438768


Inside SendAppNotification Device Type: GCM


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/aa10859f-11fb-37cc-a995-c797c9349f0f


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


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


Push notification failed to send to a device 26405.


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/1ff6b01b-1ece-34c3-b343-63628887a4f9


Push notification failed to send to a device 15667.


### 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: [9556]


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


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000008204","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/VIP/TXG/SH/26/00001"},{"type":"text","text":"27-Aug-2026"},{"type":"text","text":"Shaft Activity"},{"type":"text","text":"Vinings"},{"type":"text","text":" "},{"type":"text","text":"Authorized by Acie Dandrea at 27-Aug-2026 02:42:53 PM"},{"type":"text","text":"Start Work"},{"type":"text","text":"https://sandbox.oqsha.com/#/wp/view/211/438768"}]}]}}}


Osmo-x WhatsApp Message has been Sent


Starting Execution for push notification for all


# Preparing notification body #


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


# string body 27-Aug-2026, Acie Dandrea, P/GLTO/VIP/TXG/SH/26/00001, 27-Aug-2026


# Checking for device existence #


# User device exists #


Sending permit to work Notification for permit id: 438768


Inside SendAppNotification Device Type: GCM


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 #


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.


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/1ff6b01b-1ece-34c3-b343-63628887a4f9


Push notification failed to send to a device 15667.


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


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/26/00002"},{"type":"text","text":"27-Aug-2026"},{"type":"text","text":"Blasting Work"},{"type":"text","text":"Robertsdale"},{"type":"text","text":" "},{"type":"text","text":"Requested by Randal Jessup at 27-Aug-2026 02:48:32 PM"},{"type":"text","text":"Review"},{"type":"text","text":"Elizabet Patty"},{"type":"text","text":"https://sandbox.oqsha.com/#/wp/view/204/438769"}]}]}}}


Osmo-x WhatsApp Message has been Sent


Executing sending push notification to the issuers


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


# Preparing notification body #


# Checking for device existence #


# User device exists #


Sending notification for permit to work: 438769


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 438770


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/WH/26/00001"},{"type":"text","text":"27-Aug-2026"},{"type":"text","text":"Work At Height"},{"type":"text","text":"Robertsdale"},{"type":"text","text":" "},{"type":"text","text":"Requested by Randal Jessup at 27-Aug-2026 02:49:05 PM"},{"type":"text","text":"Review"},{"type":"text","text":"Elizabet Patty"},{"type":"text","text":"https://sandbox.oqsha.com/#/wp/view/204/438770"}]}]}}}


Osmo-x WhatsApp Message has been Sent


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


# Preparing notification body #


# Checking for device existence #


# User device exists #


Sending notification for permit to work: 438770


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 438771


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/AFCG/HW/26/00001"},{"type":"text","text":"27-Aug-2026"},{"type":"text","text":"Hot Work"},{"type":"text","text":"Robertsdale"},{"type":"text","text":" "},{"type":"text","text":"Requested by Randal Jessup at 27-Aug-2026 02:52:04 PM"},{"type":"text","text":"Review"},{"type":"text","text":"Elizabet Patty"},{"type":"text","text":"https://sandbox.oqsha.com/#/wp/view/204/438771"}]}]}}}


Executing sending push notification to the issuers


# Push Subject for Issuer P/BEAT/COM/AFCG/HW/26/00001


Sending notification for permit to work: 438771


Inside SendAppNotification Device Type: GCM


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


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


# Checking for device existence #


# User device exists #


Generating AWS SNS Request


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


Unauthorized


Push notification failed to send to a device 26335.


### End Event Execution ###


### Start Event Execution ###


Message : {"EventName":"ADD_APP_USER","EventArgs":[{"Key":"DisplayName","Value":"Elizabet Patty"},{"Key":"Password","Value":"Oqsha@123"},{"Key":"OrganisationName","Value":"Heartbeam Inc."},{"Key":"UserUid","Value":"samar"},{"Key":"UserDivisions","Value":"Environmental, Fire, First Aid, Hazard, Incident, Near Miss, Unsafe Act, Unsafe Condition"},{"Key":"UserIncidentSites","Value":"Robertsdale"},{"Key":"Email","Value":""},{"Key":"MobileNumber","Value":"+912000003468"},{"Key":"WhatsAppNumber","Value":"+912000003468"}]}


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


### Started Event for Add App User Email ###


Calling Send Email Function for Add User Email


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


No email addresses passed.


Sending welcome WhatsApp notification to: +912000003468


Osmo-x WhatsApp Message has been Sent


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


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000003468","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/AMD/NW/26/00001"},{"type":"text","text":"27-Aug-2026"},{"type":"text","text":"Night Work"},{"type":"text","text":"Robertsdale"},{"type":"text","text":" "},{"type":"text","text":"Requested by Randal Jessup at 27-Aug-2026 03:00:36 PM"},{"type":"text","text":"Review"},{"type":"text","text":"Elizabet Patty"},{"type":"text","text":"https://sandbox.oqsha.com/#/wp/view/204/438772"}]}]}}}


Executing sending push notification to the issuers


# Push Subject for Issuer P/BEAT/COM/AMD/NW/26/00001


# Preparing notification body #


### 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: [1778,2552,4258]


Starting Execution for whatsapp notification for all


Sending notification to requester regarding permit to work 438772


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"918888888882","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/BEAT/COM/AMD/NW/26/00001"},{"type":"text","text":"27-Aug-2026"},{"type":"text","text":"Night Work"},{"type":"text","text":"Robertsdale"},{"type":"text","text":" "},{"type":"text","text":"Reviewed by Elizabet Patty at 27-Aug-2026 03:01:17 PM"},{"type":"text","text":"Start Work"},{"type":"text","text":"https://sandbox.oqsha.com/#/wp/view/204/438772"}]}]}}}


Osmo-x WhatsApp Message has been Sent


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000007000","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/BEAT/COM/AMD/NW/26/00001"},{"type":"text","text":"27-Aug-2026"},{"type":"text","text":"Night Work"},{"type":"text","text":"Robertsdale"},{"type":"text","text":" "},{"type":"text","text":"Reviewed by Elizabet Patty at 27-Aug-2026 03:01:17 PM"},{"type":"text","text":"Start Work"},{"type":"text","text":"https://sandbox.oqsha.com/#/wp/view/204/438772"}]}]}}}


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000000776","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/BEAT/COM/AMD/NW/26/00001"},{"type":"text","text":"27-Aug-2026"},{"type":"text","text":"Night Work"},{"type":"text","text":"Robertsdale"},{"type":"text","text":" "},{"type":"text","text":"Reviewed by Elizabet Patty at 27-Aug-2026 03:01:17 PM"},{"type":"text","text":"Start Work"},{"type":"text","text":"https://sandbox.oqsha.com/#/wp/view/204/438772"}]}]}}}


Starting Execution for push notification for all


# string body 27-Aug-2026, Elizabet Patty, P/BEAT/COM/AMD/NW/26/00001, 27-Aug-2026


Message : {"EventName":"ADD_USER","EventArgs":[{"Key":"DisplayName","Value":"test t"},{"Key":"Password","Value":"VW11MYGG"},{"Key":"OrganisationName","Value":"Galecto Inc."},{"Key":"UserDivisions","Value":"Near miss, Unsafe Act, Unsafe Condition"},{"Key":"UserIncidentSites","Value":"Alanreed, Bowers, Council Bluffs, Cowgill, Fleischmanns, Fort Myers Beach, Galeville, Leeper, Rosewood, Suffield Depot, Vinings, Weldona, Yorba Linda"},{"Key":"OldEmail","Value":null},{"Key":"Email","Value":"oqsha@osmosys.co"},{"Key":"WhatsAppNumber","Value":"+9166666777788"}]}


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


### Started Event for Add User Email ###


Calling Send Email Function for Add User Email


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


Reading and binding data to Email Template


Initializing Email Service Client


Generating Email Request


Welcome to OQSHA


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


--- Email response from Osmo-x is 201


Sending welcome WhatsApp notification to: +9166666777788


Osmo-x WhatsApp Message has been Sent


### End Event Execution ###


### Start Event Execution ###


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


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


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


Calling Send Email Function for Update User Email


Your OQSHA Access Has Been Updated


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


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


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


Initializing Email Service Client


Generating Email Request


Message : {"EventName":"WHATSAPP_TO_BATCH_PARTICIPANTS","EventArgs":[{"Key":"BatchParticipantIds","Value":"[65752,65753,65754,65755]"},{"Key":"BatchId","Value":3186}]}


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


# Calling SendNotificationToBatchParticipants function for  whatsapp notification #


Executing completed course notification function to batch participants


Executing planned/Inprogress notification function to batch participants


Sending notification to batch participant for planned and in progress status1


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000006052","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"oqsha_planned_batch_latest_v1","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"Candis Rugg"},{"type":"text","text":"test"},{"type":"text","text":"ASPECT IMPACT AWARENESS/PRACTICE ( OJT)"},{"type":"text","text":"Celularity Inc."},{"type":"text","text":"0 Week(s) 0 Day(s) 4 Hour(s)"},{"type":"text","text":"No faculty"},{"type":"text","text":"August 27, 2026  03:19:00 PM"},{"type":"text","text":"PLANNED"},{"type":"text","text":"https://oqsha.com/#/batches/view/260/245/3186?dlType=viewBatch"}]}]}}}


Osmo-x WhatsApp Message has been Sent


Sending notification to batch participant for planned and in progress status4206


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912222222222","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"oqsha_planned_batch_latest_v1","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"Deonta Marra"},{"type":"text","text":"test"},{"type":"text","text":"ASPECT IMPACT AWARENESS/PRACTICE ( OJT)"},{"type":"text","text":"Celularity Inc."},{"type":"text","text":"0 Week(s) 0 Day(s) 4 Hour(s)"},{"type":"text","text":"No faculty"},{"type":"text","text":"August 27, 2026  03:19:00 PM"},{"type":"text","text":"PLANNED"},{"type":"text","text":"https://oqsha.com/#/batches/view/260/245/3186?dlType=viewBatch"}]}]}}}


Sending notification to batch participant for planned and in progress status678


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912222222223","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"oqsha_planned_batch_latest_v1","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"Giselle Angle"},{"type":"text","text":"test"},{"type":"text","text":"ASPECT IMPACT AWARENESS/PRACTICE ( OJT)"},{"type":"text","text":"Celularity Inc."},{"type":"text","text":"0 Week(s) 0 Day(s) 4 Hour(s)"},{"type":"text","text":"No faculty"},{"type":"text","text":"August 27, 2026  03:19:00 PM"},{"type":"text","text":"PLANNED"},{"type":"text","text":"https://oqsha.com/#/batches/view/260/245/3186?dlType=viewBatch"}]}]}}}


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


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000001875","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/ADSEW/NW/26/00001"},{"type":"text","text":"27-Aug-2026"},{"type":"text","text":"Night work"},{"type":"text","text":"Meadow Oaks"},{"type":"text","text":" "},{"type":"text","text":"Requested by Ana Eaton at 27-Aug-2026 03:21:23 PM"},{"type":"text","text":"Issue"},{"type":"text","text":"Hebert Eaton"},{"type":"text","text":"https://sandbox.oqsha.com/#/wp/view/207/438773"}]}]}}}


Executing sending push notification to the issuers


# Push Subject for Issuer P/HUBG/TFX/ADSEW/NW/26/00001


# Preparing notification body #


# Checking for device existence #


# User device exists #


Sending notification for permit to work: 438773


Inside SendAppNotification Device Type: GCM


Generating AWS SNS Request


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Test/16de8701-9c05-38d9-8833-f03e986616bf


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


# Push notification did not send #


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Test/f87c0813-0b32-39e3-81f0-6719bf089576


Push notification failed to send to a device 26513.


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


Message : {"EventName":"ADD_USER","EventArgs":[{"Key":"DisplayName","Value":"test y"},{"Key":"Password","Value":"Q3O3E3Z1"},{"Key":"OrganisationName","Value":"Galecto Inc."},{"Key":"UserDivisions","Value":"Near miss, Unsafe Act, Unsafe Condition"},{"Key":"UserIncidentSites","Value":"Alanreed, Bowers, Council Bluffs, Cowgill, Fleischmanns, Fort Myers Beach, Galeville, Leeper, Rosewood, Suffield Depot, Vinings, Weldona, Yorba Linda"},{"Key":"OldEmail","Value":null},{"Key":"Email","Value":"osmosys@osmosys.co"},{"Key":"WhatsAppNumber","Value":"+916666888877"}]}


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


### Started Event for Add User Email ###


Calling Send Email Function for Add User Email


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


Reading and binding data to Email Template


Initializing Email Service Client


Generating Email Request


Welcome to OQSHA


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


--- Email response from Osmo-x is 201


Sending welcome WhatsApp notification to: +916666888877


Osmo-x WhatsApp Message has been Sent


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


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


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


Calling Send Email Function for Update User Email


Your OQSHA Access Has Been Updated


### End Event Execution ###


### Start Event Execution ###


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


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


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


Initializing Email Service Client


Generating Email Request


Message : {"EventName":"ASSIGNED_TO_NOTIFICATION","EventArgs":[{"Key":"AssignedIncidentID","Value":79055},{"Key":"OrgId","Value":232},{"Key":"AssignedToID","Value":881}]}


### 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 Sacherby Markham, UserId : 881 for assigned to notification ##


Sending Assigned To Email for IncidentId:79055


A Ticket YBKWK0 is assigned to you related to 'EHS-Unsafe Act'


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


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


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


Reading and binding data to Email Template


Initializing Email Service Client


Generating Email Request


Ticket YBKWK0 has been updated


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


--- Email response from Osmo-x is 201


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000010468","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":"Tobe Munroe"},{"type":"text","text":"Ticket"},{"type":"text","text":"YBKWK0"},{"type":"text","text":"Checklist Response for: Description of Unsafe Act,  updated to Lift no 1 car side tube light damage., Department has been updated to 'Chocolate', Assigned To has been updated to 'Sacherby Markham', Due Date has been updated to '27-Aug-2026',"},{"type":"text","text":"Ticket"},{"type":"text","text":" "},{"type":"text","text":"Rio"},{"type":"text","text":"EHS-Unsafe Act"},{"type":"text","text":"Tobe Munroe"},{"type":"text","text":"MIRA Pharmaceuticals Inc."},{"type":"text","text":"Open"},{"type":"text","text":"https://sandbox.oqsha.com/#/inct/view/232/79055"},{"type":"text","text":"Oqsha Team"}]}]}}}


Osmo-x WhatsApp Message has been Sent


# Preparing notification body #


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":"YBKWK0"},{"type":"text","text":"Checklist Response for: Description of Unsafe Act,  updated to Lift no 1 car side tube light damage., Department has been updated to 'Chocolate', Assigned To has been updated to 'Sacherby Markham', Due Date has been updated to '27-Aug-2026',"},{"type":"text","text":"Ticket"},{"type":"text","text":" "},{"type":"text","text":"Rio"},{"type":"text","text":"EHS-Unsafe Act"},{"type":"text","text":"Tobe Munroe"},{"type":"text","text":"MIRA Pharmaceuticals Inc."},{"type":"text","text":"Open"},{"type":"text","text":"https://sandbox.oqsha.com/#/inct/view/232/79055"},{"type":"text","text":"Oqsha Team"}]}]}}}


Invalid Mobile Number - 919999999999919999999999


Invalid Mobile Number - 919999999999919999999999919999999999


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":"YBKWK0"},{"type":"text","text":"Checklist Response for: Description of Unsafe Act,  updated to Lift no 1 car side tube light damage., Department has been updated to 'Chocolate', Assigned To has been updated to 'Sacherby Markham', Due Date has been updated to '27-Aug-2026',"},{"type":"text","text":"Ticket"},{"type":"text","text":" "},{"type":"text","text":"Rio"},{"type":"text","text":"EHS-Unsafe Act"},{"type":"text","text":"Tobe Munroe"},{"type":"text","text":"MIRA Pharmaceuticals Inc."},{"type":"text","text":"Open"},{"type":"text","text":"https://sandbox.oqsha.com/#/inct/view/232/79055"},{"type":"text","text":"Oqsha Team"}]}]}}}


Invalid Mobile Number - 912000002469912000002469


### Ended processing Update incident Event ###


### End Event Execution ###


### Start Event Execution ###


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


### Started processing for Incident Submitted Event ###


Using org-specific template for Org 211: Templates\OrgTemplates\211\Templates\IncidentSubmittedNotificationEmailTemplate.html


Executing email notifications to Incident Approvers about the Pending approval


Initializing Email Service Client


Generating Email Request


FAC FIR Raised – Incident UID: IMF/GLTO/GRR/FAC/26/00004 | Site: Alanreed


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


--- Email response from Osmo-x is 201


Executing whatsapp notifications to Incident Approvers about the Pending approval


Sending WhatsApp Notification for Incident Approval to User: 1955


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 #


Sending Incident Submitted Notification for Incident Id:1339


Inside SendAppNotification Device Type: GCM


Generating AWS SNS Request


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Test/cea9d393-8e17-395c-b74f-7c0c3521bc2f


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


# Push notification did not send #


Inside SendAppNotification Device Type: APNS


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/APNS/Oqsha-IOS-Production/f114db6c-034f-3b79-a8c1-725691bd1154


Push notification failed to send to a device 26522.


### Ended processing Incident Submitted Event ###


### End Event Execution ###


### Start Event Execution ###


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


### Started processing for Incident Validated Event ###


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


Reading and binding data to Email Template


Initializing Email Service Client


Generating Email Request


Incident Validated – Incident UID: IMF/GLTO/GRR/FAC/26/00004 | Site: Alanreed


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


--- Email response from Osmo-x is 201


Executing whatsapp notifications to Incident Approvers about the Pending approval


Sending WhatsApp for Incident Validation to User: 1955


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 #


Sending Incident Validated Notification for Incident Id:1339


Inside SendAppNotification Device Type: GCM


Generating AWS SNS Request


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Test/cea9d393-8e17-395c-b74f-7c0c3521bc2f


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


# Push notification did not send #


Inside SendAppNotification Device Type: APNS


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/APNS/Oqsha-IOS-Production/f114db6c-034f-3b79-a8c1-725691bd1154


Push notification failed to send to a device 26522.


### Ended processing Incident Validated Event ###


### End Event Execution ###


### Start Event Execution ###


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


### Started processing for Incident Investigation Required notification ###


Executing email notifications for Incident Investigation Required


Using org-specific template for Org 211: Templates\OrgTemplates\211\Templates\IncidentInvestigationRequiredNotification.html


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


Reading and binding data to Email Template


Initializing Email Service Client


Generating Email Request


Investigation Required - (FAC) FIR Released | Incident UID: IMF/GLTO/GRR/FAC/26/00004 | Site: Alanreed


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


--- Email response from Osmo-x is 201


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


### Started processing for Incident Investigation In Progress Event ###


Executing email notifications to Incident Approvers about the Pending approval


Incident IMF/GLTO/GRR/FAC/26/00004 has been validated, form a team to investigate


Executing whatsapp notifications to Incident Approvers about the Pending approval


Sending WhatsApp for Incident Approval to User: 1955


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 #


Sending Investigation In Progress Notification for Investigation Id:638


Inside SendAppNotification Device Type: GCM


Generating AWS SNS Request


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Test/cea9d393-8e17-395c-b74f-7c0c3521bc2f


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


# Push notification did not send #


Inside SendAppNotification Device Type: APNS


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/APNS/Oqsha-IOS-Production/f114db6c-034f-3b79-a8c1-725691bd1154


Push notification failed to send to a device 26522.


### Ended processing Incident Investigation In Progress Event ###


### End Event Execution ###


### Start Event Execution ###


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


### Started processing for Investigation Submitted Event ###


Using org-specific template for Org 211: Templates\OrgTemplates\211\Templates\InvestigationSubmittedNotificationEmailTemplate.html


Executing email notifications to Investigation Approvers about the Pending approval


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


Reading and binding data to Email Template


Initializing Email Service Client


Generating Email Request


Incident Investigation Submitted – Incident UID: IMF/GLTO/GRR/FAC/26/00004 | Site: Alanreed


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


--- Email response from Osmo-x is 201


Executing whatsapp notifications to Investigation Approvers about the Pending approval


Sending WhatsApp for Investigation Approval to User: 1955


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 #


Sending Investigation Submitted Notification for Investigation Id:638


Inside SendAppNotification Device Type: GCM


Generating AWS SNS Request


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Test/cea9d393-8e17-395c-b74f-7c0c3521bc2f


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


# Push notification did not send #


Inside SendAppNotification Device Type: APNS


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/APNS/Oqsha-IOS-Production/f114db6c-034f-3b79-a8c1-725691bd1154


Push notification failed to send to a device 26522.


### Ended processing Investigation Submitted Event ###


### End Event Execution ###


### Start Event Execution ###


Message : {"EventName":"ASSIGNED_TO_NOTIFICATION","EventArgs":[{"Key":"AssignedIncidentID","Value":79138},{"Key":"AssignedToID","Value":881}]}


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


## Sending email to Sacherby Markham, UserId : 881 for assigned to notification ##


Sending Assigned To Email for IncidentId:79138


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


Reading and binding data to Email Template


Initializing Email Service Client


Generating Email Request


A Ticket T/MIRA/ECC/26/00001 is assigned to you related to 'EHS-Unsafe Condition'


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


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


Message : {"EventName":"ASSIGNED_TO_NOTIFICATION","EventArgs":[{"Key":"AssignedIncidentID","Value":79139},{"Key":"AssignedToID","Value":881}]}


Generating report.


Converted to byte file


PDF generation successfull


Sending Assigned To Email for IncidentId:79139


Initializing Email Service Client


Generating Email Request


A Ticket T/MIRA/NLB/26/00001 is assigned to you related to 'New Line Baking Oven'


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


--- Email response from Osmo-x is 201


Sending Assigned To Whatsapp for IncidentId:79139


Osmo-x WhatsApp Message has been Sent


# Preparing notification body #


Message : {"EventName":"ASSIGNED_TO_NOTIFICATION","EventArgs":[{"Key":"AssignedIncidentID","Value":79140},{"Key":"AssignedToID","Value":881}]}


Sending Assigned To Email for IncidentId:79140


A Ticket T/MIRA/P(O/26/00001 is assigned to you related to 'Periphery (Infront of office) Gemba round'


Sending Assigned To Whatsapp for IncidentId:79140


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000007341","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"oqsha_assigned_to_whatsapp_template_v3","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"Sacherby Markham"},{"type":"text","text":"Ticket"},{"type":"text","text":"T/MIRA/P(O/26/00001"},{"type":"text","text":" "},{"type":"text","text":"Rio"},{"type":"text","text":"Periphery (Infront of office) Gemba round"},{"type":"text","text":"Sacherby Markham"},{"type":"text","text":"MIRA Pharmaceuticals Inc."},{"type":"text","text":"Open"},{"type":"text","text":"https://sandbox.oqsha.com/#/inct/view/232/79140"},{"type":"text","text":"Oqsha Team"}]}]}}}


### End Event Execution ###


### Start Event Execution ###


Message : {"EventName":"ASSIGNED_TO_NOTIFICATION","EventArgs":[{"Key":"AssignedIncidentID","Value":79141},{"Key":"AssignedToID","Value":881}]}


### 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 Sacherby Markham, UserId : 881 for assigned to notification ##


Sending Assigned To Email for IncidentId:79141


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


Reading and binding data to Email Template


Initializing Email Service Client


Generating Email Request


A Ticket T/MIRA/PPP/26/00001 is assigned to you related to 'Phone Permit'


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


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


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000003468","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/ABVX/BL/26/00001"},{"type":"text","text":"27-Aug-2026"},{"type":"text","text":"Blasting Work"},{"type":"text","text":"Robertsdale"},{"type":"text","text":" "},{"type":"text","text":"Requested by Randal Jessup at 27-Aug-2026 05:59:05 PM"},{"type":"text","text":"Review"},{"type":"text","text":"Elizabet Patty"},{"type":"text","text":"https://sandbox.oqsha.com/#/wp/view/204/438774"}]}]}}}


Executing sending push notification to the issuers


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


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


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


Message : {"EventName":"ASSIGNED_TO_NOTIFICATION","EventArgs":[{"Key":"AssignedIncidentID","Value":79142},{"Key":"AssignedToID","Value":881}]}


### 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 Sacherby Markham, UserId : 881 for assigned to notification ##


Sending Assigned To Email for IncidentId:79142


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


Reading and binding data to Email Template


Initializing Email Service Client


Generating Email Request


A Ticket T/MIRA/Q-F/26/00001 is assigned to you related to 'Quality - FMC'


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


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


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000003468","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/26/00003"},{"type":"text","text":"28-Aug-2026"},{"type":"text","text":"Blasting Work"},{"type":"text","text":"Robertsdale"},{"type":"text","text":" "},{"type":"text","text":"Requested by Randal Jessup at 27-Aug-2026 09:08:04 PM"},{"type":"text","text":"Review"},{"type":"text","text":"Elizabet Patty"},{"type":"text","text":"https://sandbox.oqsha.com/#/wp/view/204/438775"}]}]}}}


Executing sending push notification to the issuers


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


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


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"918888888882","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/BEAT/COM/JFU/BL/26/00003"},{"type":"text","text":"28-Aug-2026"},{"type":"text","text":"Blasting Work"},{"type":"text","text":"Robertsdale"},{"type":"text","text":" "},{"type":"text","text":"reviewing . The status has changed to Reviewed."},{"type":"text","text":"Elizabet Patty at 27-Aug-2026 09:09:48 PM"},{"type":"text","text":"https://sandbox.oqsha.com/#/wp/view/204/438775"}]}]}}}


Osmo-x WhatsApp Message has been Sent


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000007000","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/BEAT/COM/JFU/BL/26/00003"},{"type":"text","text":"28-Aug-2026"},{"type":"text","text":"Blasting Work"},{"type":"text","text":"Robertsdale"},{"type":"text","text":" "},{"type":"text","text":"reviewing . The status has changed to Reviewed."},{"type":"text","text":"Elizabet Patty at 27-Aug-2026 09:09:48 PM"},{"type":"text","text":"https://sandbox.oqsha.com/#/wp/view/204/438775"}]}]}}}


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000000776","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/BEAT/COM/JFU/BL/26/00003"},{"type":"text","text":"28-Aug-2026"},{"type":"text","text":"Blasting Work"},{"type":"text","text":"Robertsdale"},{"type":"text","text":" "},{"type":"text","text":"reviewing . The status has changed to Reviewed."},{"type":"text","text":"Elizabet Patty at 27-Aug-2026 09:09:48 PM"},{"type":"text","text":"https://sandbox.oqsha.com/#/wp/view/204/438775"}]}]}}}


### 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: [1778,2552,4258]


Starting Execution for whatsapp notification for all


Sending notification to requester regarding permit to work 438775


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"918888888882","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/BEAT/COM/JFU/BL/26/00003"},{"type":"text","text":"28-Aug-2026"},{"type":"text","text":"Blasting Work"},{"type":"text","text":"Robertsdale"},{"type":"text","text":" "},{"type":"text","text":"Reviewed by Elizabet Patty at 27-Aug-2026 09:09:48 PM"},{"type":"text","text":"Start Work"},{"type":"text","text":"https://sandbox.oqsha.com/#/wp/view/204/438775"}]}]}}}


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000007000","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/BEAT/COM/JFU/BL/26/00003"},{"type":"text","text":"28-Aug-2026"},{"type":"text","text":"Blasting Work"},{"type":"text","text":"Robertsdale"},{"type":"text","text":" "},{"type":"text","text":"Reviewed by Elizabet Patty at 27-Aug-2026 09:09:48 PM"},{"type":"text","text":"Start Work"},{"type":"text","text":"https://sandbox.oqsha.com/#/wp/view/204/438775"}]}]}}}


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000000776","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/BEAT/COM/JFU/BL/26/00003"},{"type":"text","text":"28-Aug-2026"},{"type":"text","text":"Blasting Work"},{"type":"text","text":"Robertsdale"},{"type":"text","text":" "},{"type":"text","text":"Reviewed by Elizabet Patty at 27-Aug-2026 09:09:48 PM"},{"type":"text","text":"Start Work"},{"type":"text","text":"https://sandbox.oqsha.com/#/wp/view/204/438775"}]}]}}}


Starting Execution for push notification for all


# Preparing notification body #


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


# string body 28-Aug-2026, Elizabet Patty, P/BEAT/COM/JFU/BL/26/00003, 28-Aug-2026


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


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000003468","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/26/00003"},{"type":"text","text":"28-Aug-2026"},{"type":"text","text":"Blasting Work"},{"type":"text","text":"Robertsdale"},{"type":"text","text":" "},{"type":"text","text":"Extension Requested by Randal Jessup for 1 hour(s) at 27-Aug-2026 09:10:48 PM"},{"type":"text","text":"Extension Review"},{"type":"text","text":"Elizabet Patty"},{"type":"text","text":"https://sandbox.oqsha.com/#/wp/view/204/438775"}]}]}}}


Osmo-x WhatsApp Message has been Sent


Executing sending push notification to the issuers for extended PTW


# string body Randal Jessup, 1 hour(s), P/BEAT/COM/JFU/BL/26/00003


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


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000001875","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/ADSEW/CW/26/00001"},{"type":"text","text":"28-Aug-2026"},{"type":"text","text":"Cold work"},{"type":"text","text":"Meadow Oaks"},{"type":"text","text":" "},{"type":"text","text":"Requested by Ana Eaton at 27-Aug-2026 09:15:56 PM"},{"type":"text","text":"Issue"},{"type":"text","text":"Hebert Eaton"},{"type":"text","text":"https://sandbox.oqsha.com/#/wp/view/207/438776"}]}]}}}


Executing sending push notification to the issuers


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


# Preparing notification body #


# Checking for device existence #


# User device exists #


Sending notification for permit to work: 438776


Inside SendAppNotification Device Type: GCM


Generating AWS SNS Request


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Test/b5e719c6-e9af-3b94-af4c-d705a4f469f5


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


# Push notification did not send #


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Test/c0f4f748-4a37-32f0-b6cc-dbe798d3a705


Push notification failed to send to a device 26524.


Inside SendAppNotification Device Type: APNS


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/APNS/Oqsha-IOS-Production/1a90b981-e1af-3bac-8d40-afa17f1480db


Push notification failed to send to a device 26533.


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Test/f87c0813-0b32-39e3-81f0-6719bf089576


Push notification failed to send to a device 26513.


# Checking for device existence #


# User device exists #


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Test/695a813d-4d25-3f33-b25d-2b154fed92f8


Push notification failed to send to a device 26542.


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.


Sending notification for permit to work: 438776


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.


# Push notification did not send #


### End Event Execution ###