Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000007341","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"ptw_history_comments_latest_v2","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"P/MIRA/FCP/YI/GW/26/00001"},{"type":"text","text":"15-Jul-2026"},{"type":"text","text":"General Work"},{"type":"text","text":"Rio"},{"type":"text","text":" "},{"type":"text","text":"cancelled . The status has changed to Cancelled."},{"type":"text","text":"Sincere Kidwell at 15-Jul-2026 12:31:33 PM"},{"type":"text","text":"https://oqsha.com/#/work-permit/view/407927?orgID=232&dlType=viewWorkPermit"}]}]}}}


Osmo-x WhatsApp Message has been Sent


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


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"919999999999","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"ptw_history_comments_latest_v2","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"P/MIRA/FCP/YI/GW/26/00001"},{"type":"text","text":"15-Jul-2026"},{"type":"text","text":"General Work"},{"type":"text","text":"Rio"},{"type":"text","text":" "},{"type":"text","text":"cancelled . The status has changed to Cancelled."},{"type":"text","text":"Sincere Kidwell at 15-Jul-2026 12:31:33 PM"},{"type":"text","text":"https://oqsha.com/#/work-permit/view/407927?orgID=232&dlType=viewWorkPermit"}]}]}}}


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000010468","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"ptw_history_comments_latest_v2","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"P/MIRA/FCP/YI/GW/26/00001"},{"type":"text","text":"15-Jul-2026"},{"type":"text","text":"General Work"},{"type":"text","text":"Rio"},{"type":"text","text":" "},{"type":"text","text":"cancelled . The status has changed to Cancelled."},{"type":"text","text":"Sincere Kidwell at 15-Jul-2026 12:31:33 PM"},{"type":"text","text":"https://oqsha.com/#/work-permit/view/407927?orgID=232&dlType=viewWorkPermit"}]}]}}}


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000001909","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"ptw_history_comments_latest_v2","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"P/MIRA/FCP/YI/GW/26/00001"},{"type":"text","text":"15-Jul-2026"},{"type":"text","text":"General Work"},{"type":"text","text":"Rio"},{"type":"text","text":" "},{"type":"text","text":"cancelled . The status has changed to Cancelled."},{"type":"text","text":"Sincere Kidwell at 15-Jul-2026 12:31:33 PM"},{"type":"text","text":"https://oqsha.com/#/work-permit/view/407927?orgID=232&dlType=viewWorkPermit"}]}]}}}


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"917777777771","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"ptw_history_comments_latest_v2","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"P/MIRA/FCP/YI/GW/26/00001"},{"type":"text","text":"15-Jul-2026"},{"type":"text","text":"General Work"},{"type":"text","text":"Rio"},{"type":"text","text":" "},{"type":"text","text":"cancelled . The status has changed to Cancelled."},{"type":"text","text":"Sincere Kidwell at 15-Jul-2026 12:31:33 PM"},{"type":"text","text":"https://oqsha.com/#/work-permit/view/407927?orgID=232&dlType=viewWorkPermit"}]}]}}}


### End Event Execution ###


### Start Event Execution ###


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


# Calling SendNotificationForPTWHistory function for whatsapp and push notification #


Executing sending notification to reviewer through whatsapp


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000007341","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"ptw_history_comments_latest_v2","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"P/MIRA/FCP/YI/GW/26/00001"},{"type":"text","text":"15-Jul-2026"},{"type":"text","text":"General Work"},{"type":"text","text":"Rio"},{"type":"text","text":" "},{"type":"text","text":"reappear. The status has changed to Re-Approved."},{"type":"text","text":"Sincere Kidwell at 15-Jul-2026 12:31:43 PM"},{"type":"text","text":"https://oqsha.com/#/work-permit/view/407927?orgID=232&dlType=viewWorkPermit"}]}]}}}


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"919999999999","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"ptw_history_comments_latest_v2","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"P/MIRA/FCP/YI/GW/26/00001"},{"type":"text","text":"15-Jul-2026"},{"type":"text","text":"General Work"},{"type":"text","text":"Rio"},{"type":"text","text":" "},{"type":"text","text":"reappear. The status has changed to Re-Approved."},{"type":"text","text":"Sincere Kidwell at 15-Jul-2026 12:31:43 PM"},{"type":"text","text":"https://oqsha.com/#/work-permit/view/407927?orgID=232&dlType=viewWorkPermit"}]}]}}}


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000010468","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"ptw_history_comments_latest_v2","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"P/MIRA/FCP/YI/GW/26/00001"},{"type":"text","text":"15-Jul-2026"},{"type":"text","text":"General Work"},{"type":"text","text":"Rio"},{"type":"text","text":" "},{"type":"text","text":"reappear. The status has changed to Re-Approved."},{"type":"text","text":"Sincere Kidwell at 15-Jul-2026 12:31:43 PM"},{"type":"text","text":"https://oqsha.com/#/work-permit/view/407927?orgID=232&dlType=viewWorkPermit"}]}]}}}


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000001909","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"ptw_history_comments_latest_v2","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"P/MIRA/FCP/YI/GW/26/00001"},{"type":"text","text":"15-Jul-2026"},{"type":"text","text":"General Work"},{"type":"text","text":"Rio"},{"type":"text","text":" "},{"type":"text","text":"reappear. The status has changed to Re-Approved."},{"type":"text","text":"Sincere Kidwell at 15-Jul-2026 12:31:43 PM"},{"type":"text","text":"https://oqsha.com/#/work-permit/view/407927?orgID=232&dlType=viewWorkPermit"}]}]}}}


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"917777777771","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"ptw_history_comments_latest_v2","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"P/MIRA/FCP/YI/GW/26/00001"},{"type":"text","text":"15-Jul-2026"},{"type":"text","text":"General Work"},{"type":"text","text":"Rio"},{"type":"text","text":" "},{"type":"text","text":"reappear. The status has changed to Re-Approved."},{"type":"text","text":"Sincere Kidwell at 15-Jul-2026 12:31:43 PM"},{"type":"text","text":"https://oqsha.com/#/work-permit/view/407927?orgID=232&dlType=viewWorkPermit"}]}]}}}


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


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000002453","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"ptw_assigned_to_generic_template_v4","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"P/HUBG/TFX/AIP/CW/26/00003"},{"type":"text","text":"15-Jul-2026"},{"type":"text","text":"Cold work"},{"type":"text","text":"Meadow Oaks"},{"type":"text","text":" "},{"type":"text","text":"Requested by Raleigh Swaney at 15-Jul-2026 12:31:54 PM"},{"type":"text","text":"Issue"},{"type":"text","text":"Ana Osborn"},{"type":"text","text":"https://oqsha.com/#/work-permit/view/407928?orgID=207&dlType=viewWorkPermit"}]}]}}}


Osmo-x WhatsApp Message has been Sent


Executing sending push notification to the issuers


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


# Preparing notification body #


### End Event Execution ###


### Start Event Execution ###


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


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


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


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/AIP/CW/26/00003"},{"type":"text","text":"15-Jul-2026"},{"type":"text","text":"Cold work"},{"type":"text","text":"Meadow Oaks"},{"type":"text","text":" "},{"type":"text","text":"Issued by Ana Osborn at 15-Jul-2026 12:34:07 PM"},{"type":"text","text":"Approve"},{"type":"text","text":"Edna Bradbury"},{"type":"text","text":"https://oqsha.com/#/work-permit/view/407928?orgID=207&dlType=viewWorkPermit"}]}]}}}


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


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


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 4115
   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 581


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


# Calling SendNotificationForPTWHistory function for whatsapp and push notification #


Executing sending notification to reviewer through whatsapp


Osmo-x WhatsApp Message has been Sent


### End Event Execution ###


### Start Event Execution ###


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"915555555886","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"ptw_assigned_to_generic_template_v4","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"P/HUBG/TFX/AIP/CW/26/00003"},{"type":"text","text":"15-Jul-2026"},{"type":"text","text":"Cold work"},{"type":"text","text":"Meadow Oaks"},{"type":"text","text":" "},{"type":"text","text":"Approved by Edna Bradbury at 15-Jul-2026 12:35:28 PM"},{"type":"text","text":"Review"},{"type":"text","text":"Natasza Roy"},{"type":"text","text":"https://oqsha.com/#/work-permit/view/407928?orgID=207&dlType=viewWorkPermit"}]}]}}}


# Preparing notification body #


# Checking for device existence #


# User device exists #


Sending notification for permit to work: 407928


Inside SendAppNotification Device Type: APNS


Generating AWS SNS Request


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/APNS/Oqsha-IOS-Production/c00a749d-2341-3f2f-beb4-20afa0125719


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


# Push notification did not send #


Inside SendAppNotification Device Type: GCM


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/d8f36427-e432-3c55-b062-b7c28172d1cd


Push notification failed to send to a device 19125.


### End Event Execution ###


### Start Event Execution ###


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


Osmo-x WhatsApp Message has been Sent


### 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,20370]


Starting Execution for whatsapp notification for all


Sending notification to requester regarding permit to work 407928


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/AIP/CW/26/00003"},{"type":"text","text":"15-Jul-2026"},{"type":"text","text":"Cold work"},{"type":"text","text":"Meadow Oaks"},{"type":"text","text":" "},{"type":"text","text":"Reviewed by Natasza Roy at 15-Jul-2026 12:37:10 PM"},{"type":"text","text":"Start Work"},{"type":"text","text":"https://oqsha.com/#/work-permit/view/407928?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/AIP/CW/26/00003"},{"type":"text","text":"15-Jul-2026"},{"type":"text","text":"Cold work"},{"type":"text","text":"Meadow Oaks"},{"type":"text","text":" "},{"type":"text","text":"Reviewed by Natasza Roy at 15-Jul-2026 12:37:10 PM"},{"type":"text","text":"Start Work"},{"type":"text","text":"https://oqsha.com/#/work-permit/view/407928?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/AIP/CW/26/00003"},{"type":"text","text":"15-Jul-2026"},{"type":"text","text":"Cold work"},{"type":"text","text":"Meadow Oaks"},{"type":"text","text":" "},{"type":"text","text":"Reviewed by Natasza Roy at 15-Jul-2026 12:37:10 PM"},{"type":"text","text":"Start Work"},{"type":"text","text":"https://oqsha.com/#/work-permit/view/407928?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/AIP/CW/26/00003"},{"type":"text","text":"15-Jul-2026"},{"type":"text","text":"Cold work"},{"type":"text","text":"Meadow Oaks"},{"type":"text","text":" "},{"type":"text","text":"Reviewed by Natasza Roy at 15-Jul-2026 12:37:10 PM"},{"type":"text","text":"Start Work"},{"type":"text","text":"https://oqsha.com/#/work-permit/view/407928?orgID=207&dlType=viewWorkPermit"}]}]}}}


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"915555559247","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/AIP/CW/26/00003"},{"type":"text","text":"15-Jul-2026"},{"type":"text","text":"Cold work"},{"type":"text","text":"Meadow Oaks"},{"type":"text","text":" "},{"type":"text","text":"Reviewed by Natasza Roy at 15-Jul-2026 12:37:10 PM"},{"type":"text","text":"Start Work"},{"type":"text","text":"https://oqsha.com/#/work-permit/view/407928?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/AIP/CW/26/00003"},{"type":"text","text":"15-Jul-2026"},{"type":"text","text":"Cold work"},{"type":"text","text":"Meadow Oaks"},{"type":"text","text":" "},{"type":"text","text":"Reviewed by Natasza Roy at 15-Jul-2026 12:37:10 PM"},{"type":"text","text":"Start Work"},{"type":"text","text":"https://oqsha.com/#/work-permit/view/407928?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/AIP/CW/26/00003"},{"type":"text","text":"15-Jul-2026"},{"type":"text","text":"Cold work"},{"type":"text","text":"Meadow Oaks"},{"type":"text","text":" "},{"type":"text","text":"Reviewed by Natasza Roy at 15-Jul-2026 12:37:10 PM"},{"type":"text","text":"Start Work"},{"type":"text","text":"https://oqsha.com/#/work-permit/view/407928?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/AIP/CW/26/00003"},{"type":"text","text":"15-Jul-2026"},{"type":"text","text":"Cold work"},{"type":"text","text":"Meadow Oaks"},{"type":"text","text":" "},{"type":"text","text":"Reviewed by Natasza Roy at 15-Jul-2026 12:37:10 PM"},{"type":"text","text":"Start Work"},{"type":"text","text":"https://oqsha.com/#/work-permit/view/407928?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/AIP/CW/26/00003"},{"type":"text","text":"15-Jul-2026"},{"type":"text","text":"Cold work"},{"type":"text","text":"Meadow Oaks"},{"type":"text","text":" "},{"type":"text","text":"Reviewed by Natasza Roy at 15-Jul-2026 12:37:10 PM"},{"type":"text","text":"Start Work"},{"type":"text","text":"https://oqsha.com/#/work-permit/view/407928?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/AIP/CW/26/00003"},{"type":"text","text":"15-Jul-2026"},{"type":"text","text":"Cold work"},{"type":"text","text":"Meadow Oaks"},{"type":"text","text":" "},{"type":"text","text":"Reviewed by Natasza Roy at 15-Jul-2026 12:37:10 PM"},{"type":"text","text":"Start Work"},{"type":"text","text":"https://oqsha.com/#/work-permit/view/407928?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/AIP/CW/26/00003"},{"type":"text","text":"15-Jul-2026"},{"type":"text","text":"Cold work"},{"type":"text","text":"Meadow Oaks"},{"type":"text","text":" "},{"type":"text","text":"Reviewed by Natasza Roy at 15-Jul-2026 12:37:10 PM"},{"type":"text","text":"Start Work"},{"type":"text","text":"https://oqsha.com/#/work-permit/view/407928?orgID=207&dlType=viewWorkPermit"}]}]}}}


Osmo-x WhatsApp Message has been Sent


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/AIP/CW/26/00003"},{"type":"text","text":"15-Jul-2026"},{"type":"text","text":"Cold work"},{"type":"text","text":"Meadow Oaks"},{"type":"text","text":" "},{"type":"text","text":"Reviewed by Natasza Roy at 15-Jul-2026 12:37:10 PM"},{"type":"text","text":"Start Work"},{"type":"text","text":"https://oqsha.com/#/work-permit/view/407928?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/AIP/CW/26/00003"},{"type":"text","text":"15-Jul-2026"},{"type":"text","text":"Cold work"},{"type":"text","text":"Meadow Oaks"},{"type":"text","text":" "},{"type":"text","text":"Reviewed by Natasza Roy at 15-Jul-2026 12:37:10 PM"},{"type":"text","text":"Start Work"},{"type":"text","text":"https://oqsha.com/#/work-permit/view/407928?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/AIP/CW/26/00003"},{"type":"text","text":"15-Jul-2026"},{"type":"text","text":"Cold work"},{"type":"text","text":"Meadow Oaks"},{"type":"text","text":" "},{"type":"text","text":"Reviewed by Natasza Roy at 15-Jul-2026 12:37:10 PM"},{"type":"text","text":"Start Work"},{"type":"text","text":"https://oqsha.com/#/work-permit/view/407928?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/AIP/CW/26/00003"},{"type":"text","text":"15-Jul-2026"},{"type":"text","text":"Cold work"},{"type":"text","text":"Meadow Oaks"},{"type":"text","text":" "},{"type":"text","text":"Reviewed by Natasza Roy at 15-Jul-2026 12:37:10 PM"},{"type":"text","text":"Start Work"},{"type":"text","text":"https://oqsha.com/#/work-permit/view/407928?orgID=207&dlType=viewWorkPermit"}]}]}}}


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"915555556364","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/AIP/CW/26/00003"},{"type":"text","text":"15-Jul-2026"},{"type":"text","text":"Cold work"},{"type":"text","text":"Meadow Oaks"},{"type":"text","text":" "},{"type":"text","text":"Reviewed by Natasza Roy at 15-Jul-2026 12:37:10 PM"},{"type":"text","text":"Start Work"},{"type":"text","text":"https://oqsha.com/#/work-permit/view/407928?orgID=207&dlType=viewWorkPermit"}]}]}}}


Starting Execution for push notification for all


# Preparing notification body #


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


# string body 15-Jul-2026, Natasza Roy, P/HUBG/TFX/AIP/CW/26/00003, 15-Jul-2026


### End Event Execution ###


### Start Event Execution ###


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


# Calling SendNotificationForPTWHistory function for whatsapp and push notification #


Executing sending notification to reviewer through whatsapp


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


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


Message : {"EventName":"ASSIGNED_TO_NOTIFICATION","EventArgs":[{"Key":"AssignedIncidentID","Value":77151},{"Key":"AssignedToID","Value":1942}]}


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


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


Sending Assigned To Whatsapp for IncidentId:77151


Osmo-x WhatsApp Message has been Sent


# Preparing notification body #


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


### End Event Execution ###


### Start Event Execution ###


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


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


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


Executing email notifications to Incident Approvers about the Pending approval


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


Reading and binding data to Email Template


Initializing Email Service Client


Generating Email Request


FAC FIR Raised – Incident UID: IMF/GLTO/GRR/FAC/26/00001 | Site: Alanreed


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


--- Email response from Osmo-x is 201


Executing whatsapp notifications to Incident Approvers about the Pending approval


Sending WhatsApp Notification for Incident Approval to User: 1955


Osmo-x WhatsApp Message has been Sent


# Preparing notification body #


### Ended processing Incident Submitted Event ###


### End Event Execution ###


### Start Event Execution ###


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


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


Incident Validated – Incident UID: IMF/GLTO/GRR/FAC/26/00001 | Site: Alanreed

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


Sending WhatsApp for Incident Validation to User: 1795


### Ended processing Incident Validated Event ###


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


### Started processing for Incident Investigation Required notification ###


Executing email notifications for Incident Investigation Required


Using org-specific template for Org 211: Templates\OrgTemplates\211\Templates\IncidentInvestigationRequiredNotification.html


Initializing Email Service Client


Generating Email Request


Investigation Required - (FAC) FIR Released | Incident UID: IMF/GLTO/GRR/FAC/26/00001 | Site: Alanreed


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


--- Email response from Osmo-x is 201


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


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


Incident IMF/GLTO/GRR/FAC/26/00001 has been validated, form a team to investigate


Sending WhatsApp for Incident Approval to User: 1955


Osmo-x WhatsApp Message has been Sent


# Preparing notification body #


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


### End Event Execution ###


### Start Event Execution ###


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


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


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


Executing email notifications to Investigation Approvers about the Pending approval


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


Reading and binding data to Email Template


Initializing Email Service Client


Generating Email Request


Incident Investigation Submitted – Incident UID: IMF/GLTO/GRR/FAC/26/00001 | Site: Alanreed


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


--- Email response from Osmo-x is 201


Executing whatsapp notifications to Investigation Approvers about the Pending approval


Sending WhatsApp for Investigation Approval to User: 1955


Osmo-x WhatsApp Message has been Sent


# Preparing notification body #


### Ended processing Investigation Submitted Event ###


### End Event Execution ###


### Start Event Execution ###


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


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


Incident Investigation Validated – Incident UID: IMF/GLTO/GRR/FAC/26/00001 | Site: Alanreed


Sending WhatsApp for Incident Approval to User: 1795


### Ended processing Investigation Validated Event ###


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


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


Executing email notifications to external users about the final report release


PDF generation completed successfully.


Incident PDF generation successfull


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


Initializing Email Service Client


Generating Email Request


osm05146@osmosys.co, osm06269@osmosys.co, osm02276@osmosys.co, MH_Admin_HO@oqsha.com, osm05485@osmosys.co, osm07904@osmosys.co

Incident Investigation Released – Incident UID: IMF/GLTO/GRR/FAC/26/00001 | Site: Alanreed


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


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


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


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


Executing email notifications to Incident Approvers about the Pending approval


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


Reading and binding data to Email Template


A new incident IMF/FBYDW/ROO/FAO/26/00002 has been reported


Executing whatsapp notifications to Incident Approvers about the Pending approval


Sending WhatsApp Notification for Incident Approval to User: 5538


Osmo-x WhatsApp Message has been Sent


# Preparing notification body #


### Ended processing Incident Submitted Event ###


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


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


Initializing Email Service Client


Generating Email Request


Incident IMF/FBYDW/ROO/FAO/26/00002 has been validated


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


--- Email response from Osmo-x is 201


Sending WhatsApp for Incident Validation to User: 5533


### Ended processing Incident Validated Event ###


### End Event Execution ###


### Start Event Execution ###


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


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


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


Incident IMF/FBYDW/ROO/FAO/26/00002 FIR has been released, form a team to investigate


Sending WhatsApp for Incident Approval to User: 5530


Osmo-x WhatsApp Message has been Sent


# Preparing notification body #


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


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


Incident PDF generation successfull


Initializing Email Service Client


Generating Email Request


osm06983@osmosys.co, TTK_COB_SITE_EHS@oqsha.com, osm04512@osmosys.co, osm05614@osmosys.co, osm01301@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, osm01538@osmosys.co, TTK_KAR_HOD@oqsha.com, osm03664@osmosys.co, osm03368@osmosys.co, osm11365@osmosys.co, osm07294@osmosys.co, osm01369@osmosys.co, osm09145@osmosys.co, osm01026@osmosys.co, TTK_KHA_MEO@oqsha.com, osm00021@osmosys.co, osm01200@osmosys.co, osm02035@osmosys.co, osm00644@osmosys.co, osm00821@osmosys.co, TTK_CMO@oqsha.com, osm00254@osmosys.co, osm06710@osmosys.co, osm07055@osmosys.co, osm07261@osmosys.co

Incident IMF/FBYDW/ROO/FAO/26/00002 FIR has been released


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


--- Email response from Osmo-x is 201


### End Event Execution ###


### Start Event Execution ###


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


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


Executing email notifications to Incident Approvers about the Pending approval


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


Reading and binding data to Email Template


Incident IMF/FBYDW/ROO/FAO/26/00002 has been validated, form a team to investigate


Executing whatsapp notifications to Incident Approvers about the Pending approval


Sending WhatsApp for Incident Approval to User: 5538


Osmo-x WhatsApp Message has been Sent


# Preparing notification body #


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


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


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


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


Executing email notifications to Investigation Approvers about the Pending approval


Initializing Email Service Client


Generating Email Request


You have been assigned to review the investigation report IMF/FBYDW/ROO/FAO/26/00002


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


--- Email response from Osmo-x is 201


Executing whatsapp notifications to Investigation Approvers about the Pending approval


Sending WhatsApp for Investigation Approval to User: 5538


### Ended processing Investigation Submitted Event ###


### End Event Execution ###


### Start Event Execution ###


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


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


Validate the investigation report for the Incident IMF/FBYDW/ROO/FAO/26/00002


Sending WhatsApp for Incident Approval to User: 5533


Osmo-x WhatsApp Message has been Sent


# Preparing notification body #


### Ended processing Investigation Validated Event ###


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


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


Executing email notifications to external users about the final report release


PDF generation completed successfully.


Incident PDF generation successfull


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


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


Reading and binding data to Email Template


Initializing Email Service Client


Generating Email Request


osm06983@osmosys.co, TTK_COB_SITE_EHS@oqsha.com, osm04512@osmosys.co, osm05614@osmosys.co, osm01301@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, osm01538@osmosys.co, TTK_KAR_HOD@oqsha.com, osm03664@osmosys.co, osm03368@osmosys.co, osm11365@osmosys.co, osm07294@osmosys.co, osm01369@osmosys.co, osm09145@osmosys.co, osm01026@osmosys.co, TTK_KHA_MEO@oqsha.com, osm00021@osmosys.co, osm01200@osmosys.co, osm02035@osmosys.co, osm00644@osmosys.co, osm00821@osmosys.co, TTK_CMO@oqsha.com

The Final Report of Investigation has been released on this Incident IMF/FBYDW/ROO/FAO/26/00002


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


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


Osmo-x WhatsApp Message has been Sent


Executing sending push notification to the issuers


# Push Subject for Issuer P/MIRA/FCP/YI/EX/26/00001


# Preparing notification body #


# Checking for device existence #


# User device exists #


Sending notification for permit to work: 407929


Inside SendAppNotification Device Type: APNS


Generating AWS SNS Request


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/APNS/Oqsha-IOS-Production/c00a749d-2341-3f2f-beb4-20afa0125719


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


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


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000007341","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"ptw_assigned_to_generic_template_v4","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"P/MIRA/FCP/YI/EX/26/00001"},{"type":"text","text":"15-Jul-2026"},{"type":"text","text":"Excavation Work"},{"type":"text","text":"Rio"},{"type":"text","text":" "},{"type":"text","text":"Accepted by Sincere Kidwell at 15-Jul-2026 12:46:54 PM"},{"type":"text","text":"Quality Verify"},{"type":"text","text":"Sincere Kidwell"},{"type":"text","text":"https://oqsha.com/#/work-permit/view/407929?orgID=232&dlType=viewWorkPermit"}]}]}}}


Osmo-x WhatsApp Message has been Sent


# Preparing notification body #


# Push Subject P/MIRA/FCP/YI/EX/26/00001


# string body 15-Jul-2026, Sincere Kidwell,


Object reference not set to an instance of an object.


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000007341","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"ptw_assigned_to_generic_template_v4","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"P/MIRA/FCP/YI/EX/26/00001"},{"type":"text","text":"15-Jul-2026"},{"type":"text","text":"Excavation Work"},{"type":"text","text":"Rio"},{"type":"text","text":" "},{"type":"text","text":"Quality Verified by Sincere Kidwell at 15-Jul-2026 12:47:03 PM"},{"type":"text","text":"Approve"},{"type":"text","text":"Sincere Kidwell"},{"type":"text","text":"https://oqsha.com/#/work-permit/view/407929?orgID=232&dlType=viewWorkPermit"}]}]}}}


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


# Calling SendNotificationToAllExceptReviewer function for whatsapp and push notification #


User Ids for notification: [3978,4048,4055,4586,881]


Starting Execution for whatsapp notification for all


Sending notification to requester regarding permit to work 407929


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000007341","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/MIRA/FCP/YI/EX/26/00001"},{"type":"text","text":"15-Jul-2026"},{"type":"text","text":"Excavation Work"},{"type":"text","text":"Rio"},{"type":"text","text":" "},{"type":"text","text":"Approved by Sincere Kidwell at 15-Jul-2026 12:47:10 PM"},{"type":"text","text":"Start Work"},{"type":"text","text":"https://oqsha.com/#/work-permit/view/407929?orgID=232&dlType=viewWorkPermit"}]}]}}}


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"919999999999","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/MIRA/FCP/YI/EX/26/00001"},{"type":"text","text":"15-Jul-2026"},{"type":"text","text":"Excavation Work"},{"type":"text","text":"Rio"},{"type":"text","text":" "},{"type":"text","text":"Approved by Sincere Kidwell at 15-Jul-2026 12:47:10 PM"},{"type":"text","text":"Start Work"},{"type":"text","text":"https://oqsha.com/#/work-permit/view/407929?orgID=232&dlType=viewWorkPermit"}]}]}}}


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000010468","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/MIRA/FCP/YI/EX/26/00001"},{"type":"text","text":"15-Jul-2026"},{"type":"text","text":"Excavation Work"},{"type":"text","text":"Rio"},{"type":"text","text":" "},{"type":"text","text":"Approved by Sincere Kidwell at 15-Jul-2026 12:47:10 PM"},{"type":"text","text":"Start Work"},{"type":"text","text":"https://oqsha.com/#/work-permit/view/407929?orgID=232&dlType=viewWorkPermit"}]}]}}}


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000001909","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/MIRA/FCP/YI/EX/26/00001"},{"type":"text","text":"15-Jul-2026"},{"type":"text","text":"Excavation Work"},{"type":"text","text":"Rio"},{"type":"text","text":" "},{"type":"text","text":"Approved by Sincere Kidwell at 15-Jul-2026 12:47:10 PM"},{"type":"text","text":"Start Work"},{"type":"text","text":"https://oqsha.com/#/work-permit/view/407929?orgID=232&dlType=viewWorkPermit"}]}]}}}


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"917777777771","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/MIRA/FCP/YI/EX/26/00001"},{"type":"text","text":"15-Jul-2026"},{"type":"text","text":"Excavation Work"},{"type":"text","text":"Rio"},{"type":"text","text":" "},{"type":"text","text":"Approved by Sincere Kidwell at 15-Jul-2026 12:47:10 PM"},{"type":"text","text":"Start Work"},{"type":"text","text":"https://oqsha.com/#/work-permit/view/407929?orgID=232&dlType=viewWorkPermit"}]}]}}}


Starting Execution for push notification for all


# Push Subject for Issuer P/MIRA/FCP/YI/EX/26/00001


# string body 15-Jul-2026, Sincere Kidwell, P/MIRA/FCP/YI/EX/26/00001, 15-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 407929


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000007341","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"ptw_assigned_to_generic_template_v4","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"P/MIRA/FCP/YI/EX/26/00001"},{"type":"text","text":"15-Jul-2026"},{"type":"text","text":"Excavation Work"},{"type":"text","text":"Rio"},{"type":"text","text":" "},{"type":"text","text":"Extension Requested by Sincere Kidwell for 5 hour(s) at 15-Jul-2026 12:47:24 PM"},{"type":"text","text":"Extension Accept"},{"type":"text","text":"Sincere Kidwell"},{"type":"text","text":"https://oqsha.com/#/work-permit/view/407929?orgID=232&dlType=viewWorkPermit"}]}]}}}


Osmo-x WhatsApp Message has been Sent


Executing sending push notification to the issuers for extended PTW


# Preparing notification body #


# string body Sincere Kidwell, 5 hour(s), P/MIRA/FCP/YI/EX/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 407929


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000007341","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"ptw_assigned_to_generic_template_v4","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"P/MIRA/FCP/YI/EX/26/00001"},{"type":"text","text":"15-Jul-2026"},{"type":"text","text":"Excavation Work"},{"type":"text","text":"Rio"},{"type":"text","text":" "},{"type":"text","text":"Extension Accepted by Sincere Kidwell for 5 hour(s) at 15-Jul-2026 12:47:32 PM"},{"type":"text","text":"Extension Quality Verify"},{"type":"text","text":"Sincere Kidwell"},{"type":"text","text":"https://oqsha.com/#/work-permit/view/407929?orgID=232&dlType=viewWorkPermit"}]}]}}}


# string body Sincere Kidwell, 5 hour(s), P/MIRA/FCP/YI/EX/26/00001,,


### End Event Execution ###


### Start Event Execution ###


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000007341","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"ptw_assigned_to_generic_template_v4","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"P/MIRA/FCP/YI/EX/26/00001"},{"type":"text","text":"15-Jul-2026"},{"type":"text","text":"Excavation Work"},{"type":"text","text":"Rio"},{"type":"text","text":" "},{"type":"text","text":"Extension Quality Verified by Sincere Kidwell for 5 hour(s) at 15-Jul-2026 12:47:40 PM"},{"type":"text","text":"Extension Approve"},{"type":"text","text":"Sincere Kidwell"},{"type":"text","text":"https://oqsha.com/#/work-permit/view/407929?orgID=232&dlType=viewWorkPermit"}]}]}}}


# Push Subject for Issuer P/MIRA/FCP/YI/EX/26/00001


# string body Sincere Kidwell, 5 hour(s), P/MIRA/FCP/YI/EX/26/00001,Sincere Kidwell,


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


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000007341","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/MIRA/FCP/YI/EX/26/00001"},{"type":"text","text":"15-Jul-2026"},{"type":"text","text":"Excavation Work"},{"type":"text","text":"Rio"},{"type":"text","text":" "},{"type":"text","text":"Extension Approved by Sincere Kidwell for 5 hour(s) at 15-Jul-2026 12:47:45 PM"},{"type":"text","text":"Start Work"},{"type":"text","text":"https://oqsha.com/#/work-permit/view/407929?orgID=232&dlType=viewWorkPermit"}]}]}}}


Osmo-x WhatsApp Message has been Sent


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"919999999999","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/MIRA/FCP/YI/EX/26/00001"},{"type":"text","text":"15-Jul-2026"},{"type":"text","text":"Excavation Work"},{"type":"text","text":"Rio"},{"type":"text","text":" "},{"type":"text","text":"Extension Approved by Sincere Kidwell for 5 hour(s) at 15-Jul-2026 12:47:45 PM"},{"type":"text","text":"Start Work"},{"type":"text","text":"https://oqsha.com/#/work-permit/view/407929?orgID=232&dlType=viewWorkPermit"}]}]}}}


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000010468","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/MIRA/FCP/YI/EX/26/00001"},{"type":"text","text":"15-Jul-2026"},{"type":"text","text":"Excavation Work"},{"type":"text","text":"Rio"},{"type":"text","text":" "},{"type":"text","text":"Extension Approved by Sincere Kidwell for 5 hour(s) at 15-Jul-2026 12:47:45 PM"},{"type":"text","text":"Start Work"},{"type":"text","text":"https://oqsha.com/#/work-permit/view/407929?orgID=232&dlType=viewWorkPermit"}]}]}}}


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000001909","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/MIRA/FCP/YI/EX/26/00001"},{"type":"text","text":"15-Jul-2026"},{"type":"text","text":"Excavation Work"},{"type":"text","text":"Rio"},{"type":"text","text":" "},{"type":"text","text":"Extension Approved by Sincere Kidwell for 5 hour(s) at 15-Jul-2026 12:47:45 PM"},{"type":"text","text":"Start Work"},{"type":"text","text":"https://oqsha.com/#/work-permit/view/407929?orgID=232&dlType=viewWorkPermit"}]}]}}}


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"917777777771","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/MIRA/FCP/YI/EX/26/00001"},{"type":"text","text":"15-Jul-2026"},{"type":"text","text":"Excavation Work"},{"type":"text","text":"Rio"},{"type":"text","text":" "},{"type":"text","text":"Extension Approved by Sincere Kidwell for 5 hour(s) at 15-Jul-2026 12:47:45 PM"},{"type":"text","text":"Start Work"},{"type":"text","text":"https://oqsha.com/#/work-permit/view/407929?orgID=232&dlType=viewWorkPermit"}]}]}}}


# Preparing notification body #


# string body Sincere Kidwell, 5 hour(s), P/MIRA/FCP/YI/EX/26/00001


### End Event Execution ###


### Start Event Execution ###


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


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


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


Executing email notifications to Incident Approvers about the Pending approval


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


Reading and binding data to Email Template


Initializing Email Service Client


Generating Email Request


FAC FIR Raised – Incident UID: IMF/GLTO/GRR/FAC/26/00004 | Site: Alanreed


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


--- Email response from Osmo-x is 201


Executing whatsapp notifications to Incident Approvers about the Pending approval


Sending WhatsApp Notification for Incident Approval to User: 1955


Osmo-x WhatsApp Message has been Sent


# Preparing notification body #


### Ended processing Incident Submitted Event ###


### End Event Execution ###


### Start Event Execution ###


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


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


Incident Validated – Incident UID: IMF/GLTO/GRR/FAC/26/00004 | Site: Alanreed


Sending WhatsApp for Incident Validation to User: 1795


### Ended processing Incident Validated Event ###


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


### Started processing for Incident Investigation Required notification ###


Executing email notifications for Incident Investigation Required


Using org-specific template for Org 211: Templates\OrgTemplates\211\Templates\IncidentInvestigationRequiredNotification.html


Initializing Email Service Client


Generating Email Request


Investigation Required - (FAC) FIR Released | Incident UID: IMF/GLTO/GRR/FAC/26/00004 | Site: Alanreed


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


--- Email response from Osmo-x is 201


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


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


Incident IMF/GLTO/GRR/FAC/26/00004 has been validated, form a team to investigate


Sending WhatsApp for Incident Approval to User: 1955


Osmo-x WhatsApp Message has been Sent


# Preparing notification body #


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


### End Event Execution ###


### Start Event Execution ###


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


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


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


Executing email notifications to Investigation Approvers about the Pending approval


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


Reading and binding data to Email Template


Initializing Email Service Client


Generating Email Request


Incident Investigation Submitted – Incident UID: IMF/GLTO/GRR/FAC/26/00004 | Site: Alanreed


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


--- Email response from Osmo-x is 201


Executing whatsapp notifications to Investigation Approvers about the Pending approval


Sending WhatsApp for Investigation Approval to User: 1955


Osmo-x WhatsApp Message has been Sent


# Preparing notification body #


### Ended processing Investigation Submitted Event ###


### End Event Execution ###


### Start Event Execution ###


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


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


Incident Investigation Validated – Incident UID: IMF/GLTO/GRR/FAC/26/00004 | Site: Alanreed


Sending WhatsApp for Incident Approval to User: 1795


### Ended processing Investigation Validated Event ###


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


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


Executing email notifications to external users about the final report release


PDF generation completed successfully.


Incident PDF generation successfull


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


Initializing Email Service Client


Generating Email Request


Incident Investigation Released – Incident UID: IMF/GLTO/GRR/FAC/26/00004 | Site: Alanreed


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


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


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000001875","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"ptw_assigned_to_generic_template_v4","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"P/HUBG/TFX/AIP/CW/26/00004"},{"type":"text","text":"15-Jul-2026"},{"type":"text","text":"Cold work"},{"type":"text","text":"Meadow Oaks"},{"type":"text","text":" "},{"type":"text","text":"Requested by Raleigh Swaney at 15-Jul-2026 12:56:50 PM"},{"type":"text","text":"Issue"},{"type":"text","text":"Hebert Eaton"},{"type":"text","text":"https://oqsha.com/#/work-permit/view/407930?orgID=207&dlType=viewWorkPermit"}]}]}}}


Osmo-x WhatsApp Message has been Sent


Executing sending push notification to the issuers


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


# Preparing notification body #


Message : {"EventName":"WHATSAPP_TO_BATCH_PARTICIPANTS","EventArgs":[{"Key":"BatchParticipantIds","Value":"[11559,11560,11561]"},{"Key":"BatchId","Value":2235}]}


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


# Calling SendNotificationToBatchParticipants function for  whatsapp notification #


Executing completed course notification function to batch participants


Executing planned/Inprogress notification function to batch participants


Sending notification to batch participant for planned and in progress status6717


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000003962","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"oqsha_planned_batch_latest_v1","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"Adelbert Miley"},{"type":"text","text":"7 Safety Fundamentals - Abhi"},{"type":"text","text":"7 Safety Fundamentals"},{"type":"text","text":"Falcon's Beyond Global Inc. Warrants"},{"type":"text","text":"0 Week(s) 0 Day(s) 5 Hour(s)"},{"type":"text","text":"Candis Rugg"},{"type":"text","text":"July 15, 2026  01:01:00 PM"},{"type":"text","text":"PLANNED"},{"type":"text","text":"https://oqsha.com/#/batches/view/248/200/2235?dlType=viewBatch"}]}]}}}


Sending notification to batch participant for planned and in progress status5790


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000005418","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"oqsha_planned_batch_latest_v1","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"Adrianna Pollak"},{"type":"text","text":"7 Safety Fundamentals - Abhi"},{"type":"text","text":"7 Safety Fundamentals"},{"type":"text","text":"Falcon's Beyond Global Inc. Warrants"},{"type":"text","text":"0 Week(s) 0 Day(s) 5 Hour(s)"},{"type":"text","text":"Candis Rugg"},{"type":"text","text":"July 15, 2026  01:01:00 PM"},{"type":"text","text":"PLANNED"},{"type":"text","text":"https://oqsha.com/#/batches/view/248/200/2235?dlType=viewBatch"}]}]}}}


Sending notification to batch participant for planned and in progress status6708


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000002250","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"oqsha_planned_batch_latest_v1","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"Aidan Miley"},{"type":"text","text":"7 Safety Fundamentals - Abhi"},{"type":"text","text":"7 Safety Fundamentals"},{"type":"text","text":"Falcon's Beyond Global Inc. Warrants"},{"type":"text","text":"0 Week(s) 0 Day(s) 5 Hour(s)"},{"type":"text","text":"Candis Rugg"},{"type":"text","text":"July 15, 2026  01:01:00 PM"},{"type":"text","text":"PLANNED"},{"type":"text","text":"https://oqsha.com/#/batches/view/248/200/2235?dlType=viewBatch"}]}]}}}


### End Event Execution ###


### Start Event Execution ###


Message : {"EventName":"NOTIFICATION_FOR_WORK_PERMIT_CREATION","EventArgs":[{"Key":"WorkPermitId","Value":"3203"},{"Key":"ApproverIds","Value":"[5532,6717]"},{"Key":"SiteName","Value":"Colver"},{"Key":"CreatedBy","Value":"Lesia Hardman"},{"Key":"WorkPermitUid","Value":"WP/FBYDW/ROO/CSE/26/00002"},{"Key":"OrgId","Value":248},{"Key":"OrganisationName","Value":"Falcon's Beyond Global Inc. Warrants"}]}


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


# Calling SendNotificationForWorkPermitCreation function for email/WhatsApp #


Executing email and WhatsApp notifications to WorkPermit approvers


Sending WorkPermit creation email to: osm06983@osmosys.co


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


Reading and binding data to Email Template


Initializing Email Service Client


Generating Email Request


New Work Permit Assigned


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


--- Email response from Osmo-x is 201


Sending WorkPermit creation WhatsApp message to: 912000008275


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


Osmo-x WhatsApp Message has been Sent


Sending WorkPermit creation email to:


Error occurred while sending email using Osmo-x.


System.NullReferenceException: Object reference not set to an instance of an object.
   at IncidentReporter.NotificationSender.EmailHelper.SendEmail(String template, String subject, Object args, String toAddress, String ccAddress, List`1 reportAttachments, List`1 additionalAttachmentsFilePath, String rootEmailTemplatePath, OrganisationFromConfig organisationFromAddress) in C:\GitLab-Runner\builds\27n6lYj0J\0\incident-reporter\incident-reporter-api\IncidentReporter\IncidentReporter.NotificationSender\Helpers\EmailHelper.cs:line 39


Sending WorkPermit creation WhatsApp message to: 912000003962


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


# Preparing notification body #


# Checking for device existence #


# User device exists #


Sending Assigned To Notification for Work Permit Id:3203


Inside SendAppNotification Device Type: GCM


Generating AWS SNS Request


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Test/53e5da6a-c512-36cb-8668-51284284f720


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


# Push notification did not send #


### End Event Execution ###


### Start Event Execution ###


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


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


# Calling SendDepartmentInchargeNotificationForWorkPermitCreation function for email/WhatsApp #


Executing email and WhatsApp notifications to WorkPermit approvers


Sending WorkPermit creation email to:


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


Sending WorkPermit creation WhatsApp message to: 912000008247


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


Osmo-x WhatsApp Message has been Sent


# Preparing notification body #


Message : {"EventName":"WORK_PERMIT_APPROVED_INFORM_TO_CREATOR_NOTIFICATION","EventArgs":[{"Key":"CreatorId","Value":"5532"},{"Key":"ApproverName","Value":"Lesia Hardman"},{"Key":"WorkPermitId","Value":"3203"},{"Key":"WorkPermitUid","Value":"WP/FBYDW/ROO/CSE/26/00002"},{"Key":"SiteName","Value":"Colver"},{"Key":"OrganisationName","Value":"Falcon's Beyond Global Inc. Warrants"},{"Key":"StatusPastTenseName","Value":"Approved"},{"Key":"ApprovedOn","Value":"15-Jul-2026 01:03:49 PM"},{"Key":"OrgId","Value":248}]}


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


# Calling SendWorkPermitApprovedInformToCreatorNotification function for email #


Executing email notifications to WorkPermit Creator about the approval by an Approver


Sending WorkPermit Approver Clarification email to WorkPermit Creator: osm06983@osmosys.co


Reading and binding data to Email Template


Initializing Email Service Client


Generating Email Request


Lesia Hardman has Approved your Work Permit


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


--- Email response from Osmo-x is 201


Executing whatsapp notifications to WorkPermit Creator about the approval by an Approver


Sending WhatsApp for WorkPermit to user: 5532


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


### End Event Execution ###


### Start Event Execution ###


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


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


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


Executing email notifications to Incident Approvers about the Pending approval


A new incident IMF/FBYDW/ROO/FAO/26/00003 has been reported


Executing whatsapp notifications to Incident Approvers about the Pending approval


Sending WhatsApp Notification for Incident Approval to User: 5530


Osmo-x WhatsApp Message has been Sent


# Preparing notification body #


### Ended processing Incident Submitted Event ###


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


Initializing Email Service Client


Generating Email Request


A new incident IMF/FBYDW/ROO/INJ/26/00001 has been reported


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


--- Email response from Osmo-x is 201


Sending WhatsApp Notification for Incident Approval to User: 5538


### End Event Execution ###


### Start Event Execution ###


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


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


Incident IMF/FBYDW/ROO/INJ/26/00001 has been validated


Sending WhatsApp for Incident Validation to User: 5530


### Ended processing Incident Validated Event ###


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


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


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


Reading and binding data to Email Template


Initializing Email Service Client


Generating Email Request


Incident IMF/FBYDW/ROO/INJ/26/00001 FIR has been released, form a team to investigate


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


--- Email response from Osmo-x is 201


Sending WhatsApp for Incident Approval to User: 5533


Osmo-x WhatsApp Message has been Sent


# Preparing notification body #


### End Event Execution ###


### Start Event Execution ###


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


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


Executing email notifications to Incident Approvers about the Pending approval


Incident PDF generation successfull


Incident IMF/FBYDW/ROO/INJ/26/00001 FIR has been released


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


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000002453","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"ptw_assigned_to_generic_template_v4","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"P/HUBG/TFX/AIP/CW/26/00005"},{"type":"text","text":"15-Jul-2026"},{"type":"text","text":"Cold work"},{"type":"text","text":"Meadow Oaks"},{"type":"text","text":" "},{"type":"text","text":"Requested by Raleigh Swaney at 15-Jul-2026 01:10:52 PM"},{"type":"text","text":"Issue"},{"type":"text","text":"Ana Osborn"},{"type":"text","text":"https://oqsha.com/#/work-permit/view/407931?orgID=207&dlType=viewWorkPermit"}]}]}}}


Executing sending push notification to the issuers


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


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


# Calling SendNotificationForPTWHistory function for whatsapp and push notification #


Executing sending notification to reviewer through whatsapp


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


Osmo-x WhatsApp Message has been Sent


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


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000001875","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"ptw_assigned_to_generic_template_v4","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"P/HUBG/TFX/AIP/CW/26/00005"},{"type":"text","text":"15-Jul-2026"},{"type":"text","text":"Cold work"},{"type":"text","text":"Meadow Oaks"},{"type":"text","text":" "},{"type":"text","text":"Issued by Ana Osborn at 15-Jul-2026 01:12:07 PM"},{"type":"text","text":"Approve"},{"type":"text","text":"Hebert Eaton"},{"type":"text","text":"https://oqsha.com/#/work-permit/view/407931?orgID=207&dlType=viewWorkPermit"}]}]}}}


# Preparing notification body #


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


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


Object reference not set to an instance of an object.


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


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


Executing email notifications to Incident Approvers about the Pending approval


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


Reading and binding data to Email Template


Initializing Email Service Client


Generating Email Request


Incident IMF/FBYDW/ROO/FAO/26/00003 has been validated


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


--- Email response from Osmo-x is 201


Executing whatsapp notifications to Incident Approvers about the Pending approval


Sending WhatsApp for Incident Validation to User: 5533


Osmo-x WhatsApp Message has been Sent


# Preparing notification body #


### Ended processing Incident Validated Event ###


### End Event Execution ###


### Start Event Execution ###


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


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


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


Incident IMF/FBYDW/ROO/FAO/26/00003 FIR has been released, form a team to investigate


Sending WhatsApp for Incident Approval to User: 5538


# Checking for device existence #


# User device exists #


Sending Incident FIR Released Notification for Incident Id:1291


Inside SendAppNotification Device Type: GCM


Generating AWS SNS Request


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Test/53e5da6a-c512-36cb-8668-51284284f720


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


# Push notification did not send #


### End Event Execution ###


### Start Event Execution ###


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


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


Executing email notifications to Incident Approvers about the Pending approval


Incident PDF generation successfull


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


Reading and binding data to Email Template


Initializing Email Service Client


Generating Email Request


Incident IMF/FBYDW/ROO/FAO/26/00003 FIR has been released


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


--- Email response from Osmo-x is 201


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


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000001459","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"ptw_assigned_to_generic_template_v4","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"P/HUBG/TFX/AIP/CW/26/00005"},{"type":"text","text":"15-Jul-2026"},{"type":"text","text":"Cold work"},{"type":"text","text":"Meadow Oaks"},{"type":"text","text":" "},{"type":"text","text":"Approved by Hebert Eaton at 15-Jul-2026 01:15:20 PM"},{"type":"text","text":"Review"},{"type":"text","text":"Demetri Noyes"},{"type":"text","text":"https://oqsha.com/#/work-permit/view/407931?orgID=207&dlType=viewWorkPermit"}]}]}}}


Osmo-x WhatsApp Message has been Sent


# Preparing notification body #


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


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


### End Event Execution ###


### Start Event Execution ###


Message : {"EventName":"ASSIGNED_TO_NOTIFICATION","EventArgs":[{"Key":"AssignedIncidentID","Value":77152},{"Key":"AssignedToID","Value":20686}]}


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


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


Converted to byte file


PDF generation successfull


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


Sending Assigned To Whatsapp for IncidentId:77152


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


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


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


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


# Calling  SendNotification function for  all types of notification #


Sending Email for IncidentId:77152


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


Reading and binding data to Email Template


Initializing Email Service Client


Generating Email Request


Ticket T/BEAT/UCC/26/00001 has been updated


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


--- Email response from Osmo-x is 201


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"918888888882","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":"Randal Jessup"},{"type":"text","text":"Ticket"},{"type":"text","text":"T/BEAT/UCC/26/00001"},{"type":"text","text":"Ticket status updated to Resolved., Comments are added as resolving"},{"type":"text","text":"Ticket"},{"type":"text","text":"testing 1"},{"type":"text","text":"Robertsdale"},{"type":"text","text":"Unsafe Condition"},{"type":"text","text":"Randal Jessup"},{"type":"text","text":"Heartbeam Inc."},{"type":"text","text":"Resolved"},{"type":"text","text":"https://oqsha.com/#/incidents/view/204/77152?dlType=viewTicket"},{"type":"text","text":"Oqsha Team"}]}]}}}


Osmo-x WhatsApp Message has been Sent


# Preparing notification body #


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000003468","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":"Elizabet Patty"},{"type":"text","text":"Ticket"},{"type":"text","text":"T/BEAT/UCC/26/00001"},{"type":"text","text":"Ticket status updated to Resolved., Comments are added as resolving"},{"type":"text","text":"Ticket"},{"type":"text","text":"testing 1"},{"type":"text","text":"Robertsdale"},{"type":"text","text":"Unsafe Condition"},{"type":"text","text":"Randal Jessup"},{"type":"text","text":"Heartbeam Inc."},{"type":"text","text":"Resolved"},{"type":"text","text":"https://oqsha.com/#/incidents/view/204/77152?dlType=viewTicket"},{"type":"text","text":"Oqsha Team"}]}]}}}


Sending email for incident closure


Error occurred while sending email using Osmo-x.


Object reference not set to an instance of an object.


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000006478","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":"Jacqui Skelton"},{"type":"text","text":"Ticket"},{"type":"text","text":"T/BEAT/UCC/26/00001"},{"type":"text","text":"Ticket status updated to Resolved., Comments are added as resolving"},{"type":"text","text":"Ticket"},{"type":"text","text":"testing 1"},{"type":"text","text":"Robertsdale"},{"type":"text","text":"Unsafe Condition"},{"type":"text","text":"Randal Jessup"},{"type":"text","text":"Heartbeam Inc."},{"type":"text","text":"Resolved"},{"type":"text","text":"https://oqsha.com/#/incidents/view/204/77152?dlType=viewTicket"},{"type":"text","text":"Oqsha Team"}]}]}}}


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000001710","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":"Hellen Maravilla"},{"type":"text","text":"Ticket"},{"type":"text","text":"T/BEAT/UCC/26/00001"},{"type":"text","text":"Ticket status updated to Resolved., Comments are added as resolving"},{"type":"text","text":"Ticket"},{"type":"text","text":"testing 1"},{"type":"text","text":"Robertsdale"},{"type":"text","text":"Unsafe Condition"},{"type":"text","text":"Randal Jessup"},{"type":"text","text":"Heartbeam Inc."},{"type":"text","text":"Resolved"},{"type":"text","text":"https://oqsha.com/#/incidents/view/204/77152?dlType=viewTicket"},{"type":"text","text":"Oqsha Team"}]}]}}}


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000005109","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":"Kathaleen Hoopes"},{"type":"text","text":"Ticket"},{"type":"text","text":"T/BEAT/UCC/26/00001"},{"type":"text","text":"Ticket status updated to Resolved., Comments are added as resolving"},{"type":"text","text":"Ticket"},{"type":"text","text":"testing 1"},{"type":"text","text":"Robertsdale"},{"type":"text","text":"Unsafe Condition"},{"type":"text","text":"Randal Jessup"},{"type":"text","text":"Heartbeam Inc."},{"type":"text","text":"Resolved"},{"type":"text","text":"https://oqsha.com/#/incidents/view/204/77152?dlType=viewTicket"},{"type":"text","text":"Oqsha Team"}]}]}}}


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000009155","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":"Giselle Skelton"},{"type":"text","text":"Ticket"},{"type":"text","text":"T/BEAT/UCC/26/00001"},{"type":"text","text":"Ticket status updated to Resolved., Comments are added as resolving"},{"type":"text","text":"Ticket"},{"type":"text","text":"testing 1"},{"type":"text","text":"Robertsdale"},{"type":"text","text":"Unsafe Condition"},{"type":"text","text":"Randal Jessup"},{"type":"text","text":"Heartbeam Inc."},{"type":"text","text":"Resolved"},{"type":"text","text":"https://oqsha.com/#/incidents/view/204/77152?dlType=viewTicket"},{"type":"text","text":"Oqsha Team"}]}]}}}


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000001657","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":"Karla Mcclintock"},{"type":"text","text":"Ticket"},{"type":"text","text":"T/BEAT/UCC/26/00001"},{"type":"text","text":"Ticket status updated to Resolved., Comments are added as resolving"},{"type":"text","text":"Ticket"},{"type":"text","text":"testing 1"},{"type":"text","text":"Robertsdale"},{"type":"text","text":"Unsafe Condition"},{"type":"text","text":"Randal Jessup"},{"type":"text","text":"Heartbeam Inc."},{"type":"text","text":"Resolved"},{"type":"text","text":"https://oqsha.com/#/incidents/view/204/77152?dlType=viewTicket"},{"type":"text","text":"Oqsha Team"}]}]}}}


Sending Assigned To Whatsapp for IncidentId:77152


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000009853","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":"Areli Shrum"},{"type":"text","text":"Ticket"},{"type":"text","text":"T/BEAT/UCC/26/00001"},{"type":"text","text":"Ticket status updated to Resolved., Comments are added as resolving"},{"type":"text","text":"Ticket"},{"type":"text","text":"testing 1"},{"type":"text","text":"Robertsdale"},{"type":"text","text":"Unsafe Condition"},{"type":"text","text":"Randal Jessup"},{"type":"text","text":"Heartbeam Inc."},{"type":"text","text":"Resolved"},{"type":"text","text":"https://oqsha.com/#/incidents/view/204/77152?dlType=viewTicket"},{"type":"text","text":"Oqsha Team"}]}]}}}


# Checking for device existence #


# User device exists #


Sending Assigned To Notification for IncidentId:77152


Inside SendAppNotification Device Type: GCM


Generating AWS SNS Request


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Test/fc53f137-ab94-3be6-a157-f985d0a4b1f9


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


# Push notification did not send #


Sending email for incident closure


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


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000004003","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":"Marley Lacy"},{"type":"text","text":"Ticket"},{"type":"text","text":"T/BEAT/UCC/26/00001"},{"type":"text","text":"Ticket status updated to Resolved., Comments are added as resolving"},{"type":"text","text":"Ticket"},{"type":"text","text":"testing 1"},{"type":"text","text":"Robertsdale"},{"type":"text","text":"Unsafe Condition"},{"type":"text","text":"Randal Jessup"},{"type":"text","text":"Heartbeam Inc."},{"type":"text","text":"Resolved"},{"type":"text","text":"https://oqsha.com/#/incidents/view/204/77152?dlType=viewTicket"},{"type":"text","text":"Oqsha Team"}]}]}}}


Osmo-x WhatsApp Message has been Sent


# Preparing notification body #


Reading and binding data to Email Template


Initializing Email Service Client


Generating Email Request


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


--- Email response from Osmo-x is 201


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000001885","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":"Jasmyne Soukup"},{"type":"text","text":"Ticket"},{"type":"text","text":"T/BEAT/UCC/26/00001"},{"type":"text","text":"Ticket status updated to Resolved., Comments are added as resolving"},{"type":"text","text":"Ticket"},{"type":"text","text":"testing 1"},{"type":"text","text":"Robertsdale"},{"type":"text","text":"Unsafe Condition"},{"type":"text","text":"Randal Jessup"},{"type":"text","text":"Heartbeam Inc."},{"type":"text","text":"Resolved"},{"type":"text","text":"https://oqsha.com/#/incidents/view/204/77152?dlType=viewTicket"},{"type":"text","text":"Oqsha Team"}]}]}}}


### Ended processing Update incident Event ###


### End Event Execution ###


### Start Event Execution ###


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


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


Executing email notifications to Incident Approvers about the Pending approval


Incident IMF/FBYDW/ROO/INJ/26/00001 has been validated, form a team to investigate


Executing whatsapp notifications to Incident Approvers about the Pending approval


Sending WhatsApp for Incident Approval to User: 5889


Osmo-x WhatsApp Message has been Sent


# Preparing notification body #


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


Initializing Email Service Client


Generating Email Request


Incident IMF/FBYDW/ROO/FAO/26/00003 has been validated, form a team to investigate


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


--- Email response from Osmo-x is 201


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


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


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


Executing email notifications to Investigation Approvers about the Pending approval


You have been assigned to review the investigation report IMF/FBYDW/ROO/FAO/26/00003


Executing whatsapp notifications to Investigation Approvers about the Pending approval


Sending WhatsApp for Investigation Approval to User: 5530


### Ended processing Investigation Submitted Event ###


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


Invalid Mobile Number - 91


# Preparing notification body #


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


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


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


Reading and binding data to Email Template


Initializing Email Service Client


Generating Email Request


Validate the investigation report for the Incident IMF/FBYDW/ROO/FAO/26/00003


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


--- Email response from Osmo-x is 201


Sending WhatsApp for Incident Approval to User: 5533


Osmo-x WhatsApp Message has been Sent


### Ended processing Investigation Validated Event ###


### End Event Execution ###


### Start Event Execution ###


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


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


Executing email notifications to external users about the final report release


PDF generation completed successfully.


Incident PDF generation successfull


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


The Final Report of Investigation has been released on this Incident IMF/FBYDW/ROO/FAO/26/00003


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


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


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


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


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000002453","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"ptw_assigned_to_generic_template_v4","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"P/HUBG/TFX/AIP/CW/26/00003"},{"type":"text","text":"15-Jul-2026"},{"type":"text","text":"Cold work"},{"type":"text","text":"Meadow Oaks"},{"type":"text","text":" "},{"type":"text","text":"Extension Requested by Raleigh Swaney for 4 hour(s) at 15-Jul-2026 04:00:22 PM"},{"type":"text","text":"Extension Issue"},{"type":"text","text":"Ana Osborn"},{"type":"text","text":"https://oqsha.com/#/work-permit/view/407928?orgID=207&dlType=viewWorkPermit"}]}]}}}


Osmo-x WhatsApp Message has been Sent


Executing sending push notification to the issuers for extended PTW


# Preparing notification body #


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


# string body Raleigh Swaney, 4 hour(s), P/HUBG/TFX/AIP/CW/26/00003


### End Event Execution ###


### Start Event Execution ###


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