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


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


### Start Event Execution ###


Message : {"EventName":"Update_USER","EventArgs":[{"Key":"DisplayName","Value":"Bee Gellemeyer"},{"Key":"Password","Value":""},{"Key":"OrganisationName","Value":"Neveu"},{"Key":"UserDivisions","Value":""},{"Key":"UserIncidentSites","Value":"Beaverdam, Champion Heights, Healdton"},{"Key":"OldEmail","Value":""},{"Key":"Email","Value":"osm03640@osmosys.co"}]}


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


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


Calling Send Email Function for Update User Email


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


Reading and binding data to Email Template


Initializing Email Service Client


Generating Email Request


Your OQSHA Access Has Been Updated

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


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


--- Email response from Osmo-x is 201


### End Event Execution ###


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


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


Your OQSHA Access Has Been Updated


Message : {"EventName":"Update_USER","EventArgs":[{"Key":"DisplayName","Value":"Hebert Eaton"},{"Key":"Password","Value":""},{"Key":"OrganisationName","Value":"Falcon's Beyond Global Inc. Warrants"},{"Key":"UserDivisions","Value":"Near Misses, Unsafe Act, Unsafe Condition, HSE Suggestion"},{"Key":"UserIncidentSites","Value":"Colver, Eastpoint, Elmore City, Mathiston, Melmore, Washoe Valley"},{"Key":"OldEmail","Value":""},{"Key":"Email","Value":"TTK_Admin@oqsha.com"}]}


### Start Event Execution ###


Message : {"EventName":"Update_APP_USER","EventArgs":[{"Key":"DisplayName","Value":"Hebert Eaton"},{"Key":"Password","Value":""},{"Key":"OrganisationName","Value":"Falcon's Beyond Global Inc. Warrants"},{"Key":"UserUid","Value":"8919110596"},{"Key":"UserDivisions","Value":"Near Misses, Unsafe Act, Unsafe Condition, HSE Suggestion"},{"Key":"UserIncidentSites","Value":"Colver, Eastpoint, Elmore City, Mathiston, Melmore, Washoe Valley"},{"Key":"Email","Value":"TTK_Admin@oqsha.com"},{"Key":"MobileNumber","Value":"+912000001875"}]}


Message : {"EventName":"INFORM_TO_INCIDENT_CREATION_NOTIFICATION","EventArgs":[{"Key":"IncidentId","Value":78497},{"Key":"InformToUserId","Value":881}]}


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


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


Calling SendInformToNotification function for ticket creation


Sending Inform-To WhatsApp for IncidentId: 78497


Osmo-x WhatsApp Message has been Sent


Generating Safety Alert report.


Converted to byte file


## Safety Alert Email Sent to Sacherby Markham##


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


Initializing Email Service Client


Generating Email Request


Safety Alert T/KURA/OOO/26/00001 has been created


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


--- Email response from Osmo-x is 201


# Fetching devices bypassing preferences (Single System Fallback) #


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


### End Event Execution ###


### Start Event Execution ###


Message : {"EventName":"INFORM_TO_INCIDENT_CREATION_NOTIFICATION","EventArgs":[{"Key":"IncidentId","Value":78497},{"Key":"InformToUserId","Value":11167}]}


## Safety Alert Email Sent to Judge Tenorio##


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


Reading and binding data to Email Template


Message : {"EventName":"INFORM_TO_INCIDENT_CREATION_NOTIFICATION","EventArgs":[{"Key":"IncidentId","Value":78497},{"Key":"InformToUserId","Value":11139}]}


Osmo-x WhatsApp Message has been Sent


Generating Safety Alert report.


Converted to byte file


## Safety Alert Email Sent to Oskar Roden##


Initializing Email Service Client


Generating Email Request


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


--- Email response from Osmo-x is 201


Sending Inform-To Push Notification for IncidentId: 78497


Inside SendAppNotification Device Type: GCM


Generating AWS SNS Request


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/0675b795-f420-3121-9417-0cea2cac8f5e


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


### End Event Execution ###


### Start Event Execution ###


Message : {"EventName":"ASSIGNED_TO_NOTIFICATION","EventArgs":[{"Key":"AssignedIncidentID","Value":78497},{"Key":"AssignedToID","Value":11137}]}


### 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 Gill Tanksley, UserId : 11137 for assigned to notification ##


Sending Assigned To Email for IncidentId:78497


Initializing Email Service Client


Generating Email Request


A Safety Alert T/KURA/OOO/26/00001 is assigned to you related to 'Observation'


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


Osmo-x WhatsApp Message has been Sent


# Preparing notification body #


# Fetching devices bypassing preferences (Single System Fallback) #


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


### End Event Execution ###


### Start Event Execution ###


Message : {"EventName":"Update_USER","EventArgs":[{"Key":"DisplayName","Value":"Hebert Eaton"},{"Key":"Password","Value":""},{"Key":"OrganisationName","Value":"Falcon's Beyond Global Inc. Warrants"},{"Key":"UserDivisions","Value":"Near Misses, Unsafe Act, Unsafe Condition, HSE Suggestion"},{"Key":"UserIncidentSites","Value":"Colver, Eastpoint, Elmore City, Mathiston, Melmore, Washoe Valley"},{"Key":"OldEmail","Value":""},{"Key":"Email","Value":"TTK_Admin@oqsha.com"}]}


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


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


Calling Send Email Function for Update User Email


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


Reading and binding data to Email Template


Initializing Email Service Client


Generating Email Request


Your OQSHA Access Has Been Updated


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


--- Email response from Osmo-x is 201


Message : {"EventName":"Update_APP_USER","EventArgs":[{"Key":"DisplayName","Value":"Hebert Eaton"},{"Key":"Password","Value":""},{"Key":"OrganisationName","Value":"Falcon's Beyond Global Inc. Warrants"},{"Key":"UserUid","Value":"8919110596"},{"Key":"UserDivisions","Value":"Near Misses, Unsafe Act, Unsafe Condition, HSE Suggestion"},{"Key":"UserIncidentSites","Value":"Colver, Eastpoint, Elmore City, Mathiston, Melmore, Washoe Valley"},{"Key":"Email","Value":"TTK_Admin@oqsha.com"},{"Key":"MobileNumber","Value":"+912000001875"}]}


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


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


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


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


### Start Event Execution ###


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


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


Calling Send Email Function for Add User Email


Welcome to OQSHA


Sending welcome WhatsApp notification to: +919958648596


Osmo-x WhatsApp Message has been Sent


### End Event Execution ###


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


### Started processing for Health Incident Creation Event ###


Executing email notifications to Supervisor/Site EHS for incident creation for OHC


Initializing Email Service Client


Generating Email Request


An Incident - IMF/FBYDW/ROO/INJ/26/00001 created for a OHC - HT/FBYDW/ROO/WII/26/00001


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


--- Email response from Osmo-x is 201


Executing whatsapp notifications to Supervisor/Site EHS for incident creation for OHC


Sending WhatsApp for Heath incident creation to User: 5790


# Preparing notification body #


# Fetching devices bypassing preferences (Single System Fallback) #


### Ended processing Health Incident Creation Event ###


### Start Event Execution ###


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


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


Using default template for Org 248: 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


A new incident IMF/FBYDW/ROO/INJ/26/00001 has been reported


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


Osmo-x WhatsApp Message has been Sent


# Preparing notification body #


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


Incident IMF/FBYDW/ROO/INJ/26/00001 has been validated


Sending WhatsApp for Incident Validation to User: 5889


### Ended processing Incident Validated Event ###


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


### Started processing for Incident FIR Released Event ###


Using default template for Org 248: Templates\IncidentFIRReleasedNotificationEmailTemplate.html


Initializing Email Service Client


Generating Email Request


Incident IMF/FBYDW/ROO/INJ/26/00001 FIR has been released, form a team to investigate


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


--- Email response from Osmo-x is 201


Sending WhatsApp for Incident Approval to User: 5827


Osmo-x WhatsApp Message has been Sent


# Preparing notification body #


# Fetching devices bypassing preferences (Single System Fallback) #


### End Event Execution ###


### Start Event Execution ###


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


### Started processing for Incident FIR Released Event - External User ###


Executing email notifications to Incident Approvers about the Pending approval


Incident PDF generation successfull


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


Reading and binding data to Email Template


Initializing Email Service Client


Generating Email Request


TTK_COB_SITE_EHS@oqsha.com, TTK_EHS@oqsha.com, TTK_KHA_PlantH@oqsha.com, TTK_COB_PlantH@oqsha.com, TTK_HOD@oqsha.com, TTK_KAR_HOD@oqsha.com, TTK_KHA_MEO@oqsha.com, TTK_CMO@oqsha.com

Incident IMF/FBYDW/ROO/INJ/26/00001 FIR has been released


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


Incident IMF/FBYDW/ROO/INJ/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: 267


Osmo-x WhatsApp Message has been Sent


# Preparing notification body #


### 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 default template for Org 248: Templates\InvestigationSubmittedNotificationEmailTemplate.html


Executing email notifications to Investigation Approvers about the Pending approval


Initializing Email Service Client


Generating Email Request


You have been assigned to review the investigation report IMF/FBYDW/ROO/INJ/26/00001


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


# Fetching devices bypassing preferences (Single System Fallback) #


### Ended processing Investigation Submitted Event ###


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


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


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


Reading and binding data to Email Template


Validate the investigation report for the Incident IMF/FBYDW/ROO/INJ/26/00001


Sending WhatsApp for Incident Approval to User: 5889


Osmo-x WhatsApp Message has been Sent


# Preparing notification body #


### 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 default template for Org 248: Templates\ExternalUserInvestigationFinalReportReleasedTemplate.html


Initializing Email Service Client


Generating Email Request


The Final Report of Investigation has been released on this Incident IMF/FBYDW/ROO/INJ/26/00001


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


--- Email response from Osmo-x is 201


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


Message : {"EventName":"NOTIFICATION_FOR_BATCHES_FROZEN","EventArgs":[{"Key":"OrganisationId","Value":264},{"Key":"BatchIds","Value":"[2796,2797,2613,2614,2615,2616,2617,2592,2593,2749,2750]"}]}


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


# Calling SendBatchesFrozenNotification for organisationId=264 #


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


Training Calendar Frozen - August 2026


## Frozen Batches Emails Sent to 16 Departmental Role Users ##


## Frozen Batches Global Executive Summary Sent. TO: 2 users, CC: 0 users ##


### End Event Execution ###


### Start Event Execution ###


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


# Calling SendScheduleAcceptedNotification for orgId=264, batchId=2613 #


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


No devices found for participants in batch 2613. Skipping pushes.


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


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


Calling Send Email Function for Update User Email


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


Reading and binding data to Email Template


Initializing Email Service Client


Generating Email Request


Your OQSHA Access Has Been Updated


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


--- Email response from Osmo-x is 201


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


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


### End Event Execution ###


### Start Event Execution ###


# Calling SendScheduleAcceptedNotification for orgId=264, batchId=2650 #


No devices found for participants in batch 2650. Skipping pushes.


# Calling SendScheduleAcceptedNotification for orgId=264, batchId=2796 #


No devices found for participants in batch 2796. Skipping pushes.


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


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


Message : {"EventName":"ASSIGNED_TO_NOTIFICATION","EventArgs":[{"Key":"AssignedIncidentID","Value":78498},{"Key":"AssignedToID","Value":4491}]}


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


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


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


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


Generating report.


Converted to byte file


PDF generation successfull


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


Sending Assigned To Whatsapp for IncidentId:78498


Osmo-x WhatsApp Message has been Sent


# Preparing notification body #


# Fetching devices bypassing preferences (Single System Fallback) #


# Checking for device existence #


# User device exists #


Sending Assigned To Notification for IncidentId:78498


Inside SendAppNotification Device Type: GCM


Generating AWS SNS Request


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/b33fec9f-529c-3402-969d-7dd70f1641d5


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


# Push notification did not send #


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/d52793b2-f87b-3d78-97f2-1a2b831f9073


Push notification failed to send to a device 11240.


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/6e4233ab-f586-3761-a28c-d56ba3c1e228


Push notification failed to send to a device 22361.


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


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


Reading and binding data to Email Template


Initializing Email Service Client


Generating Email Request


Ticket T/BEAT/III/26/00001 has been updated


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


--- Email response from Osmo-x is 201


Sending Assigned To Whatsapp for IncidentId:78498


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"918888888882","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":"Randal Jessup"},{"type":"text","text":"Ticket"},{"type":"text","text":"T/BEAT/III/26/00001"},{"type":"text","text":"Ticket status updated to Resolved., Comments are added as resolving"},{"type":"text","text":"Ticket"},{"type":"text","text":"testing "},{"type":"text","text":"Robertsdale"},{"type":"text","text":"Incident"},{"type":"text","text":"Randal Jessup"},{"type":"text","text":"Heartbeam Inc."},{"type":"text","text":"Resolved"},{"type":"text","text":"https://sandbox.oqsha.com/#/inct/view/204/78498"},{"type":"text","text":"Oqsha Team"}]}]}}}


Osmo-x WhatsApp Message has been Sent


# Preparing notification body #


# Fetching devices bypassing preferences (Single System Fallback) #


# Checking for device existence #


# User device exists #


Sending Assigned To Notification for IncidentId:78498


Inside SendAppNotification Device Type: GCM


Generating AWS SNS Request


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Test/c5049ab3-9421-3e42-80e1-f9a6961a0aab


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


# Push notification did not send #


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000006074","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":"Chessie Pollak"},{"type":"text","text":"Ticket"},{"type":"text","text":"T/BEAT/III/26/00001"},{"type":"text","text":"Ticket status updated to Resolved., Comments are added as resolving"},{"type":"text","text":"Ticket"},{"type":"text","text":"testing "},{"type":"text","text":"Robertsdale"},{"type":"text","text":"Incident"},{"type":"text","text":"Randal Jessup"},{"type":"text","text":"Heartbeam Inc."},{"type":"text","text":"Resolved"},{"type":"text","text":"https://sandbox.oqsha.com/#/inct/view/204/78498"},{"type":"text","text":"Oqsha Team"}]}]}}}


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


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/1ed0574f-f394-38d4-b33c-1065f3e9da1e


Push notification failed to send to a device 18903.


Sending email for incident closure


Error occurred while sending email using Osmo-x.


System.NullReferenceException: Object reference not set to an instance of an object.
   at IncidentReporter.NotificationSender.EmailHelper.SendEmail(String template, String subject, Object args, String toAddress, String ccAddress, List`1 reportAttachments, List`1 additionalAttachmentsFilePath, String rootEmailTemplatePath, OrganisationFromConfig organisationFromAddress) in C:\GitLab-Runner\builds\27n6lYj0J\0\incident-reporter\incident-reporter-api\IncidentReporter\IncidentReporter.NotificationSender\Helpers\EmailHelper.cs:line 39


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000005109","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":"Kathaleen Hoopes"},{"type":"text","text":"Ticket"},{"type":"text","text":"T/BEAT/III/26/00001"},{"type":"text","text":"Ticket status updated to Resolved., Comments are added as resolving"},{"type":"text","text":"Ticket"},{"type":"text","text":"testing "},{"type":"text","text":"Robertsdale"},{"type":"text","text":"Incident"},{"type":"text","text":"Randal Jessup"},{"type":"text","text":"Heartbeam Inc."},{"type":"text","text":"Resolved"},{"type":"text","text":"https://sandbox.oqsha.com/#/inct/view/204/78498"},{"type":"text","text":"Oqsha Team"}]}]}}}


Osmo-x WhatsApp Message has been Sent


# Preparing notification body #


# Checking for device existence #


# User device exists #


Generating AWS SNS Request


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/80f2e057-c1c4-33ff-ab71-96a94157f825


Unauthorized


Push notification failed to send to a device 2596.


# Push notification did not send #


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


Sending Assigned To Whatsapp for IncidentId:78498


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000009155","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":"Giselle Skelton"},{"type":"text","text":"Ticket"},{"type":"text","text":"T/BEAT/III/26/00001"},{"type":"text","text":"Ticket status updated to Resolved., Comments are added as resolving"},{"type":"text","text":"Ticket"},{"type":"text","text":"testing "},{"type":"text","text":"Robertsdale"},{"type":"text","text":"Incident"},{"type":"text","text":"Randal Jessup"},{"type":"text","text":"Heartbeam Inc."},{"type":"text","text":"Resolved"},{"type":"text","text":"https://sandbox.oqsha.com/#/inct/view/204/78498"},{"type":"text","text":"Oqsha Team"}]}]}}}


# Fetching devices bypassing preferences (Single System Fallback) #


Sending Assigned To Notification for IncidentId:78498


Inside SendAppNotification Device Type: GCM


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/cd147add-559f-39a0-aa42-2a122117d365


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


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


Push notification failed to send to a device 2568.


# Checking for device existence #


# User device exists #


Generating AWS SNS Request


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/22f1e197-ee6f-3ada-874b-b733f95c9f23


Unauthorized


Push notification failed to send to a device 6256.


# Push notification did not send #


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/f3e2e940-ac5f-343e-9c85-fc9a2a9d655f


Push notification failed to send to a device 16977.


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000006478","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":"Jacqui Skelton"},{"type":"text","text":"Ticket"},{"type":"text","text":"T/BEAT/III/26/00001"},{"type":"text","text":"Ticket status updated to Resolved., Comments are added as resolving"},{"type":"text","text":"Ticket"},{"type":"text","text":"testing "},{"type":"text","text":"Robertsdale"},{"type":"text","text":"Incident"},{"type":"text","text":"Randal Jessup"},{"type":"text","text":"Heartbeam Inc."},{"type":"text","text":"Resolved"},{"type":"text","text":"https://sandbox.oqsha.com/#/inct/view/204/78498"},{"type":"text","text":"Oqsha Team"}]}]}}}


Osmo-x WhatsApp Message has been Sent


# Preparing notification body #


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/51b263a2-751d-3f27-9fe4-a6d058409422


Push notification failed to send to a device 17143.


Sending email for incident closure


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


Error occurred while sending email using Osmo-x.


Object reference not set to an instance of an object.


Sending Assigned To Whatsapp for IncidentId:78498


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000001710","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":"Hellen Maravilla"},{"type":"text","text":"Ticket"},{"type":"text","text":"T/BEAT/III/26/00001"},{"type":"text","text":"Ticket status updated to Resolved., Comments are added as resolving"},{"type":"text","text":"Ticket"},{"type":"text","text":"testing "},{"type":"text","text":"Robertsdale"},{"type":"text","text":"Incident"},{"type":"text","text":"Randal Jessup"},{"type":"text","text":"Heartbeam Inc."},{"type":"text","text":"Resolved"},{"type":"text","text":"https://sandbox.oqsha.com/#/inct/view/204/78498"},{"type":"text","text":"Oqsha Team"}]}]}}}


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000001657","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":"Karla Mcclintock"},{"type":"text","text":"Ticket"},{"type":"text","text":"T/BEAT/III/26/00001"},{"type":"text","text":"Ticket status updated to Resolved., Comments are added as resolving"},{"type":"text","text":"Ticket"},{"type":"text","text":"testing "},{"type":"text","text":"Robertsdale"},{"type":"text","text":"Incident"},{"type":"text","text":"Randal Jessup"},{"type":"text","text":"Heartbeam Inc."},{"type":"text","text":"Resolved"},{"type":"text","text":"https://sandbox.oqsha.com/#/inct/view/204/78498"},{"type":"text","text":"Oqsha Team"}]}]}}}


# Fetching devices bypassing preferences (Single System Fallback) #


# Checking for device existence #


# User device exists #


Sending Assigned To Notification for IncidentId:78498


Inside SendAppNotification Device Type: GCM


Generating AWS SNS Request


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/056dd5a1-1c27-3e4d-9114-c7300dcd4445


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


# Push notification did not send #


Sending email for incident closure


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000009853","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":"Areli Shrum"},{"type":"text","text":"Ticket"},{"type":"text","text":"T/BEAT/III/26/00001"},{"type":"text","text":"Ticket status updated to Resolved., Comments are added as resolving"},{"type":"text","text":"Ticket"},{"type":"text","text":"testing "},{"type":"text","text":"Robertsdale"},{"type":"text","text":"Incident"},{"type":"text","text":"Randal Jessup"},{"type":"text","text":"Heartbeam Inc."},{"type":"text","text":"Resolved"},{"type":"text","text":"https://sandbox.oqsha.com/#/inct/view/204/78498"},{"type":"text","text":"Oqsha Team"}]}]}}}


Osmo-x WhatsApp Message has been Sent


# Preparing notification body #


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/b0093205-7b0a-3ffc-a18f-0554136bb760


Push notification failed to send to a device 2328.


# Checking for device existence #


# User device exists #


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/9cef82ec-ee40-3b87-8215-1f0ad7165ff7


Push notification failed to send to a device 5927.


Generating AWS SNS Request


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/9ae6f153-9f95-3b3a-9f54-55d87741a891


Unauthorized


Push notification failed to send to a device 9010.


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


Error occurred while sending email using Osmo-x.


Object reference not set to an instance of an object.


Sending Assigned To Whatsapp for IncidentId:78498


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000004003","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":"Marley Lacy"},{"type":"text","text":"Ticket"},{"type":"text","text":"T/BEAT/III/26/00001"},{"type":"text","text":"Ticket status updated to Resolved., Comments are added as resolving"},{"type":"text","text":"Ticket"},{"type":"text","text":"testing "},{"type":"text","text":"Robertsdale"},{"type":"text","text":"Incident"},{"type":"text","text":"Randal Jessup"},{"type":"text","text":"Heartbeam Inc."},{"type":"text","text":"Resolved"},{"type":"text","text":"https://sandbox.oqsha.com/#/inct/view/204/78498"},{"type":"text","text":"Oqsha Team"}]}]}}}


Osmo-x WhatsApp Message has been Sent


# Preparing notification body #


# Fetching devices bypassing preferences (Single System Fallback) #


Sending Assigned To Notification for IncidentId:78498


Inside SendAppNotification Device Type: GCM


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/cd58aaa8-3aca-3d74-9b3e-2b3753cd1a3e


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


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


Push notification failed to send to a device 2561.


# 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/8b395690-f650-3a22-a5b2-98017b62ebb6


Unauthorized


Push notification failed to send to a device 3575.


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/39a2a7b6-5c94-3361-ac38-a2ad98d980a4


Push notification failed to send to a device 4805.


Push notification failed to send to a device 13030.


Sending email for incident closure


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


Reading and binding data to Email Template


Initializing Email Service Client


Generating Email Request


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


--- Email response from Osmo-x is 201


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000001885","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":"Jasmyne Soukup"},{"type":"text","text":"Ticket"},{"type":"text","text":"T/BEAT/III/26/00001"},{"type":"text","text":"Ticket status updated to Resolved., Comments are added as resolving"},{"type":"text","text":"Ticket"},{"type":"text","text":"testing "},{"type":"text","text":"Robertsdale"},{"type":"text","text":"Incident"},{"type":"text","text":"Randal Jessup"},{"type":"text","text":"Heartbeam Inc."},{"type":"text","text":"Resolved"},{"type":"text","text":"https://sandbox.oqsha.com/#/inct/view/204/78498"},{"type":"text","text":"Oqsha Team"}]}]}}}


Osmo-x WhatsApp Message has been Sent


### Ended processing Update incident 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:78498


Sending Assigned To Whatsapp for IncidentId:78498


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"918888888882","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":"Randal Jessup"},{"type":"text","text":"Ticket"},{"type":"text","text":"T/BEAT/III/26/00001"},{"type":"text","text":"Ticket status updated to Closed., Comments are added as closing"},{"type":"text","text":"Ticket"},{"type":"text","text":"testing "},{"type":"text","text":"Robertsdale"},{"type":"text","text":"Incident"},{"type":"text","text":"Randal Jessup"},{"type":"text","text":"Heartbeam Inc."},{"type":"text","text":"Closed"},{"type":"text","text":"https://sandbox.oqsha.com/#/inct/view/204/78498"},{"type":"text","text":"Oqsha Team"}]}]}}}


# Preparing notification body #


# Fetching devices bypassing preferences (Single System Fallback) #


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000006074","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":"Chessie Pollak"},{"type":"text","text":"Ticket"},{"type":"text","text":"T/BEAT/III/26/00001"},{"type":"text","text":"Ticket status updated to Closed., Comments are added as closing"},{"type":"text","text":"Ticket"},{"type":"text","text":"testing "},{"type":"text","text":"Robertsdale"},{"type":"text","text":"Incident"},{"type":"text","text":"Randal Jessup"},{"type":"text","text":"Heartbeam Inc."},{"type":"text","text":"Closed"},{"type":"text","text":"https://sandbox.oqsha.com/#/inct/view/204/78498"},{"type":"text","text":"Oqsha Team"}]}]}}}


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


Sending email for incident closure


Error occurred while sending email using Osmo-x.


Object reference not set to an instance of an object.


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000005109","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":"Kathaleen Hoopes"},{"type":"text","text":"Ticket"},{"type":"text","text":"T/BEAT/III/26/00001"},{"type":"text","text":"Ticket status updated to Closed., Comments are added as closing"},{"type":"text","text":"Ticket"},{"type":"text","text":"testing "},{"type":"text","text":"Robertsdale"},{"type":"text","text":"Incident"},{"type":"text","text":"Randal Jessup"},{"type":"text","text":"Heartbeam Inc."},{"type":"text","text":"Closed"},{"type":"text","text":"https://sandbox.oqsha.com/#/inct/view/204/78498"},{"type":"text","text":"Oqsha Team"}]}]}}}


Osmo-x WhatsApp Message has been Sent


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000009155","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":"Giselle Skelton"},{"type":"text","text":"Ticket"},{"type":"text","text":"T/BEAT/III/26/00001"},{"type":"text","text":"Ticket status updated to Closed., Comments are added as closing"},{"type":"text","text":"Ticket"},{"type":"text","text":"testing "},{"type":"text","text":"Robertsdale"},{"type":"text","text":"Incident"},{"type":"text","text":"Randal Jessup"},{"type":"text","text":"Heartbeam Inc."},{"type":"text","text":"Closed"},{"type":"text","text":"https://sandbox.oqsha.com/#/inct/view/204/78498"},{"type":"text","text":"Oqsha Team"}]}]}}}


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000006478","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":"Jacqui Skelton"},{"type":"text","text":"Ticket"},{"type":"text","text":"T/BEAT/III/26/00001"},{"type":"text","text":"Ticket status updated to Closed., Comments are added as closing"},{"type":"text","text":"Ticket"},{"type":"text","text":"testing "},{"type":"text","text":"Robertsdale"},{"type":"text","text":"Incident"},{"type":"text","text":"Randal Jessup"},{"type":"text","text":"Heartbeam Inc."},{"type":"text","text":"Closed"},{"type":"text","text":"https://sandbox.oqsha.com/#/inct/view/204/78498"},{"type":"text","text":"Oqsha Team"}]}]}}}


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


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000001710","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":"Hellen Maravilla"},{"type":"text","text":"Ticket"},{"type":"text","text":"T/BEAT/III/26/00001"},{"type":"text","text":"Ticket status updated to Closed., Comments are added as closing"},{"type":"text","text":"Ticket"},{"type":"text","text":"testing "},{"type":"text","text":"Robertsdale"},{"type":"text","text":"Incident"},{"type":"text","text":"Randal Jessup"},{"type":"text","text":"Heartbeam Inc."},{"type":"text","text":"Closed"},{"type":"text","text":"https://sandbox.oqsha.com/#/inct/view/204/78498"},{"type":"text","text":"Oqsha Team"}]}]}}}


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000001657","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":"Karla Mcclintock"},{"type":"text","text":"Ticket"},{"type":"text","text":"T/BEAT/III/26/00001"},{"type":"text","text":"Ticket status updated to Closed., Comments are added as closing"},{"type":"text","text":"Ticket"},{"type":"text","text":"testing "},{"type":"text","text":"Robertsdale"},{"type":"text","text":"Incident"},{"type":"text","text":"Randal Jessup"},{"type":"text","text":"Heartbeam Inc."},{"type":"text","text":"Closed"},{"type":"text","text":"https://sandbox.oqsha.com/#/inct/view/204/78498"},{"type":"text","text":"Oqsha Team"}]}]}}}


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000009853","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":"Areli Shrum"},{"type":"text","text":"Ticket"},{"type":"text","text":"T/BEAT/III/26/00001"},{"type":"text","text":"Ticket status updated to Closed., Comments are added as closing"},{"type":"text","text":"Ticket"},{"type":"text","text":"testing "},{"type":"text","text":"Robertsdale"},{"type":"text","text":"Incident"},{"type":"text","text":"Randal Jessup"},{"type":"text","text":"Heartbeam Inc."},{"type":"text","text":"Closed"},{"type":"text","text":"https://sandbox.oqsha.com/#/inct/view/204/78498"},{"type":"text","text":"Oqsha Team"}]}]}}}


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000004003","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":"Marley Lacy"},{"type":"text","text":"Ticket"},{"type":"text","text":"T/BEAT/III/26/00001"},{"type":"text","text":"Ticket status updated to Closed., Comments are added as closing"},{"type":"text","text":"Ticket"},{"type":"text","text":"testing "},{"type":"text","text":"Robertsdale"},{"type":"text","text":"Incident"},{"type":"text","text":"Randal Jessup"},{"type":"text","text":"Heartbeam Inc."},{"type":"text","text":"Closed"},{"type":"text","text":"https://sandbox.oqsha.com/#/inct/view/204/78498"},{"type":"text","text":"Oqsha Team"}]}]}}}


Reading and binding data to Email Template


Initializing Email Service Client


Generating Email Request


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


--- Email response from Osmo-x is 201


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000001885","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":"Jasmyne Soukup"},{"type":"text","text":"Ticket"},{"type":"text","text":"T/BEAT/III/26/00001"},{"type":"text","text":"Ticket status updated to Closed., Comments are added as closing"},{"type":"text","text":"Ticket"},{"type":"text","text":"testing "},{"type":"text","text":"Robertsdale"},{"type":"text","text":"Incident"},{"type":"text","text":"Randal Jessup"},{"type":"text","text":"Heartbeam Inc."},{"type":"text","text":"Closed"},{"type":"text","text":"https://sandbox.oqsha.com/#/inct/view/204/78498"},{"type":"text","text":"Oqsha Team"}]}]}}}


### Ended processing Update incident Event ###


### End Event Execution ###


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


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


### Start Event Execution ###


Message : {"EventName":"Update_USER","EventArgs":[{"Key":"DisplayName","Value":"Bennett Strand"},{"Key":"Password","Value":""},{"Key":"OrganisationName","Value":"Neveu"},{"Key":"UserDivisions","Value":""},{"Key":"UserIncidentSites","Value":"Beaverdam, Champion Heights, Healdton"},{"Key":"OldEmail","Value":""},{"Key":"Email","Value":"osm05721@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


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


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


Initializing Email Service Client


Generating Email Request


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


--- Email response from Osmo-x is 201


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


Message : {"EventName":"Update_USER","EventArgs":[{"Key":"DisplayName","Value":"Nadia Sanchez"},{"Key":"Password","Value":""},{"Key":"OrganisationName","Value":"Neveu"},{"Key":"UserDivisions","Value":""},{"Key":"UserIncidentSites","Value":"Beaverdam, Champion Heights, Healdton"},{"Key":"OldEmail","Value":""},{"Key":"Email","Value":"osm05686@osmosys.co"}]}


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


### End Event Execution ###


Message : {"EventName":"ASSIGNED_TO_NOTIFICATION","EventArgs":[{"Key":"AssignedIncidentID","Value":78499},{"Key":"OrgId","Value":204},{"Key":"AssignedToID","Value":1202}]}


### 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 Giselle Longo, UserId : 1202 for assigned to notification ##


Sending Assigned To Email for IncidentId:78499


Reading and binding data to Email Template


Initializing Email Service Client


Generating Email Request


A Ticket T/BEAT/UCC/26/00001 is assigned to you related to '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:78499


Osmo-x WhatsApp Message has been Sent


# Preparing notification body #


# Fetching devices bypassing preferences (Single System Fallback) #


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


### End Event Execution ###


### Start Event Execution ###


Message : {"EventName":"ASSIGNED_TO_NOTIFICATION","EventArgs":[{"Key":"AssignedIncidentID","Value":78499},{"Key":"OrgId","Value":204},{"Key":"AssignedToID","Value":10992}]}


Generating report.


Converted to byte file


PDF generation successfull


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


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


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


# Calling SendNotificationToIssuerForCreatingPermitToWork function for whatsapp and push notification #


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


Executing sending notification to issuers through whatsapp


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


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/AKTS/CS/EL/DW/26/00001"},{"type":"text","text":"11-Aug-2026"},{"type":"text","text":"Confined Space Entry, Electrical Work, De-shuttering Work"},{"type":"text","text":"Robertsdale"},{"type":"text","text":"hyd"},{"type":"text","text":"Requested by Randal Jessup at 11-Aug-2026 06:58:57 PM"},{"type":"text","text":"Review"},{"type":"text","text":"Elizabet Patty"},{"type":"text","text":"https://sandbox.oqsha.com/#/wp/view/204/427509"}]}]}}}


Osmo-x WhatsApp Message has been Sent


Executing sending push notification to the issuers


# Push Subject for Issuer P/BEAT/COM/AKTS/CS/EL/DW/26/00001


# Preparing notification body #


# Checking for device existence #


# User device exists #


Sending notification for permit to work: 427509


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 #


### End Event Execution ###


### Start Event Execution ###


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


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


Calling Send Email Function for Update User Email


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


Reading and binding data to Email Template


Initializing Email Service Client


Generating Email Request


Your OQSHA Access Has Been Updated


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


--- Email response from Osmo-x is 201


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


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


Message : {"EventName":"NOTIFICATION_FOR_BATCHES_FROZEN","EventArgs":[{"Key":"OrganisationId","Value":264},{"Key":"BatchIds","Value":"[2796,2797,2613,2615,2614,2616,2617,2592,2593,2749,2750]"}]}


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


# Calling SendBatchesFrozenNotification for organisationId=264 #


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


Training Calendar Frozen - August 2026


## Frozen Batches Emails Sent to 16 Departmental Role Users ##


## Frozen Batches Global Executive Summary Sent. TO: 2 users, CC: 0 users ##


### End Event Execution ###


### Start Event Execution ###


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


# Calling SendScheduleAcceptedNotification for orgId=264, batchId=2615 #


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


No devices found for participants in batch 2615. Skipping pushes.


Message : {"EventName":"NOTIFICATION_FOR_BATCH_SCHEDULING_COMPLETED","EventArgs":[{"Key":"OrganisationId","Value":264},{"Key":"OrganisationName","Value":"Neveu"},{"Key":"TniId","Value":179},{"Key":"TniName","Value":"TNI - Industrial Vehicle & Road Safety - Executive"},{"Key":"CourseId","Value":289},{"Key":"SiteId","Value":846},{"Key":"UserIds","Value":"[21569,20231,21570,20304,16544]"}]}


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


# Calling SendBatchSchedulingCompletedNotification for tniId=179 organisationId=264 #


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


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


Reading and binding data to Email Template


Initializing Email Service Client


Generating Email Request


osm08641@osmosys.co, osm03640@osmosys.co, osm05686@osmosys.co, osm06602@osmosys.co, osm05721@osmosys.co

Batch Scheduling Completed for TNI - Industrial Vehicle & Road Safety - Executive


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


--- Email response from Osmo-x is 201


## Bulk Batch Scheduling Email Sent to 5 Safety Heads ##


### End Event Execution ###


### Start Event Execution ###


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


### Started processing for Health Incident Creation Event ###


Executing email notifications to Supervisor/Site EHS for incident creation for OHC


An Incident - IMF/FBYDW/ROO/INJ/26/00002 created for a OHC - HT/FBYDW/ROO/WII/26/00002


Executing whatsapp notifications to Supervisor/Site EHS for incident creation for OHC


Sending WhatsApp for Heath incident creation to User: 5790


Osmo-x WhatsApp Message has been Sent


# Preparing notification body #


# Fetching devices bypassing preferences (Single System Fallback) #


### Ended processing Health Incident Creation Event ###


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


Message : {"EventName":"ASSIGNED_TO_NOTIFICATION","EventArgs":[{"Key":"AssignedIncidentID","Value":78500},{"Key":"OrgId","Value":207},{"Key":"AssignedToID","Value":1855}]}


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


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


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


Reading and binding data to Email Template


Initializing Email Service Client


Generating Email Request


Ticket T/HUBG/BDM/26/00001 has been updated


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


--- Email response from Osmo-x is 201


Sending Assigned To Whatsapp for IncidentId:78500


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000001644","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":"Ana Eaton"},{"type":"text","text":"Ticket"},{"type":"text","text":"T/HUBG/BDM/26/00001"},{"type":"text","text":"Ticket status updated to Resolved., Comments are added as test"},{"type":"text","text":"Ticket"},{"type":"text","text":"2"},{"type":"text","text":"Meadow Oaks"},{"type":"text","text":"Break Down Maintenance"},{"type":"text","text":"Ana Eaton"},{"type":"text","text":"Hub Group Inc."},{"type":"text","text":"Resolved"},{"type":"text","text":"https://sandbox.oqsha.com/#/inct/view/207/78500"},{"type":"text","text":"Oqsha Team"}]}]}}}


Osmo-x WhatsApp Message has been Sent


# Preparing notification body #


Sending email for incident closure


Error occurred while sending email using Osmo-x.


Object reference not set to an instance of an object.


# Fetching devices bypassing preferences (Single System Fallback) #


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000003712","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":"Maxim Noyes"},{"type":"text","text":"Ticket"},{"type":"text","text":"T/HUBG/BDM/26/00001"},{"type":"text","text":"Ticket status updated to Resolved., Comments are added as test"},{"type":"text","text":"Ticket"},{"type":"text","text":"2"},{"type":"text","text":"Meadow Oaks"},{"type":"text","text":"Break Down Maintenance"},{"type":"text","text":"Ana Eaton"},{"type":"text","text":"Hub Group Inc."},{"type":"text","text":"Resolved"},{"type":"text","text":"https://sandbox.oqsha.com/#/inct/view/207/78500"},{"type":"text","text":"Oqsha Team"}]}]}}}


### Ended processing Update incident Event ###


### End Event Execution ###


### Start Event Execution ###


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


Sending Email for IncidentId:78500


Initializing Email Service Client


Generating Email Request


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


--- Email response from Osmo-x is 201


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000001644","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":"Ana Eaton"},{"type":"text","text":"Ticket"},{"type":"text","text":"T/HUBG/BDM/26/00001"},{"type":"text","text":"Ticket status updated to Closed., Comments are added as close"},{"type":"text","text":"Ticket"},{"type":"text","text":"2"},{"type":"text","text":"Meadow Oaks"},{"type":"text","text":"Break Down Maintenance"},{"type":"text","text":"Ana Eaton"},{"type":"text","text":"Hub Group Inc."},{"type":"text","text":"Closed"},{"type":"text","text":"https://sandbox.oqsha.com/#/inct/view/207/78500"},{"type":"text","text":"Oqsha Team"}]}]}}}


Osmo-x WhatsApp Message has been Sent


# Preparing notification body #


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


Sending email for incident closure


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000003712","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":"Maxim Noyes"},{"type":"text","text":"Ticket"},{"type":"text","text":"T/HUBG/BDM/26/00001"},{"type":"text","text":"Ticket status updated to Closed., Comments are added as close"},{"type":"text","text":"Ticket"},{"type":"text","text":"2"},{"type":"text","text":"Meadow Oaks"},{"type":"text","text":"Break Down Maintenance"},{"type":"text","text":"Ana Eaton"},{"type":"text","text":"Hub Group Inc."},{"type":"text","text":"Closed"},{"type":"text","text":"https://sandbox.oqsha.com/#/inct/view/207/78500"},{"type":"text","text":"Oqsha Team"}]}]}}}


Message : {"EventName":"Update_USER","EventArgs":[{"Key":"DisplayName","Value":"Annabel Sellers"},{"Key":"Password","Value":""},{"Key":"OrganisationName","Value":"Neveu"},{"Key":"UserDivisions","Value":""},{"Key":"UserIncidentSites","Value":"Beaverdam, Champion Heights, Healdton"},{"Key":"OldEmail","Value":""},{"Key":"Email","Value":"osm11845@osmosys.co"}]}


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


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


Calling Send Email Function for Update User Email


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


Reading and binding data to Email Template


Your OQSHA Access Has Been Updated


### End Event Execution ###


### Start Event Execution ###


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


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


Initializing Email Service Client


Generating Email Request


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


--- Email response from Osmo-x is 201