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


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


### Start Event Execution ###


Message : {"EventName":"INFORM_TO_INCIDENT_CREATION_NOTIFICATION","EventArgs":[{"Key":"IncidentId","Value":77902},{"Key":"InformToUserId","Value":5827}]}


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


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000002062","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"oqsha_ticket_inform_to_template_v3","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"Merwin Barnette"},{"type":"text","text":"Safety Alert"},{"type":"text","text":"T/FBYDW/UCC/26/00001"},{"type":"text","text":"desc"},{"type":"text","text":"Colver"},{"type":"text","text":"Unsafe Condition"},{"type":"text","text":"Cato Kwon"},{"type":"text","text":"Falcon's Beyond Global Inc. Warrants"},{"type":"text","text":"Open"},{"type":"text","text":"https://oqsha.com/#/incidents/view/248/77902?dlType=viewTicket"},{"type":"text","text":"EHS Department - TTK Prestige Limited"}]}]}}}


Osmo-x WhatsApp Message has been Sent


Generating Safety Alert report.


Converted to byte file


## Safety Alert Email Sent to Merwin Barnette##


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


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


Reading and binding data to Email Template


Initializing Email Service Client


Generating Email Request


Safety Alert T/FBYDW/UCC/26/00001 has been created

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


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


--- Email response from Osmo-x is 201


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


Sending Inform-To Push Notification for IncidentId: 77902


Inside SendAppNotification Device Type: GCM


Generating AWS SNS Request


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/6c3ebb67-6f10-39b7-9e0b-310f1219c556


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


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


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


Initializing Email Service Client


Generating Email Request


A new incident IMF/FBYDW/ROO/FAO/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: 5530


Osmo-x WhatsApp Message has been Sent


# Preparing notification body #


### Ended processing Incident Submitted Event ###


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


Reading and binding data to Email Template


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


Sending WhatsApp Notification for Incident Approval to User: 5533


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


### End Event Execution ###


### Start Event Execution ###


Message : {"EventName":"NOTIFICATION_FOR_WORK_PERMIT_CREATION","EventArgs":[{"Key":"WorkPermitId","Value":"3420"},{"Key":"ApproverIds","Value":"[5889,5538]"},{"Key":"SiteName","Value":"Colver"},{"Key":"CreatedBy","Value":"Cato Kwon"},{"Key":"WorkPermitUid","Value":"WP/FBYDW/ROO/EWP/26/00001"},{"Key":"OrgId","Value":248},{"Key":"OrganisationName","Value":"Falcon's Beyond Global Inc. Warrants"}]}


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


# Calling SendNotificationForWorkPermitCreation function for email/WhatsApp #


Executing email and WhatsApp notifications to WorkPermit approvers


Sending WorkPermit creation email to: TTK_EHS@oqsha.com


Initializing Email Service Client


Generating Email Request


New Work Permit Assigned


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


--- Email response from Osmo-x is 201


Sending WorkPermit creation WhatsApp message to: 912000002528


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000002528","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"oqsha_work_permit_creation_alert_v3","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"Mozell Heaton"},{"type":"text","text":"WP/FBYDW/ROO/EWP/26/00001"},{"type":"text","text":"Colver"},{"type":"text","text":"Falcon's Beyond Global Inc. Warrants"},{"type":"text","text":"Cato Kwon"},{"type":"text","text":"https://oqsha.com/#/permit-to-work/view-work-permit/248/3420?dlType=viewWorkPermitV2"},{"type":"text","text":"EHS Department - TTK Prestige Limited"}]}]}}}


Osmo-x WhatsApp Message has been Sent


Sending WorkPermit creation email to: osm07104@osmosys.co


Sending WorkPermit creation WhatsApp message to: 912000003104


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000003104","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"oqsha_work_permit_creation_alert_v3","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"Cato Kwon"},{"type":"text","text":"WP/FBYDW/ROO/EWP/26/00001"},{"type":"text","text":"Colver"},{"type":"text","text":"Falcon's Beyond Global Inc. Warrants"},{"type":"text","text":"Cato Kwon"},{"type":"text","text":"https://oqsha.com/#/permit-to-work/view-work-permit/248/3420?dlType=viewWorkPermitV2"},{"type":"text","text":"EHS Department - TTK Prestige Limited"}]}]}}}


# Preparing notification body #


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


# Checking for device existence #


# User device exists #


Sending Assigned To Notification for Work Permit Id:3420


Inside SendAppNotification Device Type: GCM


Generating AWS SNS Request


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Test/8cf33be7-a8c2-39bc-8771-1b80e7f250d4


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


# Push notification did not send #


### End Event Execution ###


### Start Event Execution ###


Message : {"EventName":"DEPARTMENT_INCHARGE_NOTIFICATION_FOR_WORK_PERMIT_CREATION","EventArgs":[{"Key":"WorkPermitId","Value":"3420"},{"Key":"UserIds","Value":"[6702]"},{"Key":"SiteName","Value":"Colver"},{"Key":"CreatedBy","Value":"Cato Kwon"},{"Key":"WorkPermitUid","Value":"WP/FBYDW/ROO/EWP/26/00001"},{"Key":"OrgId","Value":248},{"Key":"OrganisationName","Value":"Falcon's Beyond Global Inc. Warrants"}]}


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


# Calling SendDepartmentInchargeNotificationForWorkPermitCreation function for email/WhatsApp #


Executing email and WhatsApp notifications to WorkPermit approvers


Sending WorkPermit creation email to:


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


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


Sending WorkPermit creation WhatsApp message to: 912000004811


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000004811","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"oqsha_new_work_permit_department_incharge","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"Bedford Miley"},{"type":"text","text":"WP/FBYDW/ROO/EWP/26/00001"},{"type":"text","text":"Colver"},{"type":"text","text":"Falcon's Beyond Global Inc. Warrants"},{"type":"text","text":"Cato Kwon"},{"type":"text","text":"https://oqsha.com/#/permit-to-work/view-work-permit/248/3420?dlType=viewWorkPermitV2"},{"type":"text","text":"EHS Department - TTK Prestige Limited"}]}]}}}


Osmo-x WhatsApp Message has been Sent


# Preparing notification body #


Message : {"EventName":"WORK_PERMIT_APPROVED_INFORM_TO_CREATOR_NOTIFICATION","EventArgs":[{"Key":"CreatorId","Value":"5889"},{"Key":"ApproverName","Value":"Cato Kwon"},{"Key":"WorkPermitId","Value":"3420"},{"Key":"WorkPermitUid","Value":"WP/FBYDW/ROO/EWP/26/00001"},{"Key":"SiteName","Value":"Colver"},{"Key":"OrganisationName","Value":"Falcon's Beyond Global Inc. Warrants"},{"Key":"StatusPastTenseName","Value":"Approved"},{"Key":"ApprovedOn","Value":"29-Jul-2026 11:23:53 AM"},{"Key":"OrgId","Value":248}]}


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


# Calling SendWorkPermitApprovedInformToCreatorNotification function for email #


Executing email notifications to WorkPermit Creator about the approval by an Approver


Sending WorkPermit Approver Clarification email to WorkPermit Creator: osm07104@osmosys.co


Reading and binding data to Email Template


Initializing Email Service Client


Generating Email Request


Cato Kwon has Approved your Work Permit


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


--- Email response from Osmo-x is 201


Executing whatsapp notifications to WorkPermit Creator about the approval by an Approver


Sending WhatsApp for WorkPermit to user: 5889


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000003104","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"oqsha_work_permit_approved_inform_to_v2","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"Cato Kwon"},{"type":"text","text":"Cato Kwon"},{"type":"text","text":"Approved"},{"type":"text","text":"WP/FBYDW/ROO/EWP/26/00001"},{"type":"text","text":"Colver"},{"type":"text","text":"Falcon's Beyond Global Inc. Warrants"},{"type":"text","text":"29-Jul-2026 11:23:53 AM"},{"type":"text","text":"https://oqsha.com/#/permit-to-work/view-work-permit/248/3420?dlType=viewWorkPermitV2"},{"type":"text","text":"EHS Department - TTK Prestige Limited"}]}]}}}


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


### End Event Execution ###


### Start Event Execution ###


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


# Calling SendNotificationToTaskAssignees function for WhatsApp notification #


Sending WhatsApp notification for task assignment to user ID: 5889


Message : {"EventName":"ASSIGNED_TO_NOTIFICATION","EventArgs":[{"Key":"AssignedIncidentID","Value":77902},{"Key":"AssignedToID","Value":5889}]}


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


Osmo-x WhatsApp Message has been Sent


Sending Task Assignment Email for TaskId: 15818, UserId: 5889


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


Initializing Email Service Client


Generating Email Request


New Action Tracker Assigned - AT/FBYDW/ROO/TTT/26/00001


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


--- Email response from Osmo-x is 201


# Preparing notification body #


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


### End Event Execution ###


Converted to byte file


PDF generation successfull


## Sending email to Cato Kwon, UserId : 5889 for assigned to notification ##


Sending Assigned To Email for IncidentId:77902


Reading and binding data to Email Template


A Safety Alert T/FBYDW/UCC/26/00001 is assigned to you related to 'Unsafe Condition'


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


Sending Assigned To Whatsapp for IncidentId:77902


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000003104","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":"Cato Kwon"},{"type":"text","text":"Safety Alert"},{"type":"text","text":"T/FBYDW/UCC/26/00001"},{"type":"text","text":"desc"},{"type":"text","text":"Colver"},{"type":"text","text":"Unsafe Condition"},{"type":"text","text":"Cato Kwon"},{"type":"text","text":"Falcon's Beyond Global Inc. Warrants"},{"type":"text","text":"Assigned"},{"type":"text","text":"https://oqsha.com/#/incidents/view/248/77902?dlType=viewTicket"},{"type":"text","text":"EHS Department - TTK Prestige Limited"}]}]}}}


Osmo-x WhatsApp Message has been Sent


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


### Start Event Execution ###


Message : {"EventName":"UPDATE_INCIDENT_NOTIFICATION","EventArgs":[{"Key":"IncidentId","Value":77902},{"Key":"IncidentHistoryId","Value":111074},{"Key":"IsTicketAssigned","Value":true}]}


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


Initializing Email Service Client


Generating Email Request


Safety Alert T/FBYDW/UCC/26/00001 has been updated


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


--- Email response from Osmo-x is 201


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000003104","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":"Cato Kwon"},{"type":"text","text":"Safety Alert"},{"type":"text","text":"T/FBYDW/UCC/26/00001"},{"type":"text","text":"Safety Alert status updated to Assigned., Assigned To has been updated to 'Cato Kwon', Due Date has been updated to '30-Jul-2026',"},{"type":"text","text":"Safety Alert"},{"type":"text","text":"desc"},{"type":"text","text":"Colver"},{"type":"text","text":"Unsafe Condition"},{"type":"text","text":"Cato Kwon"},{"type":"text","text":"Falcon's Beyond Global Inc. Warrants"},{"type":"text","text":"Assigned"},{"type":"text","text":"https://oqsha.com/#/incidents/view/248/77902?dlType=viewTicket"},{"type":"text","text":"EHS Department - TTK Prestige Limited"}]}]}}}


# Preparing notification body #


### Ended processing Update incident Event ###


### End Event Execution ###


Message : {"EventName":"WORK_PERMIT_APPROVED_INFORM_TO_CREATOR_NOTIFICATION","EventArgs":[{"Key":"CreatorId","Value":"5889"},{"Key":"ApproverName","Value":"Mozell Heaton"},{"Key":"WorkPermitId","Value":"3420"},{"Key":"WorkPermitUid","Value":"WP/FBYDW/ROO/EWP/26/00001"},{"Key":"SiteName","Value":"Colver"},{"Key":"OrganisationName","Value":"Falcon's Beyond Global Inc. Warrants"},{"Key":"StatusPastTenseName","Value":"Approved"},{"Key":"ApprovedOn","Value":"29-Jul-2026 11:25:24 AM"},{"Key":"OrgId","Value":248}]}


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


# Calling SendWorkPermitApprovedInformToCreatorNotification function for email #


Executing email notifications to WorkPermit Creator about the approval by an Approver


Sending WorkPermit Approver Clarification email to WorkPermit Creator: osm07104@osmosys.co


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


Reading and binding data to Email Template


Mozell Heaton has Approved your Work Permit


Executing whatsapp notifications to WorkPermit Creator about the approval by an Approver


Sending WhatsApp for WorkPermit to user: 5889


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000003104","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"oqsha_work_permit_approved_inform_to_v2","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"Cato Kwon"},{"type":"text","text":"Mozell Heaton"},{"type":"text","text":"Approved"},{"type":"text","text":"WP/FBYDW/ROO/EWP/26/00001"},{"type":"text","text":"Colver"},{"type":"text","text":"Falcon's Beyond Global Inc. Warrants"},{"type":"text","text":"29-Jul-2026 11:25:24 AM"},{"type":"text","text":"https://oqsha.com/#/permit-to-work/view-work-permit/248/3420?dlType=viewWorkPermitV2"},{"type":"text","text":"EHS Department - TTK Prestige Limited"}]}]}}}


Osmo-x WhatsApp Message has been Sent


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


### Start Event Execution ###


Message : {"EventName":"WORK_PERMIT_APPROVED_INFORM_TO_ROLES_NOTIFICATION","EventArgs":[{"Key":"UserId","Value":"6702"},{"Key":"WorkPermitId","Value":"3420"},{"Key":"WorkPermitUid","Value":"WP/FBYDW/ROO/EWP/26/00001"},{"Key":"SiteName","Value":"Colver"},{"Key":"OrganisationName","Value":"Falcon's Beyond Global Inc. Warrants"},{"Key":"ApprovedOn","Value":"29-Jul-2026 11:25:24 AM"},{"Key":"OrgId","Value":248}]}


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


Executing email notifications to Role Based User about the approval of Work Permit by an Approver


Sending WorkPermit Approver Clarification email to Role Based user:


Error occurred while sending email using Osmo-x.


Object reference not set to an instance of an object.


Executing whatsapp notifications to Role based User about the approval of Work Permit by an Approver


Sending WhatsApp for WorkPermit to user: 6702


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000004811","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"oqsha_work_permit_approved_inform_to_user","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"Bedford Miley"},{"type":"text","text":"WP/FBYDW/ROO/EWP/26/00001"},{"type":"text","text":"Colver"},{"type":"text","text":"Falcon's Beyond Global Inc. Warrants"},{"type":"text","text":"29-Jul-2026 11:25:24 AM"},{"type":"text","text":"https://oqsha.com/#/permit-to-work/view-work-permit/248/3420?dlType=viewWorkPermitV2"},{"type":"text","text":"EHS Department - TTK Prestige Limited"}]}]}}}


MySql.Data.MySqlClient.MySqlException (0x80004005): Column 'notification_body' cannot be null
   at MySql.Data.MySqlClient.MySqlStream.ReadPacket()
   at MySql.Data.MySqlClient.NativeDriver.GetResult(Int32& affectedRow, Int64& insertedId)
   at MySql.Data.MySqlClient.Driver.GetResult(Int32 statementId, Int32& affectedRows, Int64& insertedId)
   at MySql.Data.MySqlClient.Driver.NextResult(Int32 statementId, Boolean force)
   at MySql.Data.MySqlClient.MySqlDataReader.NextResult()
   at MySql.Data.MySqlClient.MySqlCommand.ExecuteReader(CommandBehavior behavior)
   at MySql.Data.MySqlClient.MySqlCommand.ExecuteNonQuery()
   at Dapper.SqlMapper.ExecuteImpl(IDbConnection cnn, CommandDefinition& command)
   at IncidentReporter.DAL.Repositories.NotificationsRepo.BulkInsertUserModuleNotification(IEnumerable`1 userNotifications) in C:\GitLab-Runner\builds\27n6lYj0J\0\incident-reporter\incident-reporter-api\IncidentReporter\IncidentReporter.DAL\Repositories\NotificationsRepo.cs:line 1041
   at IncidentReporter.NotificationSender.Helpers.AddUserModuleNotificationHelper.AddUserModuleNotification(Int32 orgId, Int32 entityId, List`1 userIds, Dictionary`2 userTemplateContent, Int32 acmModuleId, UserModuleNotificationType notificationType, Int32 createdById, String conn, String viewLink) in C:\GitLab-Runner\builds\27n6lYj0J\0\incident-reporter\incident-reporter-api\IncidentReporter\IncidentReporter.NotificationSender\Helpers\AddUserModuleNotificationHelper.cs:line 125
   at IncidentReporter.NotificationSender.DAL.Events.Notifier.SendWorkPermitApprovedInformToRolesNotification(String eventName, String userId, String workPermitId, String workPermitUid, String siteName, String organisationName, String approvedOn, Int64 orgId) in C:\GitLab-Runner\builds\27n6lYj0J\0\incident-reporter\incident-reporter-api\IncidentReporter\IncidentReporter.NotificationSender\DAL\Events\Notifier.cs:line 15205
   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 1839


### End Event Execution ###


Message : {"EventName":"WORK_PERMIT_APPROVED_CONTRACTOR_SUPERVISOR_NOTIFICATION","EventArgs":[{"Key":"WorkPermitId","Value":"3420"},{"Key":"WorkPermitUid","Value":"WP/FBYDW/ROO/EWP/26/00001"},{"Key":"SiteName","Value":"Colver"},{"Key":"OrganisationName","Value":"Falcon's Beyond Global Inc. Warrants"},{"Key":"ApprovedOn","Value":"29-Jul-2026 11:25:24 AM"},{"Key":"OrgId","Value":248}]}


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


# Calling SendWorkPermitApprovedInformToCreatorNotification function for email #


Executing email notifications to Contractor Supervisor about the approval of Work Permit by all Approver


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


# Calling SendNotificationToApproversForWorkPermitStatusChange function for email/WhatsApp #


Executing email and WhatsApp notifications to WorkPermit approvers


Sending WorkPermit status change email to: TTK_EHS@oqsha.com


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


Reading and binding data to Email Template


Initializing Email Service Client


Generating Email Request


Work Permit Status Updated


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


--- Email response from Osmo-x is 201


Sending WorkPermit status change WhatsApp message to: 912000002528


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000002528","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"oqsha_work_permit_status_update_template_v2","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"Mozell Heaton"},{"type":"text","text":"WP/FBYDW/ROO/EWP/26/00001"},{"type":"text","text":"Colver"},{"type":"text","text":"Falcon's Beyond Global Inc. Warrants"},{"type":"text","text":"Cancelled"},{"type":"text","text":"Mozell Heaton"},{"type":"text","text":"https://oqsha.com/#/permit-to-work/view-work-permit/248/3420?dlType=viewWorkPermitV2"},{"type":"text","text":"EHS Department - TTK Prestige Limited"}]}]}}}


Osmo-x WhatsApp Message has been Sent


Sending WorkPermit status change email to: osm07104@osmosys.co


Sending WorkPermit status change WhatsApp message to: 912000003104


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000003104","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"oqsha_work_permit_status_update_template_v2","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"Cato Kwon"},{"type":"text","text":"WP/FBYDW/ROO/EWP/26/00001"},{"type":"text","text":"Colver"},{"type":"text","text":"Falcon's Beyond Global Inc. Warrants"},{"type":"text","text":"Cancelled"},{"type":"text","text":"Mozell Heaton"},{"type":"text","text":"https://oqsha.com/#/permit-to-work/view-work-permit/248/3420?dlType=viewWorkPermitV2"},{"type":"text","text":"EHS Department - TTK Prestige Limited"}]}]}}}


Sending WorkPermit status change email to:


Error occurred while sending email using Osmo-x.


Object reference not set to an instance of an object.


Sending WorkPermit status change WhatsApp message to: 912000004811


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000004811","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"oqsha_work_permit_status_update_template_v2","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"Bedford Miley"},{"type":"text","text":"WP/FBYDW/ROO/EWP/26/00001"},{"type":"text","text":"Colver"},{"type":"text","text":"Falcon's Beyond Global Inc. Warrants"},{"type":"text","text":"Cancelled"},{"type":"text","text":"Mozell Heaton"},{"type":"text","text":"https://oqsha.com/#/permit-to-work/view-work-permit/248/3420?dlType=viewWorkPermitV2"},{"type":"text","text":"EHS Department - TTK Prestige Limited"}]}]}}}


# Preparing notification body #


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


# Checking for device existence #


# User device exists #


Sending Status Update Notification for Work Permit Id:3420


Inside SendAppNotification Device Type: GCM


Generating AWS SNS Request


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Test/8cf33be7-a8c2-39bc-8771-1b80e7f250d4


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


# Push notification did not send #


### End Event Execution ###


### Start Event Execution ###


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


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


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


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


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


Osmo-x WhatsApp Message has been Sent


# Preparing notification body #


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


### Ended processing Incident Validated Event ###


### End Event Execution ###


### Start Event Execution ###


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


Sending WhatsApp for Incident Validation to User: 5533


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


# Calling SendNotificationToTaskAssignees function for WhatsApp notification #


Sending WhatsApp notification for task assignment to user ID: 5889


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000003104","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"oqsha_task_assigned_to_notification_v4","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"Cato Kwon"},{"type":"text","text":"Action Tracker"},{"type":"text","text":"AT/FBYDW/ROO/MDA/26/00002"},{"type":"text","text":"at app ehs "},{"type":"text","text":"Mock Drill Actions"},{"type":"text","text":"https://oqsha.com/#/tasks/edit/15820?dlType=viewTask&orgID=248"},{"type":"text","text":"EHS Department - TTK Prestige Limited"}]}]}}}


Sending Task Assignment Email for TaskId: 15820, UserId: 5889


Initializing Email Service Client


Generating Email Request


New Action Tracker Assigned - AT/FBYDW/ROO/MDA/26/00002


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


--- Email response from Osmo-x is 201


# Preparing notification body #


Message : {"EventName":"UPDATE_INCIDENT_NOTIFICATION","EventArgs":[{"Key":"IncidentId","Value":77902},{"Key":"IncidentHistoryId","Value":111075},{"Key":"IsTicketAssigned","Value":false}]}


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


Sending Assigned To Whatsapp for IncidentId:77902


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000003104","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":"Cato Kwon"},{"type":"text","text":"Safety Alert"},{"type":"text","text":"T/FBYDW/UCC/26/00001"},{"type":"text","text":"Safety Alert status updated to Resolved., Comments are added as res"},{"type":"text","text":"Safety Alert"},{"type":"text","text":"desc"},{"type":"text","text":"Colver"},{"type":"text","text":"Unsafe Condition"},{"type":"text","text":"Cato Kwon"},{"type":"text","text":"Falcon's Beyond Global Inc. Warrants"},{"type":"text","text":"Resolved"},{"type":"text","text":"https://oqsha.com/#/incidents/view/248/77902?dlType=viewTicket"},{"type":"text","text":"EHS Department - TTK Prestige Limited"}]}]}}}


Osmo-x WhatsApp Message has been Sent


# Checking for device existence #


# User device exists #


Sending Assigned To Notification for IncidentId:77902


Inside SendAppNotification Device Type: GCM


Generating AWS SNS Request


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Test/8cf33be7-a8c2-39bc-8771-1b80e7f250d4


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


# Push notification did not send #


# Preparing notification body #


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


### Ended processing Update incident Event ###


### End Event Execution ###


### Start Event Execution ###


Message : {"EventName":"INCIDENT_CLOSURE_NOTIFICATION_VALIDATION_1","EventArgs":[{"Key":"IncidentId","Value":77902},{"Key":"ClosedById","Value":5889}]}


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


### Started processing for Incident Closure Validation Level 1 Event ###


Generating report.


## Sending notification to Site EHS user ##


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


## Sending email to Merwin Barnette, UserId : 5827 for Incident Closure Validation notification ##


Converted to byte file


Sending Incident Closure Validation Email with Safety Alert PDF for IncidentId:77902


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


Reading and binding data to Email Template


Initializing Email Service Client


Generating Email Request


Safety Alert Validation Level 1


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


--- Email response from Osmo-x is 201


Sending Inform-To Update WhatsApp for IncidentId:77902


Osmo-x WhatsApp Message has been Sent


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


### Ended processing Incident Closure Validation Level 1 Event ###


### End Event Execution ###


### Start Event Execution ###


Message : {"EventName":"TASK_CLOSURE_NOTIFICATION_VALIDATION_1","EventArgs":[{"Key":"TaskId","Value":15820},{"Key":"OrgId","Value":248}]}


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


### Started processing for Task Closure Validation Level 1 Event ###


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


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


Executing email notifications to Incident Approvers about the Pending approval


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


Executing whatsapp notifications to Incident Approvers about the Pending approval


Sending WhatsApp for Incident Approval to User: 5530


Osmo-x WhatsApp Message has been Sent


# Preparing notification body #


### Ended processing Incident Validated Event ###


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


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, osm04512@osmosys.co, osm05614@osmosys.co, osm01301@osmosys.co, osm05716@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, 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, osm01538@osmosys.co, TTK_KAR_HOD@oqsha.com, osm03664@osmosys.co, osm03368@osmosys.co, osm11365@osmosys.co, osm07294@osmosys.co, osm01369@osmosys.co, osm09145@osmosys.co, osm01026@osmosys.co, TTK_KHA_MEO@oqsha.com, osm00021@osmosys.co, osm01200@osmosys.co, osm02035@osmosys.co, osm00644@osmosys.co, osm00821@osmosys.co, TTK_CMO@oqsha.com, osm00254@osmosys.co, osm06710@osmosys.co, osm07055@osmosys.co, osm07261@osmosys.co

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


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


--- Email response from Osmo-x is 201


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


Sending WhatsApp for Incident Approval to User: 5538


Osmo-x WhatsApp Message has been Sent


# Preparing notification body #


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


### End Event Execution ###


### Start Event Execution ###


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


Message : {"EventName":"UPDATE_INCIDENT_NOTIFICATION","EventArgs":[{"Key":"IncidentId","Value":77902},{"Key":"IncidentHistoryId","Value":111076},{"Key":"IsTicketAssigned","Value":false}]}


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


Initializing Email Service Client


Generating Email Request


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


--- Email response from Osmo-x is 201


Sending Assigned To Whatsapp for IncidentId:77902


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000003104","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":"Cato Kwon"},{"type":"text","text":"Safety Alert"},{"type":"text","text":"T/FBYDW/UCC/26/00001"},{"type":"text","text":"Safety Alert status updated to Validated., Comments are added as v"},{"type":"text","text":"Safety Alert"},{"type":"text","text":"desc"},{"type":"text","text":"Colver"},{"type":"text","text":"Unsafe Condition"},{"type":"text","text":"Cato Kwon"},{"type":"text","text":"Falcon's Beyond Global Inc. Warrants"},{"type":"text","text":"Validated"},{"type":"text","text":"https://oqsha.com/#/incidents/view/248/77902?dlType=viewTicket"},{"type":"text","text":"EHS Department - TTK Prestige Limited"}]}]}}}


Osmo-x WhatsApp Message has been Sent


# Preparing notification body #


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


### Ended processing Update incident Event ###


### End Event Execution ###


### Start Event Execution ###


Message : {"EventName":"INCIDENT_CLOSURE_NOTIFICATION_VALIDATION_2","EventArgs":[{"Key":"IncidentId","Value":77902},{"Key":"ClosedById","Value":5827}]}


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


### Started processing for Incident Closure Validation Level 2 Event ###


Generating report.


## Sending notification to EHS head user ##


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


## Sending email to Mozell Heaton, UserId : 5538 for Incident Closure Validation notification ##


Sending Incident Closure Validation Email for IncidentId:77902


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


Reading and binding data to Email Template


Initializing Email Service Client


Generating Email Request


Safety Alert Validation For Closure


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


--- Email response from Osmo-x is 201


Sending Inform-To Update WhatsApp for IncidentId:77902


Osmo-x WhatsApp Message has been Sent


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


### Ended processing Incident Closure Validation Level 2 Event ###


### End Event Execution ###


### Start Event Execution ###


Message : {"EventName":"TASK_CLOSURE_NOTIFICATION_VALIDATION_2","EventArgs":[{"Key":"TaskId","Value":15820},{"Key":"OrgId","Value":248}]}


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


### Started processing for Task Closure Validation Level 2 Event ###


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


### 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/FBYDW/ROO/INJ/26/00001 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: 5889


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


*--- 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/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: 5533


Osmo-x WhatsApp Message has been Sent


# Preparing notification body #


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


### Ended processing Investigation Submitted Event ###


### End Event Execution ###


### Start Event Execution ###


Incident IMF/FBYDW/ROO/FAO/26/00001 has been validated, form a team to investigate


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


Sending WhatsApp for Investigation Approval to User: 5530


Message : {"EventName":"UPDATE_INCIDENT_NOTIFICATION","EventArgs":[{"Key":"IncidentId","Value":77902},{"Key":"IncidentHistoryId","Value":111077},{"Key":"IsTicketAssigned","Value":false}]}


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


Initializing Email Service Client


Generating Email Request


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


--- Email response from Osmo-x is 201


Sending Assigned To Whatsapp for IncidentId:77902


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000003104","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":"Cato Kwon"},{"type":"text","text":"Safety Alert"},{"type":"text","text":"T/FBYDW/UCC/26/00001"},{"type":"text","text":"Safety Alert status updated to Closed., Comments are added as c"},{"type":"text","text":"Safety Alert"},{"type":"text","text":"desc"},{"type":"text","text":"Colver"},{"type":"text","text":"Unsafe Condition"},{"type":"text","text":"Cato Kwon"},{"type":"text","text":"Falcon's Beyond Global Inc. Warrants"},{"type":"text","text":"Closed"},{"type":"text","text":"https://oqsha.com/#/incidents/view/248/77902?dlType=viewTicket"},{"type":"text","text":"EHS Department - TTK Prestige Limited"}]}]}}}


Osmo-x WhatsApp Message has been Sent


# Preparing notification body #


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


### Ended processing Update incident Event ###


### End Event Execution ###


### Start Event Execution ###


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


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


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


Validate the investigation report for the Incident IMF/FBYDW/ROO/FAO/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 Incident Approval to User: 5533


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


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


TTK_COB_SITE_EHS@oqsha.com, osm04512@osmosys.co, osm05614@osmosys.co, osm01301@osmosys.co, osm05716@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, 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, osm01538@osmosys.co, TTK_KAR_HOD@oqsha.com, osm03664@osmosys.co, osm03368@osmosys.co, osm11365@osmosys.co, osm07294@osmosys.co, osm01369@osmosys.co, osm09145@osmosys.co, osm01026@osmosys.co, TTK_KHA_MEO@oqsha.com, osm00021@osmosys.co, osm01200@osmosys.co, osm02035@osmosys.co, osm00644@osmosys.co, osm00821@osmosys.co, TTK_CMO@oqsha.com

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


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


Osmo-x WhatsApp Message has been Sent


Executing sending push notification to the issuers


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


# Preparing notification body #


# Checking for device existence #


# User device exists #


Sending notification for permit to work: 418457


Inside SendAppNotification Device Type: GCM


Generating AWS SNS Request


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


Unauthorized


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


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


Push notification failed to send to a device 6401.


# Push notification did not send #


### End Event Execution ###


### Start Event Execution ###


Message : {"EventName":"TASK_CREATE_EHS_NOTIFICATION","EventArgs":[{"Key":"TaskId","Value":15822},{"Key":"OrgId","Value":248}]}


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


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


## Sending notification to Site EHS user ##


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


Sending WhatsApp notification to Site EHS : 5827


Osmo-x WhatsApp Message has been Sent


## Sending email to Merwin Barnette, UserId : 5827 for Task  notification to SITE EHS ##


Sending Task Email to Site EHS for TaskId:15822


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


Reading and binding data to Email Template


Initializing Email Service Client


Generating Email Request


Action Required for open Action Tracker


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


--- Email response from Osmo-x is 201


# Preparing notification body #


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


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


### End Event Execution ###


### Start Event Execution ###


Message : {"EventName":"TASK_CREATE_EHS_NOTIFICATION","EventArgs":[{"Key":"TaskId","Value":15824},{"Key":"OrgId","Value":248}]}


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


Message : {"EventName":"TASK_CREATE_EHS_NOTIFICATION","EventArgs":[{"Key":"TaskId","Value":15826},{"Key":"OrgId","Value":248}]}


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


Sending WhatsApp notification to Site EHS : 11701


Osmo-x WhatsApp Message has been Sent


## Sending email to Leota Meltzer, UserId : 11701 for Task  notification to SITE EHS ##


Sending Task Email to Site EHS for TaskId:15826


Initializing Email Service Client


Generating Email Request


Action Required for open Action Tracker


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


--- Email response from Osmo-x is 201


# Preparing notification body #


Message : {"EventName":"TASK_CREATE_EHS_NOTIFICATION","EventArgs":[{"Key":"TaskId","Value":15828},{"Key":"OrgId","Value":248}]}


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


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


## Sending notification to Site EHS user ##


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


Sending WhatsApp notification to Site EHS : 5760


## Sending email to Domenick Benedict, UserId : 5760 for Task  notification to SITE EHS ##


Sending Task Email to Site EHS for TaskId:15828


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


Reading and binding data to Email Template


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


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


### End Event Execution ###


### Start Event Execution ###


Message : {"EventName":"TASK_CREATE_EHS_NOTIFICATION","EventArgs":[{"Key":"TaskId","Value":15830},{"Key":"OrgId","Value":248}]}


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


Sending WhatsApp notification to Site EHS : 5546


Osmo-x WhatsApp Message has been Sent


## Sending email to Stephaine Scholten, UserId : 5546 for Task  notification to SITE EHS ##


Sending Task Email to Site EHS for TaskId:15830


Initializing Email Service Client


Generating Email Request


Action Required for open Action Tracker


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


--- Email response from Osmo-x is 201


# Preparing notification body #


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


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


Executing email notifications to Investigation Approvers about the Pending approval


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


Executing whatsapp notifications to Investigation Approvers about the Pending approval


Sending WhatsApp for Incident Approval to User: 5538


# Checking for device existence #


# User device exists #


Sending Investigation Validated Notification for Investigation Id:622


Inside SendAppNotification Device Type: GCM


Generating AWS SNS Request


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Test/8cf33be7-a8c2-39bc-8771-1b80e7f250d4


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


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


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


Reading and binding data to Email Template


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


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


Osmo-x WhatsApp Message has been Sent


Executing sending push notification to the issuers


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


# Preparing notification body #


### End Event Execution ###


### Start Event Execution ###


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


# Calling SendNotificationToEitherReviewerOrApprover function for  whatsapp and push notification #


Starting Execution for whatsapp notification for users


Executing sending notification to users through whatsapp


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


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000001389","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"ptw_assigned_to_generic_template_v4","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"P/MIRA/FCP/YI/GW/26/00001"},{"type":"text","text":"29-Jul-2026"},{"type":"text","text":"General Work"},{"type":"text","text":"Rio"},{"type":"text","text":" "},{"type":"text","text":"Accepted by Neppie Traynor at 29-Jul-2026 11:51:55 AM"},{"type":"text","text":"Quality Verify"},{"type":"text","text":"Bee Bainbridge"},{"type":"text","text":"https://oqsha.com/#/work-permit/view/418458?orgID=232&dlType=viewWorkPermit"}]}]}}}


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


# string body 29-Jul-2026, Neppie Traynor,


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


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


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"919999999999","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"ptw_assigned_to_generic_template_v4","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"P/MIRA/FCP/YI/HZ/26/00001"},{"type":"text","text":"29-Jul-2026"},{"type":"text","text":"Hazardous Energy Control"},{"type":"text","text":"Rio"},{"type":"text","text":" "},{"type":"text","text":"Requested by Neppie Traynor at 29-Jul-2026 11:52:53 AM"},{"type":"text","text":"Accept"},{"type":"text","text":"Neppie Traynor"},{"type":"text","text":"https://oqsha.com/#/work-permit/view/418459?orgID=232&dlType=viewWorkPermit"}]}]}}}


Osmo-x WhatsApp Message has been Sent


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


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


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


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000001389","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"ptw_assigned_to_generic_template_v4","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"P/MIRA/FCP/YI/HZ/26/00001"},{"type":"text","text":"29-Jul-2026"},{"type":"text","text":"Hazardous Energy Control"},{"type":"text","text":"Rio"},{"type":"text","text":" "},{"type":"text","text":"Accepted by Neppie Traynor at 29-Jul-2026 11:53:21 AM"},{"type":"text","text":"Quality Verify"},{"type":"text","text":"Bee Bainbridge"},{"type":"text","text":"https://oqsha.com/#/work-permit/view/418459?orgID=232&dlType=viewWorkPermit"}]}]}}}


# Preparing notification body #


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


### End Event Execution ###


### Start Event Execution ###


Message : {"EventName":"ASSIGNED_TO_NOTIFICATION","EventArgs":[{"Key":"AssignedIncidentID","Value":77903},{"Key":"AssignedToID","Value":1778}]}


### 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 Randal Jessup, UserId : 1778 for assigned to notification ##


Sending Assigned To Email for IncidentId:77903


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


Reading and binding data to Email Template


Initializing Email Service Client


Generating Email Request


A Ticket T/BEAT/FFF/26/00001 is assigned to you related to 'Fire'


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


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 418460


Executing sending push notification to the issuers


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


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


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


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


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


# Checking for device existence #


# User device exists #


Sending notification for permit to work: 418461


Inside SendAppNotification Device Type: GCM


Generating AWS SNS Request


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Test/e14b150c-4c8c-3f4c-9844-39258f9b0a00


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


# Push notification did not send #


### End Event Execution ###


### Start Event Execution ###


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


# Calling SendNotificationToEitherReviewerOrApprover function for  whatsapp and push notification #


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


Starting Execution for whatsapp notification for users


Executing sending notification to users through whatsapp


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


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000007341","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"ptw_assigned_to_generic_template_v4","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"P/MIRA/FCP/YI/CS/26/00003"},{"type":"text","text":"29-Jul-2026"},{"type":"text","text":"Confined Space"},{"type":"text","text":"Rio"},{"type":"text","text":" "},{"type":"text","text":"Accepted by Neppie Traynor at 29-Jul-2026 03:00:23 PM"},{"type":"text","text":"Quality Verify"},{"type":"text","text":"Sincere Kidwell"},{"type":"text","text":"https://oqsha.com/#/work-permit/view/418461?orgID=232&dlType=viewWorkPermit"}]}]}}}


Osmo-x WhatsApp Message has been Sent


# Preparing notification body #


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


# string body 29-Jul-2026, Neppie Traynor,


Object reference not set to an instance of an object.


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


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


Message : {"EventName":"INFORM_TO_INCIDENT_CREATION_NOTIFICATION","EventArgs":[{"Key":"IncidentId","Value":77904},{"Key":"InformToUserId","Value":5827}]}


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


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000002062","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"oqsha_ticket_inform_to_template_v3","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"Merwin Barnette"},{"type":"text","text":"Safety Alert"},{"type":"text","text":"T/FBYDW/HSS/26/00001"},{"type":"text","text":" "},{"type":"text","text":"Colver"},{"type":"text","text":"HSE Suggestion"},{"type":"text","text":"Hebert Eaton"},{"type":"text","text":"Falcon's Beyond Global Inc. Warrants"},{"type":"text","text":"Open"},{"type":"text","text":"https://oqsha.com/#/incidents/view/248/77904?dlType=viewTicket"},{"type":"text","text":"EHS Department - TTK Prestige Limited"}]}]}}}


Generating Safety Alert report.


Converted to byte file


## Safety Alert Email Sent to Merwin Barnette##


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


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


Reading and binding data to Email Template


Initializing Email Service Client


Generating Email Request


Safety Alert T/FBYDW/HSS/26/00001 has been created


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


--- Email response from Osmo-x is 201


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


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


### End Event Execution ###


### Start Event Execution ###


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


# Calling SendNotificationToTaskAssignees function for WhatsApp notification #


Message : {"EventName":"ASSIGNED_TO_NOTIFICATION","EventArgs":[{"Key":"AssignedIncidentID","Value":77904},{"Key":"AssignedToID","Value":5532}]}


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


Sending WhatsApp notification for task assignment to user ID: 5532


Osmo-x WhatsApp Message has been Sent


Sending Task Assignment Email for TaskId: 15831, UserId: 5532


Initializing Email Service Client


Generating Email Request


New Action Tracker Assigned - AT/FBYDW/ROO/TTT/26/00002


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


--- Email response from Osmo-x is 201


# Preparing notification body #


### End Event Execution ###


Converted to byte file


PDF generation successfull


## Sending email to Lesia Hardman, UserId : 5532 for assigned to notification ##


Sending Assigned To Email for IncidentId:77904


A Safety Alert T/FBYDW/HSS/26/00001 is assigned to you related to 'HSE Suggestion'


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


Sending Assigned To Whatsapp for IncidentId:77904


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000008275","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":"Lesia Hardman"},{"type":"text","text":"Safety Alert"},{"type":"text","text":"T/FBYDW/HSS/26/00001"},{"type":"text","text":" "},{"type":"text","text":"Colver"},{"type":"text","text":"HSE Suggestion"},{"type":"text","text":"Hebert Eaton"},{"type":"text","text":"Falcon's Beyond Global Inc. Warrants"},{"type":"text","text":"Assigned"},{"type":"text","text":"https://oqsha.com/#/incidents/view/248/77904?dlType=viewTicket"},{"type":"text","text":"EHS Department - TTK Prestige Limited"}]}]}}}


Osmo-x WhatsApp Message has been Sent


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


### Start Event Execution ###


Message : {"EventName":"UPDATE_INCIDENT_NOTIFICATION","EventArgs":[{"Key":"IncidentId","Value":77904},{"Key":"IncidentHistoryId","Value":111080},{"Key":"IsTicketAssigned","Value":true}]}


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


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


Reading and binding data to Email Template


Initializing Email Service Client


Generating Email Request


Safety Alert T/FBYDW/HSS/26/00001 has been updated


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


--- Email response from Osmo-x is 201


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000001875","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":"Hebert Eaton"},{"type":"text","text":"Safety Alert"},{"type":"text","text":"T/FBYDW/HSS/26/00001"},{"type":"text","text":"Safety Alert status updated to Assigned., Assigned To has been updated to 'Lesia Hardman', Due Date has been updated to '29-Jul-2026',"},{"type":"text","text":"Safety Alert"},{"type":"text","text":" "},{"type":"text","text":"Colver"},{"type":"text","text":"HSE Suggestion"},{"type":"text","text":"Hebert Eaton"},{"type":"text","text":"Falcon's Beyond Global Inc. Warrants"},{"type":"text","text":"Assigned"},{"type":"text","text":"https://oqsha.com/#/incidents/view/248/77904?dlType=viewTicket"},{"type":"text","text":"EHS Department - TTK Prestige Limited"}]}]}}}


# Preparing notification body #


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


### Ended processing Update incident Event ###


### End Event Execution ###


### Start Event Execution ###


Message : {"EventName":"ASSIGNED_TO_NOTIFICATION","EventArgs":[{"Key":"AssignedIncidentID","Value":77904},{"Key":"AssignedToID","Value":267}]}


### 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 Hebert Eaton, UserId : 267 for assigned to notification ##


Sending Assigned To Email for IncidentId:77904


Initializing Email Service Client


Generating Email Request


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


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000001875","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":"Hebert Eaton"},{"type":"text","text":"Safety Alert"},{"type":"text","text":"T/FBYDW/HSS/26/00001"},{"type":"text","text":" "},{"type":"text","text":"Colver"},{"type":"text","text":"HSE Suggestion"},{"type":"text","text":"Hebert Eaton"},{"type":"text","text":"Falcon's Beyond Global Inc. Warrants"},{"type":"text","text":"Assigned"},{"type":"text","text":"https://oqsha.com/#/incidents/view/248/77904?dlType=viewTicket"},{"type":"text","text":"EHS Department - TTK Prestige Limited"}]}]}}}


Osmo-x WhatsApp Message has been Sent


# Preparing notification body #


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


### End Event Execution ###


### Start Event Execution ###


Message : {"EventName":"INFORM_TO_INCIDENT_CREATION_NOTIFICATION","EventArgs":[{"Key":"IncidentId","Value":77905},{"Key":"InformToUserId","Value":5827}]}


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


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000002062","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"oqsha_ticket_inform_to_template_v3","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"Merwin Barnette"},{"type":"text","text":"Safety Alert"},{"type":"text","text":"T/FBYDW/HSS/26/00002"},{"type":"text","text":" "},{"type":"text","text":"Colver"},{"type":"text","text":"HSE Suggestion"},{"type":"text","text":"Mozell Heaton"},{"type":"text","text":"Falcon's Beyond Global Inc. Warrants"},{"type":"text","text":"Open"},{"type":"text","text":"https://oqsha.com/#/incidents/view/248/77905?dlType=viewTicket"},{"type":"text","text":"EHS Department - TTK Prestige Limited"}]}]}}}


Generating Safety Alert report.


Converted to byte file


## Safety Alert Email Sent to Merwin Barnette##


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


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


Reading and binding data to Email Template


Initializing Email Service Client


Generating Email Request


Safety Alert T/FBYDW/HSS/26/00002 has been created


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


--- Email response from Osmo-x is 201


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


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


### End Event Execution ###


### Start Event Execution ###


Message : {"EventName":"UPDATE_INCIDENT_NOTIFICATION","EventArgs":[{"Key":"IncidentId","Value":77904},{"Key":"IncidentHistoryId","Value":111083},{"Key":"IsTicketAssigned","Value":false}]}


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


Sending Assigned To Whatsapp for IncidentId:77904


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000001875","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":"Hebert Eaton"},{"type":"text","text":"Safety Alert"},{"type":"text","text":"T/FBYDW/HSS/26/00001"},{"type":"text","text":"Safety Alert status updated to Resolved., Comments are added as resolving"},{"type":"text","text":"Safety Alert"},{"type":"text","text":" "},{"type":"text","text":"Colver"},{"type":"text","text":"HSE Suggestion"},{"type":"text","text":"Hebert Eaton"},{"type":"text","text":"Falcon's Beyond Global Inc. Warrants"},{"type":"text","text":"Resolved"},{"type":"text","text":"https://oqsha.com/#/incidents/view/248/77904?dlType=viewTicket"},{"type":"text","text":"EHS Department - TTK Prestige Limited"}]}]}}}


Osmo-x WhatsApp Message has been Sent


# Preparing notification body #


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


### Ended processing Update incident Event ###


Message : {"EventName":"INCIDENT_CLOSURE_NOTIFICATION_VALIDATION_1","EventArgs":[{"Key":"IncidentId","Value":77904},{"Key":"ClosedById","Value":267}]}


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


### Started processing for Incident Closure Validation Level 1 Event ###


Generating report.


## Sending notification to Site EHS user ##


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


## Sending email to Merwin Barnette, UserId : 5827 for Incident Closure Validation notification ##


Converted to byte file


Sending Incident Closure Validation Email with Safety Alert PDF for IncidentId:77904


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


Reading and binding data to Email Template


Initializing Email Service Client


Generating Email Request


Safety Alert Validation Level 1


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


--- Email response from Osmo-x is 201


Sending Inform-To Update WhatsApp for IncidentId:77904


Osmo-x WhatsApp Message has been Sent


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


### Ended processing Incident Closure Validation Level 1 Event ###


### End Event Execution ###


### Start Event Execution ###


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


# Calling SendNotificationToTaskAssignees function for WhatsApp notification #


Sending WhatsApp notification for task assignment to user ID: 5827


Message : {"EventName":"ASSIGNED_TO_NOTIFICATION","EventArgs":[{"Key":"AssignedIncidentID","Value":77905},{"Key":"AssignedToID","Value":5827}]}


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


Sending Task Assignment Email for TaskId: 15832, UserId: 5827


Initializing Email Service Client


Generating Email Request


New Action Tracker Assigned - AT/FBYDW/ROO/TTT/26/00003


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


--- Email response from Osmo-x is 201


# Preparing notification body #


### End Event Execution ###


Converted to byte file


PDF generation successfull


## Sending email to Merwin Barnette, UserId : 5827 for assigned to notification ##


Sending Assigned To Email for IncidentId:77905


A Safety Alert T/FBYDW/HSS/26/00002 is assigned to you related to 'HSE Suggestion'


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


Sending Assigned To Whatsapp for IncidentId:77905


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000002062","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":"Merwin Barnette"},{"type":"text","text":"Safety Alert"},{"type":"text","text":"T/FBYDW/HSS/26/00002"},{"type":"text","text":" "},{"type":"text","text":"Colver"},{"type":"text","text":"HSE Suggestion"},{"type":"text","text":"Mozell Heaton"},{"type":"text","text":"Falcon's Beyond Global Inc. Warrants"},{"type":"text","text":"Assigned"},{"type":"text","text":"https://oqsha.com/#/incidents/view/248/77905?dlType=viewTicket"},{"type":"text","text":"EHS Department - TTK Prestige Limited"}]}]}}}


Osmo-x WhatsApp Message has been Sent


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


### Start Event Execution ###


Message : {"EventName":"UPDATE_INCIDENT_NOTIFICATION","EventArgs":[{"Key":"IncidentId","Value":77905},{"Key":"IncidentHistoryId","Value":111084},{"Key":"IsTicketAssigned","Value":true}]}


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


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


Reading and binding data to Email Template


Initializing Email Service Client


Generating Email Request


Safety Alert T/FBYDW/HSS/26/00002 has been updated


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


--- Email response from Osmo-x is 201


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000002528","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":"Mozell Heaton"},{"type":"text","text":"Safety Alert"},{"type":"text","text":"T/FBYDW/HSS/26/00002"},{"type":"text","text":"Safety Alert status updated to Assigned., Assigned To has been updated to 'Merwin Barnette', Due Date has been updated to '29-Jul-2026',"},{"type":"text","text":"Safety Alert"},{"type":"text","text":" "},{"type":"text","text":"Colver"},{"type":"text","text":"HSE Suggestion"},{"type":"text","text":"Mozell Heaton"},{"type":"text","text":"Falcon's Beyond Global Inc. Warrants"},{"type":"text","text":"Assigned"},{"type":"text","text":"https://oqsha.com/#/incidents/view/248/77905?dlType=viewTicket"},{"type":"text","text":"EHS Department - TTK Prestige Limited"}]}]}}}


# Preparing notification body #


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


### Ended processing Update incident Event ###


### End Event Execution ###


### Start Event Execution ###


Message : {"EventName":"UPDATE_INCIDENT_NOTIFICATION","EventArgs":[{"Key":"IncidentId","Value":77905},{"Key":"IncidentHistoryId","Value":111085},{"Key":"IsTicketAssigned","Value":false}]}


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000002528","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":"Mozell Heaton"},{"type":"text","text":"Safety Alert"},{"type":"text","text":"T/FBYDW/HSS/26/00002"},{"type":"text","text":"Safety Alert status updated to Resolved., Comments are added as resoving"},{"type":"text","text":"Safety Alert"},{"type":"text","text":" "},{"type":"text","text":"Colver"},{"type":"text","text":"HSE Suggestion"},{"type":"text","text":"Mozell Heaton"},{"type":"text","text":"Falcon's Beyond Global Inc. Warrants"},{"type":"text","text":"Resolved"},{"type":"text","text":"https://oqsha.com/#/incidents/view/248/77905?dlType=viewTicket"},{"type":"text","text":"EHS Department - TTK Prestige Limited"}]}]}}}


Osmo-x WhatsApp Message has been Sent


Sending Email for IncidentId:77905


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000002062","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":"Merwin Barnette"},{"type":"text","text":"Safety Alert"},{"type":"text","text":"T/FBYDW/HSS/26/00002"},{"type":"text","text":"Safety Alert status updated to Resolved., Comments are added as resoving"},{"type":"text","text":"Safety Alert"},{"type":"text","text":" "},{"type":"text","text":"Colver"},{"type":"text","text":"HSE Suggestion"},{"type":"text","text":"Mozell Heaton"},{"type":"text","text":"Falcon's Beyond Global Inc. Warrants"},{"type":"text","text":"Resolved"},{"type":"text","text":"https://oqsha.com/#/incidents/view/248/77905?dlType=viewTicket"},{"type":"text","text":"EHS Department - TTK Prestige Limited"}]}]}}}


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


Message : {"EventName":"INCIDENT_CLOSURE_NOTIFICATION_VALIDATION_1","EventArgs":[{"Key":"IncidentId","Value":77905},{"Key":"ClosedById","Value":5827}]}


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


### Started processing for Incident Closure Validation Level 1 Event ###


Generating report.


## Sending notification to Site EHS user ##


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


## Sending email to Merwin Barnette, UserId : 5827 for Incident Closure Validation notification ##


Converted to byte file


Sending Incident Closure Validation Email with Safety Alert PDF for IncidentId:77905


Initializing Email Service Client


Generating Email Request


Safety Alert Validation Level 1


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


--- Email response from Osmo-x is 201


Sending Inform-To Update WhatsApp for IncidentId:77905


Osmo-x WhatsApp Message has been Sent


### Ended processing Incident Closure Validation Level 1 Event ###


### End Event Execution ###


### Start Event Execution ###


Message : {"EventName":"UPDATE_INCIDENT_NOTIFICATION","EventArgs":[{"Key":"IncidentId","Value":77905},{"Key":"IncidentHistoryId","Value":111086},{"Key":"IsTicketAssigned","Value":false}]}


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


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


Reading and binding data to Email Template


Initializing Email Service Client


Generating Email Request


Sending Assigned To Whatsapp for IncidentId:77905


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000002528","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":"Mozell Heaton"},{"type":"text","text":"Safety Alert"},{"type":"text","text":"T/FBYDW/HSS/26/00002"},{"type":"text","text":"Safety Alert status updated to Validated., Comments are added as validating"},{"type":"text","text":"Safety Alert"},{"type":"text","text":" "},{"type":"text","text":"Colver"},{"type":"text","text":"HSE Suggestion"},{"type":"text","text":"Mozell Heaton"},{"type":"text","text":"Falcon's Beyond Global Inc. Warrants"},{"type":"text","text":"Validated"},{"type":"text","text":"https://oqsha.com/#/incidents/view/248/77905?dlType=viewTicket"},{"type":"text","text":"EHS Department - TTK Prestige Limited"}]}]}}}


# Preparing notification body #


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


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


--- Email response from Osmo-x is 201


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000002062","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":"Merwin Barnette"},{"type":"text","text":"Safety Alert"},{"type":"text","text":"T/FBYDW/HSS/26/00002"},{"type":"text","text":"Safety Alert status updated to Validated., Comments are added as validating"},{"type":"text","text":"Safety Alert"},{"type":"text","text":" "},{"type":"text","text":"Colver"},{"type":"text","text":"HSE Suggestion"},{"type":"text","text":"Mozell Heaton"},{"type":"text","text":"Falcon's Beyond Global Inc. Warrants"},{"type":"text","text":"Validated"},{"type":"text","text":"https://oqsha.com/#/incidents/view/248/77905?dlType=viewTicket"},{"type":"text","text":"EHS Department - TTK Prestige Limited"}]}]}}}


Osmo-x WhatsApp Message has been Sent


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


### Ended processing Update incident Event ###


### End Event Execution ###


### Start Event Execution ###


Message : {"EventName":"INCIDENT_CLOSURE_NOTIFICATION_VALIDATION_2","EventArgs":[{"Key":"IncidentId","Value":77905},{"Key":"ClosedById","Value":5827}]}


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


### Started processing for Incident Closure Validation Level 2 Event ###


Generating report.


## Sending notification to EHS head user ##


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


## Sending email to Mozell Heaton, UserId : 5538 for Incident Closure Validation notification ##


Sending Incident Closure Validation Email for IncidentId:77905


Initializing Email Service Client


Generating Email Request


Safety Alert Validation For Closure


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


--- Email response from Osmo-x is 201


Sending Inform-To Update WhatsApp for IncidentId:77905


Osmo-x WhatsApp Message has been Sent


### Ended processing Incident Closure Validation Level 2 Event ###


### End Event Execution ###


### Start Event Execution ###


Message : {"EventName":"UPDATE_INCIDENT_NOTIFICATION","EventArgs":[{"Key":"IncidentId","Value":77905},{"Key":"IncidentHistoryId","Value":111087},{"Key":"IsTicketAssigned","Value":false}]}


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


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


Reading and binding data to Email Template


Initializing Email Service Client


Generating Email Request


Sending Assigned To Whatsapp for IncidentId:77905


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000002528","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":"Mozell Heaton"},{"type":"text","text":"Safety Alert"},{"type":"text","text":"T/FBYDW/HSS/26/00002"},{"type":"text","text":"Safety Alert status updated to Closed., Comments are added as closing"},{"type":"text","text":"Safety Alert"},{"type":"text","text":" "},{"type":"text","text":"Colver"},{"type":"text","text":"HSE Suggestion"},{"type":"text","text":"Mozell Heaton"},{"type":"text","text":"Falcon's Beyond Global Inc. Warrants"},{"type":"text","text":"Closed"},{"type":"text","text":"https://oqsha.com/#/incidents/view/248/77905?dlType=viewTicket"},{"type":"text","text":"EHS Department - TTK Prestige Limited"}]}]}}}


# Preparing notification body #


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


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


--- Email response from Osmo-x is 201


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000002062","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":"Merwin Barnette"},{"type":"text","text":"Safety Alert"},{"type":"text","text":"T/FBYDW/HSS/26/00002"},{"type":"text","text":"Safety Alert status updated to Closed., Comments are added as closing"},{"type":"text","text":"Safety Alert"},{"type":"text","text":" "},{"type":"text","text":"Colver"},{"type":"text","text":"HSE Suggestion"},{"type":"text","text":"Mozell Heaton"},{"type":"text","text":"Falcon's Beyond Global Inc. Warrants"},{"type":"text","text":"Closed"},{"type":"text","text":"https://oqsha.com/#/incidents/view/248/77905?dlType=viewTicket"},{"type":"text","text":"EHS Department - TTK Prestige Limited"}]}]}}}


Osmo-x WhatsApp Message has been Sent


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


### Ended processing Update incident Event ###


### End Event Execution ###


### Start Event Execution ###


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


# Calling SendNotificationForValidationIssued function for  whatsapp and push notification #


Message payload: { FacultyUserName = Silvester Kwon, CourseName = akjhdlfk.s, BatchName = AKJ_LAL_Silvester Kwon_29-07-2025_01, StartDate = 30-Jul-2025 12:27 AM, Location = Tomahawk, LinkText = https://oqsha.com/#/batches/view/194/159/?dlType=viewBatch, OrganisationName = Opera Limited American }


## Sending whatsapp notification to:+912000004693 ##


# Checking for device existence #


# User device exists #


Sending Creation Notification for Batch Id:


Inside SendAppNotification Device Type: APNS


Generating AWS SNS Request


Endpoint: arn:aws:sns:us-west-2:505884080245:endpoint/APNS/OQSHA-iOS-Prod/8e363285-af24-3220-a3b7-3cb030de6dda


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


# Push notification did not send #


Endpoint: arn:aws:sns:us-west-2:505884080245:endpoint/APNS/OQSHA-iOS-Prod/408a2b80-735e-3cbe-9d92-f22a6f06cc7e


Push notification failed to send to a device 7857.


Endpoint: arn:aws:sns:us-west-2:505884080245:endpoint/APNS/OQSHA-iOS-Prod/904fef8a-5cff-3005-994d-2e29886c77c3


Push notification failed to send to a device 8466.


Endpoint: arn:aws:sns:us-west-2:505884080245:endpoint/APNS/OQSHA-iOS-Prod/68b69f01-82f9-30e2-9816-de41dd8736a5


Push notification failed to send to a device 8469.


# Checking for device existence #


# User device exists #


Endpoint: arn:aws:sns:us-west-2:505884080245:endpoint/APNS/OQSHA-iOS-Prod/fcf94182-ca26-3a7c-963c-685bc412e72e


Push notification failed to send to a device 8470.


Generating AWS SNS Request


Endpoint: arn:aws:sns:us-west-2:505884080245:endpoint/APNS/OQSHA-iOS-Prod/c75fda77-5f52-3367-9707-c7643352e022


Unauthorized


Push notification failed to send to a device 8471.


Inside SendAppNotification Device Type: GCM


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/c14b1e06-cf0c-39e0-9188-8c6dd0ec6266


Push notification failed to send to a device 8486.


# Push notification did not send #


Sending Creation Notification for Batch Id:


Inside SendAppNotification Device Type: APNS


Endpoint: arn:aws:sns:us-west-2:505884080245:endpoint/APNS/OQSHA-iOS-Prod/dc0a07e4-c8f4-377d-a506-d711a9bb72d6


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


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


Push notification failed to send to a device 8752.


# Checking for device existence #


# User device exists #


Endpoint: arn:aws:sns:us-west-2:505884080245:endpoint/APNS/OQSHA-iOS-Prod/a04f02fe-0872-3ee5-92b0-000a98fcd53c


Push notification failed to send to a device 8975.


Generating AWS SNS Request


Endpoint: arn:aws:sns:us-west-2:505884080245:endpoint/APNS/OQSHA-iOS-Prod/45cbc45d-125c-3d60-a25e-dd37a5d8fcf4


Unauthorized


Push notification failed to send to a device 9479.


Endpoint: arn:aws:sns:us-west-2:505884080245:endpoint/APNS/OQSHA-iOS-Prod/c6d1bda9-cac2-3a73-8312-416255e12f65


Push notification failed to send to a device 9683.


# Push notification did not send #


Endpoint: arn:aws:sns:us-west-2:505884080245:endpoint/APNS/OQSHA-iOS-Prod/2426b313-e0e9-31bc-b593-6242ad723c80


Push notification failed to send to a device 9799.


Endpoint: arn:aws:sns:us-west-2:505884080245:endpoint/APNS/OQSHA-iOS-Prod/f5d4a1fb-0073-3c7b-9371-730a262eb683


Push notification failed to send to a device 10140.


Endpoint: arn:aws:sns:us-west-2:505884080245:endpoint/APNS/OQSHA-iOS-Prod/ea0e156b-c44f-39fd-ab9a-4079168c1b1e


Push notification failed to send to a device 10373.


# Checking for device existence #


# User device exists #


Sending Creation Notification for Batch Id:


Inside SendAppNotification Device Type: APNS


Generating AWS SNS Request


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/APNS/Oqsha-IOS-Production/5d013dec-4efe-34b6-b82e-a3ad6407e62f


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


# Push notification did not send #


### End Event Execution ###


### Start Event Execution ###


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


Message : {"EventName":"ASSIGNED_TO_NOTIFICATION","EventArgs":[{"Key":"AssignedIncidentID","Value":77906},{"Key":"AssignedToID","Value":1778}]}


### 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 Randal Jessup, UserId : 1778 for assigned to notification ##


Sending Assigned To Email for IncidentId:77906


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


Reading and binding data to Email Template


Initializing Email Service Client


Generating Email Request


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


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":"UPDATE_INCIDENT_NOTIFICATION","EventArgs":[{"Key":"IncidentId","Value":77906},{"Key":"IncidentHistoryId","Value":111090},{"Key":"IsTicketAssigned","Value":false}]}


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


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


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 resolved"},{"type":"text","text":"Ticket"},{"type":"text","text":"testing123"},{"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://oqsha.com/#/incidents/view/204/77906?dlType=viewTicket"},{"type":"text","text":"Oqsha Team"}]}]}}}


Osmo-x WhatsApp Message has been Sent


# Preparing notification body #


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


# Checking for device existence #


# User device exists #


Sending Assigned To Notification for IncidentId:77906


Inside SendAppNotification Device Type: GCM


Generating AWS SNS Request


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


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


# Push notification did not send #


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


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 resolved"},{"type":"text","text":"Ticket"},{"type":"text","text":"testing123"},{"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://oqsha.com/#/incidents/view/204/77906?dlType=viewTicket"},{"type":"text","text":"Oqsha Team"}]}]}}}


Osmo-x WhatsApp Message has been Sent


# Preparing notification body #


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


# Checking for device existence #


# User device exists #


Generating AWS SNS Request


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


Unauthorized