### 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 payload: {"providerId":48,"data":{"to":"912000001875","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":"Hebert Eaton"},{"type":"text","text":"Action Tracker"},{"type":"text","text":"AT/FBYDW/ROO/MDA/26/00002"},{"type":"text","text":"N/A"},{"type":"text","text":"Mock Drill Actions"},{"type":"text","text":"https://oqsha.com/#/tasks/edit/17675?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: 17675, 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/FBYDW/ROO/MDA/26/00002


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


--- Email response from Osmo-x is 201


# Preparing notification body #


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


# Checking for device existence #


# User device exists #


Sending Task Assignment Notification for Task Id:17675


Inside SendAppNotification Device Type: APNS


Generating AWS SNS Request


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/APNS/Oqsha-IOS-Production/94c163e8-9959-329b-87e4-67173590bc2f


New Task Assigned

You have been assigned a new task Action Tracker - AT/FBYDW/ROO/MDA/26/00002.

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


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


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


--- Unable to parse Osmo-x notification id from response: Error converting value "This is a test mode notification. Notification was not delivered to recipient." to type 'IncidentReporter.DAL.Models.OsmoXNotificationErrorDetailDBO'. Path 'result.result', line 1, position 785.


Push notification was sent to device with id 26487.


App notification history inserted. HistoryId: 224730, UserId: 267, NotificationType: TASK_STATUS_UPDATE, ModuleId: 83, ReferenceId: 17675


# Push notification sent #


Inside SendAppNotification Device Type: GCM


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/b3c13f8a-1de7-321c-9b2f-72f3f0ebc7ef


New Task Assigned


--- Unable to parse Osmo-x notification id from response: Error converting value "This is a test mode notification. Notification was not delivered to recipient." to type 'IncidentReporter.DAL.Models.OsmoXNotificationErrorDetailDBO'. Path 'result.result', line 1, position 851.


Push notification was sent to device with id 26737.


Skipping notification history insertion for DeviceId: 26737, UserId: 267. History is recorded only for the user's first active device.


# Checking for device existence #


# User device exists #


Generating AWS SNS Request


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/5578a135-63f4-3578-b400-e62d335e5ae6


Push notification was sent to device with id 26738.


Skipping notification history insertion for DeviceId: 26738, UserId: 267. History is recorded only for the user's first active device.


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/3dae5aa0-3020-3e50-91ab-ddbf3f42351b


Push notification was sent to device with id 26828.


Skipping notification history insertion for DeviceId: 26828, UserId: 267. History is recorded only for the user's first active device.


Sending Task Assignment Notification for Task Id:17675


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/436466a9-c826-300e-a1e9-b67e57131cd4


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


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


Push notification was sent to device with id 26829.


Skipping notification history insertion for DeviceId: 26829, UserId: 267. History is recorded only for the user's first active device.


# Push notification sent #


### End Event Execution ###


### Start Event Execution ###


Message : {"EventName":"TASK_CLOSURE_NOTIFICATION_VALIDATION_1","EventArgs":[{"Key":"TaskId","Value":17669},{"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 : NOTIFICATION_TO_TASK_ASSIGNEES ###


# Calling SendNotificationToTaskAssignees function for WhatsApp notification #


Sending WhatsApp notification for task assignment to user ID: 267


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000001875","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":"Hebert Eaton"},{"type":"text","text":"Action Tracker"},{"type":"text","text":"AT/FBYDW/ROO/EH–/26/00004"},{"type":"text","text":"N/A"},{"type":"text","text":"EHS Head – Safety Walk"},{"type":"text","text":"https://oqsha.com/#/tasks/edit/17677?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: 17677, 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/FBYDW/ROO/EH–/26/00004


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


--- Email response from Osmo-x is 201


# Preparing notification body #


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


# Checking for device existence #


# User device exists #


Sending Task Assignment Notification for Task Id:17677


Inside SendAppNotification Device Type: APNS


Generating AWS SNS Request


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/APNS/Oqsha-IOS-Production/94c163e8-9959-329b-87e4-67173590bc2f


New Task Assigned

You have been assigned a new task Action Tracker - AT/FBYDW/ROO/EH–/26/00004.


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


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


--- Unable to parse Osmo-x notification id from response: Error converting value "This is a test mode notification. Notification was not delivered to recipient." to type 'IncidentReporter.DAL.Models.OsmoXNotificationErrorDetailDBO'. Path 'result.result', line 1, position 785.


Push notification was sent to device with id 26487.


App notification history inserted. HistoryId: 224731, UserId: 267, NotificationType: TASK_STATUS_UPDATE, ModuleId: 83, ReferenceId: 17677


# Push notification sent #


Inside SendAppNotification Device Type: GCM


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/b3c13f8a-1de7-321c-9b2f-72f3f0ebc7ef


New Task Assigned


--- Unable to parse Osmo-x notification id from response: Error converting value "This is a test mode notification. Notification was not delivered to recipient." to type 'IncidentReporter.DAL.Models.OsmoXNotificationErrorDetailDBO'. Path 'result.result', line 1, position 851.


Push notification was sent to device with id 26737.


Skipping notification history insertion for DeviceId: 26737, UserId: 267. History is recorded only for the user's first active device.


# Checking for device existence #


# User device exists #


Generating AWS SNS Request


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/5578a135-63f4-3578-b400-e62d335e5ae6


Push notification was sent to device with id 26738.


Skipping notification history insertion for DeviceId: 26738, UserId: 267. History is recorded only for the user's first active device.


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/3dae5aa0-3020-3e50-91ab-ddbf3f42351b


Push notification was sent to device with id 26828.


Skipping notification history insertion for DeviceId: 26828, UserId: 267. History is recorded only for the user's first active device.


Sending Task Assignment Notification for Task Id:17677


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/436466a9-c826-300e-a1e9-b67e57131cd4


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


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


Push notification was sent to device with id 26829.


Skipping notification history insertion for DeviceId: 26829, UserId: 267. History is recorded only for the user's first active device.


# Push notification sent #


### 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 payload: {"providerId":48,"data":{"to":"912000001875","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":"Hebert Eaton"},{"type":"text","text":"Action Tracker"},{"type":"text","text":"AT/FBYDW/ROO/EH–/26/00004"},{"type":"text","text":"N/A"},{"type":"text","text":"EHS Head – Safety Walk"},{"type":"text","text":"https://oqsha.com/#/tasks/edit/17677?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: 17677, UserId: 267


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


# Preparing notification body #


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


# Checking for device existence #


# User device exists #


Inside SendAppNotification Device Type: APNS


Generating AWS SNS Request


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/APNS/Oqsha-IOS-Production/94c163e8-9959-329b-87e4-67173590bc2f


New Task Assigned


--- Unable to parse Osmo-x notification id from response: Error converting value "This is a test mode notification. Notification was not delivered to recipient." to type 'IncidentReporter.DAL.Models.OsmoXNotificationErrorDetailDBO'. Path 'result.result', line 1, position 785.


Push notification was sent to device with id 26487.


App notification history inserted. HistoryId: 224732, UserId: 267, NotificationType: TASK_STATUS_UPDATE, ModuleId: 83, ReferenceId: 17677


# Push notification sent #


Sending Task Assignment Notification for Task Id:17677


Inside SendAppNotification Device Type: GCM


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/b3c13f8a-1de7-321c-9b2f-72f3f0ebc7ef


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


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


--- Unable to parse Osmo-x notification id from response: Error converting value "This is a test mode notification. Notification was not delivered to recipient." to type 'IncidentReporter.DAL.Models.OsmoXNotificationErrorDetailDBO'. Path 'result.result', line 1, position 851.


Push notification was sent to device with id 26737.


Skipping notification history insertion for DeviceId: 26737, UserId: 267. History is recorded only for the user's first active device.


# Checking for device existence #


# User device exists #


Generating AWS SNS Request


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/5578a135-63f4-3578-b400-e62d335e5ae6


New Task Assigned


Push notification was sent to device with id 26738.


Skipping notification history insertion for DeviceId: 26738, UserId: 267. History is recorded only for the user's first active device.


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/3dae5aa0-3020-3e50-91ab-ddbf3f42351b


Push notification was sent to device with id 26828.


Skipping notification history insertion for DeviceId: 26828, UserId: 267. History is recorded only for the user's first active device.


# Push notification sent #


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/436466a9-c826-300e-a1e9-b67e57131cd4


Push notification was sent to device with id 26829.


Skipping notification history insertion for DeviceId: 26829, UserId: 267. History is recorded only for the user's first active device.


### 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 payload: {"providerId":48,"data":{"to":"912000001875","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":"Hebert Eaton"},{"type":"text","text":"Action Tracker"},{"type":"text","text":"AT/FBYDW/ROO/EH–/26/00004"},{"type":"text","text":"N/A"},{"type":"text","text":"EHS Head – Safety Walk"},{"type":"text","text":"https://oqsha.com/#/tasks/edit/17677?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: 17677, UserId: 267


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


# Preparing notification body #


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


# Checking for device existence #


# User device exists #


Sending Task Assignment Notification for Task Id:17677


Inside SendAppNotification Device Type: APNS


Generating AWS SNS Request


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/APNS/Oqsha-IOS-Production/94c163e8-9959-329b-87e4-67173590bc2f


New Task Assigned


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


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


--- Unable to parse Osmo-x notification id from response: Error converting value "This is a test mode notification. Notification was not delivered to recipient." to type 'IncidentReporter.DAL.Models.OsmoXNotificationErrorDetailDBO'. Path 'result.result', line 1, position 785.


Push notification was sent to device with id 26487.


App notification history inserted. HistoryId: 224733, UserId: 267, NotificationType: TASK_STATUS_UPDATE, ModuleId: 83, ReferenceId: 17677


# Push notification sent #


Inside SendAppNotification Device Type: GCM


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/b3c13f8a-1de7-321c-9b2f-72f3f0ebc7ef


--- Unable to parse Osmo-x notification id from response: Error converting value "This is a test mode notification. Notification was not delivered to recipient." to type 'IncidentReporter.DAL.Models.OsmoXNotificationErrorDetailDBO'. Path 'result.result', line 1, position 851.


Push notification was sent to device with id 26737.


Skipping notification history insertion for DeviceId: 26737, UserId: 267. History is recorded only for the user's first active device.


# Checking for device existence #


# User device exists #


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/5578a135-63f4-3578-b400-e62d335e5ae6


Push notification was sent to device with id 26738.


Skipping notification history insertion for DeviceId: 26738, UserId: 267. History is recorded only for the user's first active device.


Generating AWS SNS Request


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/3dae5aa0-3020-3e50-91ab-ddbf3f42351b


New Task Assigned


Push notification was sent to device with id 26828.


Skipping notification history insertion for DeviceId: 26828, UserId: 267. History is recorded only for the user's first active device.


Sending Task Assignment Notification for Task Id:17677


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/436466a9-c826-300e-a1e9-b67e57131cd4


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


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


Push notification was sent to device with id 26829.


Skipping notification history insertion for DeviceId: 26829, UserId: 267. History is recorded only for the user's first active device.


# Push notification sent #


### 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/KAR/PSR/26/00002"},{"type":"text","text":"Unit 4 Building Construction"},{"type":"text","text":"PSSR"},{"type":"text","text":"https://oqsha.com/#/tasks/edit/17673?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: 17673, UserId: 5538


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


Reading and binding data to Email Template


Initializing Email Service Client


Generating Email Request


New Action Tracker Assigned - AT/FBYDW/KAR/PSR/26/00002


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


--- Email response from Osmo-x is 201


# Preparing notification body #


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


### End Event Execution ###


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


Safety Alert B0G0V3 has been updated


Sending Assigned To Whatsapp for IncidentId:79520


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000002911","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":"Jillian Firth"},{"type":"text","text":"Safety Alert"},{"type":"text","text":"B0G0V3"},{"type":"text","text":"Comments are added as test"},{"type":"text","text":"Safety Alert"},{"type":"text","text":"while tool setting in press tool moved to by hand, it leads to injuries, instead of to use belt to loading and un loading"},{"type":"text","text":"Washoe Valley"},{"type":"text","text":"Unsafe Condition"},{"type":"text","text":"Jillian Firth"},{"type":"text","text":"Falcon's Beyond Global Inc. Warrants"},{"type":"text","text":"Assigned"},{"type":"text","text":"https://sandbox.oqsha.com/#/inct/view/248/79520"},{"type":"text","text":"EHS Department - TTK Prestige Limited"}]}]}}}


Osmo-x WhatsApp Message has been Sent


Initializing Email Service Client


Generating Email Request


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000004372","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":"Alfreda Mcclintock"},{"type":"text","text":"Safety Alert"},{"type":"text","text":"B0G0V3"},{"type":"text","text":"Comments are added as test"},{"type":"text","text":"Safety Alert"},{"type":"text","text":"while tool setting in press tool moved to by hand, it leads to injuries, instead of to use belt to loading and un loading"},{"type":"text","text":"Washoe Valley"},{"type":"text","text":"Unsafe Condition"},{"type":"text","text":"Jillian Firth"},{"type":"text","text":"Falcon's Beyond Global Inc. Warrants"},{"type":"text","text":"Assigned"},{"type":"text","text":"https://sandbox.oqsha.com/#/inct/view/248/79520"},{"type":"text","text":"EHS Department - TTK Prestige Limited"}]}]}}}


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


--- Email response from Osmo-x is 201


# Preparing notification body #


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


# Checking for device existence #


# User device exists #


Sending Assigned To Notification for IncidentId:79520


Inside SendAppNotification Device Type: GCM


Generating AWS SNS Request


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/e7067e6e-e7a2-3ccb-8d54-d6b61cef8093


Ticket has been updated. Check the following comments B0G0V3

Ticket Comments are added as test


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


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


--- Unable to parse Osmo-x notification id from response: Error converting value "This is a test mode notification. Notification was not delivered to recipient." to type 'IncidentReporter.DAL.Models.OsmoXNotificationErrorDetailDBO'. Path 'result.result', line 1, position 975.


Push notification was sent to device with id 26423.


App notification history inserted. HistoryId: 224734, UserId: 5765, NotificationType: INCIDENT_STATUS_UPDATE, ModuleId: 12, ReferenceId: 79520


# Push notification sent #


### Ended processing Update incident Event ###


### End Event Execution ###


### Start Event Execution ###


Sending Email for IncidentId:79520


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


Reading and binding data to Email Template


Initializing Email Service Client


Generating Email Request


Safety Alert B0G0V3 has been updated


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


--- Email response from Osmo-x is 201


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000002911","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":"Jillian Firth"},{"type":"text","text":"Safety Alert"},{"type":"text","text":"B0G0V3"},{"type":"text","text":"Comments are added as test2"},{"type":"text","text":"Safety Alert"},{"type":"text","text":"while tool setting in press tool moved to by hand, it leads to injuries, instead of to use belt to loading and un loading"},{"type":"text","text":"Washoe Valley"},{"type":"text","text":"Unsafe Condition"},{"type":"text","text":"Jillian Firth"},{"type":"text","text":"Falcon's Beyond Global Inc. Warrants"},{"type":"text","text":"Assigned"},{"type":"text","text":"https://sandbox.oqsha.com/#/inct/view/248/79520"},{"type":"text","text":"EHS Department - TTK Prestige Limited"}]}]}}}


Osmo-x WhatsApp Message has been Sent


# Preparing notification body #


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


Sending Assigned To Whatsapp for IncidentId:79520


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000004372","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":"Alfreda Mcclintock"},{"type":"text","text":"Safety Alert"},{"type":"text","text":"B0G0V3"},{"type":"text","text":"Comments are added as test2"},{"type":"text","text":"Safety Alert"},{"type":"text","text":"while tool setting in press tool moved to by hand, it leads to injuries, instead of to use belt to loading and un loading"},{"type":"text","text":"Washoe Valley"},{"type":"text","text":"Unsafe Condition"},{"type":"text","text":"Jillian Firth"},{"type":"text","text":"Falcon's Beyond Global Inc. Warrants"},{"type":"text","text":"Assigned"},{"type":"text","text":"https://sandbox.oqsha.com/#/inct/view/248/79520"},{"type":"text","text":"EHS Department - TTK Prestige Limited"}]}]}}}


# Checking for device existence #


# User device exists #


Generating AWS SNS Request


Ticket Comments are added as test2


--- Unable to parse Osmo-x notification id from response: Error converting value "This is a test mode notification. Notification was not delivered to recipient." to type 'IncidentReporter.DAL.Models.OsmoXNotificationErrorDetailDBO'. Path 'result.result', line 1, position 976.


App notification history inserted. HistoryId: 224735, UserId: 5765, NotificationType: INCIDENT_STATUS_UPDATE, ModuleId: 12, ReferenceId: 79520


# Push notification sent #


### End Event Execution ###


### Start Event Execution ###


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


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


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


Executing email notifications to Incident Approvers about the Pending approval


Initializing Email Service Client


Generating Email Request


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


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


--- Email response from Osmo-x is 201


Executing whatsapp notifications to Incident Approvers about the Pending approval


Sending WhatsApp Notification for Incident Approval to User: 5538


Osmo-x WhatsApp Message has been Sent


# Preparing notification body #


### Ended processing Incident Submitted Event ###


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


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


Calling Send Email Function for Update User Email


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


Reading and binding data to Email Template


Your OQSHA Access Has Been Updated


### End Event Execution ###


### Start Event Execution ###


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


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


Initializing Email Service Client


Generating Email Request


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


--- Email response from Osmo-x is 201


Message : {"EventName":"INFORM_TO_INCIDENT_CREATION_NOTIFICATION","EventArgs":[{"Key":"IncidentId","Value":79568},{"Key":"InformToUserId","Value":5869}]}


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


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000007032","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":"Kalvin Tran"},{"type":"text","text":"Safety Alert"},{"type":"text","text":"T/FBYDW/NMM/26/00001"},{"type":"text","text":"testing"},{"type":"text","text":"Mathiston"},{"type":"text","text":"Near Misses"},{"type":"text","text":"Hebert Eaton"},{"type":"text","text":"Falcon's Beyond Global Inc. Warrants"},{"type":"text","text":"Open"},{"type":"text","text":"https://sandbox.oqsha.com/#/inct/view/248/79568"},{"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 Kalvin Tran##


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


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


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


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


### End Event Execution ###


### Start Event Execution ###


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


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


PDF generation successfull


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


Sending Assigned To Whatsapp for IncidentId:79568


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000008746","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"oqsha_assigned_to_whatsapp_template_v3","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"Toby Miley"},{"type":"text","text":"Safety Alert"},{"type":"text","text":"T/FBYDW/NMM/26/00001"},{"type":"text","text":"testing"},{"type":"text","text":"Mathiston"},{"type":"text","text":"Near Misses"},{"type":"text","text":"Hebert Eaton"},{"type":"text","text":"Falcon's Beyond Global Inc. Warrants"},{"type":"text","text":"Open"},{"type":"text","text":"https://sandbox.oqsha.com/#/inct/view/248/79568"},{"type":"text","text":"EHS Department - TTK Prestige Limited"}]}]}}}


Osmo-x WhatsApp Message has been Sent


# Preparing notification body #


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


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


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


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


Reading and binding data to Email Template


### End Event Execution ###


Initializing Email Service Client


Generating Email Request


Safety Alert T/FBYDW/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":"912000001875","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"oqsha_ticket_update_whatsapp_template_v4","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"Hebert Eaton"},{"type":"text","text":"Safety Alert"},{"type":"text","text":"T/FBYDW/NMM/26/00001"},{"type":"text","text":"Safety Alert status updated to Assigned"},{"type":"text","text":"Safety Alert"},{"type":"text","text":"testing"},{"type":"text","text":"Mathiston"},{"type":"text","text":"Near Misses"},{"type":"text","text":"Hebert Eaton"},{"type":"text","text":"Falcon's Beyond Global Inc. Warrants"},{"type":"text","text":"Assigned"},{"type":"text","text":"https://sandbox.oqsha.com/#/inct/view/248/79568"},{"type":"text","text":"EHS Department - TTK Prestige Limited"}]}]}}}


Osmo-x WhatsApp Message has been Sent


# Preparing notification body #


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


# Checking for device existence #


# User device exists #


Sending Assigned To Notification for IncidentId:79568


Inside SendAppNotification Device Type: APNS


Generating AWS SNS Request


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/APNS/Oqsha-IOS-Production/94c163e8-9959-329b-87e4-67173590bc2f


Ticket has been updated. Check the following comments T/FBYDW/NMM/26/00001

Ticket Safety Alert status updated to Assigned


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


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


--- Unable to parse Osmo-x notification id from response: Error converting value "This is a test mode notification. Notification was not delivered to recipient." to type 'IncidentReporter.DAL.Models.OsmoXNotificationErrorDetailDBO'. Path 'result.result', line 1, position 837.


Push notification was sent to device with id 26487.


App notification history inserted. HistoryId: 224736, UserId: 267, NotificationType: INCIDENT_STATUS_UPDATE, ModuleId: 12, ReferenceId: 79568


# Push notification sent #


Inside SendAppNotification Device Type: GCM


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/b3c13f8a-1de7-321c-9b2f-72f3f0ebc7ef


--- Unable to parse Osmo-x notification id from response: Error converting value "This is a test mode notification. Notification was not delivered to recipient." to type 'IncidentReporter.DAL.Models.OsmoXNotificationErrorDetailDBO'. Path 'result.result', line 1, position 1044.


Push notification was sent to device with id 26737.


Skipping notification history insertion for DeviceId: 26737, UserId: 267. History is recorded only for the user's first active device.


# Checking for device existence #


# User device exists #


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/5578a135-63f4-3578-b400-e62d335e5ae6


Push notification was sent to device with id 26738.


Skipping notification history insertion for DeviceId: 26738, UserId: 267. History is recorded only for the user's first active device.


Generating AWS SNS Request


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/3dae5aa0-3020-3e50-91ab-ddbf3f42351b


Push notification was sent to device with id 26828.


Skipping notification history insertion for DeviceId: 26828, UserId: 267. History is recorded only for the user's first active device.


Sending Assigned To Notification for IncidentId:79568


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/436466a9-c826-300e-a1e9-b67e57131cd4


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


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


Push notification was sent to device with id 26829.


Skipping notification history insertion for DeviceId: 26829, UserId: 267. History is recorded only for the user's first active device.


# Push notification sent #


Inside SendAppNotification Device Type: GCM


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Test/12f7552e-1f23-3510-a1f8-c33d3aaa7ca3


--- Unable to parse Osmo-x notification id from response: Error converting value "This is a test mode notification. Notification was not delivered to recipient." to type 'IncidentReporter.DAL.Models.OsmoXNotificationErrorDetailDBO'. Path 'result.result', line 1, position 1038.


Push notification was sent to device with id 27056.


Skipping notification history insertion for DeviceId: 27056, UserId: 267. History is recorded only for the user's first active device.


Sending Assigned To Whatsapp for IncidentId:79568


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000008746","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":"Toby Miley"},{"type":"text","text":"Safety Alert"},{"type":"text","text":"T/FBYDW/NMM/26/00001"},{"type":"text","text":"Safety Alert status updated to Assigned"},{"type":"text","text":"Safety Alert"},{"type":"text","text":"testing"},{"type":"text","text":"Mathiston"},{"type":"text","text":"Near Misses"},{"type":"text","text":"Hebert Eaton"},{"type":"text","text":"Falcon's Beyond Global Inc. Warrants"},{"type":"text","text":"Assigned"},{"type":"text","text":"https://sandbox.oqsha.com/#/inct/view/248/79568"},{"type":"text","text":"EHS Department - TTK Prestige Limited"}]}]}}}


Osmo-x WhatsApp Message has been Sent


# Preparing notification body #


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


### Ended processing Update incident Event ###


### End Event Execution ###


### Start Event Execution ###


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


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


Executing email notifications to Incident Approvers about the Pending approval


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


Reading and binding data to Email Template


Initializing Email Service Client


Generating Email Request


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


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


--- Email response from Osmo-x is 201


Executing whatsapp notifications to Incident Approvers about the Pending approval


Sending WhatsApp for Incident Validation to User: 5889


Osmo-x WhatsApp Message has been Sent


# Preparing notification body #


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


### Ended processing Incident Validated Event ###


### End Event Execution ###


### Start Event Execution ###


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


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


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


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


Sending WhatsApp Notification for Incident Approval to User: 5538


### Ended processing Incident Submitted Event ###


Message : {"EventName":"NOTIFICATION_FOR_INSPECTION_CREATION","EventArgs":[{"Key":"UserIds","Value":"[2620]"},{"Key":"InspectionUID","Value":"I/GLTO/GRR/HIC/26/00001"},{"Key":"Name","Value":"186"},{"Key":"Type","Value":"Housekeeping Inspection Checklist"},{"Key":"Organisation","Value":"Galecto Inc."},{"Key":"Site","Value":"Alanreed"},{"Key":"Department","Value":" "},{"Key":"Asset","Value":"Civil - GRR/TXG/HIC/TEST/01"},{"Key":"Status","Value":"Inspection requested"},{"Key":"CreatedBy","Value":"Renard Whatley"},{"Key":"CreatedOn","Value":"04-Sep-2026 04:31:25 PM"},{"Key":"OrganisationId","Value":211}]}


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


# Calling SendNotificationForInspectionCreation function for whatsapp and push notification #


Executing email notifications to Users about inspection creation


Executing sending notification to associated user through whatsapp


Sending notifications for inspection creation to associated user2620


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000001413","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"oqsha_inspection_template_v1","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"Adyson Toribio"},{"type":"text","text":"I/GLTO/GRR/HIC/26/00001"},{"type":"text","text":"186"},{"type":"text","text":"Housekeeping Inspection Checklist"},{"type":"text","text":"Galecto Inc."},{"type":"text","text":"Alanreed"},{"type":"text","text":" "},{"type":"text","text":"Civil - GRR/TXG/HIC/TEST/01"},{"type":"text","text":"Inspection requested"},{"type":"text","text":"Renard Whatley"},{"type":"text","text":"04-Sep-2026 04:31:25 PM"},{"type":"text","text":"Oqsha Team"}]}]}}}


Osmo-x WhatsApp Message has been Sent


# Preparing push notification body for inspection creation #


### End Event Execution ###


### Start Event Execution ###


Message : {"EventName":"NOTIFICATION_FOR_INSPECTION_CREATION","EventArgs":[{"Key":"UserIds","Value":"[2620]"},{"Key":"InspectionUID","Value":"I/GLTO/GRR/HIC/26/00002"},{"Key":"Name","Value":"186"},{"Key":"Type","Value":"Housekeeping Inspection Checklist"},{"Key":"Organisation","Value":"Galecto Inc."},{"Key":"Site","Value":"Alanreed"},{"Key":"Department","Value":" "},{"Key":"Asset","Value":"Civil - GRR/AAON/HIC/TEST/01"},{"Key":"Status","Value":"Inspection requested"},{"Key":"CreatedBy","Value":"Renard Whatley"},{"Key":"CreatedOn","Value":"04-Sep-2026 04:34:07 PM"},{"Key":"OrganisationId","Value":211}]}


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000001413","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"oqsha_inspection_template_v1","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"Adyson Toribio"},{"type":"text","text":"I/GLTO/GRR/HIC/26/00002"},{"type":"text","text":"186"},{"type":"text","text":"Housekeeping Inspection Checklist"},{"type":"text","text":"Galecto Inc."},{"type":"text","text":"Alanreed"},{"type":"text","text":" "},{"type":"text","text":"Civil - GRR/AAON/HIC/TEST/01"},{"type":"text","text":"Inspection requested"},{"type":"text","text":"Renard Whatley"},{"type":"text","text":"04-Sep-2026 04:34:07 PM"},{"type":"text","text":"Oqsha Team"}]}]}}}


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


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


# Calling SendNotificationForInspectionCreation function for whatsapp and email notification #


Executing email notifications to Inspection Completion


Sending Inspection Completion notification email to user: MH_Admin_HO@oqsha.com


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


Reading and binding data to Email Template


Initializing Email Service Client


Generating Email Request


Inspection Flow Completed for I/GLTO/GRR/HIC/26/00001


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


--- Email response from Osmo-x is 201


Executing sending notification to user through whatsapp for inspection completion


Sending notifications for inspection completion to initiator1955


Osmo-x WhatsApp Message has been Sent


# Preparing notification body #


# Checking for device existence #


# User device exists #


Sending Assigned To Notification for Inspection Id:48400


Inside SendAppNotification Device Type: APNS


Generating AWS SNS Request


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/APNS/Oqsha-IOS-Production/776c67b5-6a47-3989-9349-85cbbe364b55


Inspection Completed: 186

Inspection Flow Completed for I/GLTO/GRR/HIC/26/00001 in the site Alanreed


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


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


--- Unable to parse Osmo-x notification id from response: Error converting value "This is a test mode notification. Notification was not delivered to recipient." to type 'IncidentReporter.DAL.Models.OsmoXNotificationErrorDetailDBO'. Path 'result.result', line 1, position 809.


Push notification was sent to device with id 27055.


App notification history inserted. HistoryId: 224737, UserId: 1955, NotificationType: INSPECTION_COMPLETED, ModuleId: 29, ReferenceId: 48400


# Push notification sent #


### End Event Execution ###


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


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


### Start Event Execution ###


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


# Calling SendNotificationForInspectionCreation function for whatsapp and email notification #


Executing email notifications to Inspection Completion


Sending Inspection Completion notification email to user: MH_Admin_HO@oqsha.com


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


Reading and binding data to Email Template


Initializing Email Service Client


Generating Email Request


Inspection Flow Completed for I/GLTO/GRR/HIC/26/00002


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


--- Email response from Osmo-x is 201


Executing sending notification to user through whatsapp for inspection completion


Sending notifications for inspection completion to initiator1955


Osmo-x WhatsApp Message has been Sent


# Preparing notification body #


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


# Checking for device existence #


# User device exists #


Sending Assigned To Notification for Inspection Id:48401


Inside SendAppNotification Device Type: APNS


Generating AWS SNS Request


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/APNS/Oqsha-IOS-Production/776c67b5-6a47-3989-9349-85cbbe364b55


Inspection Completed: 186

Inspection Flow Completed for I/GLTO/GRR/HIC/26/00002 in the site Alanreed


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


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


--- Unable to parse Osmo-x notification id from response: Error converting value "This is a test mode notification. Notification was not delivered to recipient." to type 'IncidentReporter.DAL.Models.OsmoXNotificationErrorDetailDBO'. Path 'result.result', line 1, position 809.


Push notification was sent to device with id 27055.


App notification history inserted. HistoryId: 224738, UserId: 1955, NotificationType: INSPECTION_COMPLETED, ModuleId: 29, ReferenceId: 48401


# Push notification sent #


### End Event Execution ###


### Start Event Execution ###


Message : {"EventName":"NOTIFICATION_FOR_INSPECTION_CREATION","EventArgs":[{"Key":"UserIds","Value":"[2620]"},{"Key":"InspectionUID","Value":"I/GLTO/GRR/HIC/26/00003"},{"Key":"Name","Value":"186"},{"Key":"Type","Value":"Housekeeping Inspection Checklist"},{"Key":"Organisation","Value":"Galecto Inc."},{"Key":"Site","Value":"Alanreed"},{"Key":"Department","Value":" "},{"Key":"Asset","Value":"Civil - GRR/TXG/HIC/TEST/02"},{"Key":"Status","Value":"Inspection requested"},{"Key":"CreatedBy","Value":"Renard Whatley"},{"Key":"CreatedOn","Value":"04-Sep-2026 04:53:06 PM"},{"Key":"OrganisationId","Value":211}]}


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


# Calling SendNotificationForInspectionCreation function for whatsapp and push notification #


Executing email notifications to Users about inspection creation


Executing sending notification to associated user through whatsapp


Sending notifications for inspection creation to associated user2620


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000001413","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"oqsha_inspection_template_v1","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"Adyson Toribio"},{"type":"text","text":"I/GLTO/GRR/HIC/26/00003"},{"type":"text","text":"186"},{"type":"text","text":"Housekeeping Inspection Checklist"},{"type":"text","text":"Galecto Inc."},{"type":"text","text":"Alanreed"},{"type":"text","text":" "},{"type":"text","text":"Civil - GRR/TXG/HIC/TEST/02"},{"type":"text","text":"Inspection requested"},{"type":"text","text":"Renard Whatley"},{"type":"text","text":"04-Sep-2026 04:53:06 PM"},{"type":"text","text":"Oqsha Team"}]}]}}}


Osmo-x WhatsApp Message has been Sent


# Preparing push notification body for inspection creation #


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


# Checking for device existence #


# User device exists #


Sending push notification [NOTIFICATION_FOR_INSPECTION_CREATION] to user: 2620


Inside SendAppNotification Device Type: APNS


Generating AWS SNS Request


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/APNS/Oqsha-IOS-Production/c9be72a7-3253-373c-a59b-e227a86fe010


Pending Approval - Inspection UID: I/GLTO/GRR/HIC/26/00003

You have a pending signature for inspection I/GLTO/GRR/HIC/26/00003 at site Alanreed. Please review and sign.


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


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


--- Unable to parse Osmo-x notification id from response: Error converting value "This is a test mode notification. Notification was not delivered to recipient." to type 'IncidentReporter.DAL.Models.OsmoXNotificationErrorDetailDBO'. Path 'result.result', line 1, position 802.


Push notification was sent to device with id 27068.


App notification history inserted. HistoryId: 224739, UserId: 2620, NotificationType: NEW_INSPECTION_CREATED, ModuleId: 29, ReferenceId: 0


# Push notification sent #


App notification history inserted. HistoryId: 224740, UserId: 2620, NotificationType: NEW_INSPECTION_CREATED, ModuleId: 29, ReferenceId: 0


### End Event Execution ###


### Start Event Execution ###


Message : {"EventName":"NOTIFICATION_FOR_MOC_CREATION","EventArgs":[{"Key":"MocId","Value":"412"},{"Key":"ApproverIds","Value":"[5538]"},{"Key":"SiteName","Value":"Colver"},{"Key":"CreatedBy","Value":"Hebert Eaton"},{"Key":"MocUid","Value":"M/FBYDW/ROO/LMM/26/00001"},{"Key":"OrgId","Value":248},{"Key":"OrganisationName","Value":"Falcon's Beyond Global Inc. Warrants"}]}


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


# Calling SendNotificationForMocCreation function for email/WhatsApp #


Executing email and WhatsApp notifications to MOC approvers


Sending MOC creation email to: TTK_EHS@oqsha.com


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


Reading and binding data to Email Template


Initializing Email Service Client


Generating Email Request


New MOC Assigned


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


--- Email response from Osmo-x is 201


Sending MOC creation WhatsApp message to: 912000002528


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000002528","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"oqsha_moc_creation_alert_v4","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"Mozell Heaton"},{"type":"text","text":"M/FBYDW/ROO/LMM/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/#/moc/view/248/412?dlType=viewMOC"},{"type":"text","text":"EHS Department - TTK Prestige Limited"}]}]}}}


Osmo-x WhatsApp Message has been Sent


# Preparing notification body #


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


### End Event Execution ###


### Start Event Execution ###


Message : {"EventName":"MOC_APPROVED_INFORM_TO_CREATOR_NOTIFICATION","EventArgs":[{"Key":"CreatorId","Value":"267"},{"Key":"ApproverName","Value":"Mozell Heaton"},{"Key":"MocId","Value":"412"},{"Key":"MocUid","Value":"M/FBYDW/ROO/LMM/26/00001"},{"Key":"SiteName","Value":"Colver"},{"Key":"OrganisationName","Value":"Falcon's Beyond Global Inc. Warrants"},{"Key":"ApprovedOn","Value":"04-Sep-2026 05:22:30 PM"},{"Key":"OrgId","Value":248}]}


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


# Calling SendMOCApprovedInformToCreatorNotification function for email #


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


Sending MOC Approver Clarification email to MOC Creator: TTK_Admin@oqsha.com


Initializing Email Service Client


Generating Email Request


Mozell Heaton has Approved your MOC


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


--- Email response from Osmo-x is 201


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


Sending WhatsApp for MOC 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_moc_approved_inform_to_template_v2","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"Hebert Eaton"},{"type":"text","text":"Mozell Heaton"},{"type":"text","text":"M/FBYDW/ROO/LMM/26/00001"},{"type":"text","text":"Colver"},{"type":"text","text":"Falcon's Beyond Global Inc. Warrants"},{"type":"text","text":"04-Sep-2026 05:22:30 PM"},{"type":"text","text":"https://oqsha.com/#/moc/view/248/412?dlType=viewMOC"},{"type":"text","text":"EHS Department - TTK Prestige Limited"}]}]}}}


Osmo-x WhatsApp Message has been Sent


# Preparing notification body #


# Checking for device existence #


# User device exists #


Sending MOC Approval Confirmed To Creator Notification for MOC Id:412


Inside SendAppNotification Device Type: APNS


Generating AWS SNS Request


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/APNS/Oqsha-IOS-Production/94c163e8-9959-329b-87e4-67173590bc2f


MOC Approved

The MOC (UID: M/FBYDW/ROO/LMM/26/00001) has been approved by Mozell Heaton.


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


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


--- Unable to parse Osmo-x notification id from response: Error converting value "This is a test mode notification. Notification was not delivered to recipient." to type 'IncidentReporter.DAL.Models.OsmoXNotificationErrorDetailDBO'. Path 'result.result', line 1, position 786.


Push notification was sent to device with id 26487.


App notification history inserted. HistoryId: 224741, UserId: 267, NotificationType: MOC_NOTIFICATION, ModuleId: 36, ReferenceId: 412


# Push notification sent #


Inside SendAppNotification Device Type: GCM


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/b3c13f8a-1de7-321c-9b2f-72f3f0ebc7ef


MOC Approved


--- Unable to parse Osmo-x notification id from response: Error converting value "This is a test mode notification. Notification was not delivered to recipient." to type 'IncidentReporter.DAL.Models.OsmoXNotificationErrorDetailDBO'. Path 'result.result', line 1, position 852.


Push notification was sent to device with id 26737.


Skipping notification history insertion for DeviceId: 26737, UserId: 267. History is recorded only for the user's first active device.


# Checking for device existence #


# User device exists #


Generating AWS SNS Request


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/5578a135-63f4-3578-b400-e62d335e5ae6


Push notification was sent to device with id 26738.


Skipping notification history insertion for DeviceId: 26738, UserId: 267. History is recorded only for the user's first active device.


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/3dae5aa0-3020-3e50-91ab-ddbf3f42351b


Push notification was sent to device with id 26828.


Skipping notification history insertion for DeviceId: 26828, UserId: 267. History is recorded only for the user's first active device.


Sending MOC Approval Confirmed To Creator Notification for MOC Id:412


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/436466a9-c826-300e-a1e9-b67e57131cd4


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


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


Push notification was sent to device with id 26829.


Skipping notification history insertion for DeviceId: 26829, UserId: 267. History is recorded only for the user's first active device.


# Push notification sent #


Inside SendAppNotification Device Type: GCM


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Test/12f7552e-1f23-3510-a1f8-c33d3aaa7ca3


MOC Approved


--- Unable to parse Osmo-x notification id from response: Error converting value "This is a test mode notification. Notification was not delivered to recipient." to type 'IncidentReporter.DAL.Models.OsmoXNotificationErrorDetailDBO'. Path 'result.result', line 1, position 846.


Push notification was sent to device with id 27056.


Skipping notification history insertion for DeviceId: 27056, UserId: 267. History is recorded only for the user's first active device.


# Checking for device existence #


# User device exists #


Generating AWS SNS Request


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Test/672fc2e1-3c7e-3449-9936-c195ba17d724


Push notification was sent to device with id 27065.


Skipping notification history insertion for DeviceId: 27065, UserId: 267. History is recorded only for the user's first active device.


### End Event Execution ###


### Start Event Execution ###


Message : {"EventName":"NOTIFICATION_FOR_PSSR_ASSIGNMENT","EventArgs":[{"Key":"PssrId","Value":166},{"Key":"PssrUid","Value":"P/FBYDW/ROO/26/00003"},{"Key":"UserIds","Value":"[267]"},{"Key":"SiteName","Value":"Colver"},{"Key":"CreatedBy","Value":"Hebert Eaton"},{"Key":"OrgId","Value":248},{"Key":"OrganisationName","Value":"Falcon's Beyond Global Inc. Warrants"}]}


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


# Calling SendNotificationForPssrAssignment #


Executing email and WhatsApp notifications for PSSR assignment


Sending PSSR assignment email to: TTK_Admin@oqsha.com


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


Reading and binding data to Email Template


Initializing Email Service Client


Generating Email Request


You have been added to the PSSR team – action required


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


--- Email response from Osmo-x is 201


Sending PSSR assignment WhatsApp 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_pssr_assigned_template","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"Hebert Eaton"},{"type":"text","text":"P/FBYDW/ROO/26/00003"},{"type":"text","text":"Colver"},{"type":"text","text":"Falcon's Beyond Global Inc. Warrants"},{"type":"text","text":"Hebert Eaton"},{"type":"text","text":"https://oqsha.com/#/pssr/view/248/166?dlType=viewPSSR"},{"type":"text","text":"EHS Department - TTK Prestige Limited"}]}]}}}


Osmo-x WhatsApp Message has been Sent


# Preparing notification body #


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


# Checking for device existence #


# User device exists #


Sending PSSR Assignment Notification for PSSR Id:166


Inside SendAppNotification Device Type: APNS


Generating AWS SNS Request


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/APNS/Oqsha-IOS-Production/94c163e8-9959-329b-87e4-67173590bc2f


PSSR Assignment

You have been assigned to a PSSR task (UID: P/FBYDW/ROO/26/00003). Please take necessary action.


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


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


--- Unable to parse Osmo-x notification id from response: Error converting value "This is a test mode notification. Notification was not delivered to recipient." to type 'IncidentReporter.DAL.Models.OsmoXNotificationErrorDetailDBO'. Path 'result.result', line 1, position 814.


Push notification was sent to device with id 26487.


App notification history inserted. HistoryId: 224742, UserId: 267, NotificationType: PSSR_NOTIFICATION, ModuleId: 42, ReferenceId: 166


# Push notification sent #


Inside SendAppNotification Device Type: GCM


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/b3c13f8a-1de7-321c-9b2f-72f3f0ebc7ef


PSSR Assignment


--- Unable to parse Osmo-x notification id from response: Error converting value "This is a test mode notification. Notification was not delivered to recipient." to type 'IncidentReporter.DAL.Models.OsmoXNotificationErrorDetailDBO'. Path 'result.result', line 1, position 880.


Push notification was sent to device with id 26737.


Skipping notification history insertion for DeviceId: 26737, UserId: 267. History is recorded only for the user's first active device.


# Checking for device existence #


# User device exists #


Generating AWS SNS Request


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/5578a135-63f4-3578-b400-e62d335e5ae6


Push notification was sent to device with id 26738.


Skipping notification history insertion for DeviceId: 26738, UserId: 267. History is recorded only for the user's first active device.


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/3dae5aa0-3020-3e50-91ab-ddbf3f42351b


Push notification was sent to device with id 26828.


Skipping notification history insertion for DeviceId: 26828, UserId: 267. History is recorded only for the user's first active device.


Sending PSSR Assignment Notification for PSSR Id:166


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/436466a9-c826-300e-a1e9-b67e57131cd4


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


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


Push notification was sent to device with id 26829.


Skipping notification history insertion for DeviceId: 26829, UserId: 267. History is recorded only for the user's first active device.


# Push notification sent #


Inside SendAppNotification Device Type: GCM


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Test/12f7552e-1f23-3510-a1f8-c33d3aaa7ca3


PSSR Assignment


--- Unable to parse Osmo-x notification id from response: Error converting value "This is a test mode notification. Notification was not delivered to recipient." to type 'IncidentReporter.DAL.Models.OsmoXNotificationErrorDetailDBO'. Path 'result.result', line 1, position 874.


Push notification was sent to device with id 27056.


Skipping notification history insertion for DeviceId: 27056, UserId: 267. History is recorded only for the user's first active device.


# Checking for device existence #


# User device exists #


Generating AWS SNS Request


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Test/672fc2e1-3c7e-3449-9936-c195ba17d724


Push notification was sent to device with id 27065.


Skipping notification history insertion for DeviceId: 27065, UserId: 267. History is recorded only for the user's first active device.


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


Inside SendAppNotification Device Type: APNS


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/APNS/Oqsha-IOS-Production/94c163e8-9959-329b-87e4-67173590bc2f


--- Unable to parse Osmo-x notification id from response: Error converting value "This is a test mode notification. Notification was not delivered to recipient." to type 'IncidentReporter.DAL.Models.OsmoXNotificationErrorDetailDBO'. Path 'result.result', line 1, position 814.


Push notification was sent to device with id 26487.


App notification history inserted. HistoryId: 224743, UserId: 267, NotificationType: PSSR_NOTIFICATION, ModuleId: 42, ReferenceId: 166


# Push notification sent #


Sending PSSR Assignment Notification for PSSR Id:166


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/b3c13f8a-1de7-321c-9b2f-72f3f0ebc7ef


PSSR Assignment


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


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


--- Unable to parse Osmo-x notification id from response: Error converting value "This is a test mode notification. Notification was not delivered to recipient." to type 'IncidentReporter.DAL.Models.OsmoXNotificationErrorDetailDBO'. Path 'result.result', line 1, position 880.


Push notification was sent to device with id 26737.


Skipping notification history insertion for DeviceId: 26737, UserId: 267. History is recorded only for the user's first active device.


# Checking for device existence #


# User device exists #


Inside SendAppNotification Device Type: GCM


Generating AWS SNS Request


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/5578a135-63f4-3578-b400-e62d335e5ae6


Push notification was sent to device with id 26738.


Skipping notification history insertion for DeviceId: 26738, UserId: 267. History is recorded only for the user's first active device.


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/3dae5aa0-3020-3e50-91ab-ddbf3f42351b


Push notification was sent to device with id 26828.


Skipping notification history insertion for DeviceId: 26828, UserId: 267. History is recorded only for the user's first active device.


# Push notification sent #


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/436466a9-c826-300e-a1e9-b67e57131cd4


PSSR Assignment


Push notification was sent to device with id 26829.


Skipping notification history insertion for DeviceId: 26829, UserId: 267. History is recorded only for the user's first active device.


Sending PSSR Assignment Notification for PSSR Id:166


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Test/12f7552e-1f23-3510-a1f8-c33d3aaa7ca3


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


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


--- Unable to parse Osmo-x notification id from response: Error converting value "This is a test mode notification. Notification was not delivered to recipient." to type 'IncidentReporter.DAL.Models.OsmoXNotificationErrorDetailDBO'. Path 'result.result', line 1, position 874.


Push notification was sent to device with id 27056.


Skipping notification history insertion for DeviceId: 27056, UserId: 267. History is recorded only for the user's first active device.


# Checking for device existence #


# User device exists #


Inside SendAppNotification Device Type: GCM


Generating AWS SNS Request


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Test/672fc2e1-3c7e-3449-9936-c195ba17d724


Push notification was sent to device with id 27065.


Skipping notification history insertion for DeviceId: 27065, UserId: 267. History is recorded only for the user's first active device.


# Push notification sent #


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


Inside SendAppNotification Device Type: APNS


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/APNS/Oqsha-IOS-Production/94c163e8-9959-329b-87e4-67173590bc2f


PSSR Assignment


--- Unable to parse Osmo-x notification id from response: Error converting value "This is a test mode notification. Notification was not delivered to recipient." to type 'IncidentReporter.DAL.Models.OsmoXNotificationErrorDetailDBO'. Path 'result.result', line 1, position 814.


Push notification was sent to device with id 26487.


App notification history inserted. HistoryId: 224744, UserId: 267, NotificationType: PSSR_NOTIFICATION, ModuleId: 42, ReferenceId: 166


Sending PSSR Assignment Notification for PSSR Id:166


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/b3c13f8a-1de7-321c-9b2f-72f3f0ebc7ef


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


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


--- Unable to parse Osmo-x notification id from response: Error converting value "This is a test mode notification. Notification was not delivered to recipient." to type 'IncidentReporter.DAL.Models.OsmoXNotificationErrorDetailDBO'. Path 'result.result', line 1, position 880.


Push notification was sent to device with id 26737.


Skipping notification history insertion for DeviceId: 26737, UserId: 267. History is recorded only for the user's first active device.


# Checking for device existence #


# User device exists #


Inside SendAppNotification Device Type: GCM


Generating AWS SNS Request


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/5578a135-63f4-3578-b400-e62d335e5ae6


Push notification was sent to device with id 26738.


Skipping notification history insertion for DeviceId: 26738, UserId: 267. History is recorded only for the user's first active device.


# Push notification sent #


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/3dae5aa0-3020-3e50-91ab-ddbf3f42351b


PSSR Assignment


Push notification was sent to device with id 26828.


Skipping notification history insertion for DeviceId: 26828, UserId: 267. History is recorded only for the user's first active device.


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/436466a9-c826-300e-a1e9-b67e57131cd4


Push notification was sent to device with id 26829.


Skipping notification history insertion for DeviceId: 26829, UserId: 267. History is recorded only for the user's first active device.


Sending PSSR Assignment Notification for PSSR Id:166


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Test/12f7552e-1f23-3510-a1f8-c33d3aaa7ca3


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


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


--- Unable to parse Osmo-x notification id from response: Error converting value "This is a test mode notification. Notification was not delivered to recipient." to type 'IncidentReporter.DAL.Models.OsmoXNotificationErrorDetailDBO'. Path 'result.result', line 1, position 874.


Push notification was sent to device with id 27056.


Skipping notification history insertion for DeviceId: 27056, UserId: 267. History is recorded only for the user's first active device.


# Checking for device existence #


# User device exists #


Inside SendAppNotification Device Type: GCM


Generating AWS SNS Request


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Test/672fc2e1-3c7e-3449-9936-c195ba17d724


PSSR Assignment


Push notification was sent to device with id 27065.


Skipping notification history insertion for DeviceId: 27065, UserId: 267. History is recorded only for the user's first active device.


# Push notification sent #


### 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: 17680, 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/FBYDW/ROO/PSR/26/00004


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


--- Email response from Osmo-x is 201


# Preparing notification body #


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


# Checking for device existence #


# User device exists #


Sending Task Assignment Notification for Task Id:17680


Inside SendAppNotification Device Type: APNS


Generating AWS SNS Request


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/APNS/Oqsha-IOS-Production/94c163e8-9959-329b-87e4-67173590bc2f


New Task Assigned

You have been assigned a new task Action Tracker - AT/FBYDW/ROO/PSR/26/00004.


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


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


--- Unable to parse Osmo-x notification id from response: Error converting value "This is a test mode notification. Notification was not delivered to recipient." to type 'IncidentReporter.DAL.Models.OsmoXNotificationErrorDetailDBO'. Path 'result.result', line 1, position 785.


Push notification was sent to device with id 26487.


App notification history inserted. HistoryId: 224745, UserId: 267, NotificationType: TASK_STATUS_UPDATE, ModuleId: 83, ReferenceId: 17680


# Push notification sent #


Inside SendAppNotification Device Type: GCM


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/b3c13f8a-1de7-321c-9b2f-72f3f0ebc7ef


New Task Assigned


--- Unable to parse Osmo-x notification id from response: Error converting value "This is a test mode notification. Notification was not delivered to recipient." to type 'IncidentReporter.DAL.Models.OsmoXNotificationErrorDetailDBO'. Path 'result.result', line 1, position 851.


Push notification was sent to device with id 26737.


Skipping notification history insertion for DeviceId: 26737, UserId: 267. History is recorded only for the user's first active device.


# Checking for device existence #


# User device exists #


Generating AWS SNS Request


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/5578a135-63f4-3578-b400-e62d335e5ae6


Push notification was sent to device with id 26738.


Skipping notification history insertion for DeviceId: 26738, UserId: 267. History is recorded only for the user's first active device.


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/3dae5aa0-3020-3e50-91ab-ddbf3f42351b


Push notification was sent to device with id 26828.


Skipping notification history insertion for DeviceId: 26828, UserId: 267. History is recorded only for the user's first active device.


Sending Task Assignment Notification for Task Id:17680


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/436466a9-c826-300e-a1e9-b67e57131cd4


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


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


Push notification was sent to device with id 26829.


Skipping notification history insertion for DeviceId: 26829, UserId: 267. History is recorded only for the user's first active device.


# Push notification sent #


Inside SendAppNotification Device Type: GCM


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Test/12f7552e-1f23-3510-a1f8-c33d3aaa7ca3


New Task Assigned


--- Unable to parse Osmo-x notification id from response: Error converting value "This is a test mode notification. Notification was not delivered to recipient." to type 'IncidentReporter.DAL.Models.OsmoXNotificationErrorDetailDBO'. Path 'result.result', line 1, position 845.


Push notification was sent to device with id 27056.


Skipping notification history insertion for DeviceId: 27056, UserId: 267. History is recorded only for the user's first active device.


# Checking for device existence #


# User device exists #


Generating AWS SNS Request


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Test/672fc2e1-3c7e-3449-9936-c195ba17d724


Push notification was sent to device with id 27065.


Skipping notification history insertion for DeviceId: 27065, UserId: 267. History is recorded only for the user's first active device.


### End Event Execution ###


### Start Event Execution ###


Message : {"EventName":"TASK_CLOSURE_NOTIFICATION_VALIDATION_1","EventArgs":[{"Key":"TaskId","Value":17680},{"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 : 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: 17680, UserId: 267


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


# Preparing notification body #


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


# Checking for device existence #


# User device exists #


Sending Task Assignment Notification for Task Id:17680


Inside SendAppNotification Device Type: APNS


Generating AWS SNS Request


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/APNS/Oqsha-IOS-Production/94c163e8-9959-329b-87e4-67173590bc2f


New Task Assigned


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


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


--- Unable to parse Osmo-x notification id from response: Error converting value "This is a test mode notification. Notification was not delivered to recipient." to type 'IncidentReporter.DAL.Models.OsmoXNotificationErrorDetailDBO'. Path 'result.result', line 1, position 785.


Push notification was sent to device with id 26487.


App notification history inserted. HistoryId: 224746, UserId: 267, NotificationType: TASK_STATUS_UPDATE, ModuleId: 83, ReferenceId: 17680


# Push notification sent #


Inside SendAppNotification Device Type: GCM


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/b3c13f8a-1de7-321c-9b2f-72f3f0ebc7ef


--- Unable to parse Osmo-x notification id from response: Error converting value "This is a test mode notification. Notification was not delivered to recipient." to type 'IncidentReporter.DAL.Models.OsmoXNotificationErrorDetailDBO'. Path 'result.result', line 1, position 851.


Push notification was sent to device with id 26737.


Skipping notification history insertion for DeviceId: 26737, UserId: 267. History is recorded only for the user's first active device.


# Checking for device existence #


# User device exists #


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/5578a135-63f4-3578-b400-e62d335e5ae6


Push notification was sent to device with id 26738.


Skipping notification history insertion for DeviceId: 26738, UserId: 267. History is recorded only for the user's first active device.


Generating AWS SNS Request


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/3dae5aa0-3020-3e50-91ab-ddbf3f42351b


New Task Assigned


Push notification was sent to device with id 26828.


Skipping notification history insertion for DeviceId: 26828, UserId: 267. History is recorded only for the user's first active device.


Sending Task Assignment Notification for Task Id:17680


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/436466a9-c826-300e-a1e9-b67e57131cd4


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


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


Push notification was sent to device with id 26829.


Skipping notification history insertion for DeviceId: 26829, UserId: 267. History is recorded only for the user's first active device.


# Push notification sent #


# Checking for device existence #


# User device exists #


Inside SendAppNotification Device Type: GCM


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Test/12f7552e-1f23-3510-a1f8-c33d3aaa7ca3


--- Unable to parse Osmo-x notification id from response: Error converting value "This is a test mode notification. Notification was not delivered to recipient." to type 'IncidentReporter.DAL.Models.OsmoXNotificationErrorDetailDBO'. Path 'result.result', line 1, position 845.


Push notification was sent to device with id 27056.


Skipping notification history insertion for DeviceId: 27056, UserId: 267. History is recorded only for the user's first active device.


Generating AWS SNS Request


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Test/672fc2e1-3c7e-3449-9936-c195ba17d724


New Task Assigned


Push notification was sent to device with id 27065.


Skipping notification history insertion for DeviceId: 27065, UserId: 267. History is recorded only for the user's first active device.


### End Event Execution ###


### Start Event Execution ###


Message : {"EventName":"TASK_CLOSURE_NOTIFICATION_VALIDATION_1","EventArgs":[{"Key":"TaskId","Value":17680},{"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 : 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: 17682, 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/FBYDW/ROO/PSR/26/00006


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


--- Email response from Osmo-x is 201


# Preparing notification body #


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


# Checking for device existence #


# User device exists #


Sending Task Assignment Notification for Task Id:17682


Inside SendAppNotification Device Type: APNS


Generating AWS SNS Request


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/APNS/Oqsha-IOS-Production/94c163e8-9959-329b-87e4-67173590bc2f


New Task Assigned

You have been assigned a new task Action Tracker - AT/FBYDW/ROO/PSR/26/00006.


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


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


--- Unable to parse Osmo-x notification id from response: Error converting value "This is a test mode notification. Notification was not delivered to recipient." to type 'IncidentReporter.DAL.Models.OsmoXNotificationErrorDetailDBO'. Path 'result.result', line 1, position 785.


Push notification was sent to device with id 26487.


App notification history inserted. HistoryId: 224747, UserId: 267, NotificationType: TASK_STATUS_UPDATE, ModuleId: 83, ReferenceId: 17682


# Push notification sent #


Inside SendAppNotification Device Type: GCM


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/b3c13f8a-1de7-321c-9b2f-72f3f0ebc7ef


New Task Assigned


--- Unable to parse Osmo-x notification id from response: Error converting value "This is a test mode notification. Notification was not delivered to recipient." to type 'IncidentReporter.DAL.Models.OsmoXNotificationErrorDetailDBO'. Path 'result.result', line 1, position 851.


Push notification was sent to device with id 26737.


Skipping notification history insertion for DeviceId: 26737, UserId: 267. History is recorded only for the user's first active device.


# Checking for device existence #


# User device exists #


Generating AWS SNS Request


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/5578a135-63f4-3578-b400-e62d335e5ae6


Push notification was sent to device with id 26738.


Skipping notification history insertion for DeviceId: 26738, UserId: 267. History is recorded only for the user's first active device.


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/3dae5aa0-3020-3e50-91ab-ddbf3f42351b


Push notification was sent to device with id 26828.


Skipping notification history insertion for DeviceId: 26828, UserId: 267. History is recorded only for the user's first active device.


Sending Task Assignment Notification for Task Id:17682


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/436466a9-c826-300e-a1e9-b67e57131cd4


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


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


Push notification was sent to device with id 26829.


Skipping notification history insertion for DeviceId: 26829, UserId: 267. History is recorded only for the user's first active device.


# Push notification sent #


Inside SendAppNotification Device Type: GCM


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Test/12f7552e-1f23-3510-a1f8-c33d3aaa7ca3


New Task Assigned


--- Unable to parse Osmo-x notification id from response: Error converting value "This is a test mode notification. Notification was not delivered to recipient." to type 'IncidentReporter.DAL.Models.OsmoXNotificationErrorDetailDBO'. Path 'result.result', line 1, position 845.


Push notification was sent to device with id 27056.


Skipping notification history insertion for DeviceId: 27056, UserId: 267. History is recorded only for the user's first active device.


# Checking for device existence #


# User device exists #


Generating AWS SNS Request


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Test/672fc2e1-3c7e-3449-9936-c195ba17d724


Push notification was sent to device with id 27065.


Skipping notification history insertion for DeviceId: 27065, UserId: 267. History is recorded only for the user's first active device.


### End Event Execution ###


### Start Event Execution ###


Message : {"EventName":"TASK_CLOSURE_NOTIFICATION_VALIDATION_1","EventArgs":[{"Key":"TaskId","Value":17682},{"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 ###


Message : {"EventName":"NOTIFICATION_FOR_MOC_CREATION","EventArgs":[{"Key":"MocId","Value":"413"},{"Key":"ApproverIds","Value":"[267]"},{"Key":"SiteName","Value":"Colver"},{"Key":"CreatedBy","Value":"Hebert Eaton"},{"Key":"MocUid","Value":"M/FBYDW/ROO/LMM/26/00002"},{"Key":"OrgId","Value":248},{"Key":"OrganisationName","Value":"Falcon's Beyond Global Inc. Warrants"}]}


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


# Calling SendNotificationForMocCreation function for email/WhatsApp #


Executing email and WhatsApp notifications to MOC approvers


Sending MOC creation email to: TTK_Admin@oqsha.com


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


Reading and binding data to Email Template


Initializing Email Service Client


Generating Email Request


New MOC Assigned


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


--- Email response from Osmo-x is 201


Sending MOC 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_moc_creation_alert_v4","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"Hebert Eaton"},{"type":"text","text":"M/FBYDW/ROO/LMM/26/00002"},{"type":"text","text":"Colver"},{"type":"text","text":"Falcon's Beyond Global Inc. Warrants"},{"type":"text","text":"Hebert Eaton"},{"type":"text","text":"https://oqsha.com/#/moc/view/248/413?dlType=viewMOC"},{"type":"text","text":"EHS Department - TTK Prestige Limited"}]}]}}}


Osmo-x WhatsApp Message has been Sent


# Preparing notification body #


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


# Checking for device existence #


# User device exists #


Sending MOC Creation Notification for MOC Id:413


Inside SendAppNotification Device Type: APNS


Generating AWS SNS Request


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/APNS/Oqsha-IOS-Production/94c163e8-9959-329b-87e4-67173590bc2f


New MOC Assigned

A new MOC (UID: M/FBYDW/ROO/LMM/26/00002) has been assigned to you.


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


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


--- Unable to parse Osmo-x notification id from response: Error converting value "This is a test mode notification. Notification was not delivered to recipient." to type 'IncidentReporter.DAL.Models.OsmoXNotificationErrorDetailDBO'. Path 'result.result', line 1, position 782.


Push notification was sent to device with id 26487.


App notification history inserted. HistoryId: 224748, UserId: 267, NotificationType: MOC_NOTIFICATION, ModuleId: 36, ReferenceId: 413


# Push notification sent #


Inside SendAppNotification Device Type: GCM


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/b3c13f8a-1de7-321c-9b2f-72f3f0ebc7ef


New MOC Assigned


--- Unable to parse Osmo-x notification id from response: Error converting value "This is a test mode notification. Notification was not delivered to recipient." to type 'IncidentReporter.DAL.Models.OsmoXNotificationErrorDetailDBO'. Path 'result.result', line 1, position 848.


Push notification was sent to device with id 26737.


Skipping notification history insertion for DeviceId: 26737, UserId: 267. History is recorded only for the user's first active device.


# Checking for device existence #


# User device exists #


Generating AWS SNS Request


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/5578a135-63f4-3578-b400-e62d335e5ae6


Push notification was sent to device with id 26738.


Skipping notification history insertion for DeviceId: 26738, UserId: 267. History is recorded only for the user's first active device.


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/3dae5aa0-3020-3e50-91ab-ddbf3f42351b


Push notification was sent to device with id 26828.


Skipping notification history insertion for DeviceId: 26828, UserId: 267. History is recorded only for the user's first active device.


Sending MOC Creation Notification for MOC Id:413


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/436466a9-c826-300e-a1e9-b67e57131cd4


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


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


Push notification was sent to device with id 26829.


Skipping notification history insertion for DeviceId: 26829, UserId: 267. History is recorded only for the user's first active device.


# Push notification sent #


Inside SendAppNotification Device Type: GCM


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Test/12f7552e-1f23-3510-a1f8-c33d3aaa7ca3


New MOC Assigned


--- Unable to parse Osmo-x notification id from response: Error converting value "This is a test mode notification. Notification was not delivered to recipient." to type 'IncidentReporter.DAL.Models.OsmoXNotificationErrorDetailDBO'. Path 'result.result', line 1, position 842.


Push notification was sent to device with id 27056.


Skipping notification history insertion for DeviceId: 27056, UserId: 267. History is recorded only for the user's first active device.


# Checking for device existence #


# User device exists #


Generating AWS SNS Request


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Test/672fc2e1-3c7e-3449-9936-c195ba17d724


Push notification was sent to device with id 27065.


Skipping notification history insertion for DeviceId: 27065, UserId: 267. History is recorded only for the user's first active device.


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


Inside SendAppNotification Device Type: APNS


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/APNS/Oqsha-IOS-Production/94c163e8-9959-329b-87e4-67173590bc2f


--- Unable to parse Osmo-x notification id from response: Error converting value "This is a test mode notification. Notification was not delivered to recipient." to type 'IncidentReporter.DAL.Models.OsmoXNotificationErrorDetailDBO'. Path 'result.result', line 1, position 782.


Push notification was sent to device with id 26487.


App notification history inserted. HistoryId: 224749, UserId: 267, NotificationType: MOC_NOTIFICATION, ModuleId: 36, ReferenceId: 413


# Push notification sent #


Sending MOC Creation Notification for MOC Id:413


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/b3c13f8a-1de7-321c-9b2f-72f3f0ebc7ef


New MOC Assigned


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


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


--- Unable to parse Osmo-x notification id from response: Error converting value "This is a test mode notification. Notification was not delivered to recipient." to type 'IncidentReporter.DAL.Models.OsmoXNotificationErrorDetailDBO'. Path 'result.result', line 1, position 848.


Push notification was sent to device with id 26737.


Skipping notification history insertion for DeviceId: 26737, UserId: 267. History is recorded only for the user's first active device.


# Checking for device existence #


# User device exists #


Inside SendAppNotification Device Type: GCM


Generating AWS SNS Request


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/5578a135-63f4-3578-b400-e62d335e5ae6


Push notification was sent to device with id 26738.


Skipping notification history insertion for DeviceId: 26738, UserId: 267. History is recorded only for the user's first active device.


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/3dae5aa0-3020-3e50-91ab-ddbf3f42351b


Push notification was sent to device with id 26828.


Skipping notification history insertion for DeviceId: 26828, UserId: 267. History is recorded only for the user's first active device.


# Push notification sent #


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/436466a9-c826-300e-a1e9-b67e57131cd4


New MOC Assigned


Push notification was sent to device with id 26829.


Skipping notification history insertion for DeviceId: 26829, UserId: 267. History is recorded only for the user's first active device.


Sending MOC Creation Notification for MOC Id:413


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Test/12f7552e-1f23-3510-a1f8-c33d3aaa7ca3


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


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


--- Unable to parse Osmo-x notification id from response: Error converting value "This is a test mode notification. Notification was not delivered to recipient." to type 'IncidentReporter.DAL.Models.OsmoXNotificationErrorDetailDBO'. Path 'result.result', line 1, position 842.


Push notification was sent to device with id 27056.


Skipping notification history insertion for DeviceId: 27056, UserId: 267. History is recorded only for the user's first active device.


# Checking for device existence #


# User device exists #


Inside SendAppNotification Device Type: GCM


Generating AWS SNS Request


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Test/672fc2e1-3c7e-3449-9936-c195ba17d724


Push notification was sent to device with id 27065.


Skipping notification history insertion for DeviceId: 27065, UserId: 267. History is recorded only for the user's first active device.


# Push notification sent #


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


Inside SendAppNotification Device Type: APNS


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/APNS/Oqsha-IOS-Production/94c163e8-9959-329b-87e4-67173590bc2f


New MOC Assigned


--- Unable to parse Osmo-x notification id from response: Error converting value "This is a test mode notification. Notification was not delivered to recipient." to type 'IncidentReporter.DAL.Models.OsmoXNotificationErrorDetailDBO'. Path 'result.result', line 1, position 782.


Push notification was sent to device with id 26487.


App notification history inserted. HistoryId: 224750, UserId: 267, NotificationType: MOC_NOTIFICATION, ModuleId: 36, ReferenceId: 413


Sending MOC Creation Notification for MOC Id:413


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/b3c13f8a-1de7-321c-9b2f-72f3f0ebc7ef


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


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


--- Unable to parse Osmo-x notification id from response: Error converting value "This is a test mode notification. Notification was not delivered to recipient." to type 'IncidentReporter.DAL.Models.OsmoXNotificationErrorDetailDBO'. Path 'result.result', line 1, position 848.


Push notification was sent to device with id 26737.


Skipping notification history insertion for DeviceId: 26737, UserId: 267. History is recorded only for the user's first active device.


# Checking for device existence #


# User device exists #


Inside SendAppNotification Device Type: GCM


Generating AWS SNS Request


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/5578a135-63f4-3578-b400-e62d335e5ae6


Push notification was sent to device with id 26738.


Skipping notification history insertion for DeviceId: 26738, UserId: 267. History is recorded only for the user's first active device.


# Push notification sent #


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/3dae5aa0-3020-3e50-91ab-ddbf3f42351b


New MOC Assigned


Push notification was sent to device with id 26828.


Skipping notification history insertion for DeviceId: 26828, UserId: 267. History is recorded only for the user's first active device.


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/436466a9-c826-300e-a1e9-b67e57131cd4


Push notification was sent to device with id 26829.


Skipping notification history insertion for DeviceId: 26829, UserId: 267. History is recorded only for the user's first active device.


Sending MOC Creation Notification for MOC Id:413


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Test/12f7552e-1f23-3510-a1f8-c33d3aaa7ca3


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


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


--- Unable to parse Osmo-x notification id from response: Error converting value "This is a test mode notification. Notification was not delivered to recipient." to type 'IncidentReporter.DAL.Models.OsmoXNotificationErrorDetailDBO'. Path 'result.result', line 1, position 842.


Push notification was sent to device with id 27056.