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


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


### Start Event Execution ###


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


# Calling SendNotificationToIssuerForCreatingPermitToWork function for whatsapp and push notification #


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


Executing sending notification to issuers through whatsapp


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


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000007385","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":"23-Jul-2026"},{"type":"text","text":"Cold work"},{"type":"text","text":"Meadow Oaks"},{"type":"text","text":" "},{"type":"text","text":"Requested by Raleigh Swaney at 23-Jul-2026 10:43:24 AM"},{"type":"text","text":"Issue"},{"type":"text","text":"Albertha Keith"},{"type":"text","text":"https://oqsha.com/#/work-permit/view/414029?orgID=207&dlType=viewWorkPermit"}]}]}}}


Osmo-x WhatsApp Message has been Sent


Executing sending push notification to the issuers


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


# Preparing notification body #


### End Event Execution ###


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


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/00002"},{"type":"text","text":"23-Jul-2026"},{"type":"text","text":"Cold work"},{"type":"text","text":"Meadow Oaks"},{"type":"text","text":" "},{"type":"text","text":"Requested by Raleigh Swaney at 23-Jul-2026 10:56:37 AM"},{"type":"text","text":"Issue"},{"type":"text","text":"Ana Osborn"},{"type":"text","text":"https://oqsha.com/#/work-permit/view/414030?orgID=207&dlType=viewWorkPermit"}]}]}}}


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


# Checking for device existence #


# User device exists #


Sending notification for permit to work: 414030


Inside SendAppNotification Device Type: GCM


Generating AWS SNS Request


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


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


# Push notification did not send #


### Start Event Execution ###


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


# Calling SendNotificationToEitherReviewerOrApprover function for  whatsapp and push notification #


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


Starting Execution for whatsapp notification for users


Executing sending notification to users through whatsapp


Sending notification to approver of the comapny regarding permit to work 414030


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000000090","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/00002"},{"type":"text","text":"23-Jul-2026"},{"type":"text","text":"Cold work"},{"type":"text","text":"Meadow Oaks"},{"type":"text","text":" "},{"type":"text","text":"Issued by Ana Osborn at 23-Jul-2026 10:59:28 AM"},{"type":"text","text":"Approve"},{"type":"text","text":"Butler Christy"},{"type":"text","text":"https://oqsha.com/#/work-permit/view/414030?orgID=207&dlType=viewWorkPermit"}]}]}}}


Osmo-x WhatsApp Message has been Sent


# Preparing notification body #


# Push Subject P/HUBG/TFX/AIP/CW/26/00002


# string body 23-Jul-2026, Ana Osborn,


System.NullReferenceException: Object reference not set to an instance of an object.
   at IncidentReporter.NotificationSender.DAL.Events.Notifier.SendNotificationToEitherReviewerOrApprover(String eventName, Int64 ptwId, Int64 orgId, String stringUserIds, String stringPrevStateUserIds, String stringReceieveAllPtwUserIds, String workPermitStatus, String jobType, String statusChangeUserDisplayName, String permitToWorkUId, String startDate, String statusChangedTime, String workLocation, String assignToUserDisplayName, String nextStatus, String siteName, String modeOfNotifications, String customStatusJson, String companyUsersEmails) in C:\GitLab-Runner\builds\27n6lYj0J\0\incident-reporter\incident-reporter-api\IncidentReporter\IncidentReporter.NotificationSender\DAL\Events\Notifier.cs:line 4196
   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 589


### End Event Execution ###


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000001459","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/00002"},{"type":"text","text":"23-Jul-2026"},{"type":"text","text":"Cold work"},{"type":"text","text":"Meadow Oaks"},{"type":"text","text":" "},{"type":"text","text":"Approved by Butler Christy at 23-Jul-2026 11:07:55 AM"},{"type":"text","text":"Review"},{"type":"text","text":"Demetri Noyes"},{"type":"text","text":"https://oqsha.com/#/work-permit/view/414030?orgID=207&dlType=viewWorkPermit"}]}]}}}


# Checking for device existence #


# User device exists #


Inside SendAppNotification Device Type: APNS


Generating AWS SNS Request


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/APNS/Oqsha-IOS-Production/3fb6cdea-3cd3-3dc2-8a25-851fe819f577


Unauthorized


Push notification failed to send to a device 23858.


# Push notification did not send #


### Start Event Execution ###


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


# Calling SendNotificationToIssuerForCreatingPermitToWork function for whatsapp and push notification #


Executing sending notification to issuers through whatsapp


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


Osmo-x WhatsApp Message has been Sent


Executing sending push notification to the issuers


# Push Subject for Issuer P/GLTO/GRR/API/BL/26/00001


# Preparing notification body #


# Checking for device existence #


# User device exists #


Sending notification for permit to work: 414031


Inside SendAppNotification Device Type: GCM


Generating AWS SNS Request


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/037ca369-67b1-3f4b-b772-76238ee9df53


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


# Push notification did not send #


### End Event Execution ###


### Start Event Execution ###


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


# Calling SendNotificationToEitherReviewerOrApprover function for  whatsapp and push notification #


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


Starting Execution for whatsapp notification for users


Executing sending notification to users through whatsapp


Sending notification to approver of the comapny regarding permit to work 414031


Osmo-x WhatsApp Message has been Sent


# Preparing notification body #


# Push Subject P/GLTO/GRR/API/BL/26/00001


# string body 23-Jul-2026, ,


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


# Calling SendNotificationToAllExceptReviewer function for whatsapp and push notification #


User Ids for notification: [5092,20874]


Starting Execution for whatsapp notification for all


Sending notification to requester regarding permit to work 414031


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000006753","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"ptw_generic_status_template_v4","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"P/GLTO/GRR/API/BL/26/00001"},{"type":"text","text":"23-Jul-2026"},{"type":"text","text":"Blasting Work"},{"type":"text","text":"Alanreed"},{"type":"text","text":" "},{"type":"text","text":"Authorized by Arly Coleman at 23-Jul-2026 12:46:33 PM"},{"type":"text","text":"Start Work"},{"type":"text","text":"https://oqsha.com/#/work-permit/view/414031?orgID=211&dlType=viewWorkPermit"}]}]}}}


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"915555557479","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"ptw_generic_status_template_v4","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"P/GLTO/GRR/API/BL/26/00001"},{"type":"text","text":"23-Jul-2026"},{"type":"text","text":"Blasting Work"},{"type":"text","text":"Alanreed"},{"type":"text","text":" "},{"type":"text","text":"Authorized by Arly Coleman at 23-Jul-2026 12:46:33 PM"},{"type":"text","text":"Start Work"},{"type":"text","text":"https://oqsha.com/#/work-permit/view/414031?orgID=211&dlType=viewWorkPermit"}]}]}}}


Starting Execution for push notification for all


# Push Subject for Issuer P/GLTO/GRR/API/BL/26/00001


# string body 23-Jul-2026, Arly Coleman, P/GLTO/GRR/API/BL/26/00001, 23-Jul-2026


### 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":"3324"},{"Key":"ApproverIds","Value":"[5790]"},{"Key":"SiteName","Value":"Colver"},{"Key":"CreatedBy","Value":"Hebert Eaton"},{"Key":"WorkPermitUid","Value":"WP/FBYDW/ROO/CSE/26/00001"},{"Key":"OrgId","Value":248},{"Key":"OrganisationName","Value":"Falcon's Beyond Global Inc. Warrants"}]}


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


# Calling SendNotificationForWorkPermitCreation function for email/WhatsApp #


Executing email and WhatsApp notifications to WorkPermit approvers


Sending WorkPermit creation email to: osm04548@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: 912000005418


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


Osmo-x WhatsApp Message has been Sent


# Preparing notification body #


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


### End Event Execution ###


### Start Event Execution ###


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


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


# Calling SendDepartmentInchargeNotificationForWorkPermitCreation function for email/WhatsApp #


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


# Calling SendNotificationToApproversForWorkPermitStatusChange function for email/WhatsApp #


Sending WorkPermit status change email to: osm06983@osmosys.co


Initializing Email Service Client


Generating Email Request


Work Permit Status Updated


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


--- Email response from Osmo-x is 201


Sending WorkPermit status change WhatsApp message to: 912000008275


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


Osmo-x WhatsApp Message has been Sent


Sending WorkPermit status change email to: osm04548@osmosys.co


Sending WorkPermit status change WhatsApp message to: 912000005418


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


Sending WorkPermit status change email to: osm07104@osmosys.co


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


Reading and binding data to Email Template


Sending WorkPermit status change 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_status_update_template_v2","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/CSE/26/00001"},{"type":"text","text":"Colver"},{"type":"text","text":"Falcon's Beyond Global Inc. Warrants"},{"type":"text","text":"Closed"},{"type":"text","text":"Hebert Eaton"},{"type":"text","text":"https://oqsha.com/#/permit-to-work/view-work-permit/248/3324?dlType=viewWorkPermitV2"},{"type":"text","text":"EHS Department - TTK Prestige Limited"}]}]}}}


# Preparing notification body #


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


### End Event Execution ###


### Start Event Execution ###


Message : {"EventName":"INFORM_TO_INCIDENT_CREATION_NOTIFICATION","EventArgs":[{"Key":"IncidentId","Value":77689},{"Key":"InformToUserId","Value":881}]}


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


Osmo-x WhatsApp Message has been Sent


Generating Safety Alert report.


Converted to byte file


## Safety Alert Email Sent to Sincere Kidwell##


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


Initializing Email Service Client


Generating Email Request


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


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


--- Email response from Osmo-x is 201


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


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


### End Event Execution ###


### Start Event Execution ###


Message : {"EventName":"INFORM_TO_INCIDENT_CREATION_NOTIFICATION","EventArgs":[{"Key":"IncidentId","Value":77689},{"Key":"InformToUserId","Value":11167}]}


## Safety Alert Email Sent to Judge Tenorio##


Message : {"EventName":"INFORM_TO_INCIDENT_CREATION_NOTIFICATION","EventArgs":[{"Key":"IncidentId","Value":77689},{"Key":"InformToUserId","Value":267}]}


Osmo-x WhatsApp Message has been Sent


Generating Safety Alert report.


Converted to byte file


## Safety Alert Email Sent to Hebert Eaton##


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


Message : {"EventName":"INFORM_TO_INCIDENT_CREATION_NOTIFICATION","EventArgs":[{"Key":"IncidentId","Value":77689},{"Key":"InformToUserId","Value":11139}]}


## Safety Alert Email Sent to Oskar Roden##


Sending Inform-To Push Notification for IncidentId: 77689


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


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


### End Event Execution ###


### Start Event Execution ###


Message : {"EventName":"ASSIGNED_TO_NOTIFICATION","EventArgs":[{"Key":"AssignedIncidentID","Value":77689},{"Key":"AssignedToID","Value":10313}]}


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


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


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


Generating report.


Converted to byte file


PDF generation successfull


## Sending email to Derek Cope, UserId : 10313 for assigned to notification ##


Sending Assigned To Email for IncidentId:77689


Initializing Email Service Client


Generating Email Request


A Safety Alert T/KURA/NMM/26/00001 is assigned to you related to 'Near Miss'


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


--- Email response from Osmo-x is 201


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


Sending Assigned To Whatsapp for IncidentId:77689


Osmo-x WhatsApp Message has been Sent


# Preparing notification body #


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


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


### End Event Execution ###


### Start Event Execution ###


Message : {"EventName":"UPDATE_INCIDENT_NOTIFICATION","EventArgs":[{"Key":"IncidentId","Value":77689},{"Key":"IncidentHistoryId","Value":109530},{"Key":"IsTicketAssigned","Value":false}]}


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


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


# Calling  SendNotification function for  all types of notification #


Sending Email for IncidentId:77689


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


Reading and binding data to Email Template


Initializing Email Service Client


Generating Email Request


Safety Alert T/KURA/NMM/26/00001 has been updated


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


--- Email response from Osmo-x is 201


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"612222222220","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"oqsha_ticket_update_whatsapp_template_v4","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"Derek Cope"},{"type":"text","text":"Safety Alert"},{"type":"text","text":"T/KURA/NMM/26/00001"},{"type":"text","text":"Safety Alert status updated to Resolved., Comments are added as resolving"},{"type":"text","text":"Safety Alert"},{"type":"text","text":"testing"},{"type":"text","text":"Carson Valley"},{"type":"text","text":"Near Miss"},{"type":"text","text":"Derek Cope"},{"type":"text","text":"Kura Oncology Inc."},{"type":"text","text":"Resolved"},{"type":"text","text":"https://oqsha.com/#/incidents/view/258/77689?dlType=viewTicket"},{"type":"text","text":"Oqsha Team"}]}]}}}


Osmo-x WhatsApp Message has been Sent


# Preparing notification body #


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


### Ended processing Update incident Event ###


### End Event Execution ###


### Start Event Execution ###


Message : {"EventName":"ALTERNATIVE_INCIDENT_NOTIFICATION","EventArgs":[{"Key":"IncidentId","Value":77689},{"Key":"IncidentStatus","Value":"Resolved"}]}


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


### Started processing for Alternative incident notification Event ###


Sending Inform-To Update WhatsApp for IncidentId:77689


Sending Alternative notification Email for IncidentId:77689


Initializing Email Service Client


Generating Email Request


Safety Alert - T/KURA/NMM/26/00001 has been Resolved


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


--- Email response from Osmo-x is 201


### Ended processing Alternative incident notification Event ###


Message : {"EventName":"UPDATE_INCIDENT_NOTIFICATION","EventArgs":[{"Key":"IncidentId","Value":77689},{"Key":"IncidentHistoryId","Value":109531},{"Key":"IsTicketAssigned","Value":false}]}


Sending Email for IncidentId:77689


Sending Assigned To Whatsapp for IncidentId:77689


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"612222222220","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"oqsha_ticket_update_whatsapp_template_v4","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"Derek Cope"},{"type":"text","text":"Safety Alert"},{"type":"text","text":"T/KURA/NMM/26/00001"},{"type":"text","text":"Safety Alert status updated to Closed., Comments are added as closing"},{"type":"text","text":"Safety Alert"},{"type":"text","text":"testing"},{"type":"text","text":"Carson Valley"},{"type":"text","text":"Near Miss"},{"type":"text","text":"Derek Cope"},{"type":"text","text":"Kura Oncology Inc."},{"type":"text","text":"Closed"},{"type":"text","text":"https://oqsha.com/#/incidents/view/258/77689?dlType=viewTicket"},{"type":"text","text":"Oqsha Team"}]}]}}}


Osmo-x WhatsApp Message has been Sent


# Preparing notification body #


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


### End Event Execution ###


### Start Event Execution ###


Message : {"EventName":"ALTERNATIVE_INCIDENT_NOTIFICATION","EventArgs":[{"Key":"IncidentId","Value":77689},{"Key":"IncidentStatus","Value":""}]}


Message : {"EventName":"Update_USER","EventArgs":[{"Key":"DisplayName","Value":"Sincere Kidwell"},{"Key":"Password","Value":""},{"Key":"OrganisationName","Value":"Cadence Design Systems Inc."},{"Key":"UserDivisions","Value":"Observation, Near Miss, Accident, Unsafe Act, Unsafe condition, tipping, Fly tipping"},{"Key":"UserIncidentSites","Value":"Archer Lodge, Butterfield Park, Harwood, Lansford, Leon, Los Llanos, Thaxton, Yakima"},{"Key":"OldEmail","Value":""},{"Key":"Email","Value":"osm06269@osmosys.co"}]}


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


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


Calling Send Email Function for Update User Email


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


Reading and binding data to Email Template


Initializing Email Service Client


Generating Email Request


Your OQSHA Access Has Been Updated


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


--- Email response from Osmo-x is 201


Message : {"EventName":"Update_APP_USER","EventArgs":[{"Key":"DisplayName","Value":"Sincere Kidwell"},{"Key":"Password","Value":""},{"Key":"OrganisationName","Value":"Cadence Design Systems Inc."},{"Key":"UserUid","Value":"7993748762"},{"Key":"UserDivisions","Value":"Observation, Near Miss, Accident, Unsafe Act, Unsafe condition, tipping, Fly tipping"},{"Key":"UserIncidentSites","Value":"Archer Lodge, Butterfield Park, Harwood, Lansford, Leon, Los Llanos, Thaxton, Yakima"},{"Key":"Email","Value":"osm06269@osmosys.co"},{"Key":"MobileNumber","Value":"+912000007341"}]}


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


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


### End Event Execution ###


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


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


### Start Event Execution ###


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


# Calling SendNotificationToIssuerForCreatingPermitToWork function for whatsapp and push notification #


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


Executing sending notification to issuers through whatsapp


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


Osmo-x WhatsApp Message has been Sent


Executing sending push notification to the issuers


# Push Subject for Issuer P/GLTO/GRR/API/EL/26/00001


# Preparing notification body #


Message : {"EventName":"INFORM_TO_INCIDENT_CREATION_NOTIFICATION","EventArgs":[{"Key":"IncidentId","Value":77690},{"Key":"InformToUserId","Value":881}]}


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


Generating Safety Alert report.


Converted to byte file


## Safety Alert Email Sent to Sincere Kidwell##


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


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


Reading and binding data to Email Template


Initializing Email Service Client


Generating Email Request


Safety Alert T/KURA/UCC/26/00001 has been created


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


--- Email response from Osmo-x is 201


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


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


### End Event Execution ###


### Start Event Execution ###


Message : {"EventName":"INFORM_TO_INCIDENT_CREATION_NOTIFICATION","EventArgs":[{"Key":"IncidentId","Value":77690},{"Key":"InformToUserId","Value":11167}]}


Osmo-x WhatsApp Message has been Sent


Generating Safety Alert report.


Converted to byte file


## Safety Alert Email Sent to Judge Tenorio##


Message : {"EventName":"INFORM_TO_INCIDENT_CREATION_NOTIFICATION","EventArgs":[{"Key":"IncidentId","Value":77690},{"Key":"InformToUserId","Value":267}]}


## Safety Alert Email Sent to Hebert Eaton##


Message : {"EventName":"ASSIGNED_TO_NOTIFICATION","EventArgs":[{"Key":"AssignedIncidentID","Value":77690},{"Key":"AssignedToID","Value":10313}]}


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


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


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


Generating report.


PDF generation successfull


## Sending email to Derek Cope, UserId : 10313 for assigned to notification ##


Sending Assigned To Email for IncidentId:77690


Initializing Email Service Client


Generating Email Request


A Safety Alert T/KURA/UCC/26/00001 is assigned to you related to 'Unsafe Condition'


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


--- Email response from Osmo-x is 201


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


Sending Assigned To Whatsapp for IncidentId:77690


Osmo-x WhatsApp Message has been Sent


# Preparing notification body #


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


### End Event Execution ###


### Start Event Execution ###


Message : {"EventName":"UPDATE_INCIDENT_NOTIFICATION","EventArgs":[{"Key":"IncidentId","Value":77690},{"Key":"IncidentHistoryId","Value":109534},{"Key":"IsTicketAssigned","Value":false}]}


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


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


# Calling  SendNotification function for  all types of notification #


Sending Email for IncidentId:77690


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


Reading and binding data to Email Template


Initializing Email Service Client


Generating Email Request


Safety Alert T/KURA/UCC/26/00001 has been updated


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


--- Email response from Osmo-x is 201


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000007195","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"oqsha_ticket_update_whatsapp_template_v4","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"Oskar Roden"},{"type":"text","text":"Safety Alert"},{"type":"text","text":"T/KURA/UCC/26/00001"},{"type":"text","text":"Safety Alert status updated to Resolved., Comments are added as ddfvrv"},{"type":"text","text":"Safety Alert"},{"type":"text","text":" "},{"type":"text","text":"Carson Valley"},{"type":"text","text":"Unsafe Condition"},{"type":"text","text":"Oskar Roden"},{"type":"text","text":"Kura Oncology Inc."},{"type":"text","text":"Resolved"},{"type":"text","text":"https://oqsha.com/#/incidents/view/258/77690?dlType=viewTicket"},{"type":"text","text":"Oqsha Team"}]}]}}}


Osmo-x WhatsApp Message has been Sent


# Preparing notification body #


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


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"612222222220","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"oqsha_ticket_update_whatsapp_template_v4","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"Derek Cope"},{"type":"text","text":"Safety Alert"},{"type":"text","text":"T/KURA/UCC/26/00001"},{"type":"text","text":"Safety Alert status updated to Resolved., Comments are added as ddfvrv"},{"type":"text","text":"Safety Alert"},{"type":"text","text":" "},{"type":"text","text":"Carson Valley"},{"type":"text","text":"Unsafe Condition"},{"type":"text","text":"Oskar Roden"},{"type":"text","text":"Kura Oncology Inc."},{"type":"text","text":"Resolved"},{"type":"text","text":"https://oqsha.com/#/incidents/view/258/77690?dlType=viewTicket"},{"type":"text","text":"Oqsha Team"}]}]}}}


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


### Ended processing Update incident Event ###


### End Event Execution ###


### Start Event Execution ###


Message : {"EventName":"ALTERNATIVE_INCIDENT_NOTIFICATION","EventArgs":[{"Key":"IncidentId","Value":77690},{"Key":"IncidentStatus","Value":"Resolved"}]}


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


### Started processing for Alternative incident notification Event ###


Sending Inform-To Update WhatsApp for IncidentId:77690


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000007341","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"oqsha_ticket_update_whatsapp_template_v4","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"Sincere Kidwell"},{"type":"text","text":"Safety Alert"},{"type":"text","text":"T/KURA/UCC/26/00001"},{"type":"text","text":"Safety Alert is Resolved"},{"type":"text","text":"Safety Alert"},{"type":"text","text":" "},{"type":"text","text":"Carson Valley"},{"type":"text","text":"Unsafe Condition"},{"type":"text","text":"Oskar Roden"},{"type":"text","text":"Kura Oncology Inc."},{"type":"text","text":"Resolved"},{"type":"text","text":"https://oqsha.com/#/incidents/view/258/77690?dlType=viewTicket"},{"type":"text","text":"Oqsha Team"}]}]}}}


Sending Alternative notification Email for IncidentId:77690


Initializing Email Service Client


Generating Email Request


Safety Alert - T/KURA/UCC/26/00001 has been Resolved


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


--- Email response from Osmo-x is 201


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000007195","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"oqsha_ticket_update_whatsapp_template_v4","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"Oskar Roden"},{"type":"text","text":"Safety Alert"},{"type":"text","text":"T/KURA/UCC/26/00001"},{"type":"text","text":"Safety Alert is Resolved"},{"type":"text","text":"Safety Alert"},{"type":"text","text":" "},{"type":"text","text":"Carson Valley"},{"type":"text","text":"Unsafe Condition"},{"type":"text","text":"Oskar Roden"},{"type":"text","text":"Kura Oncology Inc."},{"type":"text","text":"Resolved"},{"type":"text","text":"https://oqsha.com/#/incidents/view/258/77690?dlType=viewTicket"},{"type":"text","text":"Oqsha Team"}]}]}}}


Osmo-x WhatsApp Message has been Sent


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000008503","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"oqsha_ticket_update_whatsapp_template_v4","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"Judge Tenorio"},{"type":"text","text":"Safety Alert"},{"type":"text","text":"T/KURA/UCC/26/00001"},{"type":"text","text":"Safety Alert is Resolved"},{"type":"text","text":"Safety Alert"},{"type":"text","text":" "},{"type":"text","text":"Carson Valley"},{"type":"text","text":"Unsafe Condition"},{"type":"text","text":"Oskar Roden"},{"type":"text","text":"Kura Oncology Inc."},{"type":"text","text":"Resolved"},{"type":"text","text":"https://oqsha.com/#/incidents/view/258/77690?dlType=viewTicket"},{"type":"text","text":"Oqsha Team"}]}]}}}


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000001875","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"oqsha_ticket_update_whatsapp_template_v4","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"Hebert Eaton"},{"type":"text","text":"Safety Alert"},{"type":"text","text":"T/KURA/UCC/26/00001"},{"type":"text","text":"Safety Alert is Resolved"},{"type":"text","text":"Safety Alert"},{"type":"text","text":" "},{"type":"text","text":"Carson Valley"},{"type":"text","text":"Unsafe Condition"},{"type":"text","text":"Oskar Roden"},{"type":"text","text":"Kura Oncology Inc."},{"type":"text","text":"Resolved"},{"type":"text","text":"https://oqsha.com/#/incidents/view/258/77690?dlType=viewTicket"},{"type":"text","text":"Oqsha Team"}]}]}}}


### Ended processing Alternative incident notification Event ###


### End Event Execution ###


### Start Event Execution ###


Message : {"EventName":"UPDATE_INCIDENT_NOTIFICATION","EventArgs":[{"Key":"IncidentId","Value":77690},{"Key":"IncidentHistoryId","Value":109535},{"Key":"IsTicketAssigned","Value":false}]}


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


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


# Calling  SendNotification function for  all types of notification #


Sending Email for IncidentId:77690


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


Sending Assigned To Whatsapp for IncidentId:77690


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000007195","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"oqsha_ticket_update_whatsapp_template_v4","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"Oskar Roden"},{"type":"text","text":"Safety Alert"},{"type":"text","text":"T/KURA/UCC/26/00001"},{"type":"text","text":"Safety Alert status updated to Open., Comments are added as re opening"},{"type":"text","text":"Safety Alert"},{"type":"text","text":" "},{"type":"text","text":"Carson Valley"},{"type":"text","text":"Unsafe Condition"},{"type":"text","text":"Oskar Roden"},{"type":"text","text":"Kura Oncology Inc."},{"type":"text","text":"Open"},{"type":"text","text":"https://oqsha.com/#/incidents/view/258/77690?dlType=viewTicket"},{"type":"text","text":"Oqsha Team"}]}]}}}


Osmo-x WhatsApp Message has been Sent


# Preparing notification body #


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


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"612222222220","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"oqsha_ticket_update_whatsapp_template_v4","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"Derek Cope"},{"type":"text","text":"Safety Alert"},{"type":"text","text":"T/KURA/UCC/26/00001"},{"type":"text","text":"Safety Alert status updated to Open., Comments are added as re opening"},{"type":"text","text":"Safety Alert"},{"type":"text","text":" "},{"type":"text","text":"Carson Valley"},{"type":"text","text":"Unsafe Condition"},{"type":"text","text":"Oskar Roden"},{"type":"text","text":"Kura Oncology Inc."},{"type":"text","text":"Open"},{"type":"text","text":"https://oqsha.com/#/incidents/view/258/77690?dlType=viewTicket"},{"type":"text","text":"Oqsha Team"}]}]}}}


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


### Ended processing Update incident Event ###


### End Event Execution ###


### Start Event Execution ###


Message : {"EventName":"ALTERNATIVE_INCIDENT_NOTIFICATION","EventArgs":[{"Key":"IncidentId","Value":77690},{"Key":"IncidentStatus","Value":"Reopened"}]}


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


### Started processing for Alternative incident notification Event ###


Sending Inform-To Update WhatsApp for IncidentId:77690


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"612222222220","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"oqsha_ticket_update_whatsapp_template_v4","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"Derek Cope"},{"type":"text","text":"Safety Alert"},{"type":"text","text":"T/KURA/UCC/26/00001"},{"type":"text","text":"Safety Alert is Reopened"},{"type":"text","text":"Safety Alert"},{"type":"text","text":" "},{"type":"text","text":"Carson Valley"},{"type":"text","text":"Unsafe Condition"},{"type":"text","text":"Oskar Roden"},{"type":"text","text":"Kura Oncology Inc."},{"type":"text","text":"Reopened"},{"type":"text","text":"https://oqsha.com/#/incidents/view/258/77690?dlType=viewTicket"},{"type":"text","text":"Oqsha Team"}]}]}}}


Sending Alternative notification Email for IncidentId:77690


Initializing Email Service Client


Generating Email Request


Safety Alert - T/KURA/UCC/26/00001 has been Reopened


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


--- Email response from Osmo-x is 201


### Ended processing Alternative incident notification Event ###


Message : {"EventName":"INFORM_TO_INCIDENT_CREATION_NOTIFICATION","EventArgs":[{"Key":"IncidentId","Value":77691},{"Key":"InformToUserId","Value":881}]}


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


Osmo-x WhatsApp Message has been Sent


Generating Safety Alert report.


Converted to byte file


## Safety Alert Email Sent to Sincere Kidwell##


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


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


Reading and binding data to Email Template


Initializing Email Service Client


Generating Email Request


Safety Alert T/KURA/OOO/26/00001 has been created


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


--- Email response from Osmo-x is 201


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


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


### End Event Execution ###


### Start Event Execution ###


Message : {"EventName":"INFORM_TO_INCIDENT_CREATION_NOTIFICATION","EventArgs":[{"Key":"IncidentId","Value":77691},{"Key":"InformToUserId","Value":11167}]}


Osmo-x WhatsApp Message has been Sent


Generating Safety Alert report.


Converted to byte file


## Safety Alert Email Sent to Judge Tenorio##


Message : {"EventName":"INFORM_TO_INCIDENT_CREATION_NOTIFICATION","EventArgs":[{"Key":"IncidentId","Value":77691},{"Key":"InformToUserId","Value":267}]}


## Safety Alert Email Sent to Hebert Eaton##


Message : {"EventName":"INFORM_TO_INCIDENT_CREATION_NOTIFICATION","EventArgs":[{"Key":"IncidentId","Value":77691},{"Key":"InformToUserId","Value":11139}]}


## Safety Alert Email Sent to Oskar Roden##


Initializing Email Service Client


Generating Email Request


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


--- Email response from Osmo-x is 201


Message : {"EventName":"ASSIGNED_TO_NOTIFICATION","EventArgs":[{"Key":"AssignedIncidentID","Value":77691},{"Key":"AssignedToID","Value":10313}]}


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


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


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


Generating report.


PDF generation successfull


## Sending email to Derek Cope, UserId : 10313 for assigned to notification ##


Sending Assigned To Email for IncidentId:77691


A Safety Alert T/KURA/OOO/26/00001 is assigned to you related to 'Observation'


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


Sending Assigned To Whatsapp for IncidentId:77691


Osmo-x WhatsApp Message has been Sent


# Preparing notification body #


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


### End Event Execution ###


### Start Event Execution ###


Message : {"EventName":"INFORM_TO_INCIDENT_CREATION_NOTIFICATION","EventArgs":[{"Key":"IncidentId","Value":77692},{"Key":"InformToUserId","Value":881}]}


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


Generating Safety Alert report.


Converted to byte file


## Safety Alert Email Sent to Sincere Kidwell##


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


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


Reading and binding data to Email Template


Initializing Email Service Client


Generating Email Request


Safety Alert T/KURA/NMM/26/00002 has been created


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


--- Email response from Osmo-x is 201


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


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


### End Event Execution ###


### Start Event Execution ###


Message : {"EventName":"INFORM_TO_INCIDENT_CREATION_NOTIFICATION","EventArgs":[{"Key":"IncidentId","Value":77692},{"Key":"InformToUserId","Value":11167}]}


Osmo-x WhatsApp Message has been Sent


Generating Safety Alert report.


Converted to byte file


## Safety Alert Email Sent to Judge Tenorio##


Message : {"EventName":"INFORM_TO_INCIDENT_CREATION_NOTIFICATION","EventArgs":[{"Key":"IncidentId","Value":77692},{"Key":"InformToUserId","Value":267}]}


## Safety Alert Email Sent to Hebert Eaton##


Message : {"EventName":"INFORM_TO_INCIDENT_CREATION_NOTIFICATION","EventArgs":[{"Key":"IncidentId","Value":77692},{"Key":"InformToUserId","Value":11139}]}


## Safety Alert Email Sent to Oskar Roden##


Initializing Email Service Client


Generating Email Request


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


--- Email response from Osmo-x is 201


Message : {"EventName":"ASSIGNED_TO_NOTIFICATION","EventArgs":[{"Key":"AssignedIncidentID","Value":77692},{"Key":"AssignedToID","Value":10313}]}


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


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


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


Generating report.


PDF generation successfull


## Sending email to Derek Cope, UserId : 10313 for assigned to notification ##


Sending Assigned To Email for IncidentId:77692


A Safety Alert T/KURA/NMM/26/00002 is assigned to you related to 'Near Miss'


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


Sending Assigned To Whatsapp for IncidentId:77692


Osmo-x WhatsApp Message has been Sent


# Preparing notification body #


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


### End Event Execution ###


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


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


### Start Event Execution ###


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


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


Using org-specific template for Org 258: Templates\OrgTemplates\258\Templates\IncidentSubmittedNotificationEmailTemplate.html


Executing email notifications to Incident Approvers about the Pending approval


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


Reading and binding data to Email Template


Initializing Email Service Client


Generating Email Request


A new incident IMF/KURA/FD2/FAI/26/00001 has been reported


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


--- Email response from Osmo-x is 201


Executing whatsapp notifications to Incident Approvers about the Pending approval


Sending WhatsApp Notification for Incident Approval to User: 267


Osmo-x WhatsApp Message has been Sent


# Preparing notification body #


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


### Ended processing Incident Submitted Event ###


### End Event Execution ###


### Start Event Execution ###


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


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


Incident IMF/KURA/FD2/FAI/26/00001 has been validated


Sending WhatsApp for Incident Validation to User: 267


### Ended processing Incident Validated Event ###


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


### Started processing for Incident FIR Released Event ###


Using org-specific template for Org 258: Templates\OrgTemplates\258\Templates\IncidentFIRReleasedNotificationEmailTemplate.html


Initializing Email Service Client


Generating Email Request


Incident IMF/KURA/FD2/FAI/26/00001 FIR has been released, form a team to investigate


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


--- Email response from Osmo-x is 201


Sending WhatsApp for Incident Approval to User: 11139


Osmo-x WhatsApp Message has been Sent


# Preparing notification body #


### End Event Execution ###


### Start Event Execution ###


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


### Started processing for Incident FIR Released Event - External User ###


Executing email notifications to Incident Approvers about the Pending approval


Incident PDF generation successfull


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


Reading and binding data to Email Template


osm07584@osmosys.co, osm02627@osmosys.co, osm07161@osmosys.co, osm06235@osmosys.co, osm00132@osmosys.co, osm06994@osmosys.co, osm04314@osmosys.co, osm01518@osmosys.co, osm06269@osmosys.co, osm03618@osmosys.co, TTK_Admin@oqsha.com

Incident IMF/KURA/FD2/FAI/26/00001 FIR has been released


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


### Started processing for Incident Investigation In Progress Event ###


Initializing Email Service Client


Generating Email Request


Incident IMF/KURA/FD2/FAI/26/00001 has been validated, form a team to investigate


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


--- Email response from Osmo-x is 201


Executing whatsapp notifications to Incident Approvers about the Pending approval


Sending WhatsApp for Incident Approval to User: 10313


Osmo-x WhatsApp Message has been Sent


# Preparing notification body #


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


### Ended processing Incident Investigation In Progress Event ###


### End Event Execution ###


### Start Event Execution ###


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


### Started processing for Investigation Submitted Event ###


Using org-specific template for Org 258: Templates\OrgTemplates\258\Templates\InvestigationSubmittedNotificationEmailTemplate.html


Executing email notifications to Investigation Approvers about the Pending approval


Initializing Email Service Client


Generating Email Request


You have been assigned to review the investigation report IMF/KURA/FD2/FAI/26/00001


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


--- Email response from Osmo-x is 201


Executing whatsapp notifications to Investigation Approvers about the Pending approval


Sending WhatsApp for Investigation Approval to User: 267


Osmo-x WhatsApp Message has been Sent


# Preparing notification body #


### Ended processing Investigation Submitted Event ###


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


### Started processing for Investigation Validated Event ###


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


Reading and binding data to Email Template


Validate the investigation report for the Incident IMF/KURA/FD2/FAI/26/00001


Sending WhatsApp for Incident Approval to User: 267


### Ended processing Investigation Validated Event ###


### End Event Execution ###


### Start Event Execution ###


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


### Started processing for Investigation Final Report Released - External User ###


Executing email notifications to external users about the final report release


PDF generation completed successfully.


Incident PDF generation successfull


Using org-specific template for Org 258: Templates\OrgTemplates\258\Templates\ExternalUserInvestigationFinalReportReleasedTemplate.html


Initializing Email Service Client


Generating Email Request


The Final Report of Investigation has been released on this Incident IMF/KURA/FD2/FAI/26/00001


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


--- Email response from Osmo-x is 201


### Ended processing Investigation Final Report Released - External User ###


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


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


Using org-specific template for Org 258: Templates\OrgTemplates\258\Templates\IncidentSubmittedNotificationEmailTemplate.html


Executing email notifications to Incident Approvers about the Pending approval


A new incident IMF/KURA/FD2/FFF/26/00001 has been reported


Executing whatsapp notifications to Incident Approvers about the Pending approval


Sending WhatsApp Notification for Incident Approval to User: 267


Osmo-x WhatsApp Message has been Sent


# Preparing notification body #


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


### Ended processing Incident Submitted Event ###


### End Event Execution ###


### Start Event Execution ###


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


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


# Calling SendNotificationForWorkPermitCreation function for email/WhatsApp #


Executing email and WhatsApp notifications to WorkPermit approvers


Sending WorkPermit creation email to: TTK_Admin@oqsha.com


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


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


Osmo-x WhatsApp Message has been Sent


# Preparing notification body #


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


# Checking for device existence #


# User device exists #


Sending Assigned To Notification for Work Permit Id:3325


Inside SendAppNotification Device Type: APNS


Generating AWS SNS Request


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/APNS/Oqsha-IOS-Production/df272948-6190-32a9-b2d7-cff9b0337b1c


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


# Push notification did not send #


### End Event Execution ###


### Start Event Execution ###


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


# Preparing notification body #


Message : {"EventName":"WORK_PERMIT_STATUS_CHANGE_TO_APPROVERS","EventArgs":[{"Key":"WorkPermitId","Value":"3325"},{"Key":"NewStatus","Value":"Closed"},{"Key":"ApproverIds","Value":"[267]"},{"Key":"ChangedByName","Value":"Hebert Eaton"},{"Key":"SiteName","Value":"Colver"},{"Key":"CreatedBy","Value":"Hebert Eaton"},{"Key":"WorkPermitUid","Value":"WP/FBYDW/ROO/EWW/26/00001"},{"Key":"OrgId","Value":248},{"Key":"OrganisationName","Value":"Falcon's Beyond Global Inc. Warrants"}]}


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


# Calling SendNotificationToApproversForWorkPermitStatusChange function for email/WhatsApp #


Executing email and WhatsApp notifications to WorkPermit approvers


Sending WorkPermit status change email to: TTK_Admin@oqsha.com


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


Reading and binding data to Email Template


Initializing Email Service Client


Generating Email Request


Work Permit Status Updated


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


--- Email response from Osmo-x is 201


Sending WorkPermit status change WhatsApp message to: 912000001875


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


Osmo-x WhatsApp Message has been Sent


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


### End Event Execution ###


### Start Event Execution ###


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


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


Using org-specific template for Org 258: Templates\OrgTemplates\258\Templates\IncidentSubmittedNotificationEmailTemplate.html


Executing email notifications to Incident Approvers about the Pending approval


A new incident IMF/KURA/FD2/BII/26/00001 has been reported


Executing whatsapp notifications to Incident Approvers about the Pending approval


Sending WhatsApp Notification for Incident Approval to User: 267


# Preparing notification body #


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


### Ended processing Incident Submitted Event ###