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


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


### 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/COI/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/COI/INJ/26/00001 has been validated


Sending WhatsApp for Incident Validation to User: 9275


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000002491","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"oqsha_incident_validate_v2","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"Plummer Cope"},{"type":"text","text":"Sal Eaton"},{"type":"text","text":"IMF/FBYDW/COI/INJ/26/00001"},{"type":"text","text":"Sal Eaton"},{"type":"text","text":"24-Jun-2026 12:00:00 AM"},{"type":"text","text":"Washoe Valley"},{"type":"text","text":"Injury"},{"type":"text","text":"0"},{"type":"text","text":"https://oqsha.com/#/incident-management/report-incident/view/248/1266?dlType=viewIncidentReport"},{"type":"text","text":"EHS Department - TTK Prestige Limited"}]}]}}}


### 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/COI/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: 5530


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000001716","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"oqsha_incident_fir_release_v2","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"Curley Benedict"},{"type":"text","text":"Sal Eaton"},{"type":"text","text":"IMF/FBYDW/COI/INJ/26/00001"},{"type":"text","text":"Sal Eaton"},{"type":"text","text":"24-Jun-2026 12:00:00 AM"},{"type":"text","text":"Washoe Valley"},{"type":"text","text":"Injury"},{"type":"text","text":"0"},{"type":"text","text":"https://oqsha.com/#/incident-management/report-incident/view/248/1266?dlType=viewIncidentReport"},{"type":"text","text":"EHS Department - TTK Prestige Limited"}]}]}}}


Osmo-x WhatsApp Message has been Sent


# Preparing notification body #


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


osm06983@osmosys.co, TTK_KHA_SITE_EHS@oqsha.com, TTK_COB_SITE_EHS@oqsha.com, osm04512@osmosys.co, osm05614@osmosys.co, TTK_EHS@oqsha.com, osm06965@osmosys.co, osm06409@osmosys.co, osm07104@osmosys.co, TTK_KHA_PlantH@oqsha.com, TTK_COB_PlantH@oqsha.com, osm02653@osmosys.co, osm03800@osmosys.co, osm05708@osmosys.co, osm05322@osmosys.co, osm02542@osmosys.co, osm00209@osmosys.co, osm07176@osmosys.co, osm03119@osmosys.co, osm05716@osmosys.co, osm03934@osmosys.co, osm02541@osmosys.co, osm02612@osmosys.co, osm00660@osmosys.co, osm03569@osmosys.co, osm02764@osmosys.co, osm06639@osmosys.co, osm07250@osmosys.co, osm03966@osmosys.co, osm02567@osmosys.co, osm00439@osmosys.co, osm02169@osmosys.co, osm01584@osmosys.co, osm02857@osmosys.co, osm02234@osmosys.co, osm03536@osmosys.co, osm02916@osmosys.co, osm04404@osmosys.co, TTK_HOD@oqsha.com, osm03964@osmosys.co, osm00733@osmosys.co, osm02082@osmosys.co, osm01301@osmosys.co, osm01538@osmosys.co, TTK_KAR_HOD@oqsha.com, osm03664@osmosys.co, osm01805@osmosys.co, osm03368@osmosys.co, osm11365@osmosys.co, osm07294@osmosys.co, osm01369@osmosys.co, osm09145@osmosys.co, osm01026@osmosys.co, TTK_CMO@oqsha.com, osm00254@osmosys.co, osm06710@osmosys.co, osm07055@osmosys.co, osm07261@osmosys.co

Incident IMF/FBYDW/COI/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/COI/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 #


# Checking for device existence #


# User device exists #


Sending Investigation In Progress Notification for Investigation Id:603


Inside SendAppNotification Device Type: GCM


Generating AWS SNS Request


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Test/81407963-1a57-3f7c-b21f-8114736451e4


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


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


You have been assigned to review the investigation report IMF/FBYDW/COI/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


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


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


Sending WhatsApp for Incident Approval to User: 9275


### Ended processing Investigation Validated Event ###


Message : {"EventName":"Update_USER","EventArgs":[{"Key":"DisplayName","Value":"Lafayette Branson"},{"Key":"Password","Value":""},{"Key":"OrganisationName","Value":"Gorilla Technology Group Inc."},{"Key":"UserDivisions","Value":""},{"Key":"UserIncidentSites","Value":"Parkerfield"},{"Key":"OldEmail","Value":""},{"Key":"Email","Value":"osm03704@osmosys.co"}]}


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


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


Calling Send Email Function for Update User Email


Initializing Email Service Client


Generating Email Request


Your OQSHA Access Has Been Updated

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


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


--- Email response from Osmo-x is 201


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


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


Your OQSHA Access Has Been Updated


### End Event Execution ###


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


A new incident IMF/FBYDW/COI/INJ/26/00002 has been reported


Executing whatsapp notifications to Incident Approvers about the Pending approval


Sending WhatsApp Notification for Incident Approval to User: 5538


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000002528","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"oqsha_incident_submitted_v2","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"Mozell Heaton"},{"type":"text","text":"IMF/FBYDW/COI/INJ/26/00002"},{"type":"text","text":"Sal Eaton"},{"type":"text","text":"30-Jun-2026 12:00:00 AM"},{"type":"text","text":"Washoe Valley"},{"type":"text","text":"Injury Happened at Site"},{"type":"text","text":"0"},{"type":"text","text":"https://oqsha.com/#/incident-management/report-incident/view/248/1267?dlType=viewIncidentReport"},{"type":"text","text":"EHS Department - TTK Prestige Limited"}]}]}}}


Osmo-x WhatsApp Message has been Sent


# Preparing notification body #


### Ended processing Incident Submitted Event ###


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


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


Initializing Email Service Client


Generating Email Request


Incident IMF/FBYDW/COI/INJ/26/00002 has been validated


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


--- Email response from Osmo-x is 201


Sending WhatsApp for Incident Validation to User: 9275


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000002491","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"oqsha_incident_validate_v2","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"Plummer Cope"},{"type":"text","text":"Sal Eaton"},{"type":"text","text":"IMF/FBYDW/COI/INJ/26/00002"},{"type":"text","text":"Sal Eaton"},{"type":"text","text":"30-Jun-2026 12:00:00 AM"},{"type":"text","text":"Washoe Valley"},{"type":"text","text":"Injury Happened at Site"},{"type":"text","text":"0"},{"type":"text","text":"https://oqsha.com/#/incident-management/report-incident/view/248/1267?dlType=viewIncidentReport"},{"type":"text","text":"EHS Department - TTK Prestige Limited"}]}]}}}


### Ended processing Incident Validated Event ###


### End Event Execution ###


### Start Event Execution ###


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


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


Sending WhatsApp for Incident Approval to User: 5530


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000001716","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"oqsha_incident_fir_release_v2","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"Curley Benedict"},{"type":"text","text":"Sal Eaton"},{"type":"text","text":"IMF/FBYDW/COI/INJ/26/00002"},{"type":"text","text":"Sal Eaton"},{"type":"text","text":"30-Jun-2026 12:00:00 AM"},{"type":"text","text":"Washoe Valley"},{"type":"text","text":"Injury Happened at Site"},{"type":"text","text":"0"},{"type":"text","text":"https://oqsha.com/#/incident-management/report-incident/view/248/1267?dlType=viewIncidentReport"},{"type":"text","text":"EHS Department - TTK Prestige Limited"}]}]}}}


Osmo-x WhatsApp Message has been Sent


# Preparing notification body #


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


Incident IMF/FBYDW/COI/INJ/26/00002 FIR has been released


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


--- Email response from Osmo-x is 201


### End Event Execution ###


### Start Event Execution ###


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


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


Incident IMF/FBYDW/COI/INJ/26/00002 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 payload: {"providerId":48,"data":{"to":"912000001875","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"oqsha_incident_investigation_v2","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"Sal Eaton"},{"type":"text","text":"IMF/FBYDW/COI/INJ/26/00002"},{"type":"text","text":"Sal Eaton"},{"type":"text","text":"30-Jun-2026 12:00:00 AM"},{"type":"text","text":"Washoe Valley"},{"type":"text","text":"Injury Happened at Site"},{"type":"text","text":"0"},{"type":"text","text":"https://oqsha.com/#/incident-management/report-investigation/view/248/604?dlType=viewInvestigation"},{"type":"text","text":"EHS Department - TTK Prestige Limited"}]}]}}}


Osmo-x WhatsApp Message has been Sent


# Preparing notification body #


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


### 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/COI/INJ/26/00002


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


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000002528","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"oqsha_investigation_submission_v2","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"Mozell Heaton"},{"type":"text","text":"IMF/FBYDW/COI/INJ/26/00002"},{"type":"text","text":"Sal Eaton"},{"type":"text","text":"30-Jun-2026 12:00:00 AM"},{"type":"text","text":"Washoe Valley"},{"type":"text","text":"Injury Happened at Site"},{"type":"text","text":"0"},{"type":"text","text":"https://oqsha.com/#/incident-management/report-investigation/view/248/604?dlType=viewInvestigation"},{"type":"text","text":"EHS Department - TTK Prestige Limited"}]}]}}}


### Ended processing Investigation Submitted Event ###


### End Event Execution ###


### Start Event Execution ###


Message : {"EventName":"Update_USER","EventArgs":[{"Key":"DisplayName","Value":"Lafayette Branson"},{"Key":"Password","Value":""},{"Key":"OrganisationName","Value":"Gorilla Technology Group Inc."},{"Key":"UserDivisions","Value":""},{"Key":"UserIncidentSites","Value":"Parkerfield"},{"Key":"OldEmail","Value":""},{"Key":"Email","Value":"osm03704@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


--- 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":"Update_USER","EventArgs":[{"Key":"DisplayName","Value":"Alessandro Spivey"},{"Key":"Password","Value":""},{"Key":"OrganisationName","Value":"Gorilla Technology Group Inc."},{"Key":"UserDivisions","Value":""},{"Key":"UserIncidentSites","Value":"Parkerfield"},{"Key":"OldEmail","Value":""},{"Key":"Email","Value":"osm10105@osmosys.co"}]}


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


# Calling SendBatchSchedulingCompletedNotification for tniId=90 organisationId=264 #


### End Event Execution ###


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


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


### Start Event Execution ###


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


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


# Calling SendNotificationToBatchParticipantsForCompletedStatus function for  whatsapp notification #


Executing completed notification function to batch participants


Generating certificate.


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


Message : {"EventName":"WHATSAPP_TO_BATCH_PARTICIPANTS","EventArgs":[{"Key":"BatchParticipantIds","Value":"[5575]"},{"Key":"BatchId","Value":1716}]}


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


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


### End Event Execution ###


### Start Event Execution ###


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


Message : {"EventName":"WHATSAPP_TO_BATCH_PARTICIPANTS","EventArgs":[{"Key":"BatchParticipantIds","Value":"[5576]"},{"Key":"BatchId","Value":1718}]}


Sending notification to batch participant for planned and in progress status12286


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"915555555791","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":"Adnan Topete"},{"type":"text","text":"okay"},{"type":"text","text":"EHS Induction"},{"type":"text","text":"Meiwu Technology Company Limited"},{"type":"text","text":"0 Week(s) 0 Day(s) 1 Hour(s)"},{"type":"text","text":"No faculty"},{"type":"text","text":"June 30, 2026  04:32:00 PM"},{"type":"text","text":"PLANNED"},{"type":"text","text":"https://oqsha.com/#/batches/view/256/267/1718?dlType=viewBatch"}]}]}}}


Osmo-x WhatsApp Message has been Sent


Message : {"EventName":"NOTIFICATION_FOR_BATCH_SCHEDULING_COMPLETED","EventArgs":[{"Key":"OrganisationId","Value":264},{"Key":"OrganisationName","Value":"Neveu"},{"Key":"TniId","Value":150},{"Key":"TniName","Value":"TNI - Industrial Vehicle & Road Safety - Non-Executives"},{"Key":"CourseId","Value":306},{"Key":"SiteId","Value":846},{"Key":"UserIds","Value":"[]"}]}


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


# Calling SendBatchSchedulingCompletedNotification for tniId=150 organisationId=264 #


Message : {"EventName":"ASSIGNED_TO_NOTIFICATION","EventArgs":[{"Key":"AssignedIncidentID","Value":76215},{"Key":"AssignedToID","Value":13850}]}


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


# Preparing notification body #


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


### End Event Execution ###


### Start Event Execution ###


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


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


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


Calling Send Email Function for Update User Email


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


Reading and binding data to Email Template


Initializing Email Service Client


Generating Email Request


Your OQSHA Access Has Been Updated


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


--- Email response from Osmo-x is 201


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


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


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


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


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


### Start Event Execution ###


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


# Calling SendNotificationToIssuerForCreatingPermitToWork function for whatsapp and push notification #


Executing sending notification to issuers through whatsapp


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


Osmo-x WhatsApp Message has been Sent


Executing sending push notification to the issuers


# Push Subject for Issuer P/GLTO/MH9/BLIV/HW/26/00001


# Preparing notification body #


# Checking for device existence #


# User device exists #


Sending notification for permit to work: 396344


Inside SendAppNotification Device Type: GCM


Generating AWS SNS Request


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


Unauthorized


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


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


Push notification failed to send to a device 9375.


# Push notification did not send #


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


Push notification failed to send to a device 10879.


### End Event Execution ###


### Start Event Execution ###


Message : {"EventName":"ASSIGNED_TO_NOTIFICATION","EventArgs":[{"Key":"AssignedIncidentID","Value":76216},{"Key":"AssignedToID","Value":11505}]}


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


Osmo-x WhatsApp Message has been Sent


# Preparing notification body #


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


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


Executing sending push notification to the issuers


# Push Subject for Issuer P/GLTO/APA/RNA/EL/26/00001


# Checking for device existence #


# User device exists #


Sending notification for permit to work: 396345


Inside SendAppNotification Device Type: GCM


Generating AWS SNS Request


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/ceffff5a-9cfd-3800-b3aa-a18c2ffe57ed


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


# Push notification did not send #


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/788dbead-5308-3c7c-a9b3-650b54ea3ce9


Push notification failed to send to a device 20473.


### End Event Execution ###


### Start Event Execution ###


Message : {"EventName":"ASSIGNED_TO_NOTIFICATION","EventArgs":[{"Key":"AssignedIncidentID","Value":76217},{"Key":"AssignedToID","Value":9556}]}


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


Osmo-x WhatsApp Message has been Sent


# Preparing notification body #


# Checking for device existence #


# User device exists #


Sending Assigned To Notification for IncidentId:76217


Generating AWS SNS Request


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


Unauthorized


Push notification failed to send to a device 15667.


# Push notification did not send #


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


### End Event Execution ###