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


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


### Start Event Execution ###


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


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


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


Calling Send Email Function for Update User Email


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


Reading and binding data to Email Template


Initializing Email Service Client


Generating Email Request


Your OQSHA Access Has Been Updated


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


--- Email response from Osmo-x is 201


### End Event Execution ###


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


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


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


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


# Calling SendNotificationToIssuerForCreatingPermitToWork function for whatsapp and push notification #


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


Executing sending notification to issuers through whatsapp


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


Osmo-x WhatsApp Message has been Sent


Executing sending push notification to the issuers


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


# Preparing notification body #


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


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


### Start Event Execution ###


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


### End Event Execution ###


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


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


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


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


Generating report.


Converted to byte file


PDF generation successfull


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


Sending Assigned To Whatsapp for IncidentId:78197


Osmo-x WhatsApp Message has been Sent


# Fetching devices bypassing preferences (Single System Fallback) #


# Checking for device existence #


# User device exists #


Sending Assigned To Notification for IncidentId:78197


Inside SendAppNotification Device Type: GCM


Generating AWS SNS Request


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/a0dfda5b-28b9-310e-b5dd-a829300426f7


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


# Push notification did not send #


Endpoint: arn:aws:sns:us-west-2:505884080245:endpoint/GCM/OQSHA-Android/65ae9aac-94dd-3c25-9aa9-63b288320db5


Push notification failed to send to a device 6946.


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


### End Event Execution ###


### Start Event Execution ###


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


### Started processing for Update incident Event ###


# Calling  SendNotification function for  all types of notification #


Sending Email for IncidentId:78197


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


Reading and binding data to Email Template


Initializing Email Service Client


Generating Email Request


Ticket T/BEAT/UAA/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/UAA/26/00001"},{"type":"text","text":"Assigned To has been updated to 'Addisyn Papp', Due Date has been updated to '05-Aug-2026', , Comments are added as JDGAWYUFGD"},{"type":"text","text":"Ticket"},{"type":"text","text":"uqsguhqsgsy"},{"type":"text","text":"Robertsdale"},{"type":"text","text":"Unsafe Act"},{"type":"text","text":"Randal Jessup"},{"type":"text","text":"Heartbeam Inc."},{"type":"text","text":"Open"},{"type":"text","text":"https://oqsha.com/#/incidents/view/204/78197?dlType=viewTicket"},{"type":"text","text":"Oqsha Team"}]}]}}}


Osmo-x WhatsApp Message has been Sent


# Preparing notification body #


# Checking for device existence #


# User device exists #


Generating AWS SNS Request


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Test/63bf59ca-8e4f-3e6d-9782-78889155292e


Unauthorized


Push notification failed to send to a device 24873.


# Push notification did not send #


# Fetching devices bypassing preferences (Single System Fallback) #


Sending Assigned To Notification for IncidentId:78197


Inside SendAppNotification Device Type: GCM


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


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


Sending email for incident closure


Error occurred while sending email using Osmo-x.


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


Sending Assigned To Whatsapp for IncidentId:78197


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/UAA/26/00001"},{"type":"text","text":"Assigned To has been updated to 'Addisyn Papp', Due Date has been updated to '05-Aug-2026', , Comments are added as JDGAWYUFGD"},{"type":"text","text":"Ticket"},{"type":"text","text":"uqsguhqsgsy"},{"type":"text","text":"Robertsdale"},{"type":"text","text":"Unsafe Act"},{"type":"text","text":"Randal Jessup"},{"type":"text","text":"Heartbeam Inc."},{"type":"text","text":"Open"},{"type":"text","text":"https://oqsha.com/#/incidents/view/204/78197?dlType=viewTicket"},{"type":"text","text":"Oqsha Team"}]}]}}}


Osmo-x WhatsApp Message has been Sent


# Preparing notification body #


# Checking for device existence #


# User device exists #


Generating AWS SNS Request


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


Unauthorized


Push notification failed to send to a device 2596.


# Push notification did not send #


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


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000009155","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"oqsha_ticket_update_whatsapp_template_v4","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"Giselle Skelton"},{"type":"text","text":"Ticket"},{"type":"text","text":"T/BEAT/UAA/26/00001"},{"type":"text","text":"Assigned To has been updated to 'Addisyn Papp', Due Date has been updated to '05-Aug-2026', , Comments are added as JDGAWYUFGD"},{"type":"text","text":"Ticket"},{"type":"text","text":"uqsguhqsgsy"},{"type":"text","text":"Robertsdale"},{"type":"text","text":"Unsafe Act"},{"type":"text","text":"Randal Jessup"},{"type":"text","text":"Heartbeam Inc."},{"type":"text","text":"Open"},{"type":"text","text":"https://oqsha.com/#/incidents/view/204/78197?dlType=viewTicket"},{"type":"text","text":"Oqsha Team"}]}]}}}


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


Push notification failed to send to a device 17143.


Sending email for incident closure


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000001657","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"oqsha_ticket_update_whatsapp_template_v4","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"Karla Mcclintock"},{"type":"text","text":"Ticket"},{"type":"text","text":"T/BEAT/UAA/26/00001"},{"type":"text","text":"Assigned To has been updated to 'Addisyn Papp', Due Date has been updated to '05-Aug-2026', , Comments are added as JDGAWYUFGD"},{"type":"text","text":"Ticket"},{"type":"text","text":"uqsguhqsgsy"},{"type":"text","text":"Robertsdale"},{"type":"text","text":"Unsafe Act"},{"type":"text","text":"Randal Jessup"},{"type":"text","text":"Heartbeam Inc."},{"type":"text","text":"Open"},{"type":"text","text":"https://oqsha.com/#/incidents/view/204/78197?dlType=viewTicket"},{"type":"text","text":"Oqsha Team"}]}]}}}


# Fetching devices bypassing preferences (Single System Fallback) #


Sending Assigned To Notification for IncidentId:78197


Inside SendAppNotification Device Type: GCM


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


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


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


Push notification failed to send to a device 2589.


Error occurred while sending email using Osmo-x.


Object reference not set to an instance of an object.


Sending Assigned To Whatsapp for IncidentId:78197


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000009853","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"oqsha_ticket_update_whatsapp_template_v4","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"Areli Shrum"},{"type":"text","text":"Ticket"},{"type":"text","text":"T/BEAT/UAA/26/00001"},{"type":"text","text":"Assigned To has been updated to 'Addisyn Papp', Due Date has been updated to '05-Aug-2026', , Comments are added as JDGAWYUFGD"},{"type":"text","text":"Ticket"},{"type":"text","text":"uqsguhqsgsy"},{"type":"text","text":"Robertsdale"},{"type":"text","text":"Unsafe Act"},{"type":"text","text":"Randal Jessup"},{"type":"text","text":"Heartbeam Inc."},{"type":"text","text":"Open"},{"type":"text","text":"https://oqsha.com/#/incidents/view/204/78197?dlType=viewTicket"},{"type":"text","text":"Oqsha Team"}]}]}}}


Osmo-x WhatsApp Message has been Sent


# Preparing notification body #


# Checking for device existence #


# User device exists #


Generating AWS SNS Request


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


Unauthorized


Push notification failed to send to a device 2328.


# Push notification did not send #


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


Push notification failed to send to a device 5927.


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


Push notification failed to send to a device 9010.


Sending email for incident closure


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


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000004003","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"oqsha_ticket_update_whatsapp_template_v4","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"Marley Lacy"},{"type":"text","text":"Ticket"},{"type":"text","text":"T/BEAT/UAA/26/00001"},{"type":"text","text":"Assigned To has been updated to 'Addisyn Papp', Due Date has been updated to '05-Aug-2026', , Comments are added as JDGAWYUFGD"},{"type":"text","text":"Ticket"},{"type":"text","text":"uqsguhqsgsy"},{"type":"text","text":"Robertsdale"},{"type":"text","text":"Unsafe Act"},{"type":"text","text":"Randal Jessup"},{"type":"text","text":"Heartbeam Inc."},{"type":"text","text":"Open"},{"type":"text","text":"https://oqsha.com/#/incidents/view/204/78197?dlType=viewTicket"},{"type":"text","text":"Oqsha Team"}]}]}}}


# Fetching devices bypassing preferences (Single System Fallback) #


Sending Assigned To Notification for IncidentId:78197


Inside SendAppNotification Device Type: GCM


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


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


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


Push notification failed to send to a device 2561.


# Checking for device existence #


# User device exists #


Generating AWS SNS Request


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/8b395690-f650-3a22-a5b2-98017b62ebb6


Unauthorized


Push notification failed to send to a device 3575.


# Push notification did not send #


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


Push notification failed to send to a device 4805.


Push notification failed to send to a device 13030.


Sending email for incident closure


Reading and binding data to Email Template


Initializing Email Service Client


Generating Email Request


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


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


--- Email response from Osmo-x is 201


Sending Assigned To Whatsapp for IncidentId:78197


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000001885","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"oqsha_ticket_update_whatsapp_template_v4","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"Jasmyne Soukup"},{"type":"text","text":"Ticket"},{"type":"text","text":"T/BEAT/UAA/26/00001"},{"type":"text","text":"Assigned To has been updated to 'Addisyn Papp', Due Date has been updated to '05-Aug-2026', , Comments are added as JDGAWYUFGD"},{"type":"text","text":"Ticket"},{"type":"text","text":"uqsguhqsgsy"},{"type":"text","text":"Robertsdale"},{"type":"text","text":"Unsafe Act"},{"type":"text","text":"Randal Jessup"},{"type":"text","text":"Heartbeam Inc."},{"type":"text","text":"Open"},{"type":"text","text":"https://oqsha.com/#/incidents/view/204/78197?dlType=viewTicket"},{"type":"text","text":"Oqsha Team"}]}]}}}


Osmo-x WhatsApp Message has been Sent


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


Error occurred while sending email using Osmo-x.


Object reference not set to an instance of an object.


# Preparing notification body #


# Fetching devices bypassing preferences (Single System Fallback) #


# Checking for device existence #


# User device exists #


Sending Assigned To Notification for IncidentId:78197


Inside SendAppNotification Device Type: GCM


Generating AWS SNS Request


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


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


# Push notification did not send #


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


Push notification failed to send to a device 6256.


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


Push notification failed to send to a device 16977.


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000006478","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"oqsha_ticket_update_whatsapp_template_v4","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"Jacqui Skelton"},{"type":"text","text":"Ticket"},{"type":"text","text":"T/BEAT/UAA/26/00001"},{"type":"text","text":"Assigned To has been updated to 'Addisyn Papp', Due Date has been updated to '05-Aug-2026', , Comments are added as JDGAWYUFGD"},{"type":"text","text":"Ticket"},{"type":"text","text":"uqsguhqsgsy"},{"type":"text","text":"Robertsdale"},{"type":"text","text":"Unsafe Act"},{"type":"text","text":"Randal Jessup"},{"type":"text","text":"Heartbeam Inc."},{"type":"text","text":"Open"},{"type":"text","text":"https://oqsha.com/#/incidents/view/204/78197?dlType=viewTicket"},{"type":"text","text":"Oqsha Team"}]}]}}}


Osmo-x WhatsApp Message has been Sent


# Preparing notification body #


Sending Assigned To Whatsapp for IncidentId:78197


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000001710","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"oqsha_ticket_update_whatsapp_template_v4","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"Hellen Maravilla"},{"type":"text","text":"Ticket"},{"type":"text","text":"T/BEAT/UAA/26/00001"},{"type":"text","text":"Assigned To has been updated to 'Addisyn Papp', Due Date has been updated to '05-Aug-2026', , Comments are added as JDGAWYUFGD"},{"type":"text","text":"Ticket"},{"type":"text","text":"uqsguhqsgsy"},{"type":"text","text":"Robertsdale"},{"type":"text","text":"Unsafe Act"},{"type":"text","text":"Randal Jessup"},{"type":"text","text":"Heartbeam Inc."},{"type":"text","text":"Open"},{"type":"text","text":"https://oqsha.com/#/incidents/view/204/78197?dlType=viewTicket"},{"type":"text","text":"Oqsha Team"}]}]}}}


### Ended processing Update incident Event ###


### End Event Execution ###


### Start Event Execution ###


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


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


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


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


Generating report.


Converted to byte file


PDF generation successfull


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


Sending Assigned To Whatsapp for IncidentId:78196


# Fetching devices bypassing preferences (Single System Fallback) #


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


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


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


Reading and binding data to Email Template


Initializing Email Service Client


Generating Email Request


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


--- Email response from Osmo-x is 201


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"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/UAA/26/00001"},{"type":"text","text":"Ticket status updated to Resolved., Comments are added as RESOLVING"},{"type":"text","text":"Ticket"},{"type":"text","text":"uqsguhqsgsy"},{"type":"text","text":"Robertsdale"},{"type":"text","text":"Unsafe Act"},{"type":"text","text":"Randal Jessup"},{"type":"text","text":"Heartbeam Inc."},{"type":"text","text":"Resolved"},{"type":"text","text":"https://oqsha.com/#/incidents/view/204/78197?dlType=viewTicket"},{"type":"text","text":"Oqsha Team"}]}]}}}


Osmo-x WhatsApp Message has been Sent


# Preparing notification body #


Sending Assigned To Whatsapp for IncidentId:78197


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000002239","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":"Addisyn Papp"},{"type":"text","text":"Ticket"},{"type":"text","text":"T/BEAT/UAA/26/00001"},{"type":"text","text":"Ticket status updated to Resolved., Comments are added as RESOLVING"},{"type":"text","text":"Ticket"},{"type":"text","text":"uqsguhqsgsy"},{"type":"text","text":"Robertsdale"},{"type":"text","text":"Unsafe Act"},{"type":"text","text":"Randal Jessup"},{"type":"text","text":"Heartbeam Inc."},{"type":"text","text":"Resolved"},{"type":"text","text":"https://oqsha.com/#/incidents/view/204/78197?dlType=viewTicket"},{"type":"text","text":"Oqsha Team"}]}]}}}


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


Sending email for incident closure


Error occurred while sending email using Osmo-x.


Object reference not set to an instance of an object.


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000005109","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"oqsha_ticket_update_whatsapp_template_v4","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"Kathaleen Hoopes"},{"type":"text","text":"Ticket"},{"type":"text","text":"T/BEAT/UAA/26/00001"},{"type":"text","text":"Ticket status updated to Resolved., Comments are added as RESOLVING"},{"type":"text","text":"Ticket"},{"type":"text","text":"uqsguhqsgsy"},{"type":"text","text":"Robertsdale"},{"type":"text","text":"Unsafe Act"},{"type":"text","text":"Randal Jessup"},{"type":"text","text":"Heartbeam Inc."},{"type":"text","text":"Resolved"},{"type":"text","text":"https://oqsha.com/#/incidents/view/204/78197?dlType=viewTicket"},{"type":"text","text":"Oqsha Team"}]}]}}}


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000009155","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"oqsha_ticket_update_whatsapp_template_v4","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"Giselle Skelton"},{"type":"text","text":"Ticket"},{"type":"text","text":"T/BEAT/UAA/26/00001"},{"type":"text","text":"Ticket status updated to Resolved., Comments are added as RESOLVING"},{"type":"text","text":"Ticket"},{"type":"text","text":"uqsguhqsgsy"},{"type":"text","text":"Robertsdale"},{"type":"text","text":"Unsafe Act"},{"type":"text","text":"Randal Jessup"},{"type":"text","text":"Heartbeam Inc."},{"type":"text","text":"Resolved"},{"type":"text","text":"https://oqsha.com/#/incidents/view/204/78197?dlType=viewTicket"},{"type":"text","text":"Oqsha Team"}]}]}}}


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000001657","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"oqsha_ticket_update_whatsapp_template_v4","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"Karla Mcclintock"},{"type":"text","text":"Ticket"},{"type":"text","text":"T/BEAT/UAA/26/00001"},{"type":"text","text":"Ticket status updated to Resolved., Comments are added as RESOLVING"},{"type":"text","text":"Ticket"},{"type":"text","text":"uqsguhqsgsy"},{"type":"text","text":"Robertsdale"},{"type":"text","text":"Unsafe Act"},{"type":"text","text":"Randal Jessup"},{"type":"text","text":"Heartbeam Inc."},{"type":"text","text":"Resolved"},{"type":"text","text":"https://oqsha.com/#/incidents/view/204/78197?dlType=viewTicket"},{"type":"text","text":"Oqsha Team"}]}]}}}


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000009853","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"oqsha_ticket_update_whatsapp_template_v4","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"Areli Shrum"},{"type":"text","text":"Ticket"},{"type":"text","text":"T/BEAT/UAA/26/00001"},{"type":"text","text":"Ticket status updated to Resolved., Comments are added as RESOLVING"},{"type":"text","text":"Ticket"},{"type":"text","text":"uqsguhqsgsy"},{"type":"text","text":"Robertsdale"},{"type":"text","text":"Unsafe Act"},{"type":"text","text":"Randal Jessup"},{"type":"text","text":"Heartbeam Inc."},{"type":"text","text":"Resolved"},{"type":"text","text":"https://oqsha.com/#/incidents/view/204/78197?dlType=viewTicket"},{"type":"text","text":"Oqsha Team"}]}]}}}


# Fetching devices bypassing preferences (Single System Fallback) #


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000004003","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"oqsha_ticket_update_whatsapp_template_v4","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"Marley Lacy"},{"type":"text","text":"Ticket"},{"type":"text","text":"T/BEAT/UAA/26/00001"},{"type":"text","text":"Ticket status updated to Resolved., Comments are added as RESOLVING"},{"type":"text","text":"Ticket"},{"type":"text","text":"uqsguhqsgsy"},{"type":"text","text":"Robertsdale"},{"type":"text","text":"Unsafe Act"},{"type":"text","text":"Randal Jessup"},{"type":"text","text":"Heartbeam Inc."},{"type":"text","text":"Resolved"},{"type":"text","text":"https://oqsha.com/#/incidents/view/204/78197?dlType=viewTicket"},{"type":"text","text":"Oqsha Team"}]}]}}}


Initializing Email Service Client


Generating Email Request


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


--- Email response from Osmo-x is 201


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000001885","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"oqsha_ticket_update_whatsapp_template_v4","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"Jasmyne Soukup"},{"type":"text","text":"Ticket"},{"type":"text","text":"T/BEAT/UAA/26/00001"},{"type":"text","text":"Ticket status updated to Resolved., Comments are added as RESOLVING"},{"type":"text","text":"Ticket"},{"type":"text","text":"uqsguhqsgsy"},{"type":"text","text":"Robertsdale"},{"type":"text","text":"Unsafe Act"},{"type":"text","text":"Randal Jessup"},{"type":"text","text":"Heartbeam Inc."},{"type":"text","text":"Resolved"},{"type":"text","text":"https://oqsha.com/#/incidents/view/204/78197?dlType=viewTicket"},{"type":"text","text":"Oqsha Team"}]}]}}}


Osmo-x WhatsApp Message has been Sent


# Preparing notification body #


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000006478","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"oqsha_ticket_update_whatsapp_template_v4","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"Jacqui Skelton"},{"type":"text","text":"Ticket"},{"type":"text","text":"T/BEAT/UAA/26/00001"},{"type":"text","text":"Ticket status updated to Resolved., Comments are added as RESOLVING"},{"type":"text","text":"Ticket"},{"type":"text","text":"uqsguhqsgsy"},{"type":"text","text":"Robertsdale"},{"type":"text","text":"Unsafe Act"},{"type":"text","text":"Randal Jessup"},{"type":"text","text":"Heartbeam Inc."},{"type":"text","text":"Resolved"},{"type":"text","text":"https://oqsha.com/#/incidents/view/204/78197?dlType=viewTicket"},{"type":"text","text":"Oqsha Team"}]}]}}}


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000001710","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"oqsha_ticket_update_whatsapp_template_v4","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"Hellen Maravilla"},{"type":"text","text":"Ticket"},{"type":"text","text":"T/BEAT/UAA/26/00001"},{"type":"text","text":"Ticket status updated to Resolved., Comments are added as RESOLVING"},{"type":"text","text":"Ticket"},{"type":"text","text":"uqsguhqsgsy"},{"type":"text","text":"Robertsdale"},{"type":"text","text":"Unsafe Act"},{"type":"text","text":"Randal Jessup"},{"type":"text","text":"Heartbeam Inc."},{"type":"text","text":"Resolved"},{"type":"text","text":"https://oqsha.com/#/incidents/view/204/78197?dlType=viewTicket"},{"type":"text","text":"Oqsha Team"}]}]}}}


### Ended processing Update incident Event ###


### End Event Execution ###


### Start Event Execution ###


Message : {"EventName":"ASSIGNED_TO_NOTIFICATION","EventArgs":[{"Key":"AssignedIncidentID","Value":78198},{"Key":"AssignedToID","Value":1931}]}


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


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


Sending Assigned To Whatsapp for IncidentId:78198


Osmo-x WhatsApp Message has been Sent


# Preparing notification body #


# Checking for device existence #


# User device exists #


Sending Assigned To Notification for IncidentId:78198


Inside SendAppNotification Device Type: GCM


Generating AWS SNS Request


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/7c74c898-4901-39b3-ab43-7a66e24db17b


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


# Push notification did not send #


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/50b8e261-5402-3a91-9238-fcaf8b61efb2


Push notification failed to send to a device 2571.


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/ff350c3a-c0ee-3bed-af5c-648994f21fc4


Push notification failed to send to a device 2579.


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


### End Event Execution ###


### Start Event Execution ###


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


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


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


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


Generating report.


Converted to byte file


PDF generation successfull


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


Sending Assigned To Whatsapp for IncidentId:78199


Osmo-x WhatsApp Message has been Sent


# Preparing notification body #


# Fetching devices bypassing preferences (Single System Fallback) #


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


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


Reading and binding data to Email Template


Initializing Email Service Client


Generating Email Request


Ticket T/BEAT/NMM/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/NMM/26/00001"},{"type":"text","text":"Removed 1 Attachment(s)., Assigned To has been updated to 'Bee Fischer', Due Date has been updated to '05-Aug-2026',"},{"type":"text","text":"Ticket"},{"type":"text","text":"BNMVGHJCG"},{"type":"text","text":"Robertsdale"},{"type":"text","text":"Near Miss"},{"type":"text","text":"Randal Jessup"},{"type":"text","text":"Heartbeam Inc."},{"type":"text","text":"Open"},{"type":"text","text":"https://oqsha.com/#/incidents/view/204/78199?dlType=viewTicket"},{"type":"text","text":"Oqsha Team"}]}]}}}


Sending email for incident closure


Error occurred while sending email using Osmo-x.


Object reference not set to an instance of an object.


# Preparing notification body #


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000006478","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"oqsha_ticket_update_whatsapp_template_v4","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"Jacqui Skelton"},{"type":"text","text":"Ticket"},{"type":"text","text":"T/BEAT/NMM/26/00001"},{"type":"text","text":"Removed 1 Attachment(s)., Assigned To has been updated to 'Bee Fischer', Due Date has been updated to '05-Aug-2026',"},{"type":"text","text":"Ticket"},{"type":"text","text":"BNMVGHJCG"},{"type":"text","text":"Robertsdale"},{"type":"text","text":"Near Miss"},{"type":"text","text":"Randal Jessup"},{"type":"text","text":"Heartbeam Inc."},{"type":"text","text":"Open"},{"type":"text","text":"https://oqsha.com/#/incidents/view/204/78199?dlType=viewTicket"},{"type":"text","text":"Oqsha Team"}]}]}}}


Osmo-x WhatsApp Message has been Sent


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000001710","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"oqsha_ticket_update_whatsapp_template_v4","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"Hellen Maravilla"},{"type":"text","text":"Ticket"},{"type":"text","text":"T/BEAT/NMM/26/00001"},{"type":"text","text":"Removed 1 Attachment(s)., Assigned To has been updated to 'Bee Fischer', Due Date has been updated to '05-Aug-2026',"},{"type":"text","text":"Ticket"},{"type":"text","text":"BNMVGHJCG"},{"type":"text","text":"Robertsdale"},{"type":"text","text":"Near Miss"},{"type":"text","text":"Randal Jessup"},{"type":"text","text":"Heartbeam Inc."},{"type":"text","text":"Open"},{"type":"text","text":"https://oqsha.com/#/incidents/view/204/78199?dlType=viewTicket"},{"type":"text","text":"Oqsha Team"}]}]}}}


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/NMM/26/00001"},{"type":"text","text":"Removed 1 Attachment(s)., Assigned To has been updated to 'Bee Fischer', Due Date has been updated to '05-Aug-2026',"},{"type":"text","text":"Ticket"},{"type":"text","text":"BNMVGHJCG"},{"type":"text","text":"Robertsdale"},{"type":"text","text":"Near Miss"},{"type":"text","text":"Randal Jessup"},{"type":"text","text":"Heartbeam Inc."},{"type":"text","text":"Open"},{"type":"text","text":"https://oqsha.com/#/incidents/view/204/78199?dlType=viewTicket"},{"type":"text","text":"Oqsha Team"}]}]}}}


# Checking for device existence #


# User device exists #


Sending Assigned To Notification for IncidentId:78199


Inside SendAppNotification Device Type: GCM


Generating AWS SNS Request


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/abfbb79d-5114-3c62-aee6-78baa764354c


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


# Push notification did not send #


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/b4e726de-b571-3756-b126-e08a1164782c


Push notification failed to send to a device 7600.


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/c7fff072-7259-3f95-9dfe-f4bc33cb28f5


Push notification failed to send to a device 7865.


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/f7006075-c67c-34a5-954c-17b754622a61


Push notification failed to send to a device 18343.


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


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000000786","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":"Osborn Mcclintock"},{"type":"text","text":"Ticket"},{"type":"text","text":"T/BEAT/NMM/26/00001"},{"type":"text","text":"Removed 1 Attachment(s)., Assigned To has been updated to 'Bee Fischer', Due Date has been updated to '05-Aug-2026',"},{"type":"text","text":"Ticket"},{"type":"text","text":"BNMVGHJCG"},{"type":"text","text":"Robertsdale"},{"type":"text","text":"Near Miss"},{"type":"text","text":"Randal Jessup"},{"type":"text","text":"Heartbeam Inc."},{"type":"text","text":"Open"},{"type":"text","text":"https://oqsha.com/#/incidents/view/204/78199?dlType=viewTicket"},{"type":"text","text":"Oqsha Team"}]}]}}}


Osmo-x WhatsApp Message has been Sent


# Preparing notification body #


# Fetching devices bypassing preferences (Single System Fallback) #


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000009155","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"oqsha_ticket_update_whatsapp_template_v4","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"Giselle Skelton"},{"type":"text","text":"Ticket"},{"type":"text","text":"T/BEAT/NMM/26/00001"},{"type":"text","text":"Removed 1 Attachment(s)., Assigned To has been updated to 'Bee Fischer', Due Date has been updated to '05-Aug-2026',"},{"type":"text","text":"Ticket"},{"type":"text","text":"BNMVGHJCG"},{"type":"text","text":"Robertsdale"},{"type":"text","text":"Near Miss"},{"type":"text","text":"Randal Jessup"},{"type":"text","text":"Heartbeam Inc."},{"type":"text","text":"Open"},{"type":"text","text":"https://oqsha.com/#/incidents/view/204/78199?dlType=viewTicket"},{"type":"text","text":"Oqsha Team"}]}]}}}


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000001657","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"oqsha_ticket_update_whatsapp_template_v4","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"Karla Mcclintock"},{"type":"text","text":"Ticket"},{"type":"text","text":"T/BEAT/NMM/26/00001"},{"type":"text","text":"Removed 1 Attachment(s)., Assigned To has been updated to 'Bee Fischer', Due Date has been updated to '05-Aug-2026',"},{"type":"text","text":"Ticket"},{"type":"text","text":"BNMVGHJCG"},{"type":"text","text":"Robertsdale"},{"type":"text","text":"Near Miss"},{"type":"text","text":"Randal Jessup"},{"type":"text","text":"Heartbeam Inc."},{"type":"text","text":"Open"},{"type":"text","text":"https://oqsha.com/#/incidents/view/204/78199?dlType=viewTicket"},{"type":"text","text":"Oqsha Team"}]}]}}}


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000009853","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"oqsha_ticket_update_whatsapp_template_v4","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"Areli Shrum"},{"type":"text","text":"Ticket"},{"type":"text","text":"T/BEAT/NMM/26/00001"},{"type":"text","text":"Removed 1 Attachment(s)., Assigned To has been updated to 'Bee Fischer', Due Date has been updated to '05-Aug-2026',"},{"type":"text","text":"Ticket"},{"type":"text","text":"BNMVGHJCG"},{"type":"text","text":"Robertsdale"},{"type":"text","text":"Near Miss"},{"type":"text","text":"Randal Jessup"},{"type":"text","text":"Heartbeam Inc."},{"type":"text","text":"Open"},{"type":"text","text":"https://oqsha.com/#/incidents/view/204/78199?dlType=viewTicket"},{"type":"text","text":"Oqsha Team"}]}]}}}


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000004003","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"oqsha_ticket_update_whatsapp_template_v4","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"Marley Lacy"},{"type":"text","text":"Ticket"},{"type":"text","text":"T/BEAT/NMM/26/00001"},{"type":"text","text":"Removed 1 Attachment(s)., Assigned To has been updated to 'Bee Fischer', Due Date has been updated to '05-Aug-2026',"},{"type":"text","text":"Ticket"},{"type":"text","text":"BNMVGHJCG"},{"type":"text","text":"Robertsdale"},{"type":"text","text":"Near Miss"},{"type":"text","text":"Randal Jessup"},{"type":"text","text":"Heartbeam Inc."},{"type":"text","text":"Open"},{"type":"text","text":"https://oqsha.com/#/incidents/view/204/78199?dlType=viewTicket"},{"type":"text","text":"Oqsha Team"}]}]}}}


### Ended processing Update incident Event ###


### End Event Execution ###


### Start Event Execution ###


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


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


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


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


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


Generating report.


Converted to byte file


PDF generation successfull


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


Sending Assigned To Whatsapp for IncidentId:78200


Osmo-x WhatsApp Message has been Sent


# Preparing notification body #


# Checking for device existence #


# User device exists #


Sending Assigned To Notification for IncidentId:78200


Inside SendAppNotification Device Type: GCM


Generating AWS SNS Request


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


Unauthorized


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


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


Push notification failed to send to a device 6920.


# Push notification did not send #


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


Push notification failed to send to a device 11240.


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


Push notification failed to send to a device 22361.


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


### End Event Execution ###


### Start Event Execution ###


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


### Started processing for Update incident Event ###


# Calling  SendNotification function for  all types of notification #


Sending Email for IncidentId:78200


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


Reading and binding data to Email Template


Initializing Email Service Client


Generating Email Request


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


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


--- Email response from Osmo-x is 201


Sending Assigned To Whatsapp for IncidentId:78200


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"918888888882","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"oqsha_ticket_update_whatsapp_template_v4","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"Randal Jessup"},{"type":"text","text":"Ticket"},{"type":"text","text":"T/BEAT/III/26/00001"},{"type":"text","text":"Ticket status updated to Resolved., Comments are added as resolving"},{"type":"text","text":"Ticket"},{"type":"text","text":"shsjsj"},{"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/78200?dlType=viewTicket"},{"type":"text","text":"Oqsha Team"}]}]}}}


Osmo-x WhatsApp Message has been Sent


# Preparing notification body #


# Fetching devices bypassing preferences (Single System Fallback) #


Sending email for incident closure


Error occurred while sending email using Osmo-x.


Object reference not set to an instance of an object.


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000005109","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"oqsha_ticket_update_whatsapp_template_v4","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"Kathaleen Hoopes"},{"type":"text","text":"Ticket"},{"type":"text","text":"T/BEAT/III/26/00001"},{"type":"text","text":"Ticket status updated to Resolved., Comments are added as resolving"},{"type":"text","text":"Ticket"},{"type":"text","text":"shsjsj"},{"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/78200?dlType=viewTicket"},{"type":"text","text":"Oqsha Team"}]}]}}}


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000009155","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"oqsha_ticket_update_whatsapp_template_v4","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"Giselle Skelton"},{"type":"text","text":"Ticket"},{"type":"text","text":"T/BEAT/III/26/00001"},{"type":"text","text":"Ticket status updated to Resolved., Comments are added as resolving"},{"type":"text","text":"Ticket"},{"type":"text","text":"shsjsj"},{"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/78200?dlType=viewTicket"},{"type":"text","text":"Oqsha Team"}]}]}}}


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000006478","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"oqsha_ticket_update_whatsapp_template_v4","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"Jacqui Skelton"},{"type":"text","text":"Ticket"},{"type":"text","text":"T/BEAT/III/26/00001"},{"type":"text","text":"Ticket status updated to Resolved., Comments are added as resolving"},{"type":"text","text":"Ticket"},{"type":"text","text":"shsjsj"},{"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/78200?dlType=viewTicket"},{"type":"text","text":"Oqsha Team"}]}]}}}


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000001710","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"oqsha_ticket_update_whatsapp_template_v4","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"Hellen Maravilla"},{"type":"text","text":"Ticket"},{"type":"text","text":"T/BEAT/III/26/00001"},{"type":"text","text":"Ticket status updated to Resolved., Comments are added as resolving"},{"type":"text","text":"Ticket"},{"type":"text","text":"shsjsj"},{"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/78200?dlType=viewTicket"},{"type":"text","text":"Oqsha Team"}]}]}}}


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000001657","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"oqsha_ticket_update_whatsapp_template_v4","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"Karla Mcclintock"},{"type":"text","text":"Ticket"},{"type":"text","text":"T/BEAT/III/26/00001"},{"type":"text","text":"Ticket status updated to Resolved., Comments are added as resolving"},{"type":"text","text":"Ticket"},{"type":"text","text":"shsjsj"},{"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/78200?dlType=viewTicket"},{"type":"text","text":"Oqsha Team"}]}]}}}


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000009853","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"oqsha_ticket_update_whatsapp_template_v4","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"Areli Shrum"},{"type":"text","text":"Ticket"},{"type":"text","text":"T/BEAT/III/26/00001"},{"type":"text","text":"Ticket status updated to Resolved., Comments are added as resolving"},{"type":"text","text":"Ticket"},{"type":"text","text":"shsjsj"},{"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/78200?dlType=viewTicket"},{"type":"text","text":"Oqsha Team"}]}]}}}


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000004003","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"oqsha_ticket_update_whatsapp_template_v4","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"Marley Lacy"},{"type":"text","text":"Ticket"},{"type":"text","text":"T/BEAT/III/26/00001"},{"type":"text","text":"Ticket status updated to Resolved., Comments are added as resolving"},{"type":"text","text":"Ticket"},{"type":"text","text":"shsjsj"},{"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/78200?dlType=viewTicket"},{"type":"text","text":"Oqsha Team"}]}]}}}


Initializing Email Service Client


Generating Email Request


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


--- Email response from Osmo-x is 201


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000001885","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"oqsha_ticket_update_whatsapp_template_v4","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"Jasmyne Soukup"},{"type":"text","text":"Ticket"},{"type":"text","text":"T/BEAT/III/26/00001"},{"type":"text","text":"Ticket status updated to Resolved., Comments are added as resolving"},{"type":"text","text":"Ticket"},{"type":"text","text":"shsjsj"},{"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/78200?dlType=viewTicket"},{"type":"text","text":"Oqsha Team"}]}]}}}


Osmo-x WhatsApp Message has been Sent


### Ended processing Update incident Event ###


### End Event Execution ###


### Start Event Execution ###


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


### Started processing for Update incident Event ###


# Calling  SendNotification function for  all types of notification #


Sending Email for IncidentId:78200


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


Reading and binding data to Email Template


Sending Assigned To Whatsapp for IncidentId:78200


# Preparing notification body #


# Fetching devices bypassing preferences (Single System Fallback) #


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


Sending email for incident closure


Error occurred while sending email using Osmo-x.


Object reference not set to an instance of an object.


Osmo-x WhatsApp Message has been Sent


Initializing Email Service Client


Generating Email Request


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


--- Email response from Osmo-x is 201


### End Event Execution ###


### Start Event Execution ###


Message : {"EventName":"NOTIFICATION_FOR_WORK_PERMIT_CREATION","EventArgs":[{"Key":"WorkPermitId","Value":"3540"},{"Key":"ApproverIds","Value":"[267]"},{"Key":"SiteName","Value":"Colver"},{"Key":"CreatedBy","Value":"Hebert Eaton"},{"Key":"WorkPermitUid","Value":"WP/FBYDW/ROO/CSE/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_Admin@oqsha.com


New Work Permit Assigned


Sending WorkPermit creation WhatsApp message to: 912000001875


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000001875","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":"Hebert Eaton"},{"type":"text","text":"WP/FBYDW/ROO/CSE/26/00001"},{"type":"text","text":"Colver"},{"type":"text","text":"Falcon's Beyond Global Inc. Warrants"},{"type":"text","text":"Hebert Eaton"},{"type":"text","text":"https://oqsha.com/#/permit-to-work/view-work-permit/248/3540?dlType=viewWorkPermitV2"},{"type":"text","text":"EHS Department - TTK Prestige Limited"}]}]}}}


# Preparing notification body #


Message : {"EventName":"DEPARTMENT_INCHARGE_NOTIFICATION_FOR_WORK_PERMIT_CREATION","EventArgs":[{"Key":"WorkPermitId","Value":"3540"},{"Key":"UserIds","Value":"[]"},{"Key":"SiteName","Value":"Colver"},{"Key":"CreatedBy","Value":"Hebert Eaton"},{"Key":"WorkPermitUid","Value":"WP/FBYDW/ROO/CSE/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 #


Message : {"EventName":"WORK_PERMIT_APPROVED_INFORM_TO_CREATOR_NOTIFICATION","EventArgs":[{"Key":"CreatorId","Value":"267"},{"Key":"ApproverName","Value":"Hebert Eaton"},{"Key":"WorkPermitId","Value":"3540"},{"Key":"WorkPermitUid","Value":"WP/FBYDW/ROO/CSE/26/00001"},{"Key":"SiteName","Value":"Colver"},{"Key":"OrganisationName","Value":"Falcon's Beyond Global Inc. Warrants"},{"Key":"StatusPastTenseName","Value":"Approved"},{"Key":"ApprovedOn","Value":"05-Aug-2026 02:48:40 PM"},{"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: TTK_Admin@oqsha.com


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


Reading and binding data to Email Template


Initializing Email Service Client


Generating Email Request


Hebert Eaton 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: 267


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000001875","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":"Hebert Eaton"},{"type":"text","text":"Hebert Eaton"},{"type":"text","text":"Approved"},{"type":"text","text":"WP/FBYDW/ROO/CSE/26/00001"},{"type":"text","text":"Colver"},{"type":"text","text":"Falcon's Beyond Global Inc. Warrants"},{"type":"text","text":"05-Aug-2026 02:48:40 PM"},{"type":"text","text":"https://oqsha.com/#/permit-to-work/view-work-permit/248/3540?dlType=viewWorkPermitV2"},{"type":"text","text":"EHS Department - TTK Prestige Limited"}]}]}}}


Osmo-x WhatsApp Message has been Sent


# Preparing notification body #


# Fetching devices bypassing preferences (Single System Fallback) #


### End Event Execution ###


### Start Event Execution ###


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


# Calling SendWorkPermitApprovalInvitationNotification function for email/WhatsApp #


Executing email notifications to WorkPermit Approvers about the Pending approval


A Work Permit is awaiting your Approval


Executing whatsapp notifications to WorkPermit Approvers about the Pending approval


Sending WhatsApp for WorkPermit to user: 5827


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


# Checking for device existence #


# User device exists #


Sending Approval Invitation Notification for Work Permit Id:3540


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.


# Push notification did not send #


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/27140765-fe94-364d-b7c5-e9fca8aada8b


Push notification failed to send to a device 24870.


### End Event Execution ###


### Start Event Execution ###


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


# Calling SendNotificationToIssuerForCreatingPermitToWork function for whatsapp and push notification #


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


Executing sending notification to issuers through whatsapp


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


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000002453","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"ptw_assigned_to_generic_template_v4","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"P/HUBG/TFX/AIP/CW/26/00001"},{"type":"text","text":"05-Aug-2026"},{"type":"text","text":"Cold work"},{"type":"text","text":"Meadow Oaks"},{"type":"text","text":" "},{"type":"text","text":"Requested by Raleigh Swaney at 05-Aug-2026 03:06:26 PM"},{"type":"text","text":"Issue"},{"type":"text","text":"Ana Osborn"},{"type":"text","text":"https://oqsha.com/#/work-permit/view/423207?orgID=207&dlType=viewWorkPermit"}]}]}}}


Osmo-x WhatsApp Message has been Sent


Executing sending push notification to the issuers


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


# Preparing notification body #


# Checking for device existence #


# User device exists #


Sending notification for permit to work: 423207


Generating AWS SNS Request


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/f4efb887-45b1-3133-8647-101a6629c0a9


Unauthorized


Push notification failed to send to a device 24207.


# Push notification did not send #


Inside SendAppNotification Device Type: GCM


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/749893de-40e6-393c-b85b-0432f20014e3


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


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


Push notification failed to send to a device 15997.


### End Event Execution ###


### Start Event Execution ###


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


Osmo-x WhatsApp Message has been Sent


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


# Preparing notification body #


# Checking for device existence #


# User device exists #


Sending notification for permit to work: 423208


Generating AWS SNS Request


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Test/447ee638-6a45-3163-91b1-101583c0b1c0


Unauthorized


Push notification failed to send to a device 24872.


# Push notification did not send #


Message : {"EventName":"PORTAL_NOTIFICATION","EventArgs":[{"Key":"NotificationID","Value":1207},{"Key":"PetParentIDCount","Value":1},{"Key":"PetParentID1","Value":1778}]}


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


### Started Notification process for Portal Notification ###


### Started processing for PetParentIDCount  ###


### Added Notification for PetParentID: 1778###


### Calling GetNotificationDetails Function ###


### Added petParentId : System.Collections.Generic.List`1[System.Nullable`1[System.Int32]]###


### Calling GetUserDevicesbyUserIds Function ###


### Calling GetOrganisationname Function ###


### Updating NotificationStatus ###


### Calling UpdateNotificationStatus for NotificationId: 1207###


### Calling SendAppNotification Function  ###


Inside SendAppNotification Device Type: GCM


Generating AWS SNS Request


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Test/63bf59ca-8e4f-3e6d-9782-78889155292e


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


### Sending Notification to DeviceId: eXuP79tzRXuMFE0IPNyaVs:APA91bGp9gp_qvD6X1H7-BcFdjsiv04_rcWr1eyRIewor_Tzo2drVKsgvUdaM9eneL5KeGgsBooItdlzxXc82Dt_Zl0xLkinGBihEDOB0Gjr2_xkD5hFYWAand UserId: 1778###


### Failed to Send NotificationStatus  ###


### Calling InsertUserNotification Function  ###


### Notification Status Updated to Sent ###


### Ended processing for PetParentIDCount ###


### End Event Execution ###


### Start Event Execution ###


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


# Calling SendNotificationToIssuerForCreatingPermitToWork function for whatsapp and push notification #


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


Executing sending notification to issuers through whatsapp


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


Osmo-x WhatsApp Message has been Sent


Executing sending push notification to the issuers


# Push Subject for Issuer P/BEAT/COM/BEAT/EX/26/00001


# Preparing notification body #


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


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


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


Calling Send Email Function for Add User Email


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


No email addresses passed.


Sending welcome WhatsApp notification to: +912000003468


### End Event Execution ###


### Start Event Execution ###


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


# Push Subject for Issuer P/BEAT/COM/ASPI/EL/26/00001


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


# Calling SendNotificationToAllExceptReviewer function for whatsapp and push notification #


User Ids for notification: [1778,2552,4258]


Starting Execution for whatsapp notification for all


Sending notification to requester regarding permit to work 423210


Osmo-x WhatsApp Message has been Sent


Starting Execution for push notification for all


# Preparing notification body #


# string body 05-Aug-2026, Elizabet Patty, P/BEAT/COM/ASPI/EL/26/00001, 05-Aug-2026


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


# Calling SendNotificationToIssuersForExtensionPTW function for whatsapp and push notification #


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


Executing sending notification to issuers for extended PTW through whatsapp


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000003468","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"ptw_assigned_to_generic_template_v4","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"P/BEAT/COM/ASPI/EL/26/00001"},{"type":"text","text":"05-Aug-2026"},{"type":"text","text":"Electrical Work"},{"type":"text","text":"Robertsdale"},{"type":"text","text":"jssujs"},{"type":"text","text":"Extension Requested by Randal Jessup for 2 hour(s) at 05-Aug-2026 03:57:22 PM"},{"type":"text","text":"Extension Review"},{"type":"text","text":"Elizabet Patty"},{"type":"text","text":"https://oqsha.com/#/work-permit/view/423210?orgID=204&dlType=viewWorkPermit"}]}]}}}


Executing sending push notification to the issuers for extended PTW


# string body Randal Jessup, 2 hour(s), P/BEAT/COM/ASPI/EL/26/00001


### End Event Execution ###


### Start Event Execution ###


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


# Calling SendNotificationToAllExceptReviewerForExtendedPTW function for  whatsapp and push notification #


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"918888888882","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"ptw_generic_status_template_v4","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"P/BEAT/COM/ASPI/EL/26/00001"},{"type":"text","text":"05-Aug-2026"},{"type":"text","text":"Electrical Work"},{"type":"text","text":"Robertsdale"},{"type":"text","text":"jssujs"},{"type":"text","text":"Extension Reviewed by Elizabet Patty for 2 hour(s) at 05-Aug-2026 03:58:03 PM"},{"type":"text","text":"Start Work"},{"type":"text","text":"https://oqsha.com/#/work-permit/view/423210?orgID=204&dlType=viewWorkPermit"}]}]}}}


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000007000","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"ptw_generic_status_template_v4","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"P/BEAT/COM/ASPI/EL/26/00001"},{"type":"text","text":"05-Aug-2026"},{"type":"text","text":"Electrical Work"},{"type":"text","text":"Robertsdale"},{"type":"text","text":"jssujs"},{"type":"text","text":"Extension Reviewed by Elizabet Patty for 2 hour(s) at 05-Aug-2026 03:58:03 PM"},{"type":"text","text":"Start Work"},{"type":"text","text":"https://oqsha.com/#/work-permit/view/423210?orgID=204&dlType=viewWorkPermit"}]}]}}}


Osmo-x WhatsApp Message has been Sent


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000000776","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"ptw_generic_status_template_v4","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"P/BEAT/COM/ASPI/EL/26/00001"},{"type":"text","text":"05-Aug-2026"},{"type":"text","text":"Electrical Work"},{"type":"text","text":"Robertsdale"},{"type":"text","text":"jssujs"},{"type":"text","text":"Extension Reviewed by Elizabet Patty for 2 hour(s) at 05-Aug-2026 03:58:03 PM"},{"type":"text","text":"Start Work"},{"type":"text","text":"https://oqsha.com/#/work-permit/view/423210?orgID=204&dlType=viewWorkPermit"}]}]}}}


# Preparing notification body #


# Push Subject for Issuer P/BEAT/COM/ASPI/EL/26/00001


# string body Elizabet Patty, 2 hour(s), P/BEAT/COM/ASPI/EL/26/00001


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


# Calling SendNotificationToIssuerForCreatingPermitToWork function for whatsapp and push notification #


Executing sending notification to issuers through whatsapp


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


Executing sending push notification to the issuers


# Push Subject for Issuer P/BEAT/COM/ADTN/DW/26/00001


### End Event Execution ###


### Start Event Execution ###


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


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


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000003468","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"ptw_assigned_to_generic_template_v4","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"P/BEAT/COM/AKTS/NW/EL/26/00001"},{"type":"text","text":"05-Aug-2026"},{"type":"text","text":"Night Work, Electrical Work"},{"type":"text","text":"Robertsdale"},{"type":"text","text":" "},{"type":"text","text":"Requested by Randal Jessup at 05-Aug-2026 04:14:02 PM"},{"type":"text","text":"Review"},{"type":"text","text":"Elizabet Patty"},{"type":"text","text":"https://oqsha.com/#/work-permit/view/423212?orgID=204&dlType=viewWorkPermit"}]}]}}}


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


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


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


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


# Calling SendNotificationToAllExceptReviewer function for whatsapp and push notification #


User Ids for notification: [1778,2552,4258]


Starting Execution for whatsapp notification for all


Sending notification to requester regarding permit to work 423212


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"918888888882","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"ptw_generic_status_template_v4","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"P/BEAT/COM/AKTS/NW/EL/26/00001"},{"type":"text","text":"05-Aug-2026"},{"type":"text","text":"Electrical Work, Night Work"},{"type":"text","text":"Robertsdale"},{"type":"text","text":" "},{"type":"text","text":"Reviewed by Elizabet Patty at 05-Aug-2026 04:14:59 PM"},{"type":"text","text":"Start Work"},{"type":"text","text":"https://oqsha.com/#/work-permit/view/423212?orgID=204&dlType=viewWorkPermit"}]}]}}}


Osmo-x WhatsApp Message has been Sent


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000007000","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"ptw_generic_status_template_v4","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"P/BEAT/COM/AKTS/NW/EL/26/00001"},{"type":"text","text":"05-Aug-2026"},{"type":"text","text":"Electrical Work, Night Work"},{"type":"text","text":"Robertsdale"},{"type":"text","text":" "},{"type":"text","text":"Reviewed by Elizabet Patty at 05-Aug-2026 04:14:59 PM"},{"type":"text","text":"Start Work"},{"type":"text","text":"https://oqsha.com/#/work-permit/view/423212?orgID=204&dlType=viewWorkPermit"}]}]}}}


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000000776","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"ptw_generic_status_template_v4","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"P/BEAT/COM/AKTS/NW/EL/26/00001"},{"type":"text","text":"05-Aug-2026"},{"type":"text","text":"Electrical Work, Night Work"},{"type":"text","text":"Robertsdale"},{"type":"text","text":" "},{"type":"text","text":"Reviewed by Elizabet Patty at 05-Aug-2026 04:14:59 PM"},{"type":"text","text":"Start Work"},{"type":"text","text":"https://oqsha.com/#/work-permit/view/423212?orgID=204&dlType=viewWorkPermit"}]}]}}}


Starting Execution for push notification for all


# Preparing notification body #


# string body 05-Aug-2026, Elizabet Patty, P/BEAT/COM/AKTS/NW/EL/26/00001, 05-Aug-2026


### End Event Execution ###


### Start Event Execution ###


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


# Calling SendNotificationForPTWHistory function for whatsapp and push notification #


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


Executing sending notification to reviewer through whatsapp


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


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"918888888882","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"ptw_history_comments_latest_v2","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"P/BEAT/COM/AKTS/NW/EL/26/00001"},{"type":"text","text":"05-Aug-2026"},{"type":"text","text":"Electrical Work"},{"type":"text","text":"Robertsdale"},{"type":"text","text":" "},{"type":"text","text":"cancel. The status has changed to Cancelled."},{"type":"text","text":"Elizabet Patty at 05-Aug-2026 04:15:53 PM"},{"type":"text","text":"https://oqsha.com/#/work-permit/view/423212?orgID=204&dlType=viewWorkPermit"}]}]}}}


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000007000","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"ptw_history_comments_latest_v2","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"P/BEAT/COM/AKTS/NW/EL/26/00001"},{"type":"text","text":"05-Aug-2026"},{"type":"text","text":"Electrical Work"},{"type":"text","text":"Robertsdale"},{"type":"text","text":" "},{"type":"text","text":"cancel. The status has changed to Cancelled."},{"type":"text","text":"Elizabet Patty at 05-Aug-2026 04:15:53 PM"},{"type":"text","text":"https://oqsha.com/#/work-permit/view/423212?orgID=204&dlType=viewWorkPermit"}]}]}}}


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000000776","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"ptw_history_comments_latest_v2","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"P/BEAT/COM/AKTS/NW/EL/26/00001"},{"type":"text","text":"05-Aug-2026"},{"type":"text","text":"Electrical Work"},{"type":"text","text":"Robertsdale"},{"type":"text","text":" "},{"type":"text","text":"cancel. The status has changed to Cancelled."},{"type":"text","text":"Elizabet Patty at 05-Aug-2026 04:15:53 PM"},{"type":"text","text":"https://oqsha.com/#/work-permit/view/423212?orgID=204&dlType=viewWorkPermit"}]}]}}}


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000003468","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"ptw_history_comments_latest_v2","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"P/BEAT/COM/AKTS/NW/EL/26/00001"},{"type":"text","text":"05-Aug-2026"},{"type":"text","text":"Electrical Work"},{"type":"text","text":"Robertsdale"},{"type":"text","text":" "},{"type":"text","text":"cancel. The status has changed to Cancelled."},{"type":"text","text":"Elizabet Patty at 05-Aug-2026 04:15:53 PM"},{"type":"text","text":"https://oqsha.com/#/work-permit/view/423212?orgID=204&dlType=viewWorkPermit"}]}]}}}


Osmo-x WhatsApp Message has been Sent


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


# Calling SendNotificationToAllExceptReviewer function for whatsapp and push notification #


User Ids for notification: [1778,2552,4258]


Starting Execution for whatsapp notification for all


Sending notification to requester regarding permit to work 423211


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"918888888882","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"ptw_generic_status_template_v4","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"P/BEAT/COM/ADTN/DW/26/00001"},{"type":"text","text":"05-Aug-2026"},{"type":"text","text":"De-shuttering Work"},{"type":"text","text":"Robertsdale"},{"type":"text","text":" "},{"type":"text","text":"Reviewed by Elizabet Patty at 05-Aug-2026 04:16:32 PM"},{"type":"text","text":"Start Work"},{"type":"text","text":"https://oqsha.com/#/work-permit/view/423211?orgID=204&dlType=viewWorkPermit"}]}]}}}


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000007000","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"ptw_generic_status_template_v4","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"P/BEAT/COM/ADTN/DW/26/00001"},{"type":"text","text":"05-Aug-2026"},{"type":"text","text":"De-shuttering Work"},{"type":"text","text":"Robertsdale"},{"type":"text","text":" "},{"type":"text","text":"Reviewed by Elizabet Patty at 05-Aug-2026 04:16:32 PM"},{"type":"text","text":"Start Work"},{"type":"text","text":"https://oqsha.com/#/work-permit/view/423211?orgID=204&dlType=viewWorkPermit"}]}]}}}


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000000776","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"ptw_generic_status_template_v4","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"P/BEAT/COM/ADTN/DW/26/00001"},{"type":"text","text":"05-Aug-2026"},{"type":"text","text":"De-shuttering Work"},{"type":"text","text":"Robertsdale"},{"type":"text","text":" "},{"type":"text","text":"Reviewed by Elizabet Patty at 05-Aug-2026 04:16:32 PM"},{"type":"text","text":"Start Work"},{"type":"text","text":"https://oqsha.com/#/work-permit/view/423211?orgID=204&dlType=viewWorkPermit"}]}]}}}


Starting Execution for push notification for all


# Preparing notification body #


# Push Subject for Issuer P/BEAT/COM/ADTN/DW/26/00001


# string body 05-Aug-2026, Elizabet Patty, P/BEAT/COM/ADTN/DW/26/00001, 05-Aug-2026


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


Osmo-x WhatsApp Message has been Sent


Sending Task Assignment Email for TaskId: 16042, UserId: 267


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


Reading and binding data to Email Template


Initializing Email Service Client


Generating Email Request


New Action Tracker Assigned - AT/WNW/INV/SEO/26/00002


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


--- Email response from Osmo-x is 201


# Preparing notification body #


# Fetching devices bypassing preferences (Single System Fallback) #


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


# Calling SendNotificationToIssuerForCreatingPermitToWork function for whatsapp and push notification #


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


Executing sending notification to issuers through whatsapp


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


Executing sending push notification to the issuers


# Push Subject for Issuer P/GLTO/GRR/GLTO/CW/26/00001


### End Event Execution ###


### Start Event Execution ###


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


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


Calling Send Email Function for Update User Email


Initializing Email Service Client


Generating Email Request


Your OQSHA Access Has Been Updated


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


--- Email response from Osmo-x is 201


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


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


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


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000003468","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"ptw_assigned_to_generic_template_v4","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"P/BEAT/COM/AMZN/CS/BL/CW/26/00001"},{"type":"text","text":"05-Aug-2026"},{"type":"text","text":"Confined Space Entry, Blasting Work, Concrete Work"},{"type":"text","text":"Robertsdale"},{"type":"text","text":"hyd"},{"type":"text","text":"Requested by Randal Jessup at 05-Aug-2026 04:48:11 PM"},{"type":"text","text":"Review"},{"type":"text","text":"Elizabet Patty"},{"type":"text","text":"https://oqsha.com/#/work-permit/view/423214?orgID=204&dlType=viewWorkPermit"}]}]}}}


Osmo-x WhatsApp Message has been Sent


# Push Subject for Issuer P/BEAT/COM/AMZN/CS/BL/CW/26/00001


# Preparing notification body #


### End Event Execution ###


### Start Event Execution ###


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


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


Reading and binding data to Email Template


Initializing Email Service Client


Generating Email Request


Your OQSHA Access Has Been Updated


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


--- Email response from Osmo-x is 201


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


Message : {"EventName":"INFORM_TO_INCIDENT_CREATION_NOTIFICATION","EventArgs":[{"Key":"IncidentId","Value":78201},{"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: 78201


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/UAA/26/00001"},{"type":"text","text":" bik"},{"type":"text","text":"Colver"},{"type":"text","text":"Unsafe Act"},{"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/78201?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: 78201


Initializing Email Service Client


Generating Email Request


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


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


--- Email response from Osmo-x is 201


# Fetching devices bypassing preferences (Single System Fallback) #


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


### End Event Execution ###


### Start Event Execution ###


### 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/FRA/26/00002"},{"type":"text","text":"bik"},{"type":"text","text":"Fire Risk Assessment"},{"type":"text","text":"https://oqsha.com/#/tasks/edit/16044?dlType=viewTask&orgID=248"},{"type":"text","text":"EHS Department - TTK Prestige Limited"}]}]}}}


Osmo-x WhatsApp Message has been Sent


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


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


Reading and binding data to Email Template


Initializing Email Service Client


Generating Email Request


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


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


--- Email response from Osmo-x is 201


# Preparing notification body #


# Checking for device existence #


# User device exists #


Sending Task Assignment Notification for Task Id:16044


Inside SendAppNotification Device Type: GCM


Generating AWS SNS Request


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Test/ee21449e-5f37-3b6a-862a-1c3d4b01d075


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


# Push notification did not send #


### End Event Execution ###


### Start Event Execution ###


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


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


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


## Sending notification to Site EHS user ##


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


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


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


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


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


Executing email notifications to Incident Approvers about the Pending approval


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


Reading and binding data to Email Template


Initializing Email Service Client


Generating Email Request


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


Osmo-x WhatsApp Message has been Sent


# Preparing notification body #


# Fetching devices bypassing preferences (Single System Fallback) #


### Ended processing Incident Submitted Event ###


### End Event Execution ###


### Start Event Execution ###


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


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


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


Calling Send Email Function for Update User Email


Initializing Email Service Client


Generating Email Request


Your OQSHA Access Has Been Updated


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


--- Email response from Osmo-x is 201


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


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


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


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


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


## Sending notification to EHS head user ##


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


### Ended processing Incident Closure Validation Level 2 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: 5538


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000002528","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":"Mozell Heaton"},{"type":"text","text":"Action Tracker"},{"type":"text","text":"AT/FBYDW/ROO/TTT/26/00001"},{"type":"text","text":" bik"},{"type":"text","text":"Safety Alert"},{"type":"text","text":"https://oqsha.com/#/tasks/edit/16045?dlType=viewTask&orgID=248"},{"type":"text","text":"EHS Department - TTK Prestige Limited"}]}]}}}


Message : {"EventName":"ASSIGNED_TO_NOTIFICATION","EventArgs":[{"Key":"AssignedIncidentID","Value":78201},{"Key":"OrgId","Value":248},{"Key":"AssignedToID","Value":5538}]}


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


Osmo-x WhatsApp Message has been Sent


Sending Task Assignment Email for TaskId: 16045, UserId: 5538


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


Reading and binding data to Email Template


Initializing Email Service Client


Generating Email Request


Generating report.


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 bypassing preferences (Single System Fallback) #


# Checking for device existence #


# User device exists #


Sending Task Assignment Notification for Task Id:16045


Inside SendAppNotification Device Type: GCM


Generating AWS SNS Request


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Test/ee21449e-5f37-3b6a-862a-1c3d4b01d075


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


# Push notification did not send #


### End Event Execution ###


Converted to byte file


PDF generation successfull


## Sending email to Mozell Heaton, UserId : 5538 for assigned to notification ##


Sending Assigned To Email for IncidentId:78201


Initializing Email Service Client


Generating Email Request


A Safety Alert T/FBYDW/UAA/26/00001 is assigned to you related to 'Unsafe Act'


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


--- Email response from Osmo-x is 201


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


Sending Assigned To Whatsapp for IncidentId:78201