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


Push notification was sent to device with id 26941.


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


# Push notification sent #


# Checking for device existence #


# User device exists #


Sending push notification [NOTIFICATION_FOR_INSPECTION_CREATION] to user: 1978


Inside SendAppNotification Device Type: GCM


Generating AWS SNS Request


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/d41dbbb2-3ee6-354f-bdf2-7ec9df3cdabc


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

You have a pending signature for inspection I/GLTO/GRA/HIC/26/00001 at site Leeper. 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 26954.


Skipping notification history insertion for DeviceId: 26954, UserId: 1978. 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/d301acb9-118b-3f0b-8e00-fc086cd25e6b


Push notification was sent to device with id 24384.


App notification history inserted. HistoryId: 224056, UserId: 1978, NotificationType: NEW_INSPECTION_CREATED, ModuleId: 29, ReferenceId: 0


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/e87906ed-6c2c-3fac-bb72-622ecfc95994


Push notification was sent to device with id 24417.


Skipping notification history insertion for DeviceId: 24417, UserId: 1978. 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/4baa2067-f720-3938-a4c9-dd4157b0b961


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


Push notification was sent to device with id 24547.


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


Sending push notification [NOTIFICATION_FOR_INSPECTION_CREATION] to user: 1978


Inside SendAppNotification Device Type: GCM


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/4b3002fb-e3c8-3501-a4bb-74f9fac1b677


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


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


Push notification was sent to device with id 24627.


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


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/05a78f32-6f53-322f-8bc5-74e5ba9f6f97


Push notification was sent to device with id 24677.


Skipping notification history insertion for DeviceId: 24677, UserId: 1978. 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/0508d675-90ea-3c3b-9a30-cfe9b6b77f6f


Push notification was sent to device with id 24834.


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


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/b5c88c4c-491b-3e38-a5ae-e9cc8bf325e6


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


Push notification was sent to device with id 24868.


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


Sending push notification [NOTIFICATION_FOR_INSPECTION_CREATION] to user: 1978


Inside SendAppNotification Device Type: GCM


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/a90b4465-f8e1-33d5-8595-a9dddc6bdc41


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


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


Push notification was sent to device with id 24931.


Skipping notification history insertion for DeviceId: 24931, UserId: 1978. 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/ad4ff668-b804-3b55-8b57-24d2c8f2a365


Push notification was sent to device with id 24995.


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


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/99f5c0b6-2a2d-3f74-bfa4-e34c74fe79bf


Push notification was sent to device with id 25036.


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


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/928ce875-bc29-31bc-bde2-97278d50d81a


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


Push notification was sent to device with id 25327.


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


Sending push notification [NOTIFICATION_FOR_INSPECTION_CREATION] to user: 1978


Inside SendAppNotification Device Type: GCM


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/eee13bea-beb0-3f48-ad6b-bb3cece98280


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


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


Push notification was sent to device with id 25563.


Skipping notification history insertion for DeviceId: 25563, UserId: 1978. 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/0f94213b-4e0e-3643-ac1b-3186b52997c3


Push notification was sent to device with id 25566.


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


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/e5c77c56-2c73-3ebb-9e51-25073e216d71


Push notification was sent to device with id 25680.


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


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/f54a5767-afd2-3105-b0ce-2b70122f50cc


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


Push notification was sent to device with id 25826.


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


Sending push notification [NOTIFICATION_FOR_INSPECTION_CREATION] to user: 1978


Inside SendAppNotification Device Type: GCM


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/572dedab-50a9-31c6-bf22-56eadc42a2b8


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


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


Push notification was sent to device with id 26217.


Skipping notification history insertion for DeviceId: 26217, UserId: 1978. 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/849e1a97-f6aa-3f8e-95fd-efb6f3cff869


Push notification was sent to device with id 26237.


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


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/48dfc602-257b-3cd9-b90b-b567fc85b5a6


Push notification was sent to device with id 26295.


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


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/b66a070c-b1db-38da-89c9-2890c15ceba5


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


Push notification was sent to device with id 26301.


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


Sending push notification [NOTIFICATION_FOR_INSPECTION_CREATION] to user: 1978


Inside SendAppNotification Device Type: GCM


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/a2574314-e0ad-33e4-9697-51229ded4c7a


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


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


Push notification was sent to device with id 26372.


Skipping notification history insertion for DeviceId: 26372, UserId: 1978. 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/4caa5d15-9707-33fb-9367-387b622cbc3e


Push notification was sent to device with id 26480.


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


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/0b9e295f-d9b7-3e66-95be-d9bfe421ac30


Push notification was sent to device with id 26552.


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


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/0e8d6d7c-c207-366a-9afa-e97ea8b5c57a


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


Push notification was sent to device with id 26591.


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


Sending push notification [NOTIFICATION_FOR_INSPECTION_CREATION] to user: 1978


Inside SendAppNotification Device Type: GCM


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/3630a5db-da33-39fd-907b-86efd1a03da7


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


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


Push notification was sent to device with id 26756.


Skipping notification history insertion for DeviceId: 26756, UserId: 1978. 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/c0d74fed-714f-3286-9e78-bb4914ccf946


Push notification was sent to device with id 26757.


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


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/523faeb2-2c56-3f1d-8fea-6278284f93e8


Push notification was sent to device with id 26772.


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


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/4142ddb1-993a-35dc-8702-0bb62c1ee0ba


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


Push notification was sent to device with id 26826.


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


Sending push notification [NOTIFICATION_FOR_INSPECTION_CREATION] to user: 1978


Inside SendAppNotification Device Type: GCM


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/c76f9c91-acf9-3ce7-80e2-89bd2f0ef9a6


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


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


Push notification was sent to device with id 26853.


Skipping notification history insertion for DeviceId: 26853, UserId: 1978. 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/0c27b85e-2169-3988-88e5-349b4c68e0c5


Push notification was sent to device with id 26941.


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


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/d41dbbb2-3ee6-354f-bdf2-7ec9df3cdabc


Push notification was sent to device with id 26954.


Skipping notification history insertion for DeviceId: 26954, UserId: 1978. 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":"[1978]"},{"Key":"InspectionUID","Value":"I/GLTO/GRA/BBI/26/00001"},{"Key":"Name","Value":"147"},{"Key":"Type","Value":"Bar Bending Inspection Checklist"},{"Key":"Organisation","Value":"Galecto Inc."},{"Key":"Site","Value":"Leeper"},{"Key":"Department","Value":" "},{"Key":"Asset","Value":"Electrical Equipment - GRA/TXG/BBI/HYD/01"},{"Key":"Status","Value":"Inspection requested"},{"Key":"CreatedBy","Value":"Wattie Hasson"},{"Key":"CreatedOn","Value":"16-Jul-2026 01:24: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 user1978


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000003696","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":"Abram Olivas"},{"type":"text","text":"I/GLTO/GRA/BBI/26/00001"},{"type":"text","text":"147"},{"type":"text","text":"Bar Bending Inspection Checklist"},{"type":"text","text":"Galecto Inc."},{"type":"text","text":"Leeper"},{"type":"text","text":" "},{"type":"text","text":"Electrical Equipment - GRA/TXG/BBI/HYD/01"},{"type":"text","text":"Inspection requested"},{"type":"text","text":"Wattie Hasson"},{"type":"text","text":"16-Jul-2026 01:24:56 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: 1978


Inside SendAppNotification Device Type: GCM


Generating AWS SNS Request


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/d301acb9-118b-3f0b-8e00-fc086cd25e6b


Pending Approval - Inspection UID: I/GLTO/GRA/BBI/26/00001

You have a pending signature for inspection I/GLTO/GRA/BBI/26/00001 at site Leeper. 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 866.


Push notification was sent to device with id 24384.


App notification history inserted. HistoryId: 224057, UserId: 1978, NotificationType: NEW_INSPECTION_CREATED, ModuleId: 29, ReferenceId: 0


# Push notification sent #


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/e87906ed-6c2c-3fac-bb72-622ecfc95994


Push notification was sent to device with id 24417.


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


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/4baa2067-f720-3938-a4c9-dd4157b0b961


Push notification was sent to device with id 24547.


Skipping notification history insertion for DeviceId: 24547, UserId: 1978. 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/4b3002fb-e3c8-3501-a4bb-74f9fac1b677


Push notification was sent to device with id 24627.


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


Sending push notification [NOTIFICATION_FOR_INSPECTION_CREATION] to user: 1978


Inside SendAppNotification Device Type: GCM


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/05a78f32-6f53-322f-8bc5-74e5ba9f6f97


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


Push notification was sent to device with id 24677.


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


# Push notification sent #


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/0508d675-90ea-3c3b-9a30-cfe9b6b77f6f


Push notification was sent to device with id 24834.


Skipping notification history insertion for DeviceId: 24834, UserId: 1978. 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/b5c88c4c-491b-3e38-a5ae-e9cc8bf325e6


Push notification was sent to device with id 24868.


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


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/a90b4465-f8e1-33d5-8595-a9dddc6bdc41


Push notification was sent to device with id 24931.


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


Sending push notification [NOTIFICATION_FOR_INSPECTION_CREATION] to user: 1978


Inside SendAppNotification Device Type: GCM


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/ad4ff668-b804-3b55-8b57-24d2c8f2a365


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


Push notification was sent to device with id 24995.


Skipping notification history insertion for DeviceId: 24995, UserId: 1978. 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/99f5c0b6-2a2d-3f74-bfa4-e34c74fe79bf


Push notification was sent to device with id 25036.


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


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/928ce875-bc29-31bc-bde2-97278d50d81a


Push notification was sent to device with id 25327.


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


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/eee13bea-beb0-3f48-ad6b-bb3cece98280


Push notification was sent to device with id 25563.


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


Sending push notification [NOTIFICATION_FOR_INSPECTION_CREATION] to user: 1978


Inside SendAppNotification Device Type: GCM


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/0f94213b-4e0e-3643-ac1b-3186b52997c3


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


Push notification was sent to device with id 25566.


Skipping notification history insertion for DeviceId: 25566, UserId: 1978. 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/e5c77c56-2c73-3ebb-9e51-25073e216d71


Push notification was sent to device with id 25680.


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


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/f54a5767-afd2-3105-b0ce-2b70122f50cc


Push notification was sent to device with id 25826.


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


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/572dedab-50a9-31c6-bf22-56eadc42a2b8


Push notification was sent to device with id 26217.


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


Sending push notification [NOTIFICATION_FOR_INSPECTION_CREATION] to user: 1978


Inside SendAppNotification Device Type: GCM


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/849e1a97-f6aa-3f8e-95fd-efb6f3cff869


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


Push notification was sent to device with id 26237.


Skipping notification history insertion for DeviceId: 26237, UserId: 1978. 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/48dfc602-257b-3cd9-b90b-b567fc85b5a6


Push notification was sent to device with id 26295.


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


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/b66a070c-b1db-38da-89c9-2890c15ceba5


Push notification was sent to device with id 26301.


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


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/a2574314-e0ad-33e4-9697-51229ded4c7a


Push notification was sent to device with id 26372.


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


Sending push notification [NOTIFICATION_FOR_INSPECTION_CREATION] to user: 1978


Inside SendAppNotification Device Type: GCM


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/4caa5d15-9707-33fb-9367-387b622cbc3e


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


Push notification was sent to device with id 26480.


Skipping notification history insertion for DeviceId: 26480, UserId: 1978. 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/0b9e295f-d9b7-3e66-95be-d9bfe421ac30


Push notification was sent to device with id 26552.


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


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/0e8d6d7c-c207-366a-9afa-e97ea8b5c57a


Push notification was sent to device with id 26591.


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


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/3630a5db-da33-39fd-907b-86efd1a03da7


Push notification was sent to device with id 26756.


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


Sending push notification [NOTIFICATION_FOR_INSPECTION_CREATION] to user: 1978


Inside SendAppNotification Device Type: GCM


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/c0d74fed-714f-3286-9e78-bb4914ccf946


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


Push notification was sent to device with id 26757.


Skipping notification history insertion for DeviceId: 26757, UserId: 1978. 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/523faeb2-2c56-3f1d-8fea-6278284f93e8


Push notification was sent to device with id 26772.


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


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/4142ddb1-993a-35dc-8702-0bb62c1ee0ba


Push notification was sent to device with id 26826.


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


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/c76f9c91-acf9-3ce7-80e2-89bd2f0ef9a6


Push notification was sent to device with id 26853.


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


Sending push notification [NOTIFICATION_FOR_INSPECTION_CREATION] to user: 1978


Inside SendAppNotification Device Type: GCM


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/0c27b85e-2169-3988-88e5-349b4c68e0c5


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


Push notification was sent to device with id 26941.


Skipping notification history insertion for DeviceId: 26941, UserId: 1978. 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/d41dbbb2-3ee6-354f-bdf2-7ec9df3cdabc


Push notification was sent to device with id 26954.


Skipping notification history insertion for DeviceId: 26954, UserId: 1978. 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/d301acb9-118b-3f0b-8e00-fc086cd25e6b


Push notification was sent to device with id 24384.


App notification history inserted. HistoryId: 224058, UserId: 1978, NotificationType: NEW_INSPECTION_CREATED, ModuleId: 29, ReferenceId: 0


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/e87906ed-6c2c-3fac-bb72-622ecfc95994


Push notification was sent to device with id 24417.


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


Sending push notification [NOTIFICATION_FOR_INSPECTION_CREATION] to user: 1978


Inside SendAppNotification Device Type: GCM


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/4baa2067-f720-3938-a4c9-dd4157b0b961


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


Push notification was sent to device with id 24547.


Skipping notification history insertion for DeviceId: 24547, UserId: 1978. 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/4b3002fb-e3c8-3501-a4bb-74f9fac1b677


Push notification was sent to device with id 24627.


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


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/05a78f32-6f53-322f-8bc5-74e5ba9f6f97


Push notification was sent to device with id 24677.


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


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/0508d675-90ea-3c3b-9a30-cfe9b6b77f6f


Push notification was sent to device with id 24834.


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


Sending push notification [NOTIFICATION_FOR_INSPECTION_CREATION] to user: 1978


Inside SendAppNotification Device Type: GCM


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/b5c88c4c-491b-3e38-a5ae-e9cc8bf325e6


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


Push notification was sent to device with id 24868.


Skipping notification history insertion for DeviceId: 24868, UserId: 1978. 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/a90b4465-f8e1-33d5-8595-a9dddc6bdc41


Push notification was sent to device with id 24931.


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


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/ad4ff668-b804-3b55-8b57-24d2c8f2a365


Push notification was sent to device with id 24995.


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


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/99f5c0b6-2a2d-3f74-bfa4-e34c74fe79bf


Push notification was sent to device with id 25036.


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


Sending push notification [NOTIFICATION_FOR_INSPECTION_CREATION] to user: 1978


Inside SendAppNotification Device Type: GCM


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/928ce875-bc29-31bc-bde2-97278d50d81a


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


Push notification was sent to device with id 25327.


Skipping notification history insertion for DeviceId: 25327, UserId: 1978. 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/eee13bea-beb0-3f48-ad6b-bb3cece98280


Push notification was sent to device with id 25563.


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


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/0f94213b-4e0e-3643-ac1b-3186b52997c3


Push notification was sent to device with id 25566.


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


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/e5c77c56-2c73-3ebb-9e51-25073e216d71


Push notification was sent to device with id 25680.


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


Sending push notification [NOTIFICATION_FOR_INSPECTION_CREATION] to user: 1978


Inside SendAppNotification Device Type: GCM


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/f54a5767-afd2-3105-b0ce-2b70122f50cc


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


Push notification was sent to device with id 25826.


Skipping notification history insertion for DeviceId: 25826, UserId: 1978. 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/572dedab-50a9-31c6-bf22-56eadc42a2b8


Push notification was sent to device with id 26217.


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


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/849e1a97-f6aa-3f8e-95fd-efb6f3cff869


Push notification was sent to device with id 26237.


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


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/48dfc602-257b-3cd9-b90b-b567fc85b5a6


Push notification was sent to device with id 26295.


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


Sending push notification [NOTIFICATION_FOR_INSPECTION_CREATION] to user: 1978


Inside SendAppNotification Device Type: GCM


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/b66a070c-b1db-38da-89c9-2890c15ceba5


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


Push notification was sent to device with id 26301.


Skipping notification history insertion for DeviceId: 26301, UserId: 1978. 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/a2574314-e0ad-33e4-9697-51229ded4c7a


Push notification was sent to device with id 26372.


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


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/4caa5d15-9707-33fb-9367-387b622cbc3e


Push notification was sent to device with id 26480.


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


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/0b9e295f-d9b7-3e66-95be-d9bfe421ac30


Push notification was sent to device with id 26552.


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


Sending push notification [NOTIFICATION_FOR_INSPECTION_CREATION] to user: 1978


Inside SendAppNotification Device Type: GCM


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/0e8d6d7c-c207-366a-9afa-e97ea8b5c57a


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


Push notification was sent to device with id 26591.


Skipping notification history insertion for DeviceId: 26591, UserId: 1978. 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/3630a5db-da33-39fd-907b-86efd1a03da7


Push notification was sent to device with id 26756.


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


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/c0d74fed-714f-3286-9e78-bb4914ccf946


Push notification was sent to device with id 26757.


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


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/523faeb2-2c56-3f1d-8fea-6278284f93e8


Push notification was sent to device with id 26772.


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


Sending push notification [NOTIFICATION_FOR_INSPECTION_CREATION] to user: 1978


Inside SendAppNotification Device Type: GCM


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/4142ddb1-993a-35dc-8702-0bb62c1ee0ba


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


Push notification was sent to device with id 26826.


Skipping notification history insertion for DeviceId: 26826, UserId: 1978. 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/c76f9c91-acf9-3ce7-80e2-89bd2f0ef9a6


Push notification was sent to device with id 26853.


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


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/0c27b85e-2169-3988-88e5-349b4c68e0c5


Push notification was sent to device with id 26941.


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


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/d41dbbb2-3ee6-354f-bdf2-7ec9df3cdabc


Push notification was sent to device with id 26954.


Skipping notification history insertion for DeviceId: 26954, UserId: 1978. 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_UPDATE ###


# Calling SendNotificationForInspectionUpdate function for whatsapp and push notification #


Executing sending notification to associated user through whatsapp


Sending notifications for inspection status update to associated user3791


Osmo-x WhatsApp Message has been Sent


Executing email notifications to Users about inspection update


# Preparing push notification body for inspection update #


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


# Checking for device existence #


# User device exists #


Sending push notification [NOTIFICATION_FOR_INSPECTION_UPDATE] to user: 3791


Inside SendAppNotification Device Type: GCM


Generating AWS SNS Request


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/3be51ab6-9a89-30ab-9bfb-34c1bf4e2650


Pending Approval - Inspection UID: AZ338H

You have a pending signature for inspection AZ338H 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 911.


Push notification was sent to device with id 23350.


App notification history inserted. HistoryId: 224059, UserId: 3791, NotificationType: NEW_INSPECTION_CREATED, ModuleId: 29, ReferenceId: 35144


# Push notification sent #


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/db8f1742-05bf-305f-9d74-2299cd8734c1


Push notification was sent to device with id 25515.


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


App notification history inserted. HistoryId: 224060, UserId: 3791, NotificationType: NEW_INSPECTION_CREATED, ModuleId: 29, ReferenceId: 35144


# Checking for device existence #


# User device exists #


### End Event Execution ###


### Start Event Execution ###


Message : {"EventName":"NOTIFICATION_FOR_INSPECTION_CREATION","EventArgs":[{"Key":"UserIds","Value":"[4014]"},{"Key":"InspectionUID","Value":"I/GLTO/GRR/P-C/26/00001"},{"Key":"Name","Value":"65"},{"Key":"Type","Value":"Concrete Pump Inspection Checklist"},{"Key":"Organisation","Value":"Galecto Inc."},{"Key":"Site","Value":"Alanreed"},{"Key":"Department","Value":" "},{"Key":"Asset","Value":"P&M - GRR/ASO/P-C/HYD/01"},{"Key":"Status","Value":"Inspection requested"},{"Key":"CreatedBy","Value":"Renard Whatley"},{"Key":"CreatedOn","Value":"16-Jul-2026 04:59:38 PM"},{"Key":"OrganisationId","Value":211}]}


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


# Calling SendNotificationForInspectionCreation function for whatsapp and push notification #


# Preparing push notification body for inspection creation #


Message : {"EventName":"NOTIFICATION_FOR_INSPECTION_CREATION","EventArgs":[{"Key":"UserIds","Value":"[2696]"},{"Key":"InspectionUID","Value":"I/GLTO/GRR/HIC/26/00001"},{"Key":"Name","Value":"186"},{"Key":"Type","Value":"Housekeeping Inspection Checklist"},{"Key":"Organisation","Value":"Galecto Inc."},{"Key":"Site","Value":"Alanreed"},{"Key":"Department","Value":" "},{"Key":"Asset","Value":"Civil - GRR/AIXC/HIC/YES/01"},{"Key":"Status","Value":"Inspection requested"},{"Key":"CreatedBy","Value":"Renard Whatley"},{"Key":"CreatedOn","Value":"16-Jul-2026 05:05:07 PM"},{"Key":"OrganisationId","Value":211}]}


Executing email notifications to Users about inspection creation


Executing sending notification to associated user through whatsapp


Sending notifications for inspection creation to associated user2696


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000009337","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":"Cordula Holm"},{"type":"text","text":"I/GLTO/GRR/HIC/26/00001"},{"type":"text","text":"186"},{"type":"text","text":"Housekeeping Inspection Checklist"},{"type":"text","text":"Galecto Inc."},{"type":"text","text":"Alanreed"},{"type":"text","text":" "},{"type":"text","text":"Civil - GRR/AIXC/HIC/YES/01"},{"type":"text","text":"Inspection requested"},{"type":"text","text":"Renard Whatley"},{"type":"text","text":"16-Jul-2026 05:05:07 PM"},{"type":"text","text":"Oqsha Team"}]}]}}}


Osmo-x WhatsApp Message has been Sent


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


Sending push notification [NOTIFICATION_FOR_INSPECTION_CREATION] to user: 2696


Inside SendAppNotification Device Type: APNS


Generating AWS SNS Request


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/APNS/Oqsha-IOS-Production/490c27cc-f606-37e4-9e47-353cae37a1da


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


Push notification was sent to device with id 26427.


App notification history inserted. HistoryId: 224061, UserId: 2696, NotificationType: NEW_INSPECTION_CREATED, ModuleId: 29, ReferenceId: 0


# Push notification sent #


# Checking for device existence #


# User device exists #


App notification history inserted. HistoryId: 224062, UserId: 2696, NotificationType: NEW_INSPECTION_CREATED, ModuleId: 29, ReferenceId: 0


### End Event Execution ###


### Start Event Execution ###


Message : {"EventName":"NOTIFICATION_FOR_INSPECTION_CREATION","EventArgs":[{"Key":"UserIds","Value":"[11330]"},{"Key":"InspectionUID","Value":"I/GLTO/APA/P-A/26/00001"},{"Key":"Name","Value":"65"},{"Key":"Type","Value":"Air Compressor Inspection Checklist"},{"Key":"Organisation","Value":"Galecto Inc."},{"Key":"Site","Value":"Bowers"},{"Key":"Department","Value":" "},{"Key":"Asset","Value":"P&M - APA/AAON/P-A/TEST/01"},{"Key":"Status","Value":"Inspection requested"},{"Key":"CreatedBy","Value":"Nislavonty Toribio"},{"Key":"CreatedOn","Value":"16-Jul-2026 09:24:15 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 user11330


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000003932","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":"Aisling Stinnett"},{"type":"text","text":"I/GLTO/APA/P-A/26/00001"},{"type":"text","text":"65"},{"type":"text","text":"Air Compressor Inspection Checklist"},{"type":"text","text":"Galecto Inc."},{"type":"text","text":"Bowers"},{"type":"text","text":" "},{"type":"text","text":"P&M - APA/AAON/P-A/TEST/01"},{"type":"text","text":"Inspection requested"},{"type":"text","text":"Nislavonty Toribio"},{"type":"text","text":"16-Jul-2026 09:24:15 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: 11330


Inside SendAppNotification Device Type: GCM


Generating AWS SNS Request


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/07c0e29c-730c-3c68-bde0-4efe4e64ae9c


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

You have a pending signature for inspection I/GLTO/APA/P-A/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 866.


Push notification was sent to device with id 20542.


App notification history inserted. HistoryId: 224063, UserId: 11330, NotificationType: NEW_INSPECTION_CREATED, ModuleId: 29, ReferenceId: 0


# Push notification sent #


# Checking for device existence #


# User device exists #


App notification history inserted. HistoryId: 224064, UserId: 11330, 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 initiator20660


Osmo-x WhatsApp Message has been Sent


# Preparing notification body #


Message : {"EventName":"NOTIFICATION_FOR_INSPECTION_ASSIGNEES","EventArgs":[{"Key":"UserIds","Value":"[11165,11166]"},{"Key":"InspectionUID","Value":"I/KURA/BHA/WII/26/00001"},{"Key":"Name","Value":"EOT CRANE INSPECTION and Lifting Appliances   "},{"Key":"Type","Value":"Weekly Inspections"},{"Key":"Site","Value":"Hickory Grove"},{"Key":"Status","Value":"Planned"},{"Key":"CreatedBy","Value":"System User"},{"Key":"CreatedOn","Value":"17-Jul-2026 05:30:57 PM"},{"Key":"InspectionId","Value":"35351"},{"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/WII/26/00001"},{"type":"text","text":"EOT CRANE INSPECTION and Lifting Appliances   "},{"type":"text","text":"Weekly Inspections"},{"type":"text","text":"Hickory Grove"},{"type":"text","text":"System User"},{"type":"text","text":"17-Jul-2026 05:30:57 PM"},{"type":"text","text":"Planned"},{"type":"text","text":"https://oqsha.com/#/inspection/view/35351?dlType=viewInspection&orgID=258"},{"type":"text","text":"Oqsha Team"}]}]}}}


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/WII/26/00001 - A new inspection has been assigned to you


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


--- Email response from Osmo-x is 201


Sending Inspection Assignee WhatsApp notification to user:11166


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000001136","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":"Quint Pizano"},{"type":"text","text":"I/KURA/BHA/WII/26/00001"},{"type":"text","text":"EOT CRANE INSPECTION and Lifting Appliances   "},{"type":"text","text":"Weekly Inspections"},{"type":"text","text":"Hickory Grove"},{"type":"text","text":"System User"},{"type":"text","text":"17-Jul-2026 05:30:57 PM"},{"type":"text","text":"Planned"},{"type":"text","text":"https://oqsha.com/#/inspection/view/35351?dlType=viewInspection&orgID=258"},{"type":"text","text":"Oqsha Team"}]}]}}}


Osmo-x WhatsApp Message has been Sent


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


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


Inside SendAppNotification Device Type: GCM


Generating AWS SNS Request


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/ba8eafe0-4805-3af4-b596-1e7c0ee698f5


Inspection Assigned: EOT CRANE INSPECTION and Lifting Appliances

Inspection with UID I/KURA/BHA/WII/26/00001 has been assigned to you in the site Hickory Grove


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


Push notification was sent to device with id 17171.


App notification history inserted. HistoryId: 224065, UserId: 11166, NotificationType: NEW_INSPECTION_CREATED, ModuleId: 29, ReferenceId: 35351


# Push notification sent #


App notification history inserted. HistoryId: 224066, UserId: 11166, NotificationType: NEW_INSPECTION_CREATED, ModuleId: 29, ReferenceId: 35351


App notification history inserted. HistoryId: 224067, UserId: 11166, NotificationType: NEW_INSPECTION_CREATED, ModuleId: 29, ReferenceId: 35351


### End Event Execution ###


### Start Event Execution ###


Message : {"EventName":"NOTIFICATION_FOR_INSPECTION_ASSIGNEES","EventArgs":[{"Key":"UserIds","Value":"[11167]"},{"Key":"InspectionUID","Value":"I/KURA/TGH/DII/26/00001"},{"Key":"Name","Value":"Plant Daily Inspection"},{"Key":"Type","Value":"Daily Inspections"},{"Key":"Site","Value":"Old Orchard"},{"Key":"Status","Value":"Planned"},{"Key":"CreatedBy","Value":"System User"},{"Key":"CreatedOn","Value":"17-Jul-2026 05:30:57 PM"},{"Key":"InspectionId","Value":"35352"},{"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:11167


Osmo-x WhatsApp Message has been Sent


Sending Inspection Assignee creation 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 Assigned: I/KURA/TGH/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_ASSIGNEES","EventArgs":[{"Key":"UserIds","Value":"[11165]"},{"Key":"InspectionUID","Value":"I/KURA/BHA/DII/26/00001"},{"Key":"Name","Value":"Plant Daily Inspection"},{"Key":"Type","Value":"Daily Inspections"},{"Key":"Site","Value":"Hickory Grove"},{"Key":"Status","Value":"Planned"},{"Key":"CreatedBy","Value":"System User"},{"Key":"CreatedOn","Value":"17-Jul-2026 05:30:57 PM"},{"Key":"InspectionId","Value":"35353"},{"Key":"OrganisationId","Value":258}]}


Sending Inspection Assignee WhatsApp notification to user:11165


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


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


Message : {"EventName":"NOTIFICATION_FOR_INSPECTION_ASSIGNEES","EventArgs":[{"Key":"UserIds","Value":"[11139]"},{"Key":"InspectionUID","Value":"I/KURA/FD2/DII/26/00001"},{"Key":"Name","Value":"Plant Daily Inspection"},{"Key":"Type","Value":"Daily Inspections"},{"Key":"Site","Value":"Carson Valley"},{"Key":"Status","Value":"Planned"},{"Key":"CreatedBy","Value":"System User"},{"Key":"CreatedOn","Value":"17-Jul-2026 05:30:57 PM"},{"Key":"InspectionId","Value":"35354"},{"Key":"OrganisationId","Value":258}]}


Sending Inspection Assignee WhatsApp notification to user:11139


Osmo-x WhatsApp Message has been Sent


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


Initializing Email Service Client


Generating Email Request


Inspection Assigned: I/KURA/FD2/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 #


# Checking for device existence #


# User device exists #


Sending Assigned To Notification for Inspection Id:35354


Inside SendAppNotification Device Type: GCM


Generating AWS SNS Request


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/0675b795-f420-3121-9417-0cea2cac8f5e


Inspection Assigned: Plant Daily Inspection

Inspection with UID I/KURA/FD2/DII/26/00001 has been assigned to you in the site Carson Valley


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


Push notification was sent to device with id 17138.


App notification history inserted. HistoryId: 224068, UserId: 11139, NotificationType: NEW_INSPECTION_CREATED, ModuleId: 29, ReferenceId: 35354


# Push notification sent #


App notification history inserted. HistoryId: 224069, UserId: 11139, NotificationType: NEW_INSPECTION_CREATED, ModuleId: 29, ReferenceId: 35354


App notification history inserted. HistoryId: 224070, UserId: 11139, NotificationType: NEW_INSPECTION_CREATED, ModuleId: 29, ReferenceId: 35354


### End Event Execution ###


### Start Event Execution ###


Message : {"EventName":"NOTIFICATION_FOR_INSPECTION_ASSIGNEES","EventArgs":[{"Key":"UserIds","Value":"[11167]"},{"Key":"InspectionUID","Value":"I/KURA/FD1/DII/26/00001"},{"Key":"Name","Value":"Sand plant"},{"Key":"Type","Value":"Daily Inspections"},{"Key":"Site","Value":"Morgan's Point Resort"},{"Key":"Status","Value":"Planned"},{"Key":"CreatedBy","Value":"System User"},{"Key":"CreatedOn","Value":"17-Jul-2026 05:30:57 PM"},{"Key":"InspectionId","Value":"35355"},{"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:11167


Osmo-x WhatsApp Message has been Sent


Sending Inspection Assignee creation 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 Assigned: I/KURA/FD1/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 ###


Sending Inspection Assignee WhatsApp notification to user:881


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


Inspection Assigned: I/GRRR/NAS/L-C/26/00004 - A new inspection has been assigned to you


# Checking for device existence #


# User device exists #


Sending Assigned To Notification for Inspection Id:35362


Inside SendAppNotification Device Type: GCM


Generating AWS SNS Request


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


Inspection Assigned: 241

Inspection with UID I/GRRR/NAS/L-C/26/00004 has been assigned to you in the site Parkerfield


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


Push notification was sent to device with id 26471.


App notification history inserted. HistoryId: 224071, UserId: 881, NotificationType: NEW_INSPECTION_CREATED, ModuleId: 29, ReferenceId: 35362


# Push notification sent #


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


Inspection Assigned: 241


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.


# Checking for device existence #


# User device exists #


App notification history inserted. HistoryId: 224072, UserId: 881, NotificationType: NEW_INSPECTION_CREATED, ModuleId: 29, ReferenceId: 35362


App notification history inserted. HistoryId: 224073, UserId: 881, NotificationType: NEW_INSPECTION_CREATED, ModuleId: 29, ReferenceId: 35362


Generating AWS SNS Request


### End Event Execution ###


### Start Event Execution ###


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


Osmo-x WhatsApp Message has been Sent


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


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


Reading and binding data to Email Template


Initializing Email Service Client


Generating Email Request


Inspection Assigned: I/GRRR/NAS/F-C/26/00004 - 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:35363


Inside SendAppNotification Device Type: APNS


Generating AWS SNS Request


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/APNS/Oqsha-IOS-Production/79b6c09e-b374-36dd-b29f-7a721b97aff7


Inspection Assigned: Filler

Inspection with UID I/GRRR/NAS/F-C/26/00004 has been assigned to you in the site Parkerfield


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


Push notification was sent to device with id 26198.


App notification history inserted. HistoryId: 224074, UserId: 678, NotificationType: NEW_INSPECTION_CREATED, ModuleId: 29, ReferenceId: 35363


# Push notification sent #


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/APNS/Oqsha-IOS-Production/9b75810f-ab93-3f72-85ed-856c5ba2d893


Inspection Assigned: Filler


Push notification was sent to device with id 26926.


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


# Checking for device existence #


# User device exists #


Inside SendAppNotification Device Type: GCM


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Test/a6b80a21-5c7f-3a7d-a2fb-b8472cacaa0e


Push notification was sent to device with id 27053.


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


Generating AWS SNS Request


App notification history inserted. HistoryId: 224075, UserId: 678, NotificationType: NEW_INSPECTION_CREATED, ModuleId: 29, ReferenceId: 35363


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


Sending Assigned To Notification for Inspection Id:35363


Inside SendAppNotification Device Type: APNS


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/APNS/Oqsha-IOS-Production/79b6c09e-b374-36dd-b29f-7a721b97aff7


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


Push notification was sent to device with id 26198.


App notification history inserted. HistoryId: 224076, UserId: 678, NotificationType: NEW_INSPECTION_CREATED, ModuleId: 29, ReferenceId: 35363


# Push notification sent #


# Checking for device existence #


# User device exists #


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/APNS/Oqsha-IOS-Production/9b75810f-ab93-3f72-85ed-856c5ba2d893


Inspection Assigned: Filler


Push notification was sent to device with id 26926.


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


Inside SendAppNotification Device Type: GCM


Generating AWS SNS Request


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Test/a6b80a21-5c7f-3a7d-a2fb-b8472cacaa0e


Push notification was sent to device with id 27053.


Skipping notification history insertion for DeviceId: 27053, UserId: 678. 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_ASSIGNEES ###


# Calling SendNotificationForInspectionCreation function for whatsapp and push notification #


Sending Inspection Assignee WhatsApp notification to user:881


Osmo-x WhatsApp Message has been Sent


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


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


Reading and binding data to Email Template


Initializing Email Service Client


Generating Email Request


Inspection Assigned: I/GRRR/NAS/L-C/26/00005 - 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:35364


Generating AWS SNS Request


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


Inspection Assigned: 241

Inspection with UID I/GRRR/NAS/L-C/26/00005 has been assigned to you in the site Parkerfield


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


Push notification was sent to device with id 26471.


App notification history inserted. HistoryId: 224077, UserId: 881, NotificationType: NEW_INSPECTION_CREATED, ModuleId: 29, ReferenceId: 35364


# Push notification sent #


Inside SendAppNotification Device Type: GCM


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


Inspection Assigned: 241


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.


# Checking for device existence #


# User device exists #


App notification history inserted. HistoryId: 224078, UserId: 881, NotificationType: NEW_INSPECTION_CREATED, ModuleId: 29, ReferenceId: 35364


Generating AWS SNS Request


App notification history inserted. HistoryId: 224079, UserId: 881, NotificationType: NEW_INSPECTION_CREATED, ModuleId: 29, ReferenceId: 35364


### End Event Execution ###


### Start Event Execution ###


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


Osmo-x WhatsApp Message has been Sent


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


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


Reading and binding data to Email Template


Initializing Email Service Client


Generating Email Request


Inspection Assigned: I/GRRR/NAS/F-C/26/00005 - 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) #


Sending Inspection Assignee WhatsApp notification to user:678


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


Inspection Assigned: I/GRRR/NAS/F-C/26/00006 - A new inspection has been assigned to you


# Checking for device existence #


# User device exists #


Sending Assigned To Notification for Inspection Id:35366


Inside SendAppNotification Device Type: APNS


Generating AWS SNS Request


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/APNS/Oqsha-IOS-Production/79b6c09e-b374-36dd-b29f-7a721b97aff7


Inspection Assigned: Filler

Inspection with UID I/GRRR/NAS/F-C/26/00006 has been assigned to you in the site Parkerfield


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


Push notification was sent to device with id 26198.


App notification history inserted. HistoryId: 224080, UserId: 678, NotificationType: NEW_INSPECTION_CREATED, ModuleId: 29, ReferenceId: 35366


# Push notification sent #


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/APNS/Oqsha-IOS-Production/9b75810f-ab93-3f72-85ed-856c5ba2d893


Inspection Assigned: Filler


Push notification was sent to device with id 26926.


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


# Checking for device existence #


# User device exists #


Inside SendAppNotification Device Type: GCM


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Test/a6b80a21-5c7f-3a7d-a2fb-b8472cacaa0e


Push notification was sent to device with id 27053.


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


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


Generating AWS SNS Request


App notification history inserted. HistoryId: 224081, UserId: 678, NotificationType: NEW_INSPECTION_CREATED, ModuleId: 29, ReferenceId: 35366


Sending Assigned To Notification for Inspection Id:35366


Inside SendAppNotification Device Type: APNS


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/APNS/Oqsha-IOS-Production/79b6c09e-b374-36dd-b29f-7a721b97aff7


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


Push notification was sent to device with id 26198.


App notification history inserted. HistoryId: 224082, UserId: 678, NotificationType: NEW_INSPECTION_CREATED, ModuleId: 29, ReferenceId: 35366


# Push notification sent #


# Checking for device existence #


# User device exists #


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/APNS/Oqsha-IOS-Production/9b75810f-ab93-3f72-85ed-856c5ba2d893


Inspection Assigned: Filler


Push notification was sent to device with id 26926.


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


Inside SendAppNotification Device Type: GCM


Generating AWS SNS Request


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Test/a6b80a21-5c7f-3a7d-a2fb-b8472cacaa0e


Push notification was sent to device with id 27053.


Skipping notification history insertion for DeviceId: 27053, UserId: 678. 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_ASSIGNEES ###


# Calling SendNotificationForInspectionCreation function for whatsapp and push notification #


Sending Inspection Assignee WhatsApp notification to user:881


Osmo-x WhatsApp Message has been Sent


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


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


Reading and binding data to Email Template


Initializing Email Service Client


Generating Email Request


Inspection Assigned: I/GRRR/NAS/F-C/26/00007 - 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:35367


Generating AWS SNS Request


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


Inspection Assigned: 237

Inspection with UID I/GRRR/NAS/F-C/26/00007 has been assigned to you in the site Parkerfield


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


Push notification was sent to device with id 26471.


App notification history inserted. HistoryId: 224083, UserId: 881, NotificationType: NEW_INSPECTION_CREATED, ModuleId: 29, ReferenceId: 35367


# Push notification sent #


Inside SendAppNotification Device Type: GCM


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


Inspection Assigned: 237


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.


# Checking for device existence #


# User device exists #


App notification history inserted. HistoryId: 224084, UserId: 881, NotificationType: NEW_INSPECTION_CREATED, ModuleId: 29, ReferenceId: 35367


Generating AWS SNS Request


App notification history inserted. HistoryId: 224085, UserId: 881, NotificationType: NEW_INSPECTION_CREATED, ModuleId: 29, ReferenceId: 35367


### End Event Execution ###


### Start Event Execution ###


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


Osmo-x WhatsApp Message has been Sent


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


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


Reading and binding data to Email Template


Initializing Email Service Client


Generating Email Request


Inspection Assigned: I/GRRR/NAS/L-C/26/00006 - 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:35368


Generating AWS SNS Request


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


Inspection Assigned: Labeller

Inspection with UID I/GRRR/NAS/L-C/26/00006 has been assigned to you in the site Parkerfield


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


Push notification was sent to device with id 26471.


App notification history inserted. HistoryId: 224086, UserId: 881, NotificationType: NEW_INSPECTION_CREATED, ModuleId: 29, ReferenceId: 35368


# Push notification sent #


Inside SendAppNotification Device Type: GCM


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


Inspection Assigned: Labeller


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.


# Checking for device existence #


# User device exists #


App notification history inserted. HistoryId: 224087, UserId: 881, NotificationType: NEW_INSPECTION_CREATED, ModuleId: 29, ReferenceId: 35368


Generating AWS SNS Request


App notification history inserted. HistoryId: 224088, UserId: 881, NotificationType: NEW_INSPECTION_CREATED, ModuleId: 29, ReferenceId: 35368


### End Event Execution ###


### Start Event Execution ###


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


Osmo-x WhatsApp Message has been Sent


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


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


Reading and binding data to Email Template


Initializing Email Service Client


Generating Email Request


Inspection Assigned: I/GRRR/NAS/F-C/26/00008 - 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:35369


Inside SendAppNotification Device Type: APNS


Generating AWS SNS Request


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/APNS/Oqsha-IOS-Production/79b6c09e-b374-36dd-b29f-7a721b97aff7


Inspection Assigned: Filler

Inspection with UID I/GRRR/NAS/F-C/26/00008 has been assigned to you in the site Parkerfield


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


Push notification was sent to device with id 26198.


App notification history inserted. HistoryId: 224089, UserId: 678, NotificationType: NEW_INSPECTION_CREATED, ModuleId: 29, ReferenceId: 35369


# Push notification sent #


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/APNS/Oqsha-IOS-Production/9b75810f-ab93-3f72-85ed-856c5ba2d893


Inspection Assigned: Filler


Push notification was sent to device with id 26926.


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


# Checking for device existence #


# User device exists #


Inside SendAppNotification Device Type: GCM


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Test/a6b80a21-5c7f-3a7d-a2fb-b8472cacaa0e


Push notification was sent to device with id 27053.


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


Generating AWS SNS Request


App notification history inserted. HistoryId: 224090, UserId: 678, NotificationType: NEW_INSPECTION_CREATED, ModuleId: 29, ReferenceId: 35369


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


Sending Assigned To Notification for Inspection Id:35369


Inside SendAppNotification Device Type: APNS


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/APNS/Oqsha-IOS-Production/79b6c09e-b374-36dd-b29f-7a721b97aff7


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


Push notification was sent to device with id 26198.


App notification history inserted. HistoryId: 224091, UserId: 678, NotificationType: NEW_INSPECTION_CREATED, ModuleId: 29, ReferenceId: 35369


# Push notification sent #


# Checking for device existence #


# User device exists #


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/APNS/Oqsha-IOS-Production/9b75810f-ab93-3f72-85ed-856c5ba2d893


Inspection Assigned: Filler


Push notification was sent to device with id 26926.


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


Inside SendAppNotification Device Type: GCM


Generating AWS SNS Request


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Test/a6b80a21-5c7f-3a7d-a2fb-b8472cacaa0e


Push notification was sent to device with id 27053.


Skipping notification history insertion for DeviceId: 27053, UserId: 678. 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_ASSIGNEES ###


# Calling SendNotificationForInspectionCreation function for whatsapp and push notification #


Sending Inspection Assignee WhatsApp notification to user:678


Osmo-x WhatsApp Message has been Sent


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


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


Reading and binding data to Email Template


Initializing Email Service Client


Generating Email Request


Inspection Assigned: I/PRLD/BEN/ATT/26/00003 - 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:35370


Inside SendAppNotification Device Type: APNS


Generating AWS SNS Request


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/APNS/Oqsha-IOS-Production/79b6c09e-b374-36dd-b29f-7a721b97aff7


Inspection Assigned: TEST

Inspection with UID I/PRLD/BEN/ATT/26/00003 has been assigned to you in the site Auburndale


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


Push notification was sent to device with id 26198.


App notification history inserted. HistoryId: 224092, UserId: 678, NotificationType: NEW_INSPECTION_CREATED, ModuleId: 29, ReferenceId: 35370


# Push notification sent #


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/APNS/Oqsha-IOS-Production/9b75810f-ab93-3f72-85ed-856c5ba2d893


Inspection Assigned: TEST


Push notification was sent to device with id 26926.


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


# Checking for device existence #


# User device exists #


Inside SendAppNotification Device Type: GCM


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Test/a6b80a21-5c7f-3a7d-a2fb-b8472cacaa0e


Push notification was sent to device with id 27053.


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


Generating AWS SNS Request


App notification history inserted. HistoryId: 224093, UserId: 678, NotificationType: NEW_INSPECTION_CREATED, ModuleId: 29, ReferenceId: 35370


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


Sending Assigned To Notification for Inspection Id:35370


Inside SendAppNotification Device Type: APNS


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/APNS/Oqsha-IOS-Production/79b6c09e-b374-36dd-b29f-7a721b97aff7


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


Push notification was sent to device with id 26198.


App notification history inserted. HistoryId: 224094, UserId: 678, NotificationType: NEW_INSPECTION_CREATED, ModuleId: 29, ReferenceId: 35370


# Push notification sent #


# Checking for device existence #


# User device exists #


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/APNS/Oqsha-IOS-Production/9b75810f-ab93-3f72-85ed-856c5ba2d893


Inspection Assigned: TEST


Push notification was sent to device with id 26926.


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


Inside SendAppNotification Device Type: GCM


Generating AWS SNS Request


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Test/a6b80a21-5c7f-3a7d-a2fb-b8472cacaa0e


Push notification was sent to device with id 27053.


Skipping notification history insertion for DeviceId: 27053, UserId: 678. 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_ASSIGNEES ###


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


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


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


Reading and binding data to Email Template


Initializing Email Service Client


Generating Email Request


Inspection Flow Completed for I/KURA/PRS/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 initiator1202


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


Generating AWS SNS Request


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/79a88654-4a6b-355f-86c9-990ce6846351


Inspection Completed: sdsfxcxc

Inspection Flow Completed for I/KURA/PRS/DII/26/00001 in the site Springville


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


Push notification was sent to device with id 22059.


App notification history inserted. HistoryId: 224095, UserId: 1202, NotificationType: INSPECTION_COMPLETED, ModuleId: 29, ReferenceId: 35550


# Push notification sent #


### End Event Execution ###


### Start Event Execution ###


Initializing Email Service Client


Generating Email Request


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


--- Email response from Osmo-x is 201


Osmo-x WhatsApp Message has been Sent


# Preparing notification body #


# Checking for device existence #


# User device exists #


Inside SendAppNotification Device Type: GCM


Generating AWS SNS Request


Inspection Completed: sdsfxcxc


App notification history inserted. HistoryId: 224096, UserId: 1202, NotificationType: INSPECTION_COMPLETED, ModuleId: 29, ReferenceId: 35550


Message : {"EventName":"NOTIFICATION_FOR_INSPECTION_ASSIGNEES","EventArgs":[{"Key":"UserIds","Value":"[11167]"},{"Key":"InspectionUID","Value":"I/KURA/TGH/DII/26/00001"},{"Key":"Name","Value":"Plant Daily Inspection"},{"Key":"Type","Value":"Daily Inspections"},{"Key":"Site","Value":"Old Orchard"},{"Key":"Status","Value":"Planned"},{"Key":"CreatedBy","Value":"System User"},{"Key":"CreatedOn","Value":"20-Jul-2026 05:30:57 PM"},{"Key":"InspectionId","Value":"35553"},{"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:11167


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


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


Reading and binding data to Email Template


Initializing Email Service Client


Generating Email Request


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


--- Email response from Osmo-x is 201


# Preparing notification body #


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


### End Event Execution ###


### Start Event Execution ###