## Sending Inspection WhatsApp Next Due Date Notification | UserId: 9721 | Inspection: I/GLTO/GRR/FBI/26/00006 ##


Osmo-x WhatsApp Message has been Sent


## Sending Inspection WhatsApp Next Due Date Notification | UserId: 9721 | Inspection: I/GLTO/GRR/FBI/26/00008 ##


## Sending Inspection WhatsApp Next Due Date Notification | UserId: 2940 | Inspection: I/GLTO/APA/P-T/26/00001 ##


## Sending Inspection WhatsApp Next Due Date Notification | UserId: 2622 | Inspection: I/GLTO/GRR/PDP/26/00001 ##


## Sending Inspection WhatsApp Next Due Date Notification | UserId: 2622 | Inspection: I/GLTO/GRR/PDP/26/00002 ##


## Sending Inspection WhatsApp Next Due Date Notification | UserId: 2622 | Inspection: I/GLTO/GRR/PDP/26/00003 ##


## Sending Inspection WhatsApp Next Due Date Notification | UserId: 2622 | Inspection: I/GLTO/GRR/DGI/26/00001 ##


## Sending Inspection WhatsApp Next Due Date Notification | UserId: 2622 | Inspection: I/GLTO/GRR/DGI/26/00002 ##


## Sending Inspection WhatsApp Next Due Date Notification | UserId: 3776 | Inspection: I/GLTO/GRR/PDP/26/00001 ##


## Sending Inspection WhatsApp Next Due Date Notification | UserId: 1837 | Inspection: I/GLTO/GRR/PDP/26/00002 ##


## Sending Inspection WhatsApp Next Due Date Notification | UserId: 1837 | Inspection: I/GLTO/GRR/DGI/26/00001 ##


## Sending Inspection WhatsApp Next Due Date Notification | UserId: 1837 | Inspection: I/GLTO/GRR/DGI/26/00002 ##


## Sending Inspection WhatsApp Next Due Date Notification | UserId: 10760 | Inspection: I/GLTO/APA/P-T/26/00002 ##


## Sending Inspection WhatsApp Next Due Date Notification | UserId: 2935 | Inspection: I/GLTO/APA/P-T/26/00002 ##


## Sending Inspection WhatsApp Next Due Date Notification | UserId: 10691 | Inspection: I/GLTO/APA/DMI/26/00001 ##


## Sending Inspection WhatsApp Next Due Date Notification | UserId: 10691 | Inspection: I/GLTO/APA/CM//26/00001 ##


## Sending Inspection WhatsApp Next Due Date Notification | UserId: 10691 | Inspection: I/GLTO/APA/AGI/26/00001 ##


Osmo-x WhatsApp Message has been Sent


## Sending Inspection WhatsApp Next Due Date Notification | UserId: 10691 | Inspection: I/GLTO/APA/LIC/26/00001 ##


## Sending Inspection WhatsApp Next Due Date Notification | UserId: 10691 | Inspection: I/GLTO/APA/LIC/26/00002 ##


## Sending Inspection WhatsApp Next Due Date Notification | UserId: 10691 | Inspection: I/GLTO/APA/LIC/26/00003 ##


## Sending Inspection WhatsApp Next Due Date Notification | UserId: 10691 | Inspection: I/GLTO/APA/LIC/26/00004 ##


## Sending Inspection WhatsApp Next Due Date Notification | UserId: 10691 | Inspection: I/GLTO/APA/LIC/26/00005 ##


## Sending Inspection WhatsApp Next Due Date Notification | UserId: 10691 | Inspection: I/GLTO/APA/AGI/26/00002 ##


## Sending Inspection WhatsApp Next Due Date Notification | UserId: 10691 | Inspection: I/GLTO/APA/CM//26/00002 ##


## Sending Inspection WhatsApp Next Due Date Notification | UserId: 10691 | Inspection: I/GLTO/APA/DMI/26/00002 ##


## Sending Inspection WhatsApp Next Due Date Notification | UserId: 10691 | Inspection: I/GLTO/APA/LIC/26/00006 ##


## Sending Inspection WhatsApp Next Due Date Notification | UserId: 10691 | Inspection: I/GLTO/APA/LIC/26/00007 ##


## Sending Inspection WhatsApp Next Due Date Notification | UserId: 10691 | Inspection: I/GLTO/APA/LIC/26/00008 ##


## Sending Inspection WhatsApp Next Due Date Notification | UserId: 10691 | Inspection: I/GLTO/APA/LIC/26/00009 ##


## Sending Inspection WhatsApp Next Due Date Notification | UserId: 10691 | Inspection: I/GLTO/APA/LIC/26/00010 ##


## Sending Inspection WhatsApp Next Due Date Notification | UserId: 10691 | Inspection: I/GLTO/APA/DFE/26/00001 ##


## Sending Inspection WhatsApp Next Due Date Notification | UserId: 3875 | Inspection: I/GLTO/APA/DMI/26/00001 ##


## Sending Inspection WhatsApp Next Due Date Notification | UserId: 3875 | Inspection: I/GLTO/APA/CM//26/00001 ##


Osmo-x WhatsApp Message has been Sent


## Sending Inspection WhatsApp Next Due Date Notification | UserId: 3875 | Inspection: I/GLTO/APA/AGI/26/00001 ##


## Sending Inspection WhatsApp Next Due Date Notification | UserId: 3875 | Inspection: I/GLTO/APA/LIC/26/00001 ##


## Sending Inspection WhatsApp Next Due Date Notification | UserId: 3875 | Inspection: I/GLTO/APA/LIC/26/00002 ##


## Sending Inspection WhatsApp Next Due Date Notification | UserId: 3875 | Inspection: I/GLTO/APA/LIC/26/00003 ##


## Sending Inspection WhatsApp Next Due Date Notification | UserId: 3875 | Inspection: I/GLTO/APA/LIC/26/00004 ##


## Sending Inspection WhatsApp Next Due Date Notification | UserId: 3875 | Inspection: I/GLTO/APA/LIC/26/00005 ##


## Sending Inspection WhatsApp Next Due Date Notification | UserId: 2006 | Inspection: I/GLTO/GRA/CMI/26/00001 ##


## Sending Inspection WhatsApp Next Due Date Notification | UserId: 5581 | Inspection: I/GLTO/GRA/CMI/26/00001 ##


## Sending Inspection WhatsApp Next Due Date Notification | UserId: 4199 | Inspection: I/GLTO/AVA/AIC/26/00001 ##


## Sending Inspection WhatsApp Next Due Date Notification | UserId: 4199 | Inspection: I/GLTO/AVA/SCC/26/00001 ##


## Sending Inspection WhatsApp Next Due Date Notification | UserId: 4199 | Inspection: I/GLTO/AVA/SCC/26/00002 ##


## Sending Inspection WhatsApp Next Due Date Notification | UserId: 3891 | Inspection: I/GLTO/AVA/AIC/26/00001 ##


## Sending Inspection WhatsApp Next Due Date Notification | UserId: 3891 | Inspection: I/GLTO/AVA/SCC/26/00001 ##


## Sending Inspection WhatsApp Next Due Date Notification | UserId: 3891 | Inspection: I/GLTO/AVA/SCC/26/00002 ##


## Sending Inspection WhatsApp Next Due Date Notification | UserId: 6181 | Inspection: I/GLTO/GRR/AGI/26/00004 ##


## Sending Inspection WhatsApp Next Due Date Notification | UserId: 12480 | Inspection: I/GLTO/GRR/MSI/26/00001 ##


Osmo-x WhatsApp Message has been Sent


## Sending Inspection WhatsApp Next Due Date Notification | UserId: 9092 | Inspection: I/GLTO/GRR/MSI/26/00001 ##


## Sending Inspection WhatsApp Next Due Date Notification | UserId: 13738 | Inspection: I/GLTO/UDY/BCI/26/00001 ##


## Sending Inspection WhatsApp Next Due Date Notification | UserId: 11855 | Inspection: I/GLTO/UDY/BCI/26/00001 ##


## Sending Inspection WhatsApp Next Due Date Notification | UserId: 6639 | Inspection: I/GLTO/VIP/CSI/26/00001 ##


## Sending Inspection WhatsApp Next Due Date Notification | UserId: 6639 | Inspection: I/GLTO/VIP/CSI/26/00002 ##


## Sending Inspection WhatsApp Next Due Date Notification | UserId: 6639 | Inspection: I/GLTO/VIP/AGI/26/00024 ##


## Sending Inspection WhatsApp Next Due Date Notification | UserId: 6639 | Inspection: I/GLTO/VIP/AGI/26/00025 ##


## Sending Inspection WhatsApp Next Due Date Notification | UserId: 6639 | Inspection: I/GLTO/VIP/AGI/26/00026 ##


## Sending Inspection WhatsApp Next Due Date Notification | UserId: 6639 | Inspection: I/GLTO/VIP/FBH/26/00001 ##


## Sending Inspection WhatsApp Next Due Date Notification | UserId: 6639 | Inspection: I/GLTO/VIP/CM//26/00008 ##


## Sending Inspection WhatsApp Next Due Date Notification | UserId: 6639 | Inspection: I/GLTO/VIP/AGI/26/00027 ##


## Sending Inspection WhatsApp Next Due Date Notification | UserId: 6639 | Inspection: I/GLTO/VIP/AGI/26/00028 ##


## Sending Inspection WhatsApp Next Due Date Notification | UserId: 6639 | Inspection: I/GLTO/VIP/AGI/26/00029 ##


## Sending Inspection WhatsApp Next Due Date Notification | UserId: 6639 | Inspection: I/GLTO/VIP/AGI/26/00030 ##


## Sending Inspection WhatsApp Next Due Date Notification | UserId: 6639 | Inspection: I/GLTO/VIP/AGI/26/00031 ##


## Sending Inspection WhatsApp Next Due Date Notification | UserId: 6639 | Inspection: I/GLTO/VIP/AGI/26/00032 ##


Osmo-x WhatsApp Message has been Sent


## Sending Inspection WhatsApp Next Due Date Notification | UserId: 6639 | Inspection: I/GLTO/VIP/AGI/26/00033 ##


## Sending Inspection WhatsApp Next Due Date Notification | UserId: 6639 | Inspection: I/GLTO/VIP/AGI/26/00034 ##


## Sending Inspection WhatsApp Next Due Date Notification | UserId: 6639 | Inspection: I/GLTO/VIP/CM//26/00009 ##


## Sending Inspection WhatsApp Next Due Date Notification | UserId: 6639 | Inspection: I/GLTO/VIP/CM//26/00010 ##


## Sending Inspection WhatsApp Next Due Date Notification | UserId: 6639 | Inspection: I/GLTO/VIP/AGI/26/00035 ##


## Sending Inspection WhatsApp Next Due Date Notification | UserId: 6639 | Inspection: I/GLTO/VIP/AGI/26/00036 ##


## Sending Inspection WhatsApp Next Due Date Notification | UserId: 6639 | Inspection: I/GLTO/VIP/AGI/26/00037 ##


## Sending Inspection WhatsApp Next Due Date Notification | UserId: 6639 | Inspection: I/GLTO/VIP/AGI/26/00038 ##


## Sending Inspection WhatsApp Next Due Date Notification | UserId: 6639 | Inspection: I/GLTO/VIP/AGI/26/00039 ##


## Sending Inspection WhatsApp Next Due Date Notification | UserId: 6639 | Inspection: I/GLTO/VIP/AGI/26/00040 ##


## Sending Inspection WhatsApp Next Due Date Notification | UserId: 3788 | Inspection: I/GLTO/VIP/CSI/26/00002 ##


## Sending Inspection WhatsApp Next Due Date Notification | UserId: 3788 | Inspection: I/GLTO/VIP/AGI/26/00024 ##


## Sending Inspection WhatsApp Next Due Date Notification | UserId: 3788 | Inspection: I/GLTO/VIP/AGI/26/00025 ##


## Sending Inspection WhatsApp Next Due Date Notification | UserId: 3788 | Inspection: I/GLTO/VIP/AGI/26/00026 ##


## Sending Inspection WhatsApp Next Due Date Notification | UserId: 3788 | Inspection: I/GLTO/VIP/CM//26/00008 ##


## Sending Inspection WhatsApp Next Due Date Notification | UserId: 3788 | Inspection: I/GLTO/VIP/AGI/26/00027 ##


Osmo-x WhatsApp Message has been Sent


## Sending Inspection WhatsApp Next Due Date Notification | UserId: 3788 | Inspection: I/GLTO/VIP/AGI/26/00028 ##


## Sending Inspection WhatsApp Next Due Date Notification | UserId: 3788 | Inspection: I/GLTO/VIP/AGI/26/00031 ##


## Sending Inspection WhatsApp Next Due Date Notification | UserId: 3788 | Inspection: I/GLTO/VIP/AGI/26/00032 ##


## Sending Inspection WhatsApp Next Due Date Notification | UserId: 3788 | Inspection: I/GLTO/VIP/CM//26/00009 ##


## Sending Inspection WhatsApp Next Due Date Notification | UserId: 3788 | Inspection: I/GLTO/VIP/CM//26/00010 ##


## Sending Inspection WhatsApp Next Due Date Notification | UserId: 3788 | Inspection: I/GLTO/VIP/AGI/26/00036 ##


## Sending Inspection WhatsApp Next Due Date Notification | UserId: 3788 | Inspection: I/GLTO/VIP/AGI/26/00038 ##


### End Event Execution ###


### Start Event Execution ###


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


# Calling SendNotificationForWorkPermitCreation function for email/WhatsApp #


Executing email and WhatsApp notifications to WorkPermit approvers


Sending WorkPermit creation email to: osm07940@osmosys.co


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


Reading and binding data to Email Template


Initializing Email Service Client


Generating Email Request


New Work Permit Assigned

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


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


--- Email response from Osmo-x is 201


Sending WorkPermit creation WhatsApp message to: 912000007478


Osmo-x WhatsApp Message has been Sent


# Preparing notification body #


# Fetching devices bypassing preferences (Single System Fallback) #


### End Event Execution ###


### Start Event Execution ###


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


# Calling SendDepartmentInchargeNotificationForWorkPermitCreation function for email/WhatsApp #


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


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


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


Calling SendInformToNotification function for ticket creation


Sending Inform-To WhatsApp for IncidentId: 78448


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000002062","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"oqsha_ticket_inform_to_template_v3","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"Merwin Barnette"},{"type":"text","text":"Safety Alert"},{"type":"text","text":"T/FBYDW/NMM/26/00004"},{"type":"text","text":"t"},{"type":"text","text":"Colver"},{"type":"text","text":"Near Misses"},{"type":"text","text":"Aidan Miley"},{"type":"text","text":"Falcon's Beyond Global Inc. Warrants"},{"type":"text","text":"Open"},{"type":"text","text":"https://sandbox.oqsha.com/#/inct/view/248/78448"},{"type":"text","text":"EHS Department - TTK Prestige Limited"}]}]}}}


Generating Safety Alert report.


Converted to byte file


## Safety Alert Email Sent to Merwin Barnette##


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


Initializing Email Service Client


Generating Email Request


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


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


--- Email response from Osmo-x is 201


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


### End Event Execution ###


### Start Event Execution ###


Message : {"EventName":"Update_USER","EventArgs":[{"Key":"DisplayName","Value":"Stephenie Hoyt"},{"Key":"Password","Value":""},{"Key":"OrganisationName","Value":"Falcon's Beyond Global Inc. Warrants"},{"Key":"UserDivisions","Value":"HSE Suggestion, Near Misses, Unsafe Act, Unsafe Condition"},{"Key":"UserIncidentSites","Value":"Melmore"},{"Key":"OldEmail","Value":""},{"Key":"Email","Value":"TTK_KHA_SITE_EHS@oqsha.com"}]}


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


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


Calling Send Email Function for Update User Email


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


Reading and binding data to Email Template


Your OQSHA Access Has Been Updated


Message : {"EventName":"Update_APP_USER","EventArgs":[{"Key":"DisplayName","Value":"Stephenie Hoyt"},{"Key":"Password","Value":""},{"Key":"OrganisationName","Value":"Falcon's Beyond Global Inc. Warrants"},{"Key":"UserUid","Value":""},{"Key":"UserDivisions","Value":"HSE Suggestion, Near Misses, Unsafe Act, Unsafe Condition"},{"Key":"UserIncidentSites","Value":"Melmore"},{"Key":"Email","Value":"TTK_KHA_SITE_EHS@oqsha.com"},{"Key":"MobileNumber","Value":"+912000009010"}]}


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


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


Initializing Email Service Client


Generating Email Request


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


--- Email response from Osmo-x is 201


Message : {"EventName":"Update_USER","EventArgs":[{"Key":"DisplayName","Value":"Giselle Ray"},{"Key":"Password","Value":""},{"Key":"OrganisationName","Value":"Falcon's Beyond Global Inc. Warrants"},{"Key":"UserDivisions","Value":"HSE Suggestion, Near Misses, Unsafe Act, Unsafe Condition"},{"Key":"UserIncidentSites","Value":"Melmore"},{"Key":"OldEmail","Value":""},{"Key":"Email","Value":"TTK_KHA_MEO@oqsha.com"}]}


### End Event Execution ###


### Start Event Execution ###


Message : {"EventName":"Update_APP_USER","EventArgs":[{"Key":"DisplayName","Value":"Giselle Ray"},{"Key":"Password","Value":""},{"Key":"OrganisationName","Value":"Falcon's Beyond Global Inc. Warrants"},{"Key":"UserUid","Value":""},{"Key":"UserDivisions","Value":"HSE Suggestion, Near Misses, Unsafe Act, Unsafe Condition"},{"Key":"UserIncidentSites","Value":"Melmore"},{"Key":"Email","Value":"TTK_KHA_MEO@oqsha.com"},{"Key":"MobileNumber","Value":"+912000009087"}]}


Message : {"EventName":"Update_USER","EventArgs":[{"Key":"DisplayName","Value":"Hebert Eaton"},{"Key":"Password","Value":""},{"Key":"OrganisationName","Value":"Falcon's Beyond Global Inc. Warrants"},{"Key":"UserDivisions","Value":"Near Misses, Unsafe Act, Unsafe Condition, HSE Suggestion"},{"Key":"UserIncidentSites","Value":"Colver, Eastpoint, Elmore City, Mathiston, Melmore, Washoe Valley"},{"Key":"OldEmail","Value":""},{"Key":"Email","Value":"TTK_Admin@oqsha.com"}]}


Message : {"EventName":"Update_APP_USER","EventArgs":[{"Key":"DisplayName","Value":"Hebert Eaton"},{"Key":"Password","Value":""},{"Key":"OrganisationName","Value":"Falcon's Beyond Global Inc. Warrants"},{"Key":"UserUid","Value":"8919110596"},{"Key":"UserDivisions","Value":"Near Misses, Unsafe Act, Unsafe Condition, HSE Suggestion"},{"Key":"UserIncidentSites","Value":"Colver, Eastpoint, Elmore City, Mathiston, Melmore, Washoe Valley"},{"Key":"Email","Value":"TTK_Admin@oqsha.com"},{"Key":"MobileNumber","Value":"+912000001875"}]}


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


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


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


# Calling SendNotificationToIssuerForCreatingPermitToWork function for whatsapp and push notification #


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


Executing sending notification to issuers through whatsapp


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


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000002453","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"ptw_assigned_to_generic_template_v4","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"P/HUBG/TFX/AIP/CW/26/00001"},{"type":"text","text":"11-Aug-2026"},{"type":"text","text":"Cold work"},{"type":"text","text":"Meadow Oaks"},{"type":"text","text":" "},{"type":"text","text":"Requested by Raleigh Swaney at 10-Aug-2026 07:59:56 PM"},{"type":"text","text":"Issue"},{"type":"text","text":"Ana Osborn"},{"type":"text","text":"https://sandbox.oqsha.com/#/wp/view/207/425941"}]}]}}}


Osmo-x WhatsApp Message has been Sent


Executing sending push notification to the issuers


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


# Preparing notification body #


# Checking for device existence #


# User device exists #


Sending notification for permit to work: 425941


Inside SendAppNotification Device Type: GCM


Generating AWS SNS Request


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


Unauthorized


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


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


Push notification failed to send to a device 24207.


# Push notification did not send #


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


Push notification failed to send to a device 15997.


### End Event Execution ###


### Start Event Execution ###


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


# Calling SendNotificationForPTWHistory function for whatsapp and push notification #


Executing sending notification to reviewer through whatsapp


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


Osmo-x WhatsApp Message has been Sent


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


# Calling SendNotificationToIssuerForCreatingPermitToWork function for whatsapp and push notification #


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


Executing sending notification to issuers through whatsapp


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


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"919999999999","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"ptw_assigned_to_generic_template_v4","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"P/MIRA/FCP/DIBS/HZ/26/00001"},{"type":"text","text":"11-Aug-2026"},{"type":"text","text":"Hazardous Energy Control"},{"type":"text","text":"Rio"},{"type":"text","text":" "},{"type":"text","text":"Requested by Sacherby Markham at 10-Aug-2026 08:01:30 PM"},{"type":"text","text":"Accept"},{"type":"text","text":"Neppie Traynor"},{"type":"text","text":"https://sandbox.oqsha.com/#/wp/view/232/425942"}]}]}}}


Executing sending push notification to the issuers


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


# Preparing notification body #


# Checking for device existence #


# User device exists #


Sending notification for permit to work: 425942


Inside SendAppNotification Device Type: GCM


Generating AWS SNS Request


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Test/574ce6cf-0085-38a9-b751-93346d632c41


Unauthorized


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


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


Push notification failed to send to a device 25226.


# Push notification did not send #


### End Event Execution ###


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


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


### Start Event Execution ###


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


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


# Calling SendNotificationForWorkPermitCreation function for email/WhatsApp #


Executing email and WhatsApp notifications to WorkPermit approvers


Sending WorkPermit creation email to: TTK_EHS@oqsha.com


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


Reading and binding data to Email Template


Initializing Email Service Client


Generating Email Request


New Work Permit Assigned


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


--- Email response from Osmo-x is 201


Sending WorkPermit creation WhatsApp message to: 912000002528


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


Osmo-x WhatsApp Message has been Sent


Sending WorkPermit creation email to: osm07104@osmosys.co


Sending WorkPermit creation WhatsApp message to: 912000003104


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


# Preparing notification body #


# Fetching devices bypassing preferences (Single System Fallback) #


### End Event Execution ###


### Start Event Execution ###


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


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


# Calling SendDepartmentInchargeNotificationForWorkPermitCreation function for email/WhatsApp #


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


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


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


Calling Send Email Function for Update User Email


Initializing Email Service Client


Generating Email Request


Your OQSHA Access Has Been Updated


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


--- Email response from Osmo-x is 201


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


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


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


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


Reading and binding data to Email Template


### End Event Execution ###