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


Push notification was sent to device with id 26471.


App notification history inserted. HistoryId: 221989, UserId: 881, NotificationType: NEW_INSPECTION_CREATED, ModuleId: 29, ReferenceId: 0


# Push notification sent #


# Checking for device existence #


# User device exists #


Sending push notification [NOTIFICATION_FOR_INSPECTION_CREATION] to user: 881


Inside SendAppNotification Device Type: GCM


Generating AWS SNS Request


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/ee1e81ed-8807-3e8f-b3e3-38efb20e0b47


Pending Approval - Inspection UID: I/GLTO/GRR/PDP/26/00001

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

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


Push notification was sent to device with id 26992.


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


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


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/e793f253-b906-3344-ba6a-4566ef41b064


App notification history inserted. HistoryId: 221990, UserId: 881, NotificationType: NEW_INSPECTION_CREATED, ModuleId: 29, ReferenceId: 0


### End Event Execution ###


### Start Event Execution ###


Message : {"EventName":"NOTIFICATION_FOR_INSPECTION_COMPLETION","EventArgs":[{"Key":"UserId","Value":11509},{"Key":"InspectionUID","Value":"I/GLTO/GRR/PDP/26/00001"},{"Key":"Name","Value":"147"},{"Key":"Type","Value":"Power Distribution Panel Inspection Checklist"},{"Key":"Site","Value":"Alanreed"},{"Key":"Status","Value":"Checked"},{"Key":"CreatedOn","Value":"20-Apr-2026 06:29:27 PM"},{"Key":"InspectionId","Value":"20485"},{"Key":"OrganisationId","Value":211}]}


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


# Calling SendNotificationForInspectionCreation function for whatsapp and email notification #


Executing email notifications to Inspection Completion


Executing sending notification to user through whatsapp for inspection completion


Sending notifications for inspection completion to initiator11509


Osmo-x WhatsApp Message has been Sent


# Preparing notification body #


# Checking for device existence #


# User device exists #


Sending Assigned To Notification for Inspection Id:20485


Generating AWS SNS Request


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/a0ac69a8-fc6d-3c13-8027-83275fce443d


Inspection Completed: 147

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


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


Push notification was sent to device with id 17807.


App notification history inserted. HistoryId: 221991, UserId: 11509, NotificationType: INSPECTION_COMPLETED, ModuleId: 29, ReferenceId: 20485


# Push notification sent #


### End Event Execution ###


### Start Event Execution ###


Message : {"EventName":"NOTIFICATION_FOR_INSPECTION_COMPLETION","EventArgs":[{"Key":"UserId","Value":11509},{"Key":"InspectionUID","Value":"I/GLTO/GRR/PDP/26/00001"},{"Key":"Name","Value":"147"},{"Key":"Type","Value":"Power Distribution Panel Inspection Checklist"},{"Key":"Site","Value":"Alanreed"},{"Key":"Status","Value":"Verified"},{"Key":"CreatedOn","Value":"20-Apr-2026 06:29:27 PM"},{"Key":"InspectionId","Value":"20485"},{"Key":"OrganisationId","Value":211}]}


Inside SendAppNotification Device Type: GCM


Inspection Completed: 147


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


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


App notification history inserted. HistoryId: 221992, UserId: 11509, NotificationType: INSPECTION_COMPLETED, ModuleId: 29, ReferenceId: 20485


Message : {"EventName":"NOTIFICATION_FOR_INSPECTION_COMPLETION","EventArgs":[{"Key":"UserId","Value":11509},{"Key":"InspectionUID","Value":"I/GLTO/GRR/PDP/26/00001"},{"Key":"Name","Value":"147"},{"Key":"Type","Value":"Power Distribution Panel Inspection Checklist"},{"Key":"Site","Value":"Alanreed"},{"Key":"Status","Value":"Approved"},{"Key":"CreatedOn","Value":"20-Apr-2026 06:29:27 PM"},{"Key":"InspectionId","Value":"20485"},{"Key":"OrganisationId","Value":211}]}


Osmo-x WhatsApp Message has been Sent


# Preparing notification body #


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


# Checking for device existence #


# User device exists #


Generating AWS SNS Request


App notification history inserted. HistoryId: 221993, UserId: 11509, NotificationType: INSPECTION_COMPLETED, ModuleId: 29, ReferenceId: 20485


# Push notification sent #


### End Event Execution ###


### Start Event Execution ###


Message : {"EventName":"NOTIFICATION_FOR_INSPECTION_CREATION","EventArgs":[{"Key":"UserIds","Value":"[5117]"},{"Key":"InspectionUID","Value":"I/GLTO/GRR/PDP/26/00002"},{"Key":"Name","Value":"147"},{"Key":"Type","Value":"Power Distribution Panel Inspection Checklist"},{"Key":"Organisation","Value":"Galecto Inc."},{"Key":"Site","Value":"Alanreed"},{"Key":"Department","Value":" "},{"Key":"Asset","Value":"Electrical Equipment - GR/LC/02"},{"Key":"Status","Value":"Inspection requested"},{"Key":"CreatedBy","Value":"Woldemar Pollak"},{"Key":"CreatedOn","Value":"20-Apr-2026 06:36:37 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 user5117


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000005017","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":"Tora Buckley"},{"type":"text","text":"I/GLTO/GRR/PDP/26/00002"},{"type":"text","text":"147"},{"type":"text","text":"Power Distribution Panel Inspection Checklist"},{"type":"text","text":"Galecto Inc."},{"type":"text","text":"Alanreed"},{"type":"text","text":" "},{"type":"text","text":"Electrical Equipment - GR/LC/02"},{"type":"text","text":"Inspection requested"},{"type":"text","text":"Woldemar Pollak"},{"type":"text","text":"20-Apr-2026 06:36:37 PM"},{"type":"text","text":"Oqsha Team"}]}]}}}


Osmo-x WhatsApp Message has been Sent


# Preparing push notification body for inspection creation #


Message : {"EventName":"NOTIFICATION_FOR_INSPECTION_CREATION","EventArgs":[{"Key":"UserIds","Value":"[10335]"},{"Key":"InspectionUID","Value":"I/GLTO/GRR/RIC/26/00001"},{"Key":"Name","Value":"147"},{"Key":"Type","Value":"RCCB Inspection Checklist"},{"Key":"Organisation","Value":"Galecto Inc."},{"Key":"Site","Value":"Alanreed"},{"Key":"Department","Value":" "},{"Key":"Asset","Value":"Electrical Equipment - GR/LC/PDB=01"},{"Key":"Status","Value":"Inspection requested"},{"Key":"CreatedBy","Value":"Paityn Rolon"},{"Key":"CreatedOn","Value":"20-Apr-2026 06:40:59 PM"},{"Key":"OrganisationId","Value":211}]}


Sending notifications for inspection creation to associated user10335


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000009646","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":"Fidelia Piatt"},{"type":"text","text":"I/GLTO/GRR/RIC/26/00001"},{"type":"text","text":"147"},{"type":"text","text":"RCCB Inspection Checklist"},{"type":"text","text":"Galecto Inc."},{"type":"text","text":"Alanreed"},{"type":"text","text":" "},{"type":"text","text":"Electrical Equipment - GR/LC/PDB=01"},{"type":"text","text":"Inspection requested"},{"type":"text","text":"Paityn Rolon"},{"type":"text","text":"20-Apr-2026 06:40:59 PM"},{"type":"text","text":"Oqsha Team"}]}]}}}


# Checking for device existence #


# User device exists #


Sending push notification [NOTIFICATION_FOR_INSPECTION_CREATION] to user: 10335


Inside SendAppNotification Device Type: GCM


Generating AWS SNS Request


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/26e53e20-aa26-3fc0-9166-8e7cad8c5291


Pending Approval - Inspection UID: I/GLTO/GRR/RIC/26/00001

You have a pending signature for inspection I/GLTO/GRR/RIC/26/00001 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 868.


Push notification was sent to device with id 15836.


App notification history inserted. HistoryId: 221994, UserId: 10335, NotificationType: NEW_INSPECTION_CREATED, ModuleId: 29, ReferenceId: 0


# Push notification sent #


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/f6deb4a1-e760-3088-8db2-05d9b9ff0757


Push notification was sent to device with id 16106.


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


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


# Checking for device existence #


# User device exists #


App notification history inserted. HistoryId: 221995, UserId: 10335, NotificationType: NEW_INSPECTION_CREATED, ModuleId: 29, ReferenceId: 0


### End Event Execution ###


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


Executing sending notification to user through whatsapp for inspection completion


Sending notifications for inspection completion to initiator11065


Osmo-x WhatsApp Message has been Sent


# Preparing notification body #


Sending Assigned To Notification for Inspection Id:20487


Inside SendAppNotification Device Type: GCM


Generating AWS SNS Request


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/d3a642f2-7d18-3f9e-b263-1b872df65296


Inspection Completed: 147

Inspection Flow Completed for I/GLTO/GRR/RIC/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 875.


Push notification was sent to device with id 17032.


App notification history inserted. HistoryId: 221996, UserId: 11065, NotificationType: INSPECTION_COMPLETED, ModuleId: 29, ReferenceId: 20487


# Push notification sent #


### End Event Execution ###


### Start Event Execution ###


# Checking for device existence #


# User device exists #


Inspection Completed: 147


App notification history inserted. HistoryId: 221997, UserId: 11065, NotificationType: INSPECTION_COMPLETED, ModuleId: 29, ReferenceId: 20487


Osmo-x WhatsApp Message has been Sent


# Preparing notification body #


Generating AWS SNS Request


App notification history inserted. HistoryId: 221998, UserId: 11065, NotificationType: INSPECTION_COMPLETED, ModuleId: 29, ReferenceId: 20487


Message : {"EventName":"NOTIFICATION_FOR_INSPECTION_CREATION","EventArgs":[{"Key":"UserIds","Value":"[5286]"},{"Key":"InspectionUID","Value":"I/GLTO/GRR/P-A/26/00001"},{"Key":"Name","Value":"65"},{"Key":"Type","Value":"P&M - Air Compressor Inspection Checklist"},{"Key":"Organisation","Value":"Galecto Inc."},{"Key":"Site","Value":"Alanreed"},{"Key":"Department","Value":" "},{"Key":"Asset","Value":" "},{"Key":"Status","Value":"Inspection requested"},{"Key":"CreatedBy","Value":"Nik Moncada"},{"Key":"CreatedOn","Value":"20-Apr-2026 06:46:17 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 user5286


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000005661","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":"Candis Steel"},{"type":"text","text":"I/GLTO/GRR/P-A/26/00001"},{"type":"text","text":"65"},{"type":"text","text":"P&M - Air Compressor Inspection Checklist"},{"type":"text","text":"Galecto Inc."},{"type":"text","text":"Alanreed"},{"type":"text","text":" "},{"type":"text","text":" "},{"type":"text","text":"Inspection requested"},{"type":"text","text":"Nik Moncada"},{"type":"text","text":"20-Apr-2026 06:46:17 PM"},{"type":"text","text":"Oqsha Team"}]}]}}}


# Preparing push notification body for inspection creation #


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


### End Event Execution ###


### Start Event Execution ###


Message : {"EventName":"NOTIFICATION_FOR_INSPECTION_COMPLETION","EventArgs":[{"Key":"UserId","Value":10931},{"Key":"InspectionUID","Value":"I/GLTO/GRR/P-A/26/00001"},{"Key":"Name","Value":"65"},{"Key":"Type","Value":"P&M - Air Compressor Inspection Checklist"},{"Key":"Site","Value":"Alanreed"},{"Key":"Status","Value":"Checked"},{"Key":"CreatedOn","Value":"20-Apr-2026 06:46:17 PM"},{"Key":"InspectionId","Value":"20488"},{"Key":"OrganisationId","Value":211}]}


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


# Calling SendNotificationForInspectionCreation function for whatsapp and email notification #


Executing email notifications to Inspection Completion


Executing sending notification to user through whatsapp for inspection completion


Sending notifications for inspection completion to initiator10931


Osmo-x WhatsApp Message has been Sent


# Preparing notification body #


# Checking for device existence #


# User device exists #


Sending Assigned To Notification for Inspection Id:20488


Inside SendAppNotification Device Type: GCM


Generating AWS SNS Request


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/84eeda38-57dd-31c8-a66a-4b514444504a


Inspection Completed: 65

Inspection Flow Completed for I/GLTO/GRR/P-A/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 874.


Push notification was sent to device with id 25098.


App notification history inserted. HistoryId: 221999, UserId: 10931, NotificationType: INSPECTION_COMPLETED, ModuleId: 29, ReferenceId: 20488


# Push notification sent #


### End Event Execution ###


### Start Event Execution ###


Message : {"EventName":"NOTIFICATION_FOR_INSPECTION_COMPLETION","EventArgs":[{"Key":"UserId","Value":10931},{"Key":"InspectionUID","Value":"I/GLTO/GRR/P-A/26/00001"},{"Key":"Name","Value":"65"},{"Key":"Type","Value":"P&M - Air Compressor Inspection Checklist"},{"Key":"Site","Value":"Alanreed"},{"Key":"Status","Value":"Verified"},{"Key":"CreatedOn","Value":"20-Apr-2026 06:46:17 PM"},{"Key":"InspectionId","Value":"20488"},{"Key":"OrganisationId","Value":211}]}


Osmo-x WhatsApp Message has been Sent


# Preparing notification body #


# Checking for device existence #


# User device exists #


Inspection Completed: 65


App notification history inserted. HistoryId: 222000, UserId: 10931, NotificationType: INSPECTION_COMPLETED, ModuleId: 29, ReferenceId: 20488


Message : {"EventName":"NOTIFICATION_FOR_INSPECTION_COMPLETION","EventArgs":[{"Key":"UserId","Value":10931},{"Key":"InspectionUID","Value":"I/GLTO/GRR/P-A/26/00001"},{"Key":"Name","Value":"65"},{"Key":"Type","Value":"P&M - Air Compressor Inspection Checklist"},{"Key":"Site","Value":"Alanreed"},{"Key":"Status","Value":"Approved"},{"Key":"CreatedOn","Value":"20-Apr-2026 06:46:17 PM"},{"Key":"InspectionId","Value":"20488"},{"Key":"OrganisationId","Value":211}]}


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


Generating AWS SNS Request


App notification history inserted. HistoryId: 222001, UserId: 10931, NotificationType: INSPECTION_COMPLETED, ModuleId: 29, ReferenceId: 20488


Message : {"EventName":"NOTIFICATION_FOR_INSPECTION_CREATION","EventArgs":[{"Key":"UserIds","Value":"[2653]"},{"Key":"InspectionUID","Value":"I/GLTO/GRR/P-B/26/00001"},{"Key":"Name","Value":"65"},{"Key":"Type","Value":"P&M - Backhoe Loader Inspection Checklist"},{"Key":"Organisation","Value":"Galecto Inc."},{"Key":"Site","Value":"Alanreed"},{"Key":"Department","Value":" "},{"Key":"Asset","Value":"air compressor plant 1"},{"Key":"Status","Value":"Inspection requested"},{"Key":"CreatedBy","Value":"Dom Argueta"},{"Key":"CreatedOn","Value":"20-Apr-2026 06:52:43 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 user2653


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000002342","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":"Cloyd Lim"},{"type":"text","text":"I/GLTO/GRR/P-B/26/00001"},{"type":"text","text":"65"},{"type":"text","text":"P&M - Backhoe Loader Inspection Checklist"},{"type":"text","text":"Galecto Inc."},{"type":"text","text":"Alanreed"},{"type":"text","text":" "},{"type":"text","text":"air compressor plant 1"},{"type":"text","text":"Inspection requested"},{"type":"text","text":"Dom Argueta"},{"type":"text","text":"20-Apr-2026 06:52:43 PM"},{"type":"text","text":"Oqsha Team"}]}]}}}


Osmo-x WhatsApp Message has been Sent


# Preparing push notification body for inspection creation #


# Checking for device existence #


# User device exists #


Sending push notification [NOTIFICATION_FOR_INSPECTION_CREATION] to user: 2653


Inside SendAppNotification Device Type: GCM


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/bb99fc79-2a96-361b-9923-00c9f557b275


Pending Approval - Inspection UID: I/GLTO/GRR/P-B/26/00001

You have a pending signature for inspection I/GLTO/GRR/P-B/26/00001 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 868.


Push notification was sent to device with id 4831.


App notification history inserted. HistoryId: 222002, UserId: 2653, NotificationType: NEW_INSPECTION_CREATED, ModuleId: 29, ReferenceId: 0


# Push notification sent #


Generating AWS SNS Request


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/5d15bbb6-da9a-3f6d-b800-57508430b378


Push notification was sent to device with id 9374.


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


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


# Checking for device existence #


# User device exists #


App notification history inserted. HistoryId: 222003, UserId: 2653, NotificationType: NEW_INSPECTION_CREATED, ModuleId: 29, ReferenceId: 0


### End Event Execution ###


### Start Event Execution ###


Message : {"EventName":"NOTIFICATION_FOR_INSPECTION_COMPLETION","EventArgs":[{"Key":"UserId","Value":10726},{"Key":"InspectionUID","Value":"I/GLTO/GRR/P-B/26/00001"},{"Key":"Name","Value":"65"},{"Key":"Type","Value":"P&M - Backhoe Loader Inspection Checklist"},{"Key":"Site","Value":"Alanreed"},{"Key":"Status","Value":"Checked"},{"Key":"CreatedOn","Value":"20-Apr-2026 06:52:43 PM"},{"Key":"InspectionId","Value":"20489"},{"Key":"OrganisationId","Value":211}]}


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


# Calling SendNotificationForInspectionCreation function for whatsapp and email notification #


Executing email notifications to Inspection Completion


Executing sending notification to user through whatsapp for inspection completion


Sending notifications for inspection completion to initiator10726


Osmo-x WhatsApp Message has been Sent


# Preparing notification body #


Sending Assigned To Notification for Inspection Id:20489


Inside SendAppNotification Device Type: GCM


Generating AWS SNS Request


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/11e05b47-091b-3986-8620-2e92ffad974d


Inspection Completed: 65

Inspection Flow Completed for I/GLTO/GRR/P-B/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 874.


Push notification was sent to device with id 16425.


App notification history inserted. HistoryId: 222004, UserId: 10726, NotificationType: INSPECTION_COMPLETED, ModuleId: 29, ReferenceId: 20489


# Push notification sent #


### End Event Execution ###


### Start Event Execution ###


Message : {"EventName":"NOTIFICATION_FOR_INSPECTION_COMPLETION","EventArgs":[{"Key":"UserId","Value":10726},{"Key":"InspectionUID","Value":"I/GLTO/GRR/P-B/26/00001"},{"Key":"Name","Value":"65"},{"Key":"Type","Value":"P&M - Backhoe Loader Inspection Checklist"},{"Key":"Site","Value":"Alanreed"},{"Key":"Status","Value":"Verified"},{"Key":"CreatedOn","Value":"20-Apr-2026 06:52:43 PM"},{"Key":"InspectionId","Value":"20489"},{"Key":"OrganisationId","Value":211}]}


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


# Checking for device existence #


# User device exists #


Inspection Completed: 65


App notification history inserted. HistoryId: 222005, UserId: 10726, NotificationType: INSPECTION_COMPLETED, ModuleId: 29, ReferenceId: 20489


Message : {"EventName":"NOTIFICATION_FOR_INSPECTION_COMPLETION","EventArgs":[{"Key":"UserId","Value":10726},{"Key":"InspectionUID","Value":"I/GLTO/GRR/P-B/26/00001"},{"Key":"Name","Value":"65"},{"Key":"Type","Value":"P&M - Backhoe Loader Inspection Checklist"},{"Key":"Site","Value":"Alanreed"},{"Key":"Status","Value":"Approved"},{"Key":"CreatedOn","Value":"20-Apr-2026 06:52:43 PM"},{"Key":"InspectionId","Value":"20489"},{"Key":"OrganisationId","Value":211}]}


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


# Calling SendNotificationForInspectionCreation function for whatsapp and email notification #


Executing email notifications to Inspection Completion


Executing sending notification to user through whatsapp for inspection completion


Sending notifications for inspection completion to initiator10726


Osmo-x WhatsApp Message has been Sent


# Preparing notification body #


Sending Assigned To Notification for Inspection Id:20489


Inside SendAppNotification Device Type: GCM


Generating AWS SNS Request


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/11e05b47-091b-3986-8620-2e92ffad974d


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


App notification history inserted. HistoryId: 222006, UserId: 10726, NotificationType: INSPECTION_COMPLETED, ModuleId: 29, ReferenceId: 20489


# Push notification sent #


### End Event Execution ###


### Start Event Execution ###


Message : {"EventName":"NOTIFICATION_FOR_INSPECTION_CREATION","EventArgs":[{"Key":"UserIds","Value":"[3708]"},{"Key":"InspectionUID","Value":"I/GLTO/GRR/P-B/26/00002"},{"Key":"Name","Value":"65"},{"Key":"Type","Value":"P&M - Batching Plant Inspection Checklist"},{"Key":"Organisation","Value":"Galecto Inc."},{"Key":"Site","Value":"Alanreed"},{"Key":"Department","Value":" "},{"Key":"Asset","Value":"BATCHING PLANT"},{"Key":"Status","Value":"Inspection requested"},{"Key":"CreatedBy","Value":"Jayce Schulze"},{"Key":"CreatedOn","Value":"20-Apr-2026 06:59:40 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 user3708


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000006070","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":"Augusta Grass"},{"type":"text","text":"I/GLTO/GRR/P-B/26/00002"},{"type":"text","text":"65"},{"type":"text","text":"P&M - Batching Plant Inspection Checklist"},{"type":"text","text":"Galecto Inc."},{"type":"text","text":"Alanreed"},{"type":"text","text":" "},{"type":"text","text":"BATCHING PLANT"},{"type":"text","text":"Inspection requested"},{"type":"text","text":"Jayce Schulze"},{"type":"text","text":"20-Apr-2026 06:59:40 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) #


Message : {"EventName":"NOTIFICATION_FOR_INSPECTION_COMPLETION","EventArgs":[{"Key":"UserId","Value":10319},{"Key":"InspectionUID","Value":"I/GLTO/GRR/P-B/26/00002"},{"Key":"Name","Value":"65"},{"Key":"Type","Value":"P&M - Batching Plant Inspection Checklist"},{"Key":"Site","Value":"Alanreed"},{"Key":"Status","Value":"Checked"},{"Key":"CreatedOn","Value":"20-Apr-2026 06:59:40 PM"},{"Key":"InspectionId","Value":"20490"},{"Key":"OrganisationId","Value":211}]}


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


# Calling SendNotificationForInspectionCreation function for whatsapp and email notification #


Executing email notifications to Inspection Completion


Executing sending notification to user through whatsapp for inspection completion


Sending notifications for inspection completion to initiator10319


# Preparing notification body #


# Checking for device existence #


# User device exists #


Sending Assigned To Notification for Inspection Id:20490


Inside SendAppNotification Device Type: GCM


Generating AWS SNS Request


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/603890e2-8aa8-3275-92b1-840302efc937


Inspection Completed: 65

Inspection Flow Completed for I/GLTO/GRR/P-B/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 874.


Push notification was sent to device with id 15868.


App notification history inserted. HistoryId: 222007, UserId: 10319, NotificationType: INSPECTION_COMPLETED, ModuleId: 29, ReferenceId: 20490


# Push notification sent #


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/38fa600f-4ba5-39ae-8a10-0724af6fc37f


Inspection Completed: 65


Push notification was sent to device with id 17443.


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


### End Event Execution ###


### Start Event Execution ###


Message : {"EventName":"NOTIFICATION_FOR_INSPECTION_COMPLETION","EventArgs":[{"Key":"UserId","Value":10319},{"Key":"InspectionUID","Value":"I/GLTO/GRR/P-B/26/00002"},{"Key":"Name","Value":"65"},{"Key":"Type","Value":"P&M - Batching Plant Inspection Checklist"},{"Key":"Site","Value":"Alanreed"},{"Key":"Status","Value":"Verified"},{"Key":"CreatedOn","Value":"20-Apr-2026 06:59:40 PM"},{"Key":"InspectionId","Value":"20490"},{"Key":"OrganisationId","Value":211}]}


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


# Calling SendNotificationForInspectionCreation function for whatsapp and email notification #


Executing email notifications to Inspection Completion


Executing sending notification to user through whatsapp for inspection completion


Sending notifications for inspection completion to initiator10319


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


Inside SendAppNotification Device Type: GCM


Generating AWS SNS Request


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/603890e2-8aa8-3275-92b1-840302efc937


Inspection Completed: 65


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


App notification history inserted. HistoryId: 222008, UserId: 10319, NotificationType: INSPECTION_COMPLETED, ModuleId: 29, ReferenceId: 20490


# Push notification sent #


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/38fa600f-4ba5-39ae-8a10-0724af6fc37f


Push notification was sent to device with id 17443.


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


### End Event Execution ###


### Start Event Execution ###


Message : {"EventName":"NOTIFICATION_FOR_INSPECTION_COMPLETION","EventArgs":[{"Key":"UserId","Value":10319},{"Key":"InspectionUID","Value":"I/GLTO/GRR/P-B/26/00002"},{"Key":"Name","Value":"65"},{"Key":"Type","Value":"P&M - Batching Plant Inspection Checklist"},{"Key":"Site","Value":"Alanreed"},{"Key":"Status","Value":"Approved"},{"Key":"CreatedOn","Value":"20-Apr-2026 06:59:40 PM"},{"Key":"InspectionId","Value":"20490"},{"Key":"OrganisationId","Value":211}]}


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


# Calling SendNotificationForInspectionCreation function for whatsapp and email notification #


Executing email notifications to Inspection Completion


Executing sending notification to user through whatsapp for inspection completion


Sending notifications for inspection completion to initiator10319


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


Inside SendAppNotification Device Type: GCM


Generating AWS SNS Request


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/603890e2-8aa8-3275-92b1-840302efc937


Inspection Completed: 65


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


App notification history inserted. HistoryId: 222009, UserId: 10319, NotificationType: INSPECTION_COMPLETED, ModuleId: 29, ReferenceId: 20490


# Push notification sent #


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/38fa600f-4ba5-39ae-8a10-0724af6fc37f


Push notification was sent to device with id 17443.


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


### End Event Execution ###


### Start Event Execution ###


Message : {"EventName":"NOTIFICATION_FOR_INSPECTION_CREATION","EventArgs":[{"Key":"UserIds","Value":"[267,4094]"},{"Key":"InspectionUID","Value":"I/SAIL/OFF/WSE/26/00001"},{"Key":"Name","Value":"Inspection created on 20th April"},{"Key":"Type","Value":"WELL SITE EXIT INSPECTION"},{"Key":"Organisation","Value":"SailPoint Inc."},{"Key":"Site","Value":"Elizabethville"},{"Key":"Department","Value":"Default"},{"Key":"Asset","Value":"Default - ASD-001"},{"Key":"Status","Value":"Planned"},{"Key":"CreatedBy","Value":"Hebert Eaton"},{"Key":"CreatedOn","Value":"20-Apr-2026 07:18:03 PM"},{"Key":"OrganisationId","Value":262}]}


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


Sending Inspection creation email to user: TTK_Admin@oqsha.com


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


Reading and binding data to Email Template


Initializing Email Service Client


Generating Email Request


New Inspection Created: I/SAIL/OFF/WSE/26/00001


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


--- Email response from Osmo-x is 201


Executing sending notification to associated user through whatsapp


Sending notifications for inspection creation to associated user267


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000001875","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":"Hebert Eaton"},{"type":"text","text":"I/SAIL/OFF/WSE/26/00001"},{"type":"text","text":"Inspection created on 20th April"},{"type":"text","text":"WELL SITE EXIT INSPECTION"},{"type":"text","text":"SailPoint Inc."},{"type":"text","text":"Elizabethville"},{"type":"text","text":"Default"},{"type":"text","text":"Default - ASD-001"},{"type":"text","text":"Planned"},{"type":"text","text":"Hebert Eaton"},{"type":"text","text":"20-Apr-2026 07:18:03 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: 267


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


Pending Approval - Inspection UID: I/SAIL/OFF/WSE/26/00001

You have a pending signature for inspection I/SAIL/OFF/WSE/26/00001 at site Elizabethville. 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 808.


Push notification was sent to device with id 26487.


App notification history inserted. HistoryId: 222010, UserId: 267, NotificationType: NEW_INSPECTION_CREATED, ModuleId: 29, ReferenceId: 0


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


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 push notification [NOTIFICATION_FOR_INSPECTION_CREATION] to user: 267


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 #


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


# Checking for device existence #


# User device exists #


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


Push notification was sent to device with id 26487.


App notification history inserted. HistoryId: 222011, UserId: 267, NotificationType: NEW_INSPECTION_CREATED, ModuleId: 29, ReferenceId: 0


Inside SendAppNotification Device Type: GCM


Generating AWS SNS Request


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


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.


Sending push notification [NOTIFICATION_FOR_INSPECTION_CREATION] to user: 267


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


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


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


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 #


# Checking for device existence #


# User device exists #


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.


Generating AWS SNS Request


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.


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


Push notification was sent to device with id 26487.


App notification history inserted. HistoryId: 222012, UserId: 267, NotificationType: NEW_INSPECTION_CREATED, ModuleId: 29, ReferenceId: 0


Sending push notification [NOTIFICATION_FOR_INSPECTION_CREATION] to user: 267


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


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.


# Push notification sent #


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


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


Message : {"EventName":"NOTIFICATION_FOR_INSPECTION_ASSIGNEES","EventArgs":[{"Key":"UserIds","Value":"[267]"},{"Key":"InspectionUID","Value":"I/SAIL/OFF/WSE/26/00001"},{"Key":"Name","Value":"Inspection created on 20th April"},{"Key":"Type","Value":"WELL SITE EXIT INSPECTION"},{"Key":"Site","Value":"Elizabethville"},{"Key":"Status","Value":"Planned"},{"Key":"CreatedBy","Value":"Hebert Eaton"},{"Key":"CreatedOn","Value":"20-Apr-2026 07:18:03 PM"},{"Key":"InspectionId","Value":"20491"},{"Key":"OrganisationId","Value":262}]}


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


# Calling SendNotificationForInspectionCreation function for whatsapp and push notification #


Sending Inspection Assignee WhatsApp notification 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_inspection_assignees_template_v1","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"Hebert Eaton"},{"type":"text","text":"I/SAIL/OFF/WSE/26/00001"},{"type":"text","text":"Inspection created on 20th April"},{"type":"text","text":"WELL SITE EXIT INSPECTION"},{"type":"text","text":"Elizabethville"},{"type":"text","text":"Hebert Eaton"},{"type":"text","text":"20-Apr-2026 07:18:03 PM"},{"type":"text","text":"Planned"},{"type":"text","text":"https://oqsha.com/#/inspection/view/20491?dlType=viewInspection&orgID=262"},{"type":"text","text":"Oqsha Team"}]}]}}}


Osmo-x WhatsApp Message has been Sent


Sending Inspection Assignee creation email to user: TTK_Admin@oqsha.com


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


Reading and binding data to Email Template


Initializing Email Service Client


Generating Email Request


Inspection Assigned: I/SAIL/OFF/WSE/26/00001 - A new inspection has been assigned to you


--- 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 Assigned To Notification for Inspection Id:20491


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


Inspection Assigned: Inspection created on 20th April

Inspection with UID I/SAIL/OFF/WSE/26/00001 has been assigned to you in the site Elizabethville


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


Push notification was sent to device with id 26487.


App notification history inserted. HistoryId: 222013, UserId: 267, NotificationType: NEW_INSPECTION_CREATED, ModuleId: 29, ReferenceId: 20491


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


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 Inspection Id:20491


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 #


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


# Checking for device existence #


# User device exists #


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


Push notification was sent to device with id 26487.


App notification history inserted. HistoryId: 222014, UserId: 267, NotificationType: NEW_INSPECTION_CREATED, ModuleId: 29, ReferenceId: 20491


Inside SendAppNotification Device Type: GCM


Generating AWS SNS Request


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


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.


Sending Assigned To Notification for Inspection Id:20491


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


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


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


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 #


# Checking for device existence #


# User device exists #


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.


Generating AWS SNS Request


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.


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


Push notification was sent to device with id 26487.


App notification history inserted. HistoryId: 222015, UserId: 267, NotificationType: NEW_INSPECTION_CREATED, ModuleId: 29, ReferenceId: 20491


Sending Assigned To Notification for Inspection Id:20491


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


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.


# Push notification sent #


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


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


Message : {"EventName":"NOTIFICATION_FOR_INSPECTION_ASSIGNEES","EventArgs":[{"Key":"UserIds","Value":"[11165]"},{"Key":"InspectionUID","Value":"I/KURA/BHA/DII/26/00001"},{"Key":"Name","Value":"Inspection on 20th April 2026"},{"Key":"Type","Value":"Daily Inspections"},{"Key":"Site","Value":"Hickory Grove"},{"Key":"Status","Value":"Planned"},{"Key":"CreatedBy","Value":"Judge Tenorio"},{"Key":"CreatedOn","Value":"20-Apr-2026 08:17:36 PM"},{"Key":"InspectionId","Value":"20494"},{"Key":"OrganisationId","Value":258}]}


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


# Calling SendNotificationForInspectionCreation function for whatsapp and push notification #


Sending Inspection Assignee WhatsApp notification to user:11165


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000009218","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"oqsha_inspection_assignees_template_v1","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"Jakayla Pizano"},{"type":"text","text":"I/KURA/BHA/DII/26/00001"},{"type":"text","text":"Inspection on 20th April 2026"},{"type":"text","text":"Daily Inspections"},{"type":"text","text":"Hickory Grove"},{"type":"text","text":"Judge Tenorio"},{"type":"text","text":"20-Apr-2026 08:17:36 PM"},{"type":"text","text":"Planned"},{"type":"text","text":"https://oqsha.com/#/inspection/view/20494?dlType=viewInspection&orgID=258"},{"type":"text","text":"Oqsha Team"}]}]}}}


Osmo-x WhatsApp Message has been Sent


Sending Inspection Assignee creation email to user: osm04314@osmosys.co


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


Reading and binding data to Email Template


Initializing Email Service Client


Generating Email Request


Inspection Assigned: I/KURA/BHA/DII/26/00001 - A new inspection has been assigned to you


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


Message : {"EventName":"NOTIFICATION_FOR_INSPECTION_COMPLETION","EventArgs":[{"Key":"UserId","Value":10313},{"Key":"InspectionUID","Value":"I/KURA/FD1/DII/26/00001"},{"Key":"Name","Value":"Schedule Inspection Check - 02"},{"Key":"Type","Value":"Daily Inspections"},{"Key":"Site","Value":"Morgan's Point Resort"},{"Key":"Status","Value":"Verified"},{"Key":"CreatedOn","Value":"20-Apr-2026 01:47:16 PM"},{"Key":"InspectionId","Value":"20475"},{"Key":"OrganisationId","Value":258}]}


### 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: TITAGARH_ADMIN@oqsha.com


Inspection Flow Completed for I/KURA/FD1/DII/26/00001


Executing sending notification to user through whatsapp for inspection completion


Sending notifications for inspection completion to initiator10313


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"612222222220","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"oqsha_inspection_completion_template","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"Derek Cope"},{"type":"text","text":"I/KURA/FD1/DII/26/00001"},{"type":"text","text":"Schedule Inspection Check - 02"},{"type":"text","text":"Daily Inspections"},{"type":"text","text":"Morgan's Point Resort"},{"type":"text","text":"20-Apr-2026 01:47:16 PM"},{"type":"text","text":"Verified"},{"type":"text","text":"https://oqsha.com/#/inspection/view/20475?dlType=viewInspection&orgID=258"},{"type":"text","text":"Oqsha Team"}]}]}}}


Osmo-x WhatsApp Message has been Sent


Message : {"EventName":"NOTIFICATION_FOR_INSPECTION_ASSIGNEES","EventArgs":[{"Key":"UserIds","Value":"[11127]"},{"Key":"InspectionUID","Value":"I/KURA/FD1/WII/26/00001"},{"Key":"Name","Value":"April 20th Inspection"},{"Key":"Type","Value":"Weekly Inspections"},{"Key":"Site","Value":"Morgan's Point Resort"},{"Key":"Status","Value":"Planned"},{"Key":"CreatedBy","Value":"Gary Bhatia"},{"Key":"CreatedOn","Value":"20-Apr-2026 09:46:20 PM"},{"Key":"InspectionId","Value":"20495"},{"Key":"OrganisationId","Value":258}]}


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


# Calling SendNotificationForInspectionCreation function for whatsapp and push notification #


Sending Inspection Assignee WhatsApp notification to user:11127


Sending Inspection Assignee creation email to user: osm00132@osmosys.co


Initializing Email Service Client


Generating Email Request


Inspection Assigned: I/KURA/FD1/WII/26/00001 - A new inspection has been assigned to you


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


--- Email response from Osmo-x is 201


# Preparing notification body #


# Checking for device existence #


# User device exists #


Sending Assigned To Notification for Inspection Id:20495


Inside SendAppNotification Device Type: GCM


Generating AWS SNS Request


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/1675c629-2df5-3f9e-ab12-e2fc3d26936e


Inspection Assigned: April 20th Inspection

Inspection with UID I/KURA/FD1/WII/26/00001 has been assigned to you in the site Morgan's Point Resort


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


Push notification was sent to device with id 26098.


App notification history inserted. HistoryId: 222016, UserId: 11127, NotificationType: NEW_INSPECTION_CREATED, ModuleId: 29, ReferenceId: 20495


# Push notification sent #


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


App notification history inserted. HistoryId: 222017, UserId: 11127, NotificationType: NEW_INSPECTION_CREATED, ModuleId: 29, ReferenceId: 20495


App notification history inserted. HistoryId: 222018, UserId: 11127, NotificationType: NEW_INSPECTION_CREATED, ModuleId: 29, ReferenceId: 20495


### End Event Execution ###


### Start Event Execution ###


Message : {"EventName":"NOTIFICATION_FOR_INSPECTION_ASSIGNEES","EventArgs":[{"Key":"UserIds","Value":"[678,11165,11167]"},{"Key":"InspectionUID","Value":"I/KURA/BHA/WII/26/00001"},{"Key":"Name","Value":"Inspection created on 20th April 2026"},{"Key":"Type","Value":"Weekly Inspections"},{"Key":"Site","Value":"Hickory Grove"},{"Key":"Status","Value":"Planned"},{"Key":"CreatedBy","Value":"Hebert Eaton"},{"Key":"CreatedOn","Value":"20-Apr-2026 11:41:08 AM"},{"Key":"InspectionId","Value":20471},{"Key":"OrganisationId","Value":258}]}


System.InvalidCastException: Unable to cast object of type 'System.Int64' to type 'System.String'.
   at IncidentReporter.NotificationSender.Models.Event.Get[T](String strKey) in C:\GitLab-Runner\builds\27n6lYj0J\0\incident-reporter\incident-reporter-api\IncidentReporter\IncidentReporter.NotificationSender\Models\Event.cs:line 71
   at IncidentReporter.NotificationSender.DAL.Events.EventHandler.HandleMessage(IMessage message) in C:\GitLab-Runner\builds\27n6lYj0J\0\incident-reporter\incident-reporter-api\IncidentReporter\IncidentReporter.NotificationSender\DAL\Events\EventHandler.cs:line 1198


Message : {"EventName":"NOTIFICATION_FOR_INSPECTION_ASSIGNEES","EventArgs":[{"Key":"UserIds","Value":"[4206]"},{"Key":"InspectionUID","Value":"I/KURA/FD1/WII/26/00001"},{"Key":"Name","Value":"Ambulance Inspection"},{"Key":"Type","Value":"Weekly Inspections"},{"Key":"Site","Value":"Morgan's Point Resort"},{"Key":"Status","Value":"Planned"},{"Key":"CreatedBy","Value":"Deonta Soukup"},{"Key":"CreatedOn","Value":"21-Apr-2026 11:20:33 AM"},{"Key":"InspectionId","Value":"20585"},{"Key":"OrganisationId","Value":258}]}


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


# Calling SendNotificationForInspectionCreation function for whatsapp and push notification #


# Preparing notification body #


Message : {"EventName":"NOTIFICATION_FOR_INSPECTION_ASSIGNEES","EventArgs":[{"Key":"UserIds","Value":"[4206,11127]"},{"Key":"InspectionUID","Value":"I/KURA/FD1/WII/26/00001"},{"Key":"Name","Value":"Ambulance Inspection"},{"Key":"Type","Value":"Weekly Inspections"},{"Key":"Site","Value":"Morgan's Point Resort"},{"Key":"Status","Value":"Planned"},{"Key":"CreatedBy","Value":"Deonta Soukup"},{"Key":"CreatedOn","Value":"21-Apr-2026 11:20:33 AM"},{"Key":"InspectionId","Value":20585},{"Key":"OrganisationId","Value":258}]}


Message : {"EventName":"NOTIFICATION_FOR_INSPECTION_CREATION","EventArgs":[{"Key":"UserIds","Value":"[3708]"},{"Key":"InspectionUID","Value":"I/GLTO/GRR/P-C/26/00001"},{"Key":"Name","Value":"65"},{"Key":"Type","Value":"P&M - Chain Pulley Block Inspection Checklist"},{"Key":"Organisation","Value":"Galecto Inc."},{"Key":"Site","Value":"Alanreed"},{"Key":"Department","Value":" "},{"Key":"Asset","Value":"BATCHING PLANT"},{"Key":"Status","Value":"Inspection requested"},{"Key":"CreatedBy","Value":"Madelief Noyes"},{"Key":"CreatedOn","Value":"21-Apr-2026 06:27:16 PM"},{"Key":"OrganisationId","Value":211}]}


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


Executing email notifications to Users about inspection creation


Executing sending notification to associated user through whatsapp


Sending notifications for inspection creation to associated user3708


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000006070","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":"Augusta Grass"},{"type":"text","text":"I/GLTO/GRR/P-C/26/00001"},{"type":"text","text":"65"},{"type":"text","text":"P&M - Chain Pulley Block Inspection Checklist"},{"type":"text","text":"Galecto Inc."},{"type":"text","text":"Alanreed"},{"type":"text","text":" "},{"type":"text","text":"BATCHING PLANT"},{"type":"text","text":"Inspection requested"},{"type":"text","text":"Madelief Noyes"},{"type":"text","text":"21-Apr-2026 06:27:16 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_COMPLETION","EventArgs":[{"Key":"UserId","Value":12097},{"Key":"InspectionUID","Value":"I/GLTO/GRR/P-C/26/00001"},{"Key":"Name","Value":"65"},{"Key":"Type","Value":"P&M - Chain Pulley Block Inspection Checklist"},{"Key":"Site","Value":"Alanreed"},{"Key":"Status","Value":"Checked"},{"Key":"CreatedOn","Value":"21-Apr-2026 06:27:16 PM"},{"Key":"InspectionId","Value":"20597"},{"Key":"OrganisationId","Value":211}]}


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


# Calling SendNotificationForInspectionCreation function for whatsapp and email notification #


Executing email notifications to Inspection Completion


Executing sending notification to user through whatsapp for inspection completion


Sending notifications for inspection completion to initiator12097


# Preparing notification body #


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


Message : {"EventName":"NOTIFICATION_FOR_INSPECTION_COMPLETION","EventArgs":[{"Key":"UserId","Value":12097},{"Key":"InspectionUID","Value":"I/GLTO/GRR/P-C/26/00001"},{"Key":"Name","Value":"65"},{"Key":"Type","Value":"P&M - Chain Pulley Block Inspection Checklist"},{"Key":"Site","Value":"Alanreed"},{"Key":"Status","Value":"Verified"},{"Key":"CreatedOn","Value":"21-Apr-2026 06:27:16 PM"},{"Key":"InspectionId","Value":"20597"},{"Key":"OrganisationId","Value":211}]}


Message : {"EventName":"NOTIFICATION_FOR_INSPECTION_COMPLETION","EventArgs":[{"Key":"UserId","Value":12097},{"Key":"InspectionUID","Value":"I/GLTO/GRR/P-C/26/00001"},{"Key":"Name","Value":"65"},{"Key":"Type","Value":"P&M - Chain Pulley Block Inspection Checklist"},{"Key":"Site","Value":"Alanreed"},{"Key":"Status","Value":"Approved"},{"Key":"CreatedOn","Value":"21-Apr-2026 06:27:16 PM"},{"Key":"InspectionId","Value":"20597"},{"Key":"OrganisationId","Value":211}]}


Message : {"EventName":"NOTIFICATION_FOR_INSPECTION_CREATION","EventArgs":[{"Key":"UserIds","Value":"[2600]"},{"Key":"InspectionUID","Value":"I/GLTO/GRR/P-C/26/00002"},{"Key":"Name","Value":"65"},{"Key":"Type","Value":"P&M - Concrete Bucket inspection checklist"},{"Key":"Organisation","Value":"Galecto Inc."},{"Key":"Site","Value":"Alanreed"},{"Key":"Department","Value":" "},{"Key":"Asset","Value":"air compressor plant 2"},{"Key":"Status","Value":"Inspection requested"},{"Key":"CreatedBy","Value":"Theodoro Gales"},{"Key":"CreatedOn","Value":"21-Apr-2026 06:43:04 PM"},{"Key":"OrganisationId","Value":211}]}


# Calling SendNotificationForInspectionCreation function for whatsapp and push notification #


Sending notifications for inspection creation to associated user2600


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000000267","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":"Gisselle Lim"},{"type":"text","text":"I/GLTO/GRR/P-C/26/00002"},{"type":"text","text":"65"},{"type":"text","text":"P&M - Concrete Bucket inspection checklist"},{"type":"text","text":"Galecto Inc."},{"type":"text","text":"Alanreed"},{"type":"text","text":" "},{"type":"text","text":"air compressor plant 2"},{"type":"text","text":"Inspection requested"},{"type":"text","text":"Theodoro Gales"},{"type":"text","text":"21-Apr-2026 06:43:04 PM"},{"type":"text","text":"Oqsha Team"}]}]}}}


Osmo-x WhatsApp Message has been Sent


# Checking for device existence #


# User device exists #


Sending push notification [NOTIFICATION_FOR_INSPECTION_CREATION] to user: 2600


Inside SendAppNotification Device Type: GCM


Generating AWS SNS Request


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/98c9353e-d9e7-3696-84ea-a0b65883ef59


Pending Approval - Inspection UID: I/GLTO/GRR/P-C/26/00002

You have a pending signature for inspection I/GLTO/GRR/P-C/26/00002 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 868.


Push notification was sent to device with id 22877.


App notification history inserted. HistoryId: 222019, UserId: 2600, NotificationType: NEW_INSPECTION_CREATED, ModuleId: 29, ReferenceId: 0


# Push notification sent #


App notification history inserted. HistoryId: 222020, UserId: 2600, NotificationType: NEW_INSPECTION_CREATED, ModuleId: 29, ReferenceId: 0


### End Event Execution ###


### Start Event Execution ###


Message : {"EventName":"NOTIFICATION_FOR_INSPECTION_COMPLETION","EventArgs":[{"Key":"UserId","Value":12012},{"Key":"InspectionUID","Value":"I/GLTO/GRR/P-C/26/00002"},{"Key":"Name","Value":"65"},{"Key":"Type","Value":"P&M - Concrete Bucket inspection checklist"},{"Key":"Site","Value":"Alanreed"},{"Key":"Status","Value":"Checked"},{"Key":"CreatedOn","Value":"21-Apr-2026 06:43:04 PM"},{"Key":"InspectionId","Value":"20598"},{"Key":"OrganisationId","Value":211}]}


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


# Calling SendNotificationForInspectionCreation function for whatsapp and email notification #


Executing email notifications to Inspection Completion


Executing sending notification to user through whatsapp for inspection completion


Sending notifications for inspection completion to initiator12012


Osmo-x WhatsApp Message has been Sent


# Preparing notification body #


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


Message : {"EventName":"NOTIFICATION_FOR_INSPECTION_COMPLETION","EventArgs":[{"Key":"UserId","Value":12012},{"Key":"InspectionUID","Value":"I/GLTO/GRR/P-C/26/00002"},{"Key":"Name","Value":"65"},{"Key":"Type","Value":"P&M - Concrete Bucket inspection checklist"},{"Key":"Site","Value":"Alanreed"},{"Key":"Status","Value":"Verified"},{"Key":"CreatedOn","Value":"21-Apr-2026 06:43:04 PM"},{"Key":"InspectionId","Value":"20598"},{"Key":"OrganisationId","Value":211}]}


Message : {"EventName":"NOTIFICATION_FOR_INSPECTION_COMPLETION","EventArgs":[{"Key":"UserId","Value":12012},{"Key":"InspectionUID","Value":"I/GLTO/GRR/P-C/26/00002"},{"Key":"Name","Value":"65"},{"Key":"Type","Value":"P&M - Concrete Bucket inspection checklist"},{"Key":"Site","Value":"Alanreed"},{"Key":"Status","Value":"Approved"},{"Key":"CreatedOn","Value":"21-Apr-2026 06:43:04 PM"},{"Key":"InspectionId","Value":"20598"},{"Key":"OrganisationId","Value":211}]}


Message : {"EventName":"NOTIFICATION_FOR_INSPECTION_CREATION","EventArgs":[{"Key":"UserIds","Value":"[5264]"},{"Key":"InspectionUID","Value":"I/GLTO/GRR/P-D/26/00001"},{"Key":"Name","Value":"65"},{"Key":"Type","Value":"P&M - D and Bow Shackles Inspection Checklist"},{"Key":"Organisation","Value":"Galecto Inc."},{"Key":"Site","Value":"Alanreed"},{"Key":"Department","Value":" "},{"Key":"Asset","Value":" "},{"Key":"Status","Value":"Inspection requested"},{"Key":"CreatedBy","Value":"Eliisa Pollak"},{"Key":"CreatedOn","Value":"21-Apr-2026 06:47:36 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


Sending Inspection creation email to user: osm05476@osmosys.co


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


Reading and binding data to Email Template


Initializing Email Service Client


Generating Email Request


New Inspection Created: I/GLTO/GRR/P-D/26/00001


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


--- Email response from Osmo-x is 201


Executing sending notification to associated user through whatsapp


Sending notifications for inspection creation to associated user5264


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000009069","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":"Owens Strauss"},{"type":"text","text":"I/GLTO/GRR/P-D/26/00001"},{"type":"text","text":"65"},{"type":"text","text":"P&M - D and Bow Shackles Inspection Checklist"},{"type":"text","text":"Galecto Inc."},{"type":"text","text":"Alanreed"},{"type":"text","text":" "},{"type":"text","text":" "},{"type":"text","text":"Inspection requested"},{"type":"text","text":"Eliisa Pollak"},{"type":"text","text":"21-Apr-2026 06:47:36 PM"},{"type":"text","text":"Oqsha Team"}]}]}}}


Osmo-x WhatsApp Message has been Sent


# Preparing push notification body for inspection creation #


# Checking for device existence #


# User device exists #


Sending push notification [NOTIFICATION_FOR_INSPECTION_CREATION] to user: 5264


Inside SendAppNotification Device Type: GCM


Generating AWS SNS Request


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/3f3b8d4b-0bd9-3599-ba41-2593f4908420


Pending Approval - Inspection UID: I/GLTO/GRR/P-D/26/00001

You have a pending signature for inspection I/GLTO/GRR/P-D/26/00001 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 868.


Push notification was sent to device with id 26215.


App notification history inserted. HistoryId: 222021, UserId: 5264, NotificationType: NEW_INSPECTION_CREATED, ModuleId: 29, ReferenceId: 0


# Push notification sent #


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


App notification history inserted. HistoryId: 222022, UserId: 5264, NotificationType: NEW_INSPECTION_CREATED, ModuleId: 29, ReferenceId: 0


### End Event Execution ###


### Start Event Execution ###


Message : {"EventName":"NOTIFICATION_FOR_INSPECTION_COMPLETION","EventArgs":[{"Key":"UserId","Value":11775},{"Key":"InspectionUID","Value":"I/GLTO/GRR/P-D/26/00001"},{"Key":"Name","Value":"65"},{"Key":"Type","Value":"P&M - D and Bow Shackles Inspection Checklist"},{"Key":"Site","Value":"Alanreed"},{"Key":"Status","Value":"Checked"},{"Key":"CreatedOn","Value":"21-Apr-2026 06:47:36 PM"},{"Key":"InspectionId","Value":"20599"},{"Key":"OrganisationId","Value":211}]}


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


# Calling SendNotificationForInspectionCreation function for whatsapp and email notification #


Executing email notifications to Inspection Completion


Executing sending notification to user through whatsapp for inspection completion


# Preparing notification body #


Message : {"EventName":"NOTIFICATION_FOR_INSPECTION_COMPLETION","EventArgs":[{"Key":"UserId","Value":11775},{"Key":"InspectionUID","Value":"I/GLTO/GRR/P-D/26/00001"},{"Key":"Name","Value":"65"},{"Key":"Type","Value":"P&M - D and Bow Shackles Inspection Checklist"},{"Key":"Site","Value":"Alanreed"},{"Key":"Status","Value":"Verified"},{"Key":"CreatedOn","Value":"21-Apr-2026 06:47:36 PM"},{"Key":"InspectionId","Value":"20599"},{"Key":"OrganisationId","Value":211}]}


Message : {"EventName":"NOTIFICATION_FOR_INSPECTION_COMPLETION","EventArgs":[{"Key":"UserId","Value":11775},{"Key":"InspectionUID","Value":"I/GLTO/GRR/P-D/26/00001"},{"Key":"Name","Value":"65"},{"Key":"Type","Value":"P&M - D and Bow Shackles Inspection Checklist"},{"Key":"Site","Value":"Alanreed"},{"Key":"Status","Value":"Approved"},{"Key":"CreatedOn","Value":"21-Apr-2026 06:47:36 PM"},{"Key":"InspectionId","Value":"20599"},{"Key":"OrganisationId","Value":211}]}


Message : {"EventName":"NOTIFICATION_FOR_INSPECTION_CREATION","EventArgs":[{"Key":"UserIds","Value":"[8045]"},{"Key":"InspectionUID","Value":"I/GLTO/GRR/CMI/26/00001"},{"Key":"Name","Value":"147"},{"Key":"Type","Value":"Concrete Mixer Inspection Checklist"},{"Key":"Organisation","Value":"Galecto Inc."},{"Key":"Site","Value":"Alanreed"},{"Key":"Department","Value":" "},{"Key":"Asset","Value":" "},{"Key":"Status","Value":"Inspection requested"},{"Key":"CreatedBy","Value":"Rehan Hogg"},{"Key":"CreatedOn","Value":"22-Apr-2026 03:04:38 AM"},{"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 user8045


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000008524","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":"Andra Pollak"},{"type":"text","text":"I/GLTO/GRR/CMI/26/00001"},{"type":"text","text":"147"},{"type":"text","text":"Concrete Mixer Inspection Checklist"},{"type":"text","text":"Galecto Inc."},{"type":"text","text":"Alanreed"},{"type":"text","text":" "},{"type":"text","text":" "},{"type":"text","text":"Inspection requested"},{"type":"text","text":"Rehan Hogg"},{"type":"text","text":"22-Apr-2026 03:04:38 AM"},{"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: 8045


Inside SendAppNotification Device Type: GCM


Generating AWS SNS Request


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/2a9bbfd9-8924-3ec5-836c-b7ea319faa06


Pending Approval - Inspection UID: I/GLTO/GRR/CMI/26/00001

You have a pending signature for inspection I/GLTO/GRR/CMI/26/00001 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 868.


Push notification was sent to device with id 23853.


App notification history inserted. HistoryId: 222023, UserId: 8045, NotificationType: NEW_INSPECTION_CREATED, ModuleId: 29, ReferenceId: 0


# Push notification sent #


App notification history inserted. HistoryId: 222024, UserId: 8045, NotificationType: NEW_INSPECTION_CREATED, ModuleId: 29, ReferenceId: 0


### End Event Execution ###


### Start Event Execution ###


Message : {"EventName":"NOTIFICATION_FOR_INSPECTION_CREATION","EventArgs":[{"Key":"UserIds","Value":"[4040]"},{"Key":"InspectionUID","Value":"I/GLTO/APA/CMI/26/00001"},{"Key":"Name","Value":"147"},{"Key":"Type","Value":"Concrete Mixer Inspection Checklist"},{"Key":"Organisation","Value":"Galecto Inc."},{"Key":"Site","Value":"Bowers"},{"Key":"Department","Value":" "},{"Key":"Asset","Value":"Electrical Equipment - PDB11"},{"Key":"Status","Value":"Inspection requested"},{"Key":"CreatedBy","Value":"Silvestre Cope"},{"Key":"CreatedOn","Value":"22-Apr-2026 03:32:26 AM"},{"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 user4040


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000007530","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":"Jasmyne Berek"},{"type":"text","text":"I/GLTO/APA/CMI/26/00001"},{"type":"text","text":"147"},{"type":"text","text":"Concrete Mixer Inspection Checklist"},{"type":"text","text":"Galecto Inc."},{"type":"text","text":"Bowers"},{"type":"text","text":" "},{"type":"text","text":"Electrical Equipment - PDB11"},{"type":"text","text":"Inspection requested"},{"type":"text","text":"Silvestre Cope"},{"type":"text","text":"22-Apr-2026 03:32:26 AM"},{"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: 4040


Inside SendAppNotification Device Type: APNS


Generating AWS SNS Request


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/APNS/Oqsha-IOS-Production/6c7a46e6-1a27-3484-a366-8bfd017fb65e


Pending Approval - Inspection UID: I/GLTO/APA/CMI/26/00001

You have a pending signature for inspection I/GLTO/APA/CMI/26/00001 at site Bowers. 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 800.


Push notification was sent to device with id 20860.


App notification history inserted. HistoryId: 222025, UserId: 4040, NotificationType: NEW_INSPECTION_CREATED, ModuleId: 29, ReferenceId: 0


# Push notification sent #


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/APNS/Oqsha-IOS-Production/5ca5221c-93a1-3043-8ab9-d361539240e9


Push notification was sent to device with id 22334.


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


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/APNS/Oqsha-IOS-Production/ea16bbd4-d40c-3cc3-9bf0-e502b8a4372b


Push notification was sent to device with id 24090.


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


# Checking for device existence #


# User device exists #


Generating AWS SNS Request


App notification history inserted. HistoryId: 222026, UserId: 4040, NotificationType: NEW_INSPECTION_CREATED, ModuleId: 29, ReferenceId: 0


### End Event Execution ###


### Start Event Execution ###


Message : {"EventName":"NOTIFICATION_FOR_INSPECTION_CREATION","EventArgs":[{"Key":"UserIds","Value":"[4217]"},{"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":" "},{"Key":"Status","Value":"Inspection requested"},{"Key":"CreatedBy","Value":"Pertti Gudino"},{"Key":"CreatedOn","Value":"23-Apr-2026 12:21:39 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 user4217


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000002669","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":"Rehan Hogg"},{"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":" "},{"type":"text","text":"Inspection requested"},{"type":"text","text":"Pertti Gudino"},{"type":"text","text":"23-Apr-2026 12:21:39 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) #


Sending push notification [NOTIFICATION_FOR_INSPECTION_CREATION] to user: 4217


Inside SendAppNotification Device Type: GCM


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/7a7dd8a4-3ede-39d1-9e9f-7da812b3278a


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

You have a pending signature for inspection I/GLTO/GRR/HIC/26/00001 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 868.


Push notification was sent to device with id 6327.


App notification history inserted. HistoryId: 222027, UserId: 4217, NotificationType: NEW_INSPECTION_CREATED, ModuleId: 29, ReferenceId: 0


# Push notification sent #


# Checking for device existence #


# User device exists #


Generating AWS SNS Request


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/2a613bb5-447b-33f7-9af2-d7ef1fb15854


Push notification was sent to device with id 16574.


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


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/ef622d5a-0dbf-3a33-88ac-676e456db793


Push notification was sent to device with id 16575.


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


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/d58b1972-4084-30a5-abe6-42d31df7a646


Push notification was sent to device with id 16618.


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


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


Sending push notification [NOTIFICATION_FOR_INSPECTION_CREATION] to user: 4217


Inside SendAppNotification Device Type: GCM


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/7a7dd8a4-3ede-39d1-9e9f-7da812b3278a


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


Push notification was sent to device with id 6327.


App notification history inserted. HistoryId: 222028, UserId: 4217, NotificationType: NEW_INSPECTION_CREATED, ModuleId: 29, ReferenceId: 0


# Push notification sent #


# Checking for device existence #


# User device exists #


Generating AWS SNS Request


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/2a613bb5-447b-33f7-9af2-d7ef1fb15854


Push notification was sent to device with id 16574.


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


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/ef622d5a-0dbf-3a33-88ac-676e456db793


Push notification was sent to device with id 16575.


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


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/d58b1972-4084-30a5-abe6-42d31df7a646


Push notification was sent to device with id 16618.


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


### End Event Execution ###


### 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: osm03618@osmosys.co


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


Reading and binding data to Email Template


Initializing Email Service Client


Generating Email Request


Inspection Flow Completed for I/KURA/FD2/DII/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 initiator11167


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":"NOTIFICATION_FOR_INSPECTION_CREATION","EventArgs":[{"Key":"UserIds","Value":"[4217]"},{"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":" "},{"Key":"Status","Value":"Inspection requested"},{"Key":"CreatedBy","Value":"Pertti Gudino"},{"Key":"CreatedOn","Value":"23-Apr-2026 06:08:56 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 user4217


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000002669","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":"Rehan Hogg"},{"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":" "},{"type":"text","text":"Inspection requested"},{"type":"text","text":"Pertti Gudino"},{"type":"text","text":"23-Apr-2026 06:08:56 PM"},{"type":"text","text":"Oqsha Team"}]}]}}}


# Preparing push notification body for inspection creation #


# Checking for device existence #


# User device exists #


Sending push notification [NOTIFICATION_FOR_INSPECTION_CREATION] to user: 4217


Inside SendAppNotification Device Type: GCM


Generating AWS SNS Request


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/7a7dd8a4-3ede-39d1-9e9f-7da812b3278a


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

You have a pending signature for inspection I/GLTO/GRR/HIC/26/00002 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 868.


Push notification was sent to device with id 6327.


App notification history inserted. HistoryId: 222029, UserId: 4217, NotificationType: NEW_INSPECTION_CREATED, ModuleId: 29, ReferenceId: 0


# Push notification sent #


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/2a613bb5-447b-33f7-9af2-d7ef1fb15854


Push notification was sent to device with id 16574.


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


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/ef622d5a-0dbf-3a33-88ac-676e456db793


Push notification was sent to device with id 16575.


Skipping notification history insertion for DeviceId: 16575, UserId: 4217. 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/d58b1972-4084-30a5-abe6-42d31df7a646


Push notification was sent to device with id 16618.


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


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


Sending push notification [NOTIFICATION_FOR_INSPECTION_CREATION] to user: 4217


Inside SendAppNotification Device Type: GCM


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/7a7dd8a4-3ede-39d1-9e9f-7da812b3278a


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


Push notification was sent to device with id 6327.


App notification history inserted. HistoryId: 222030, UserId: 4217, NotificationType: NEW_INSPECTION_CREATED, ModuleId: 29, ReferenceId: 0


# Push notification sent #


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/2a613bb5-447b-33f7-9af2-d7ef1fb15854


Push notification was sent to device with id 16574.


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


# Checking for device existence #