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


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


### Start Event Execution ###


Message : {"EventName":"COMPLETED_BATCH","EventArgs":[{"Key":"BatchId","Value":1802}]}


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


# Calling SendNotificationToBatchParticipantsForCompletedStatus function for  whatsapp notification #


Executing completed notification function to batch participants


Sending completed batch notification to batch participant14342


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"915555558119","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"oqsha_completed_batch_v5","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"Cecilia Benedict"},{"type":"text","text":"sjkdfjls"},{"type":"text","text":"Certificate"},{"type":"text","text":"SailPoint Inc."},{"type":"text","text":"0 Week(s) 0 Day(s) 1 Hour(s)"},{"type":"text","text":"No faculty"},{"type":"text","text":"July 03, 2026  10:51:09 AM"},{"type":"text","text":"https://oqsha.com/#/batches/view/262/282/1802?dlType=viewBatch"}]}]}}}


Osmo-x WhatsApp Message has been Sent


Generating certificate.


System.ArgumentNullException: Value cannot be null.
Parameter name: path4
   at System.IO.Path.Combine(String path1, String path2, String path3, String path4)
   at IncidentReporter.API.Helpers.ExportTrainingCertificateHelper.ExportCertificate(TrainingCertificateDTO participant, String outputAbsoluteFilePath, Int32 orgId) in C:\GitLab-Runner\builds\27n6lYj0J\0\incident-reporter\incident-reporter-api\IncidentReporter\IncidentReporter.API\Helpers\ExportTrainingCertificateHelper.cs:line 26
   at IncidentReporter.API.Helpers.ExportTrainingCertificateHelper.ExportCertificatePDFAsByteArray(TrainingCertificateDTO participant, Int32 orgId, Int32 batchId, Int32 participantId) in C:\GitLab-Runner\builds\27n6lYj0J\0\incident-reporter\incident-reporter-api\IncidentReporter\IncidentReporter.API\Helpers\ExportTrainingCertificateHelper.cs:line 117
   at IncidentReporter.NotificationSender.DAL.Events.Notifier.SendNotificationToBatchParticipantsForCompletedStatus(Int64 batchId) in C:\GitLab-Runner\builds\27n6lYj0J\0\incident-reporter\incident-reporter-api\IncidentReporter\IncidentReporter.NotificationSender\DAL\Events\Notifier.cs:line 3426
   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 515


### End Event Execution ###


Message : {"EventName":"COMPLETED_BATCH","EventArgs":[{"Key":"BatchId","Value":1803}]}


Sending completed batch notification to batch participant267


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000001875","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"oqsha_completed_batch_v5","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"Sal Eaton"},{"type":"text","text":"fsfsd"},{"type":"text","text":"Test"},{"type":"text","text":"SailPoint Inc."},{"type":"text","text":"0 Week(s) 0 Day(s) 1 Hour(s)"},{"type":"text","text":"No faculty"},{"type":"text","text":"July 03, 2026  10:53:05 AM"},{"type":"text","text":"https://oqsha.com/#/batches/view/262/309/1803?dlType=viewBatch"}]}]}}}


Message : {"EventName":"COMPLETED_BATCH","EventArgs":[{"Key":"BatchId","Value":1804}]}


Message : {"EventName":"COMPLETED_BATCH","EventArgs":[{"Key":"BatchId","Value":1805}]}


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000001875","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"oqsha_completed_batch_v5","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"Sal Eaton"},{"type":"text","text":"akjslfjla"},{"type":"text","text":"Certificate"},{"type":"text","text":"SailPoint Inc."},{"type":"text","text":"0 Week(s) 0 Day(s) 1 Hour(s)"},{"type":"text","text":"No faculty"},{"type":"text","text":"July 03, 2026  11:01:38 AM"},{"type":"text","text":"https://oqsha.com/#/batches/view/262/282/1805?dlType=viewBatch"}]}]}}}


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


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000003712","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/RDVT/CW/26/00001"},{"type":"text","text":"03-Jul-2026"},{"type":"text","text":"Cold work"},{"type":"text","text":"Meadow Oaks"},{"type":"text","text":" "},{"type":"text","text":"Requested by Cian Mccandless at 03-Jul-2026 11:24:06 AM"},{"type":"text","text":"Issue"},{"type":"text","text":"Maxim Noyes"},{"type":"text","text":"https://oqsha.com/#/work-permit/view/398548?orgID=207&dlType=viewWorkPermit"}]}]}}}


Executing sending push notification to the issuers


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


# Preparing notification body #


# Checking for device existence #


# User device exists #


Sending notification for permit to work: 398548


Inside SendAppNotification Device Type: GCM


Generating AWS SNS Request


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/601c1b17-2af0-3f9d-8ea5-777d1234172e


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


# Push notification did not send #


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/cd99c807-79df-3252-abc2-9a65d4caf23b


Push notification failed to send to a device 10376.


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/27462b11-d660-3321-8287-d7d314f9e282


Push notification failed to send to a device 10901.


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/966603a8-a945-3256-a3d9-93f0658484d2


Push notification failed to send to a device 6501.


# Checking for device existence #


# User device exists #


Endpoint: arn:aws:sns:us-west-2:505884080245:endpoint/GCM/OQSHA-Android/966603a8-a945-3256-a3d9-93f0658484d2


Push notification failed to send to a device 11025.


Generating AWS SNS Request


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/8d44ad78-8b14-3b2c-885c-92039149a4e4


Unauthorized


Push notification failed to send to a device 12715.


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/7f147d30-3a67-3fe9-9367-0e9c198c234d


Push notification failed to send to a device 7168.


# Push notification did not send #


Sending notification for permit to work: 398548


Inside SendAppNotification Device Type: GCM


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/882761bd-1d76-3979-a5de-b182b79fd03a


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


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


Push notification failed to send to a device 7194.


# Checking for device existence #


# User device exists #


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/24356160-1bdb-3a27-83fa-b8289a947d2c


Push notification failed to send to a device 10575.


Generating AWS SNS Request


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/e080cf4e-d752-32fe-91ca-d3e7df957270


Unauthorized


Push notification failed to send to a device 6822.


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/a705152c-79d0-3248-9312-52767547c5d7


Push notification failed to send to a device 8864.


# Push notification did not send #


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/3d00a271-e797-3253-8bf8-514d7bf39abb


Push notification failed to send to a device 22203.


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/7d901924-169d-331d-9953-d6bb919f9aa1


Push notification failed to send to a device 6974.


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/2ee46e5d-0ca6-311b-9832-b2ba57878e01


Push notification failed to send to a device 8654.


# Checking for device existence #


# User device exists #


Sending notification for permit to work: 398548


Inside SendAppNotification Device Type: GCM


Generating AWS SNS Request


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/12d409c9-a80e-3528-a26a-62371c2cb304


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


# Push notification did not send #


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/86befed8-83b8-3477-a8f0-72840ec822b5


Push notification failed to send to a device 11151.


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/dbf5a473-0c4b-3fe5-85c0-e5536c74289a


Push notification failed to send to a device 7222.


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/8670124d-f221-30c6-a589-30083defce83


Push notification failed to send to a device 9491.


# Checking for device existence #


# User device exists #


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/e27f1f5f-cf67-34c8-9db3-e915ec00727c


Push notification failed to send to a device 10490.


Generating AWS SNS Request


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/eba11478-c55c-3bd9-9e47-0b4fbd026f40


Unauthorized


Push notification failed to send to a device 7795.


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/92f40b3c-7b70-311c-9096-c22c3b0ab766


Push notification failed to send to a device 7794.


# Push notification did not send #


Sending notification for permit to work: 398548


Inside SendAppNotification Device Type: GCM


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/cbd76a09-6afb-3b2e-b3ba-2f8af06e72ea


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


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


Push notification failed to send to a device 11265.


# Checking for device existence #


# User device exists #


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/fb1043d4-01e5-3628-8387-c71af3c46cc6


Push notification failed to send to a device 21324.


Generating AWS SNS Request


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/72d6e5f9-427a-34a7-9970-ce29c8bf86b8


Unauthorized


Push notification failed to send to a device 9428.


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


Push notification failed to send to a device 16706.


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


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 398548


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000006623","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/RDVT/CW/26/00001"},{"type":"text","text":"03-Jul-2026"},{"type":"text","text":"Cold work"},{"type":"text","text":"Meadow Oaks"},{"type":"text","text":" "},{"type":"text","text":"Issued by Maxim Noyes at 03-Jul-2026 11:24:56 AM"},{"type":"text","text":"Approve"},{"type":"text","text":"Edna Bradbury"},{"type":"text","text":"https://oqsha.com/#/work-permit/view/398548?orgID=207&dlType=viewWorkPermit"}]}]}}}


Osmo-x WhatsApp Message has been Sent


# Preparing notification body #


# Push Subject P/HUBG/TFX/RDVT/CW/26/00001


# string body 03-Jul-2026, Maxim Noyes,


System.NullReferenceException: Object reference not set to an instance of an object.
   at IncidentReporter.NotificationSender.DAL.Events.Notifier.SendNotificationToEitherReviewerOrApprover(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 4075
   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 564


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


# Calling SendNotificationToTaskAssignees function for WhatsApp notification #


Sending WhatsApp notification for task assignment to user ID: 267


Sending Task Assignment Email for TaskId: 14874, UserId: 267


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


Reading and binding data to Email Template


Initializing Email Service Client


Generating Email Request


New Action Tracker Assigned - AT/WNW/ZSA/SEO/26/00002


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


--- Email response from Osmo-x is 201


### End Event Execution ###


### Start Event Execution ###


Osmo-x WhatsApp Message has been Sent


# Preparing notification body #


Message : {"EventName":"TASK_CLOSURE_NOTIFICATION_VALIDATION_1","EventArgs":[{"Key":"TaskId","Value":14874},{"Key":"OrgId","Value":256}]}


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


### Started processing for Task Closure Validation Level 1 Event ###


## Sending notification to Site EHS user ##


## Notification to be send for these users: []


### Ended processing Incident Closure Validation Level 1 Event ###


Message : {"EventName":"ASSIGNED_TO_NOTIFICATION","EventArgs":[{"Key":"AssignedIncidentID","Value":76448},{"Key":"AssignedToID","Value":267}]}


### 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 Sal Eaton, UserId : 267 for assigned to notification ##


Sending Assigned To Email for IncidentId:76448


Initializing Email Service Client


Generating Email Request


A Ticket T/WNW/NMR/26/00001 is assigned to you related to 'Near Miss Report'


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


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":76448},{"Key":"IncidentHistoryId","Value":105059},{"Key":"IsTicketAssigned","Value":true}]}


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


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


Reading and binding data to Email Template


Initializing Email Service Client


Generating Email Request


Ticket T/WNW/NMR/26/00001 has been updated


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


--- Email response from Osmo-x is 201


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000001875","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"oqsha_ticket_update_whatsapp_template_v4","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"Sal Eaton"},{"type":"text","text":"Ticket"},{"type":"text","text":"T/WNW/NMR/26/00001"},{"type":"text","text":"Ticket status updated to Assigned., Comments are added as assigned"},{"type":"text","text":"Ticket"},{"type":"text","text":" "},{"type":"text","text":"Bland"},{"type":"text","text":"Near Miss Report"},{"type":"text","text":"Sal Eaton"},{"type":"text","text":"Meiwu Technology Company Limited"},{"type":"text","text":"Assigned"},{"type":"text","text":"https://oqsha.com/#/incidents/view/256/76448?dlType=viewTicket"},{"type":"text","text":"Oqsha Team"}]}]}}}


Osmo-x WhatsApp Message has been Sent


# Preparing notification body #


### Ended processing Update incident Event ###


### End Event Execution ###


### Start Event Execution ###


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


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":"Sal Eaton"},{"type":"text","text":"Ticket"},{"type":"text","text":"T/WNW/NMR/26/00001"},{"type":"text","text":"Ticket status updated to Resolved., Comments are added as resolved"},{"type":"text","text":"Ticket"},{"type":"text","text":" "},{"type":"text","text":"Bland"},{"type":"text","text":"Near Miss Report"},{"type":"text","text":"Sal Eaton"},{"type":"text","text":"Meiwu Technology Company Limited"},{"type":"text","text":"Resolved"},{"type":"text","text":"https://oqsha.com/#/incidents/view/256/76448?dlType=viewTicket"},{"type":"text","text":"Oqsha Team"}]}]}}}


Message : {"EventName":"INCIDENT_CLOSURE_NOTIFICATION_VALIDATION_1","EventArgs":[{"Key":"IncidentId","Value":76448},{"Key":"ClosedById","Value":267}]}


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


### Started processing for Incident Closure Validation Level 1 Event ###


Generating report.


## Sending notification to Site EHS user ##


## Notification to be send for these users: []


### Ended processing Incident Closure Validation Level 1 Event ###


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


# Calling SendNotificationToTaskAssignees function for WhatsApp notification #


Sending WhatsApp notification for task assignment to user ID: 8505


Invalid Mobile Number - 91


# Preparing notification body #


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


# Calling SendNotificationToEitherReviewerOrApprover function for  whatsapp and push notification #


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 398548


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000010247","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/RDVT/CW/26/00001"},{"type":"text","text":"03-Jul-2026"},{"type":"text","text":"Cold work"},{"type":"text","text":"Meadow Oaks"},{"type":"text","text":" "},{"type":"text","text":"Approved by Edna Bradbury at 03-Jul-2026 01:41:20 PM"},{"type":"text","text":"Review"},{"type":"text","text":"Robby Soukup"},{"type":"text","text":"https://oqsha.com/#/work-permit/view/398548?orgID=207&dlType=viewWorkPermit"}]}]}}}


Osmo-x WhatsApp Message has been Sent


# Push Subject P/HUBG/TFX/RDVT/CW/26/00001


# string body 03-Jul-2026, Maxim Noyes,


### End Event Execution ###


### Start Event Execution ###


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


# Calling SendNotificationToAllExceptReviewer function for whatsapp and push notification #


User Ids for notification: [1855,1861,4243,4244,4459,4504,4516,4518,4583,4594,4690,4691,4806,5106,5111,10657]


Starting Execution for whatsapp notification for all


Sending notification to requester regarding permit to work 398548


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000001644","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/HUBG/TFX/RDVT/CW/26/00001"},{"type":"text","text":"03-Jul-2026"},{"type":"text","text":"Cold work"},{"type":"text","text":"Meadow Oaks"},{"type":"text","text":" "},{"type":"text","text":"Reviewed by Robby Soukup at 03-Jul-2026 01:41:53 PM"},{"type":"text","text":"Start Work"},{"type":"text","text":"https://oqsha.com/#/work-permit/view/398548?orgID=207&dlType=viewWorkPermit"}]}]}}}


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000005063","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/HUBG/TFX/RDVT/CW/26/00001"},{"type":"text","text":"03-Jul-2026"},{"type":"text","text":"Cold work"},{"type":"text","text":"Meadow Oaks"},{"type":"text","text":" "},{"type":"text","text":"Reviewed by Robby Soukup at 03-Jul-2026 01:41:53 PM"},{"type":"text","text":"Start Work"},{"type":"text","text":"https://oqsha.com/#/work-permit/view/398548?orgID=207&dlType=viewWorkPermit"}]}]}}}


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000006623","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/HUBG/TFX/RDVT/CW/26/00001"},{"type":"text","text":"03-Jul-2026"},{"type":"text","text":"Cold work"},{"type":"text","text":"Meadow Oaks"},{"type":"text","text":" "},{"type":"text","text":"Reviewed by Robby Soukup at 03-Jul-2026 01:41:53 PM"},{"type":"text","text":"Start Work"},{"type":"text","text":"https://oqsha.com/#/work-permit/view/398548?orgID=207&dlType=viewWorkPermit"}]}]}}}


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000001717","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/HUBG/TFX/RDVT/CW/26/00001"},{"type":"text","text":"03-Jul-2026"},{"type":"text","text":"Cold work"},{"type":"text","text":"Meadow Oaks"},{"type":"text","text":" "},{"type":"text","text":"Reviewed by Robby Soukup at 03-Jul-2026 01:41:53 PM"},{"type":"text","text":"Start Work"},{"type":"text","text":"https://oqsha.com/#/work-permit/view/398548?orgID=207&dlType=viewWorkPermit"}]}]}}}


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"915555557098","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/HUBG/TFX/RDVT/CW/26/00001"},{"type":"text","text":"03-Jul-2026"},{"type":"text","text":"Cold work"},{"type":"text","text":"Meadow Oaks"},{"type":"text","text":" "},{"type":"text","text":"Reviewed by Robby Soukup at 03-Jul-2026 01:41:53 PM"},{"type":"text","text":"Start Work"},{"type":"text","text":"https://oqsha.com/#/work-permit/view/398548?orgID=207&dlType=viewWorkPermit"}]}]}}}


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000010247","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/HUBG/TFX/RDVT/CW/26/00001"},{"type":"text","text":"03-Jul-2026"},{"type":"text","text":"Cold work"},{"type":"text","text":"Meadow Oaks"},{"type":"text","text":" "},{"type":"text","text":"Reviewed by Robby Soukup at 03-Jul-2026 01:41:53 PM"},{"type":"text","text":"Start Work"},{"type":"text","text":"https://oqsha.com/#/work-permit/view/398548?orgID=207&dlType=viewWorkPermit"}]}]}}}


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000000959","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/HUBG/TFX/RDVT/CW/26/00001"},{"type":"text","text":"03-Jul-2026"},{"type":"text","text":"Cold work"},{"type":"text","text":"Meadow Oaks"},{"type":"text","text":" "},{"type":"text","text":"Reviewed by Robby Soukup at 03-Jul-2026 01:41:53 PM"},{"type":"text","text":"Start Work"},{"type":"text","text":"https://oqsha.com/#/work-permit/view/398548?orgID=207&dlType=viewWorkPermit"}]}]}}}


Osmo-x WhatsApp Message has been Sent


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000007577","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/HUBG/TFX/RDVT/CW/26/00001"},{"type":"text","text":"03-Jul-2026"},{"type":"text","text":"Cold work"},{"type":"text","text":"Meadow Oaks"},{"type":"text","text":" "},{"type":"text","text":"Reviewed by Robby Soukup at 03-Jul-2026 01:41:53 PM"},{"type":"text","text":"Start Work"},{"type":"text","text":"https://oqsha.com/#/work-permit/view/398548?orgID=207&dlType=viewWorkPermit"}]}]}}}


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000003340","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/HUBG/TFX/RDVT/CW/26/00001"},{"type":"text","text":"03-Jul-2026"},{"type":"text","text":"Cold work"},{"type":"text","text":"Meadow Oaks"},{"type":"text","text":" "},{"type":"text","text":"Reviewed by Robby Soukup at 03-Jul-2026 01:41:53 PM"},{"type":"text","text":"Start Work"},{"type":"text","text":"https://oqsha.com/#/work-permit/view/398548?orgID=207&dlType=viewWorkPermit"}]}]}}}


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000000337","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/HUBG/TFX/RDVT/CW/26/00001"},{"type":"text","text":"03-Jul-2026"},{"type":"text","text":"Cold work"},{"type":"text","text":"Meadow Oaks"},{"type":"text","text":" "},{"type":"text","text":"Reviewed by Robby Soukup at 03-Jul-2026 01:41:53 PM"},{"type":"text","text":"Start Work"},{"type":"text","text":"https://oqsha.com/#/work-permit/view/398548?orgID=207&dlType=viewWorkPermit"}]}]}}}


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000000734","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/HUBG/TFX/RDVT/CW/26/00001"},{"type":"text","text":"03-Jul-2026"},{"type":"text","text":"Cold work"},{"type":"text","text":"Meadow Oaks"},{"type":"text","text":" "},{"type":"text","text":"Reviewed by Robby Soukup at 03-Jul-2026 01:41:53 PM"},{"type":"text","text":"Start Work"},{"type":"text","text":"https://oqsha.com/#/work-permit/view/398548?orgID=207&dlType=viewWorkPermit"}]}]}}}


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000003805","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/HUBG/TFX/RDVT/CW/26/00001"},{"type":"text","text":"03-Jul-2026"},{"type":"text","text":"Cold work"},{"type":"text","text":"Meadow Oaks"},{"type":"text","text":" "},{"type":"text","text":"Reviewed by Robby Soukup at 03-Jul-2026 01:41:53 PM"},{"type":"text","text":"Start Work"},{"type":"text","text":"https://oqsha.com/#/work-permit/view/398548?orgID=207&dlType=viewWorkPermit"}]}]}}}


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000003712","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/HUBG/TFX/RDVT/CW/26/00001"},{"type":"text","text":"03-Jul-2026"},{"type":"text","text":"Cold work"},{"type":"text","text":"Meadow Oaks"},{"type":"text","text":" "},{"type":"text","text":"Reviewed by Robby Soukup at 03-Jul-2026 01:41:53 PM"},{"type":"text","text":"Start Work"},{"type":"text","text":"https://oqsha.com/#/work-permit/view/398548?orgID=207&dlType=viewWorkPermit"}]}]}}}


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000000884","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/HUBG/TFX/RDVT/CW/26/00001"},{"type":"text","text":"03-Jul-2026"},{"type":"text","text":"Cold work"},{"type":"text","text":"Meadow Oaks"},{"type":"text","text":" "},{"type":"text","text":"Reviewed by Robby Soukup at 03-Jul-2026 01:41:53 PM"},{"type":"text","text":"Start Work"},{"type":"text","text":"https://oqsha.com/#/work-permit/view/398548?orgID=207&dlType=viewWorkPermit"}]}]}}}


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000000090","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/HUBG/TFX/RDVT/CW/26/00001"},{"type":"text","text":"03-Jul-2026"},{"type":"text","text":"Cold work"},{"type":"text","text":"Meadow Oaks"},{"type":"text","text":" "},{"type":"text","text":"Reviewed by Robby Soukup at 03-Jul-2026 01:41:53 PM"},{"type":"text","text":"Start Work"},{"type":"text","text":"https://oqsha.com/#/work-permit/view/398548?orgID=207&dlType=viewWorkPermit"}]}]}}}


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000000684","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/HUBG/TFX/RDVT/CW/26/00001"},{"type":"text","text":"03-Jul-2026"},{"type":"text","text":"Cold work"},{"type":"text","text":"Meadow Oaks"},{"type":"text","text":" "},{"type":"text","text":"Reviewed by Robby Soukup at 03-Jul-2026 01:41:53 PM"},{"type":"text","text":"Start Work"},{"type":"text","text":"https://oqsha.com/#/work-permit/view/398548?orgID=207&dlType=viewWorkPermit"}]}]}}}


Starting Execution for push notification for all


# Preparing notification body #


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


# string body 03-Jul-2026, Robby Soukup, P/HUBG/TFX/RDVT/CW/26/00001, 03-Jul-2026


### End Event Execution ###


### Start Event Execution ###


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


# Calling SendHIRAApprovalInvitationNotification function for email/WhatsApp #


Executing email notifications to HIRA Approvers about the Pending approval


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


Reading and binding data to Email Template


Initializing Email Service Client


Generating Email Request


Risk Assessment H/WNW/ZSA/BBF/26/00001 is awaiting your approval

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


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


--- Email response from Osmo-x is 201


Executing whatsapp notifications to HIRA Approvers about the Pending approval


Sending WhatsApp Notification for HIRA Approval to user: 10363


Osmo-x WhatsApp Message has been Sent


# Preparing notification body #


# Checking for device existence #


# User device exists #


Sending Approaval Required Notification for HIRA Id:460


Inside SendAppNotification Device Type: GCM


Generating AWS SNS Request


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/62dfec45-7b9b-34f7-b835-ae6e6f9cc04d


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


# Push notification did not send #


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


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


# Calling SendNotificationToTaskAssignees function for WhatsApp notification #


Sending WhatsApp notification for task assignment to user ID: 5772


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000006092","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"oqsha_task_assigned_to_notification_v4","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"Edwin Birnbaum"},{"type":"text","text":"Action Tracker"},{"type":"text","text":"AT/FBYDW/HOS/INR/26/00002"},{"type":"text","text":"PPEs shall be must before handling the product at any part of the operations area"},{"type":"text","text":"Investigation Report"},{"type":"text","text":"https://oqsha.com/#/tasks/edit/14878?dlType=viewTask&orgID=248"},{"type":"text","text":"EHS Department - TTK Prestige Limited"}]}]}}}


Osmo-x WhatsApp Message has been Sent


Sending Task Assignment Email for TaskId: 14878, UserId: 5772


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


Reading and binding data to Email Template


Initializing Email Service Client


Generating Email Request


New Action Tracker Assigned - AT/FBYDW/HOS/INR/26/00002


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


--- Email response from Osmo-x is 201


# Preparing notification body #


### End Event Execution ###


### Start Event Execution ###


Sending WhatsApp notification for task assignment to user ID: 5886


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000010549","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"oqsha_task_assigned_to_notification_v4","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"Plummer Benedict"},{"type":"text","text":"Action Tracker"},{"type":"text","text":"AT/FBYDW/HOS/INR/26/00003"},{"type":"text","text":"Every person should have the glove in their pocket while entering the shop floor as a mandatory"},{"type":"text","text":"Investigation Report"},{"type":"text","text":"https://oqsha.com/#/tasks/edit/14879?dlType=viewTask&orgID=248"},{"type":"text","text":"EHS Department - TTK Prestige Limited"}]}]}}}


Sending Task Assignment Email for TaskId: 14879, UserId: 5886


New Action Tracker Assigned - AT/FBYDW/HOS/INR/26/00003


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000010549","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"oqsha_task_assigned_to_notification_v4","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"Plummer Benedict"},{"type":"text","text":"Action Tracker"},{"type":"text","text":"AT/FBYDW/HOS/INR/26/00004"},{"type":"text","text":"Conduct the PPEs awareness training periodically during the daily meeting"},{"type":"text","text":"Investigation Report"},{"type":"text","text":"https://oqsha.com/#/tasks/edit/14880?dlType=viewTask&orgID=248"},{"type":"text","text":"EHS Department - TTK Prestige Limited"}]}]}}}


Osmo-x WhatsApp Message has been Sent


Sending Task Assignment Email for TaskId: 14880, UserId: 5886


New Action Tracker Assigned - AT/FBYDW/HOS/INR/26/00004


PDF generation completed successfully.


Incident PDF generation successfull


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


Initializing Email Service Client


Generating Email Request


osm06983@osmosys.co, TTK_KHA_SITE_EHS@oqsha.com, TTK_COB_SITE_EHS@oqsha.com, osm04512@osmosys.co, osm05614@osmosys.co, TTK_EHS@oqsha.com, osm06965@osmosys.co, osm06409@osmosys.co, osm07104@osmosys.co, TTK_KHA_PlantH@oqsha.com, TTK_COB_PlantH@oqsha.com, osm02653@osmosys.co, osm03800@osmosys.co, osm05708@osmosys.co, osm05322@osmosys.co, osm02542@osmosys.co, osm00209@osmosys.co, osm07176@osmosys.co, osm03119@osmosys.co, osm05716@osmosys.co, osm03934@osmosys.co, osm02541@osmosys.co, osm02612@osmosys.co, osm00660@osmosys.co, osm03569@osmosys.co, osm02764@osmosys.co, osm06639@osmosys.co, osm07250@osmosys.co, osm03966@osmosys.co, osm02567@osmosys.co, osm00439@osmosys.co, osm02169@osmosys.co, osm01584@osmosys.co, osm02857@osmosys.co, osm02234@osmosys.co, osm03536@osmosys.co, osm02916@osmosys.co, osm04404@osmosys.co, TTK_HOD@oqsha.com, osm03964@osmosys.co, osm00733@osmosys.co, osm02082@osmosys.co, osm01301@osmosys.co, osm01538@osmosys.co, TTK_KAR_HOD@oqsha.com, osm03664@osmosys.co, osm01805@osmosys.co, osm03368@osmosys.co, osm11365@osmosys.co, osm07294@osmosys.co, osm01369@osmosys.co, osm09145@osmosys.co, osm01026@osmosys.co, TTK_CMO@oqsha.com

The Final Report of Investigation has been released on this Incident DMJ95S


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


--- Email response from Osmo-x is 201


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


### End Event Execution ###


### Start Event Execution ###


Sending WhatsApp notification for task assignment to user ID: 5805


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000007592","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"oqsha_task_assigned_to_notification_v4","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"Davina Cope"},{"type":"text","text":"Action Tracker"},{"type":"text","text":"AT/FBYDW/HOS/INR/26/00005"},{"type":"text","text":"Shop floor supervisor should educate the people on PPEs compliance regularly. Also each person should have glove in their pocket for immediate use during requirement"},{"type":"text","text":"Investigation Report"},{"type":"text","text":"https://oqsha.com/#/tasks/edit/14881?dlType=viewTask&orgID=248"},{"type":"text","text":"EHS Department - TTK Prestige Limited"}]}]}}}


Sending Task Assignment Email for TaskId: 14881, UserId: 5805


New Action Tracker Assigned - AT/FBYDW/HOS/INR/26/00005


# Preparing notification body #


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


# Calling SendNotificationToTaskAssignees function for WhatsApp notification #


Sending WhatsApp notification for task assignment to user ID: 5777


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000006341","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"oqsha_task_assigned_to_notification_v4","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"Ferris Noyes"},{"type":"text","text":"Action Tracker"},{"type":"text","text":"AT/FBYDW/HOS/INR/26/00006"},{"type":"text","text":"Shop floor supervisor should educate the people on PPEs compliance regularly. Also each person should have glove in their pocket for immediate use during requirement"},{"type":"text","text":"Investigation Report"},{"type":"text","text":"https://oqsha.com/#/tasks/edit/14882?dlType=viewTask&orgID=248"},{"type":"text","text":"EHS Department - TTK Prestige Limited"}]}]}}}


Osmo-x WhatsApp Message has been Sent


Sending Task Assignment Email for TaskId: 14882, UserId: 5777


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


Reading and binding data to Email Template


Initializing Email Service Client


Generating Email Request


New Action Tracker Assigned - AT/FBYDW/HOS/INR/26/00006


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


--- Email response from Osmo-x is 201


### End Event Execution ###


### Start Event Execution ###


Sending WhatsApp notification for task assignment to user ID: 5783


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000007621","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"oqsha_task_assigned_to_notification_v4","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"Roxane Cope"},{"type":"text","text":"Action Tracker"},{"type":"text","text":"AT/FBYDW/HOS/INR/26/00007"},{"type":"text","text":"Shop floor supervisor should educate the people on PPEs compliance regularly. Also each person should have glove in their pocket for immediate use during requirement"},{"type":"text","text":"Investigation Report"},{"type":"text","text":"https://oqsha.com/#/tasks/edit/14883?dlType=viewTask&orgID=248"},{"type":"text","text":"EHS Department - TTK Prestige Limited"}]}]}}}


Sending Task Assignment Email for TaskId: 14883, UserId: 5783


New Action Tracker Assigned - AT/FBYDW/HOS/INR/26/00007


# Preparing notification body #


Sending WhatsApp notification for task assignment to user ID: 5755


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000003803","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"oqsha_task_assigned_to_notification_v4","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"Willia Cope"},{"type":"text","text":"Action Tracker"},{"type":"text","text":"AT/FBYDW/HOS/INR/26/00008"},{"type":"text","text":"Shop floor supervisor should educate the people on PPEs compliance regularly. Also each person should have glove in their pocket for immediate use during requirement"},{"type":"text","text":"Investigation Report"},{"type":"text","text":"https://oqsha.com/#/tasks/edit/14884?dlType=viewTask&orgID=248"},{"type":"text","text":"EHS Department - TTK Prestige Limited"}]}]}}}


Osmo-x WhatsApp Message has been Sent


Sending Task Assignment Email for TaskId: 14884, UserId: 5755


New Action Tracker Assigned - AT/FBYDW/HOS/INR/26/00008


Sending WhatsApp notification for task assignment to user ID: 5775


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000010828","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"oqsha_task_assigned_to_notification_v4","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"Kristi Deal"},{"type":"text","text":"Action Tracker"},{"type":"text","text":"AT/FBYDW/HOS/INR/26/00009"},{"type":"text","text":"While handling circles, cowls in store, hand gloves & sleeve is must & ensure in your area"},{"type":"text","text":"Investigation Report"},{"type":"text","text":"https://oqsha.com/#/tasks/edit/14885?dlType=viewTask&orgID=248"},{"type":"text","text":"EHS Department - TTK Prestige Limited"}]}]}}}


Sending Task Assignment Email for TaskId: 14885, UserId: 5775


Initializing Email Service Client


Generating Email Request


New Action Tracker Assigned - AT/FBYDW/HOS/INR/26/00009


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


--- Email response from Osmo-x is 201


### End Event Execution ###


### Start Event Execution ###


Sending WhatsApp notification for task assignment to user ID: 5860


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000004576","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"oqsha_task_assigned_to_notification_v4","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"Ardeth Diller"},{"type":"text","text":"Action Tracker"},{"type":"text","text":"AT/FBYDW/HOS/INR/26/00010"},{"type":"text","text":"While handling circles, cowls in store, hand gloves & sleeve is must & ensure in your area"},{"type":"text","text":"Investigation Report"},{"type":"text","text":"https://oqsha.com/#/tasks/edit/14886?dlType=viewTask&orgID=248"},{"type":"text","text":"EHS Department - TTK Prestige Limited"}]}]}}}


Sending Task Assignment Email for TaskId: 14886, UserId: 5860


New Action Tracker Assigned - AT/FBYDW/HOS/INR/26/00010


# Preparing notification body #


# Checking for device existence #


# User device exists #


Sending Task Assignment Notification for Task Id:14886


Inside SendAppNotification Device Type: GCM


Generating AWS SNS Request


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/b21755da-43f6-3f7d-9e2d-a0641d18d213


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


# Push notification did not send #


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/36ed2536-8b01-35fc-ad5f-48198dfc1c8d


Push notification failed to send to a device 20941.


### End Event Execution ###


### Start Event Execution ###


Message : {"EventName":"NOTIFICATION_TO_TASK_ASSIGNEES","EventArgs":[{"Key":"TaskId","Value":14887},{"Key":"OrganisationId","Value":248},{"Key":"TaskUid","Value":"AT/FBYDW/COI/INR/26/00001"},{"Key":"TaskPriority","Value":"Medium"},{"Key":"TaskDescription","Value":"Gloves is must for every one while handling the raw materials or semi finshed products like managers, supervisor, operators & helpers. Always keep the glove in the pocket while in operational area"},{"Key":"DueDate","Value":"03-Jul-2026"},{"Key":"AssigneeUserDetails","Value":"[{\"Id\":5883,\"MobileNumber\":\"2000003049\",\"WhatsAppNumber\":\"2000003049\",\"CountryCode\":\"+91\",\"UserUid\":null,\"CountryId\":11,\"WhatsAppCountryCode\":\"+91\",\"WhatsAppCountryId\":11,\"Photo\":null,\"FirstName\":\"Shanice\",\"LastName\":\"Hamlet\",\"DisplayName\":\"Shanice Hamlet\",\"Email\":\"osm03966@osmosys.co\",\"Password\":null,\"City\":null,\"Country\":null,\"Address\":\"\",\"Pincode\":null,\"CompanyId\":null,\"CompanyTypeId\":null,\"JobDesignationIds\":null,\"JobDesignationName\":null,\"ReceiveAllPtwNotifications\":null,\"SeeAllPtws\":null,\"SeeAllInspections\":null,\"Role\":1,\"Roles\":null,\"AnonymousReporting\":false,\"Status\":1,\"CreatedOn\":\"2025-10-08T10:52:48\",\"ModifiedOn\":\"2025-10-08T10:52:48\",\"Latitude\":null,\"Longitude\":null,\"Location\":null,\"OrganisationName\":null,\"IsVerified\":null,\"IsCloseOrganisation\":null,\"OrganisationId\":null,\"CompanyName\":null,\"VerificationStatus\":null,\"IsPortalUser\":null,\"IsFieldStaff\":null,\"LocationId\":null,\"LocationName\":null,\"IncidentSites\":null,\"IncidentSiteIds\":null,\"IncidentSitesText\":null,\"IsAppUser\":false,\"Incidents\":null,\"IncidentHistory\":null,\"IsSelectAll\":null,\"IsSelectAllFieldStaff\":null,\"AppPassword\":null,\"ShowAllIncidents\":null,\"OrgUserCreatedOn\":null,\"AzureUserId\":null,\"AppUserPreferenceDBO\":null,\"EmployeeNumber\":\"3837\",\"EmergencyContactName\":null,\"EmergencyContactNumber\":null,\"ReportingManager\":null,\"DateOfJoining\":null,\"DateOfBirth\":null,\"Department\":null,\"Sites\":null,\"ShortCode\":null,\"AcmRoleId\":null,\"AcmRole\":null,\"JobDesignationId\":null,\"AcmRoles\":null,\"JobTypeIds\":null,\"SectionIds\":null,\"Sections\":null,\"IsActiveUser\":null,\"JobDesignationNames\":null,\"UserHistory\":null,\"EscalateConfig\":null,\"ContractStartedOn\":null,\"ContractEndsOn\":null,\"IsOwner\":null,\"PortalPasswordLastChangedOn\":null,\"AppPasswordLastChangedOn\":null,\"Departments\":null,\"UserQrCodeImage\":null,\"UserQrCodePdf\":null,\"UserMultiplePhotos\":null,\"UserTypeName\":null,\"AcmRoleIds\":null,\"RoleId\":0,\"StringUserSiteIds\":null,\"SiteIds\":null,\"UserCreationSource\":null,\"Gender\":null,\"DesignationId\":null,\"DesignationName\":null}]"},{"Key":"CategoryName","Value":"Investigation Report"}]}


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


# Calling SendNotificationToTaskAssignees function for WhatsApp notification #


Sending WhatsApp notification for task assignment to user ID: 5883


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000003049","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"oqsha_task_assigned_to_notification_v4","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"Shanice Hamlet"},{"type":"text","text":"Action Tracker"},{"type":"text","text":"AT/FBYDW/COI/INR/26/00001"},{"type":"text","text":"Gloves is must for every one while handling the raw materials or semi finshed products like managers, supervisor, operators & helpers. Always keep the glove in the pocket while in operational area"},{"type":"text","text":"Investigation Report"},{"type":"text","text":"https://oqsha.com/#/tasks/edit/14887?dlType=viewTask&orgID=248"},{"type":"text","text":"EHS Department - TTK Prestige Limited"}]}]}}}


Osmo-x WhatsApp Message has been Sent


Sending Task Assignment Email for TaskId: 14887, UserId: 5883


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


Reading and binding data to Email Template


Initializing Email Service Client


Generating Email Request


New Action Tracker Assigned - AT/FBYDW/COI/INR/26/00001


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


--- Email response from Osmo-x is 201


# Preparing notification body #


# Checking for device existence #


# User device exists #


Sending Task Assignment Notification for Task Id:14887


Generating AWS SNS Request


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/98744629-fd6b-3024-ba33-80635f8800e8


Unauthorized


Push notification failed to send to a device 13063.


# Push notification did not send #


Inside SendAppNotification Device Type: GCM


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/21be9059-be61-3fa8-a700-ecb10606da99


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


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


Push notification failed to send to a device 17030.


### End Event Execution ###


### Start Event Execution ###


Message : {"EventName":"NOTIFICATION_TO_TASK_ASSIGNEES","EventArgs":[{"Key":"TaskId","Value":14888},{"Key":"OrganisationId","Value":248},{"Key":"TaskUid","Value":"AT/FBYDW/KAR/INR/26/00001"},{"Key":"TaskPriority","Value":"Medium"},{"Key":"TaskDescription","Value":"Gloves is must for every one while handling the raw materials or semi finshed products like managers, supervisor, operators & helpers. Always keep the glove in the pocket while in operational area"},{"Key":"DueDate","Value":"03-Jul-2026"},{"Key":"AssigneeUserDetails","Value":"[{\"Id\":11915,\"MobileNumber\":\"5555559442\",\"WhatsAppNumber\":\"5555559442\",\"CountryCode\":\"+91\",\"UserUid\":null,\"CountryId\":11,\"WhatsAppCountryCode\":\"+91\",\"WhatsAppCountryId\":11,\"Photo\":null,\"FirstName\":\"Telmo\",\"LastName\":\"Saura\",\"DisplayName\":\"Telmo Saura\",\"Email\":\"osm03664@osmosys.co\",\"Password\":null,\"City\":null,\"Country\":null,\"Address\":\"\",\"Pincode\":null,\"CompanyId\":null,\"CompanyTypeId\":null,\"JobDesignationIds\":null,\"JobDesignationName\":null,\"ReceiveAllPtwNotifications\":null,\"SeeAllPtws\":null,\"SeeAllInspections\":null,\"Role\":1,\"Roles\":null,\"AnonymousReporting\":false,\"Status\":1,\"CreatedOn\":\"2026-04-11T04:37:57\",\"ModifiedOn\":\"2026-04-11T04:37:57\",\"Latitude\":null,\"Longitude\":null,\"Location\":null,\"OrganisationName\":null,\"IsVerified\":null,\"IsCloseOrganisation\":null,\"OrganisationId\":null,\"CompanyName\":null,\"VerificationStatus\":null,\"IsPortalUser\":null,\"IsFieldStaff\":null,\"LocationId\":null,\"LocationName\":null,\"IncidentSites\":null,\"IncidentSiteIds\":null,\"IncidentSitesText\":null,\"IsAppUser\":false,\"Incidents\":null,\"IncidentHistory\":null,\"IsSelectAll\":null,\"IsSelectAllFieldStaff\":null,\"AppPassword\":null,\"ShowAllIncidents\":null,\"OrgUserCreatedOn\":null,\"AzureUserId\":null,\"AppUserPreferenceDBO\":null,\"EmployeeNumber\":\"4088\",\"EmergencyContactName\":null,\"EmergencyContactNumber\":null,\"ReportingManager\":null,\"DateOfJoining\":null,\"DateOfBirth\":null,\"Department\":null,\"Sites\":null,\"ShortCode\":null,\"AcmRoleId\":null,\"AcmRole\":null,\"JobDesignationId\":null,\"AcmRoles\":null,\"JobTypeIds\":null,\"SectionIds\":null,\"Sections\":null,\"IsActiveUser\":null,\"JobDesignationNames\":null,\"UserHistory\":null,\"EscalateConfig\":null,\"ContractStartedOn\":null,\"ContractEndsOn\":null,\"IsOwner\":null,\"PortalPasswordLastChangedOn\":null,\"AppPasswordLastChangedOn\":null,\"Departments\":null,\"UserQrCodeImage\":null,\"UserQrCodePdf\":null,\"UserMultiplePhotos\":null,\"UserTypeName\":null,\"AcmRoleIds\":null,\"RoleId\":0,\"StringUserSiteIds\":null,\"SiteIds\":null,\"UserCreationSource\":null,\"Gender\":null,\"DesignationId\":null,\"DesignationName\":null}]"},{"Key":"CategoryName","Value":"Investigation Report"}]}


Sending WhatsApp notification for task assignment to user ID: 11915


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"915555559442","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"oqsha_task_assigned_to_notification_v4","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"Telmo Saura"},{"type":"text","text":"Action Tracker"},{"type":"text","text":"AT/FBYDW/KAR/INR/26/00001"},{"type":"text","text":"Gloves is must for every one while handling the raw materials or semi finshed products like managers, supervisor, operators & helpers. Always keep the glove in the pocket while in operational area"},{"type":"text","text":"Investigation Report"},{"type":"text","text":"https://oqsha.com/#/tasks/edit/14888?dlType=viewTask&orgID=248"},{"type":"text","text":"EHS Department - TTK Prestige Limited"}]}]}}}


Osmo-x WhatsApp Message has been Sent


Sending Task Assignment Email for TaskId: 14888, UserId: 11915


Initializing Email Service Client


Generating Email Request


New Action Tracker Assigned - AT/FBYDW/KAR/INR/26/00001


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


--- Email response from Osmo-x is 201


# Preparing notification body #


# Checking for device existence #


# User device exists #


Sending Task Assignment Notification for Task Id:14888


Generating AWS SNS Request


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/ad04ecf4-4e97-310b-b2b9-9599e8270f6b


Unauthorized


Push notification failed to send to a device 18650.


# Push notification did not send #


### End Event Execution ###


### Start Event Execution ###


Message : {"EventName":"NOTIFICATION_TO_TASK_ASSIGNEES","EventArgs":[{"Key":"TaskId","Value":14889},{"Key":"OrganisationId","Value":248},{"Key":"TaskUid","Value":"AT/FBYDW/KHA/INR/26/00001"},{"Key":"TaskPriority","Value":"Medium"},{"Key":"TaskDescription","Value":"Gloves is must for every one while handling the raw materials or semi finshed products like managers, supervisor, operators & helpers. Always keep the glove in the pocket while in operational area"},{"Key":"DueDate","Value":"03-Jul-2026"},{"Key":"AssigneeUserDetails","Value":"[{\"Id\":5533,\"MobileNumber\":\"2000000560\",\"WhatsAppNumber\":\"2000000560\",\"CountryCode\":\"+91\",\"UserUid\":null,\"CountryId\":11,\"WhatsAppCountryCode\":\"+91\",\"WhatsAppCountryId\":11,\"Photo\":null,\"FirstName\":\"Justina\",\"LastName\":\"Benedict\",\"DisplayName\":\"Justina Benedict\",\"Email\":\"TTK_KHA_PlantH@oqsha.com\",\"Password\":null,\"City\":null,\"Country\":null,\"Address\":\"\",\"Pincode\":null,\"CompanyId\":null,\"CompanyTypeId\":null,\"JobDesignationIds\":null,\"JobDesignationName\":null,\"ReceiveAllPtwNotifications\":null,\"SeeAllPtws\":null,\"SeeAllInspections\":null,\"Role\":1,\"Roles\":null,\"AnonymousReporting\":false,\"Status\":1,\"CreatedOn\":\"2025-09-18T09:38:37\",\"ModifiedOn\":\"2025-10-08T15:57:17\",\"Latitude\":null,\"Longitude\":null,\"Location\":null,\"OrganisationName\":null,\"IsVerified\":null,\"IsCloseOrganisation\":null,\"OrganisationId\":null,\"CompanyName\":null,\"VerificationStatus\":null,\"IsPortalUser\":null,\"IsFieldStaff\":null,\"LocationId\":null,\"LocationName\":null,\"IncidentSites\":null,\"IncidentSiteIds\":null,\"IncidentSitesText\":null,\"IsAppUser\":false,\"Incidents\":null,\"IncidentHistory\":null,\"IsSelectAll\":null,\"IsSelectAllFieldStaff\":null,\"AppPassword\":null,\"ShowAllIncidents\":null,\"OrgUserCreatedOn\":null,\"AzureUserId\":null,\"AppUserPreferenceDBO\":null,\"EmployeeNumber\":\"1568\",\"EmergencyContactName\":\"\",\"EmergencyContactNumber\":\"\",\"ReportingManager\":\"\",\"DateOfJoining\":null,\"DateOfBirth\":null,\"Department\":null,\"Sites\":null,\"ShortCode\":null,\"AcmRoleId\":null,\"AcmRole\":null,\"JobDesignationId\":null,\"AcmRoles\":null,\"JobTypeIds\":null,\"SectionIds\":null,\"Sections\":null,\"IsActiveUser\":null,\"JobDesignationNames\":null,\"UserHistory\":null,\"EscalateConfig\":null,\"ContractStartedOn\":null,\"ContractEndsOn\":null,\"IsOwner\":null,\"PortalPasswordLastChangedOn\":null,\"AppPasswordLastChangedOn\":null,\"Departments\":null,\"UserQrCodeImage\":null,\"UserQrCodePdf\":null,\"UserMultiplePhotos\":null,\"UserTypeName\":null,\"AcmRoleIds\":null,\"RoleId\":0,\"StringUserSiteIds\":null,\"SiteIds\":null,\"UserCreationSource\":null,\"Gender\":null,\"DesignationId\":null,\"DesignationName\":null}]"},{"Key":"CategoryName","Value":"Investigation Report"}]}


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


# Calling SendNotificationToTaskAssignees function for WhatsApp notification #


Sending WhatsApp notification for task assignment to user ID: 5533


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000000560","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"oqsha_task_assigned_to_notification_v4","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"Justina Benedict"},{"type":"text","text":"Action Tracker"},{"type":"text","text":"AT/FBYDW/KHA/INR/26/00001"},{"type":"text","text":"Gloves is must for every one while handling the raw materials or semi finshed products like managers, supervisor, operators & helpers. Always keep the glove in the pocket while in operational area"},{"type":"text","text":"Investigation Report"},{"type":"text","text":"https://oqsha.com/#/tasks/edit/14889?dlType=viewTask&orgID=248"},{"type":"text","text":"EHS Department - TTK Prestige Limited"}]}]}}}


Osmo-x WhatsApp Message has been Sent


Sending Task Assignment Email for TaskId: 14889, UserId: 5533


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


Reading and binding data to Email Template


Initializing Email Service Client


Generating Email Request


New Action Tracker Assigned - AT/FBYDW/KHA/INR/26/00001


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


--- Email response from Osmo-x is 201


# Preparing notification body #


# Checking for device existence #


# User device exists #


Sending Task Assignment Notification for Task Id:14889


Inside SendAppNotification Device Type: GCM


Generating AWS SNS Request


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/adea07a5-8a86-365c-a44f-0904a01930ae


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


# Push notification did not send #


### End Event Execution ###


### Start Event Execution ###


Message : {"EventName":"NOTIFICATION_TO_TASK_ASSIGNEES","EventArgs":[{"Key":"TaskId","Value":14890},{"Key":"OrganisationId","Value":248},{"Key":"TaskUid","Value":"AT/FBYDW/ROO/INR/26/00001"},{"Key":"TaskPriority","Value":"Medium"},{"Key":"TaskDescription","Value":"Gloves is must for every one while handling the raw materials or semi finshed products like managers, supervisor, operators & helpers. Always keep the glove in the pocket while in operational area"},{"Key":"DueDate","Value":"03-Jul-2026"},{"Key":"AssigneeUserDetails","Value":"[{\"Id\":5827,\"MobileNumber\":\"2000002062\",\"WhatsAppNumber\":\"2000002062\",\"CountryCode\":\"+91\",\"UserUid\":null,\"CountryId\":11,\"WhatsAppCountryCode\":\"+91\",\"WhatsAppCountryId\":11,\"Photo\":null,\"FirstName\":\"Merwin\",\"LastName\":\"Barnette\",\"DisplayName\":\"Merwin Barnette\",\"Email\":\"osm05716@osmosys.co\",\"Password\":null,\"City\":null,\"Country\":null,\"Address\":\"\",\"Pincode\":null,\"CompanyId\":null,\"CompanyTypeId\":null,\"JobDesignationIds\":null,\"JobDesignationName\":null,\"ReceiveAllPtwNotifications\":null,\"SeeAllPtws\":null,\"SeeAllInspections\":null,\"Role\":1,\"Roles\":null,\"AnonymousReporting\":false,\"Status\":1,\"CreatedOn\":\"2025-10-08T10:50:53\",\"ModifiedOn\":\"2025-10-08T10:50:53\",\"Latitude\":null,\"Longitude\":null,\"Location\":null,\"OrganisationName\":null,\"IsVerified\":null,\"IsCloseOrganisation\":null,\"OrganisationId\":null,\"CompanyName\":null,\"VerificationStatus\":null,\"IsPortalUser\":null,\"IsFieldStaff\":null,\"LocationId\":null,\"LocationName\":null,\"IncidentSites\":null,\"IncidentSiteIds\":null,\"IncidentSitesText\":null,\"IsAppUser\":false,\"Incidents\":null,\"IncidentHistory\":null,\"IsSelectAll\":null,\"IsSelectAllFieldStaff\":null,\"AppPassword\":null,\"ShowAllIncidents\":null,\"OrgUserCreatedOn\":null,\"AzureUserId\":null,\"AppUserPreferenceDBO\":null,\"EmployeeNumber\":\"2808\",\"EmergencyContactName\":null,\"EmergencyContactNumber\":null,\"ReportingManager\":null,\"DateOfJoining\":null,\"DateOfBirth\":null,\"Department\":null,\"Sites\":null,\"ShortCode\":null,\"AcmRoleId\":null,\"AcmRole\":null,\"JobDesignationId\":null,\"AcmRoles\":null,\"JobTypeIds\":null,\"SectionIds\":null,\"Sections\":null,\"IsActiveUser\":null,\"JobDesignationNames\":null,\"UserHistory\":null,\"EscalateConfig\":null,\"ContractStartedOn\":null,\"ContractEndsOn\":null,\"IsOwner\":null,\"PortalPasswordLastChangedOn\":null,\"AppPasswordLastChangedOn\":null,\"Departments\":null,\"UserQrCodeImage\":null,\"UserQrCodePdf\":null,\"UserMultiplePhotos\":null,\"UserTypeName\":null,\"AcmRoleIds\":null,\"RoleId\":0,\"StringUserSiteIds\":null,\"SiteIds\":null,\"UserCreationSource\":null,\"Gender\":null,\"DesignationId\":null,\"DesignationName\":null}]"},{"Key":"CategoryName","Value":"Investigation Report"}]}


Sending WhatsApp notification for task assignment to user ID: 5827


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000002062","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"oqsha_task_assigned_to_notification_v4","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"Merwin Barnette"},{"type":"text","text":"Action Tracker"},{"type":"text","text":"AT/FBYDW/ROO/INR/26/00001"},{"type":"text","text":"Gloves is must for every one while handling the raw materials or semi finshed products like managers, supervisor, operators & helpers. Always keep the glove in the pocket while in operational area"},{"type":"text","text":"Investigation Report"},{"type":"text","text":"https://oqsha.com/#/tasks/edit/14890?dlType=viewTask&orgID=248"},{"type":"text","text":"EHS Department - TTK Prestige Limited"}]}]}}}


Osmo-x WhatsApp Message has been Sent


Sending Task Assignment Email for TaskId: 14890, UserId: 5827


Initializing Email Service Client


Generating Email Request


New Action Tracker Assigned - AT/FBYDW/ROO/INR/26/00001


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


--- Email response from Osmo-x is 201


# Preparing notification body #


# Checking for device existence #


# User device exists #


Sending Task Assignment Notification for Task Id:14890


Generating AWS SNS Request


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/6c3ebb67-6f10-39b7-9e0b-310f1219c556


Unauthorized


Push notification failed to send to a device 12714.


# Push notification did not send #


### End Event Execution ###


### Start Event Execution ###


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


# Calling SendNotificationToTaskAssignees function for WhatsApp notification #


Sending WhatsApp notification for task assignment to user ID: 9614


Osmo-x WhatsApp Message has been Sent


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


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000003712","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/RDVT/CS/26/00001"},{"type":"text","text":"03-Jul-2026"},{"type":"text","text":"Confined space"},{"type":"text","text":"Meadow Oaks"},{"type":"text","text":" "},{"type":"text","text":"Requested by Cian Mccandless at 03-Jul-2026 03:47:47 PM"},{"type":"text","text":"Issue"},{"type":"text","text":"Maxim Noyes"},{"type":"text","text":"https://oqsha.com/#/work-permit/view/398549?orgID=207&dlType=viewWorkPermit"}]}]}}}


Executing sending push notification to the issuers


# Push Subject for Issuer P/HUBG/TFX/RDVT/CS/26/00001


# Preparing notification body #


# Checking for device existence #


# User device exists #


Sending notification for permit to work: 398549


Inside SendAppNotification Device Type: APNS


Generating AWS SNS Request


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/APNS/Oqsha-IOS-Production/501adf38-8d1b-386b-9b68-3e68df90200c


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


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


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 398549


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000006623","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/RDVT/CS/26/00001"},{"type":"text","text":"03-Jul-2026"},{"type":"text","text":"Confined space"},{"type":"text","text":"Meadow Oaks"},{"type":"text","text":" "},{"type":"text","text":"Issued by Maxim Noyes at 03-Jul-2026 03:49:12 PM"},{"type":"text","text":"Approve"},{"type":"text","text":"Edna Bradbury"},{"type":"text","text":"https://oqsha.com/#/work-permit/view/398549?orgID=207&dlType=viewWorkPermit"}]}]}}}


Osmo-x WhatsApp Message has been Sent


# Preparing notification body #


# Push Subject P/HUBG/TFX/RDVT/CS/26/00001


# string body 03-Jul-2026, Maxim Noyes,


# Checking for device existence #


# User device exists #


Inside SendAppNotification Device Type: GCM


Generating AWS SNS Request


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Test/8d11500e-029f-3926-a9ac-9f0a4b65f522


Unauthorized


Push notification failed to send to a device 22327.


# Push notification did not send #


Object reference not set to an instance of an object.


### End Event Execution ###


### Start Event Execution ###


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000010247","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/RDVT/CS/26/00001"},{"type":"text","text":"03-Jul-2026"},{"type":"text","text":"Confined space"},{"type":"text","text":"Meadow Oaks"},{"type":"text","text":" "},{"type":"text","text":"Approved by Edna Bradbury at 03-Jul-2026 03:54:11 PM"},{"type":"text","text":"Review"},{"type":"text","text":"Robby Soukup"},{"type":"text","text":"https://oqsha.com/#/work-permit/view/398549?orgID=207&dlType=viewWorkPermit"}]}]}}}


Sending notification for permit to work: 398549


Push notification failed to send to a device 22329.


Inside SendAppNotification Device Type: APNS


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/APNS/Oqsha-IOS-Production/501adf38-8d1b-386b-9b68-3e68df90200c


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


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


Push notification failed to send to a device 22330.


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


# Calling SendNotificationForPTWRejectedStatus function for whatsapp and push notification #


Executing sending notification for rejection status through whatsapp


Sending notification for rejection status regarding permit to work with Id: 398549


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000000684","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/HUBG/TFX/RDVT/CS/26/00001"},{"type":"text","text":"03-Jul-2026"},{"type":"text","text":"Confined space"},{"type":"text","text":"Meadow Oaks"},{"type":"text","text":" "},{"type":"text","text":"Rejected by Robby Soukup at 03-Jul-2026 03:56:19 PM. Reason- Rejecting PTW"},{"type":"text","text":"Request Again"},{"type":"text","text":"https://oqsha.com/#/work-permit/view/398549?orgID=207&dlType=viewWorkPermit"}]}]}}}


Osmo-x WhatsApp Message has been Sent


Starting Execution for push notification for rejection status


# Preparing notification body #


# Push Subject for Issuer P/HUBG/TFX/RDVT/CS/26/00001


# string body Robby Soukup,P/HUBG/TFX/RDVT/CS/26/00001, Rejecting PTW


### End Event Execution ###


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


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000003712","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/HUBG/TFX/RDVT/CS/26/00001"},{"type":"text","text":"03-Jul-2026"},{"type":"text","text":"Confined space"},{"type":"text","text":"Meadow Oaks"},{"type":"text","text":" "},{"type":"text","text":"Requested by Cian Mccandless at 03-Jul-2026 03:58:36 PM"},{"type":"text","text":"Issue"},{"type":"text","text":"https://oqsha.com/#/work-permit/view/398549?orgID=207&dlType=viewWorkPermit"}]}]}}}


Executing sending push notification to the issuers


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


# Calling SendNotificationToEitherReviewerOrApprover function for  whatsapp and push notification #


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 398549


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000006623","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/HUBG/TFX/RDVT/CS/26/00001"},{"type":"text","text":"03-Jul-2026"},{"type":"text","text":"Confined space"},{"type":"text","text":"Meadow Oaks"},{"type":"text","text":" "},{"type":"text","text":"Issued by Maxim Noyes at 03-Jul-2026 03:59:52 PM"},{"type":"text","text":"Approve"},{"type":"text","text":"https://oqsha.com/#/work-permit/view/398549?orgID=207&dlType=viewWorkPermit"}]}]}}}


Osmo-x WhatsApp Message has been Sent


# Preparing notification body #


# Push Subject P/HUBG/TFX/RDVT/CS/26/00001


# string body 03-Jul-2026, Maxim Noyes,


# Checking for device existence #


# User device exists #


Sending notification for permit to work: 398549


Inside SendAppNotification Device Type: APNS


Generating AWS SNS Request


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/APNS/Oqsha-IOS-Production/501adf38-8d1b-386b-9b68-3e68df90200c


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


# Push notification did not send #


Inside SendAppNotification Device Type: GCM


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Test/8d11500e-029f-3926-a9ac-9f0a4b65f522


Push notification failed to send to a device 22331.


Object reference not set to an instance of an object.


### End Event Execution ###


### Start Event Execution ###


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


# Calling SendNotificationToEitherReviewerOrApprover function for  whatsapp and push notification #


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 398549


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000010247","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/HUBG/TFX/RDVT/CS/26/00001"},{"type":"text","text":"03-Jul-2026"},{"type":"text","text":"Confined space"},{"type":"text","text":"Meadow Oaks"},{"type":"text","text":" "},{"type":"text","text":"Approved by Edna Bradbury at 03-Jul-2026 04:01:02 PM"},{"type":"text","text":"Review"},{"type":"text","text":"https://oqsha.com/#/work-permit/view/398549?orgID=207&dlType=viewWorkPermit"}]}]}}}


Osmo-x WhatsApp Message has been Sent


# Preparing notification body #


# Push Subject P/HUBG/TFX/RDVT/CS/26/00001


# string body 03-Jul-2026, Maxim Noyes,


# Checking for device existence #


# User device exists #


Sending notification for permit to work: 398549


Generating AWS SNS Request


Unauthorized


Push notification failed to send to a device 22335.


# Push notification did not send #


Inside SendAppNotification Device Type: APNS


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/APNS/Oqsha-IOS-Production/501adf38-8d1b-386b-9b68-3e68df90200c


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


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


Push notification failed to send to a device 22334.


### End Event Execution ###


### Start Event Execution ###


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


# Calling SendNotificationToAllExceptReviewer function for whatsapp and push notification #


User Ids for notification: [1855,1861,4243,4244,4459,4504,4516,4518,4583,4594,4690,4691,4806,5106,5111,10657]


Starting Execution for whatsapp notification for all


Sending notification to requester regarding permit to work 398549


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000001644","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/HUBG/TFX/RDVT/CS/26/00001"},{"type":"text","text":"03-Jul-2026"},{"type":"text","text":"Confined space"},{"type":"text","text":"Meadow Oaks"},{"type":"text","text":" "},{"type":"text","text":"Reviewed by Robby Soukup at 03-Jul-2026 04:01:21 PM"},{"type":"text","text":"Start Work"},{"type":"text","text":"https://oqsha.com/#/work-permit/view/398549?orgID=207&dlType=viewWorkPermit"}]}]}}}


Osmo-x WhatsApp Message has been Sent


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000005063","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/HUBG/TFX/RDVT/CS/26/00001"},{"type":"text","text":"03-Jul-2026"},{"type":"text","text":"Confined space"},{"type":"text","text":"Meadow Oaks"},{"type":"text","text":" "},{"type":"text","text":"Reviewed by Robby Soukup at 03-Jul-2026 04:01:21 PM"},{"type":"text","text":"Start Work"},{"type":"text","text":"https://oqsha.com/#/work-permit/view/398549?orgID=207&dlType=viewWorkPermit"}]}]}}}


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000006623","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/HUBG/TFX/RDVT/CS/26/00001"},{"type":"text","text":"03-Jul-2026"},{"type":"text","text":"Confined space"},{"type":"text","text":"Meadow Oaks"},{"type":"text","text":" "},{"type":"text","text":"Reviewed by Robby Soukup at 03-Jul-2026 04:01:21 PM"},{"type":"text","text":"Start Work"},{"type":"text","text":"https://oqsha.com/#/work-permit/view/398549?orgID=207&dlType=viewWorkPermit"}]}]}}}


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000001717","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/HUBG/TFX/RDVT/CS/26/00001"},{"type":"text","text":"03-Jul-2026"},{"type":"text","text":"Confined space"},{"type":"text","text":"Meadow Oaks"},{"type":"text","text":" "},{"type":"text","text":"Reviewed by Robby Soukup at 03-Jul-2026 04:01:21 PM"},{"type":"text","text":"Start Work"},{"type":"text","text":"https://oqsha.com/#/work-permit/view/398549?orgID=207&dlType=viewWorkPermit"}]}]}}}


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"915555557098","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/HUBG/TFX/RDVT/CS/26/00001"},{"type":"text","text":"03-Jul-2026"},{"type":"text","text":"Confined space"},{"type":"text","text":"Meadow Oaks"},{"type":"text","text":" "},{"type":"text","text":"Reviewed by Robby Soukup at 03-Jul-2026 04:01:21 PM"},{"type":"text","text":"Start Work"},{"type":"text","text":"https://oqsha.com/#/work-permit/view/398549?orgID=207&dlType=viewWorkPermit"}]}]}}}


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000010247","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/HUBG/TFX/RDVT/CS/26/00001"},{"type":"text","text":"03-Jul-2026"},{"type":"text","text":"Confined space"},{"type":"text","text":"Meadow Oaks"},{"type":"text","text":" "},{"type":"text","text":"Reviewed by Robby Soukup at 03-Jul-2026 04:01:21 PM"},{"type":"text","text":"Start Work"},{"type":"text","text":"https://oqsha.com/#/work-permit/view/398549?orgID=207&dlType=viewWorkPermit"}]}]}}}


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000000959","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/HUBG/TFX/RDVT/CS/26/00001"},{"type":"text","text":"03-Jul-2026"},{"type":"text","text":"Confined space"},{"type":"text","text":"Meadow Oaks"},{"type":"text","text":" "},{"type":"text","text":"Reviewed by Robby Soukup at 03-Jul-2026 04:01:21 PM"},{"type":"text","text":"Start Work"},{"type":"text","text":"https://oqsha.com/#/work-permit/view/398549?orgID=207&dlType=viewWorkPermit"}]}]}}}


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000007577","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/HUBG/TFX/RDVT/CS/26/00001"},{"type":"text","text":"03-Jul-2026"},{"type":"text","text":"Confined space"},{"type":"text","text":"Meadow Oaks"},{"type":"text","text":" "},{"type":"text","text":"Reviewed by Robby Soukup at 03-Jul-2026 04:01:21 PM"},{"type":"text","text":"Start Work"},{"type":"text","text":"https://oqsha.com/#/work-permit/view/398549?orgID=207&dlType=viewWorkPermit"}]}]}}}


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000003340","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/HUBG/TFX/RDVT/CS/26/00001"},{"type":"text","text":"03-Jul-2026"},{"type":"text","text":"Confined space"},{"type":"text","text":"Meadow Oaks"},{"type":"text","text":" "},{"type":"text","text":"Reviewed by Robby Soukup at 03-Jul-2026 04:01:21 PM"},{"type":"text","text":"Start Work"},{"type":"text","text":"https://oqsha.com/#/work-permit/view/398549?orgID=207&dlType=viewWorkPermit"}]}]}}}


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000000337","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/HUBG/TFX/RDVT/CS/26/00001"},{"type":"text","text":"03-Jul-2026"},{"type":"text","text":"Confined space"},{"type":"text","text":"Meadow Oaks"},{"type":"text","text":" "},{"type":"text","text":"Reviewed by Robby Soukup at 03-Jul-2026 04:01:21 PM"},{"type":"text","text":"Start Work"},{"type":"text","text":"https://oqsha.com/#/work-permit/view/398549?orgID=207&dlType=viewWorkPermit"}]}]}}}


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000000734","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/HUBG/TFX/RDVT/CS/26/00001"},{"type":"text","text":"03-Jul-2026"},{"type":"text","text":"Confined space"},{"type":"text","text":"Meadow Oaks"},{"type":"text","text":" "},{"type":"text","text":"Reviewed by Robby Soukup at 03-Jul-2026 04:01:21 PM"},{"type":"text","text":"Start Work"},{"type":"text","text":"https://oqsha.com/#/work-permit/view/398549?orgID=207&dlType=viewWorkPermit"}]}]}}}


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000003805","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/HUBG/TFX/RDVT/CS/26/00001"},{"type":"text","text":"03-Jul-2026"},{"type":"text","text":"Confined space"},{"type":"text","text":"Meadow Oaks"},{"type":"text","text":" "},{"type":"text","text":"Reviewed by Robby Soukup at 03-Jul-2026 04:01:21 PM"},{"type":"text","text":"Start Work"},{"type":"text","text":"https://oqsha.com/#/work-permit/view/398549?orgID=207&dlType=viewWorkPermit"}]}]}}}


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000003712","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/HUBG/TFX/RDVT/CS/26/00001"},{"type":"text","text":"03-Jul-2026"},{"type":"text","text":"Confined space"},{"type":"text","text":"Meadow Oaks"},{"type":"text","text":" "},{"type":"text","text":"Reviewed by Robby Soukup at 03-Jul-2026 04:01:21 PM"},{"type":"text","text":"Start Work"},{"type":"text","text":"https://oqsha.com/#/work-permit/view/398549?orgID=207&dlType=viewWorkPermit"}]}]}}}


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000000884","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/HUBG/TFX/RDVT/CS/26/00001"},{"type":"text","text":"03-Jul-2026"},{"type":"text","text":"Confined space"},{"type":"text","text":"Meadow Oaks"},{"type":"text","text":" "},{"type":"text","text":"Reviewed by Robby Soukup at 03-Jul-2026 04:01:21 PM"},{"type":"text","text":"Start Work"},{"type":"text","text":"https://oqsha.com/#/work-permit/view/398549?orgID=207&dlType=viewWorkPermit"}]}]}}}


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000000090","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/HUBG/TFX/RDVT/CS/26/00001"},{"type":"text","text":"03-Jul-2026"},{"type":"text","text":"Confined space"},{"type":"text","text":"Meadow Oaks"},{"type":"text","text":" "},{"type":"text","text":"Reviewed by Robby Soukup at 03-Jul-2026 04:01:21 PM"},{"type":"text","text":"Start Work"},{"type":"text","text":"https://oqsha.com/#/work-permit/view/398549?orgID=207&dlType=viewWorkPermit"}]}]}}}


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000000684","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/HUBG/TFX/RDVT/CS/26/00001"},{"type":"text","text":"03-Jul-2026"},{"type":"text","text":"Confined space"},{"type":"text","text":"Meadow Oaks"},{"type":"text","text":" "},{"type":"text","text":"Reviewed by Robby Soukup at 03-Jul-2026 04:01:21 PM"},{"type":"text","text":"Start Work"},{"type":"text","text":"https://oqsha.com/#/work-permit/view/398549?orgID=207&dlType=viewWorkPermit"}]}]}}}


Starting Execution for push notification for all


# Preparing notification body #


# Push Subject for Issuer P/HUBG/TFX/RDVT/CS/26/00001


# string body 03-Jul-2026, Robby Soukup, P/HUBG/TFX/RDVT/CS/26/00001, 03-Jul-2026


### End Event Execution ###


### Start Event Execution ###


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


# Calling SendNotificationToIssuersForExtensionPTW function for whatsapp and push notification #


Executing sending notification to issuers for extended PTW through whatsapp


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


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000003712","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/RDVT/CS/26/00001"},{"type":"text","text":"03-Jul-2026"},{"type":"text","text":"Confined space"},{"type":"text","text":"Meadow Oaks"},{"type":"text","text":" "},{"type":"text","text":"Extension Requested by Cian Mccandless for 2 hour(s) at 03-Jul-2026 04:03:41 PM"},{"type":"text","text":"Extension Issue"},{"type":"text","text":"Maxim Noyes"},{"type":"text","text":"https://oqsha.com/#/work-permit/view/398549?orgID=207&dlType=viewWorkPermit"}]}]}}}


Osmo-x WhatsApp Message has been Sent


Executing sending push notification to the issuers for extended PTW


# string body Cian Mccandless, 2 hour(s), P/HUBG/TFX/RDVT/CS/26/00001


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


# Calling SendNotificationToEitherReviewerOrApproverForExtendedPTW function for  whatsapp and push notification #


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 398549


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000006623","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/RDVT/CS/26/00001"},{"type":"text","text":"03-Jul-2026"},{"type":"text","text":"Confined space"},{"type":"text","text":"Meadow Oaks"},{"type":"text","text":" "},{"type":"text","text":"Extension Issued by Maxim Noyes for 2 hour(s) at 03-Jul-2026 04:04:22 PM"},{"type":"text","text":"Extension Approve"},{"type":"text","text":"Edna Bradbury"},{"type":"text","text":"https://oqsha.com/#/work-permit/view/398549?orgID=207&dlType=viewWorkPermit"}]}]}}}


# Preparing notification body #


# string body Cian Mccandless, 2 hour(s), P/HUBG/TFX/RDVT/CS/26/00001,,


### End Event Execution ###


### Start Event Execution ###


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000010247","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/RDVT/CS/26/00001"},{"type":"text","text":"03-Jul-2026"},{"type":"text","text":"Confined space"},{"type":"text","text":"Meadow Oaks"},{"type":"text","text":" "},{"type":"text","text":"Extension Approved by Edna Bradbury for 2 hour(s) at 03-Jul-2026 04:04:50 PM"},{"type":"text","text":"Extension Review"},{"type":"text","text":"Robby Soukup"},{"type":"text","text":"https://oqsha.com/#/work-permit/view/398549?orgID=207&dlType=viewWorkPermit"}]}]}}}


# Push Subject for Issuer P/HUBG/TFX/RDVT/CS/26/00001


# string body Cian Mccandless, 2 hour(s), P/HUBG/TFX/RDVT/CS/26/00001,Maxim Noyes,


# Checking for device existence #


# User device exists #


Sending notification for permit to work: 398549


Inside SendAppNotification Device Type: APNS


Generating AWS SNS Request


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/APNS/Oqsha-IOS-Production/501adf38-8d1b-386b-9b68-3e68df90200c


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


# Push notification did not send #


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


# Calling SendNotificationToAllExceptReviewerForExtendedPTW function for  whatsapp and push notification #


Starting Execution for whatsapp notification for all


Sending notification to requester regarding permit to work 398549


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000001644","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/HUBG/TFX/RDVT/CS/26/00001"},{"type":"text","text":"03-Jul-2026"},{"type":"text","text":"Confined space"},{"type":"text","text":"Meadow Oaks"},{"type":"text","text":" "},{"type":"text","text":"Extension Reviewed by Robby Soukup for 2 hour(s) at 03-Jul-2026 04:05:48 PM"},{"type":"text","text":"Start Work"},{"type":"text","text":"https://oqsha.com/#/work-permit/view/398549?orgID=207&dlType=viewWorkPermit"}]}]}}}


Osmo-x WhatsApp Message has been Sent


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000005063","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/HUBG/TFX/RDVT/CS/26/00001"},{"type":"text","text":"03-Jul-2026"},{"type":"text","text":"Confined space"},{"type":"text","text":"Meadow Oaks"},{"type":"text","text":" "},{"type":"text","text":"Extension Reviewed by Robby Soukup for 2 hour(s) at 03-Jul-2026 04:05:48 PM"},{"type":"text","text":"Start Work"},{"type":"text","text":"https://oqsha.com/#/work-permit/view/398549?orgID=207&dlType=viewWorkPermit"}]}]}}}