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


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


### Start Event Execution ###


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


# Calling SendHIRAApprovalInvitationNotification function for email/WhatsApp #


Executing email notifications to HIRA Approvers about the Pending approval


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


Reading and binding data to Email Template


Initializing Email Service Client


Generating Email Request


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

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


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


--- Email response from Osmo-x is 201


Executing whatsapp notifications to HIRA Approvers about the Pending approval


Sending WhatsApp Notification for HIRA Approval to user: 10363


Osmo-x WhatsApp Message has been Sent


# Preparing notification body #


### End Event Execution ###


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


# Calling SendNotificationForValidationIssued function for  whatsapp and push notification #


Message payload: { FacultyUserName = Sincere Kidwell, CourseName = ttt, BatchName = TEE_LAL_Sincere Kidwell_25-07-2025_01, StartDate = 25-Jul-2025 01:43 PM, Location = Tomahawk, LinkText = https://oqsha.com/#/batches/view/194/158/?dlType=viewBatch, OrganisationName = Opera Limited American }


## Sending whatsapp notification to:+912000007341 ##


Message payload: { FacultyUserName = Sincere Kidwell, CourseName = ttt, BatchName = TEE_LAL_Sincere Kidwell_25-07-2025_02, StartDate = 25-Jul-2025 01:43 PM, Location = Tomahawk, LinkText = https://oqsha.com/#/batches/view/194/158/?dlType=viewBatch, OrganisationName = Opera Limited American }


### Start Event Execution ###


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


# INSPECTION_NEXT_DUE_DATE_NOTIFICATION - Calling InspectionNextDueDateNotification function for WhatsApp Notification #


## Sending Inspection WhatsApp Next Due Date Notification | UserId: 1955 | Inspection: I/GLTO/GRR/P-C/26/00002 ##


## Sending Inspection WhatsApp Next Due Date Notification | UserId: 9721 | Inspection: I/GLTO/GRR/P-C/26/00002 ##


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


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


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


# Calling SendNotificationForPTWHistory function for whatsapp and push notification #


System.NullReferenceException: Object reference not set to an instance of an object.
   at IncidentReporter.NotificationSender.DAL.Events.Notifier.SendNotificationForPTWHistory(Int64 ptwId, Int64 orgId, String stringUserIds, String historyCreatedUserDisplayName, String permitToWorkUID, String siteName, String jobType, String startDate, String commentedOnTime, Int64 ptwHistoryId, String workLocation, String modeOfNotifications) in C:\GitLab-Runner\builds\27n6lYj0J\0\incident-reporter\incident-reporter-api\IncidentReporter\IncidentReporter.NotificationSender\DAL\Events\Notifier.cs:line 4274
   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 599


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


# Calling SendNotificationToAllExceptReviewer function for whatsapp and push notification #


User Ids for notification: [3025,3142]


Starting Execution for whatsapp notification for all


Sending notification to requester regarding permit to work 372032


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000000705","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":"7TNHKL"},{"type":"text","text":"29-May-2026"},{"type":"text","text":"General Work"},{"type":"text","text":"Rosewood"},{"type":"text","text":"tower 6 "},{"type":"text","text":"Authorized by Ruthanne Mixon at 29-May-2026 01:07:15 PM"},{"type":"text","text":"Start Work"},{"type":"text","text":"https://oqsha.com/#/work-permit/view/372032?orgID=211&dlType=viewWorkPermit"}]}]}}}


Osmo-x WhatsApp Message has been Sent


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000004404","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":"7TNHKL"},{"type":"text","text":"29-May-2026"},{"type":"text","text":"General Work"},{"type":"text","text":"Rosewood"},{"type":"text","text":"tower 6 "},{"type":"text","text":"Authorized by Ruthanne Mixon at 29-May-2026 01:07:15 PM"},{"type":"text","text":"Start Work"},{"type":"text","text":"https://oqsha.com/#/work-permit/view/372032?orgID=211&dlType=viewWorkPermit"}]}]}}}


### End Event Execution ###


### Start Event Execution ###


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


# Calling SendNotificationOfValidationRequestedToAllExceptRequester function for whatsapp and push notification #


Executing sending notification to issuers through whatsapp


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


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000000705","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":"7TNHKL"},{"type":"text","text":"29-May-2026"},{"type":"text","text":"General Work"},{"type":"text","text":"Rosewood"},{"type":"text","text":"tower 6 "},{"type":"text","text":"Validation Requested by Ruthanne Mixon at 29-May-2026 01:13:41 PM"},{"type":"text","text":"Validation Issue"},{"type":"text","text":"Ossian Papp"},{"type":"text","text":"https://oqsha.com/#/work-permit/view/372032?orgID=211&dlType=viewWorkPermit"}]}]}}}


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000004404","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":"7TNHKL"},{"type":"text","text":"29-May-2026"},{"type":"text","text":"General Work"},{"type":"text","text":"Rosewood"},{"type":"text","text":"tower 6 "},{"type":"text","text":"Validation Requested by Ruthanne Mixon at 29-May-2026 01:13:41 PM"},{"type":"text","text":"Validation Issue"},{"type":"text","text":"Ossian Papp"},{"type":"text","text":"https://oqsha.com/#/work-permit/view/372032?orgID=211&dlType=viewWorkPermit"}]}]}}}


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000000705","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":"7TNHKL"},{"type":"text","text":"29-May-2026"},{"type":"text","text":"General Work"},{"type":"text","text":"Rosewood"},{"type":"text","text":"tower 6 "},{"type":"text","text":"Validation Requested by Ruthanne Mixon at 29-May-2026 01:13:44 PM"},{"type":"text","text":"Validation Issue"},{"type":"text","text":"Ossian Papp"},{"type":"text","text":"https://oqsha.com/#/work-permit/view/372032?orgID=211&dlType=viewWorkPermit"}]}]}}}


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000004404","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":"7TNHKL"},{"type":"text","text":"29-May-2026"},{"type":"text","text":"General Work"},{"type":"text","text":"Rosewood"},{"type":"text","text":"tower 6 "},{"type":"text","text":"Validation Requested by Ruthanne Mixon at 29-May-2026 01:13:44 PM"},{"type":"text","text":"Validation Issue"},{"type":"text","text":"Ossian Papp"},{"type":"text","text":"https://oqsha.com/#/work-permit/view/372032?orgID=211&dlType=viewWorkPermit"}]}]}}}


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000000705","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":"7TNHKL"},{"type":"text","text":"29-May-2026"},{"type":"text","text":"General Work"},{"type":"text","text":"Rosewood"},{"type":"text","text":"tower 6 "},{"type":"text","text":"Validation Requested by Ossian Papp at 29-May-2026 01:14:57 PM"},{"type":"text","text":"Validation Issue"},{"type":"text","text":"Ossian Papp"},{"type":"text","text":"https://oqsha.com/#/work-permit/view/372032?orgID=211&dlType=viewWorkPermit"}]}]}}}


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000004404","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":"7TNHKL"},{"type":"text","text":"29-May-2026"},{"type":"text","text":"General Work"},{"type":"text","text":"Rosewood"},{"type":"text","text":"tower 6 "},{"type":"text","text":"Validation Requested by Ossian Papp at 29-May-2026 01:14:57 PM"},{"type":"text","text":"Validation Issue"},{"type":"text","text":"Ossian Papp"},{"type":"text","text":"https://oqsha.com/#/work-permit/view/372032?orgID=211&dlType=viewWorkPermit"}]}]}}}


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000000705","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":"7TNHKL"},{"type":"text","text":"29-May-2026"},{"type":"text","text":"General Work"},{"type":"text","text":"Rosewood"},{"type":"text","text":"tower 6 "},{"type":"text","text":"Validation Requested by Ossian Papp at 29-May-2026 01:15:14 PM"},{"type":"text","text":"Validation Issue"},{"type":"text","text":"Ossian Papp"},{"type":"text","text":"https://oqsha.com/#/work-permit/view/372032?orgID=211&dlType=viewWorkPermit"}]}]}}}


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000004404","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":"7TNHKL"},{"type":"text","text":"29-May-2026"},{"type":"text","text":"General Work"},{"type":"text","text":"Rosewood"},{"type":"text","text":"tower 6 "},{"type":"text","text":"Validation Requested by Ossian Papp at 29-May-2026 01:15:14 PM"},{"type":"text","text":"Validation Issue"},{"type":"text","text":"Ossian Papp"},{"type":"text","text":"https://oqsha.com/#/work-permit/view/372032?orgID=211&dlType=viewWorkPermit"}]}]}}}


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000000705","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":"7TNHKL"},{"type":"text","text":"29-May-2026"},{"type":"text","text":"General Work"},{"type":"text","text":"Rosewood"},{"type":"text","text":"tower 6 "},{"type":"text","text":"Validation Requested by Ossian Papp at 29-May-2026 01:20:08 PM"},{"type":"text","text":"Validation Issue"},{"type":"text","text":"Ossian Papp"},{"type":"text","text":"https://oqsha.com/#/work-permit/view/372032?orgID=211&dlType=viewWorkPermit"}]}]}}}


Osmo-x WhatsApp Message has been Sent


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000004404","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":"7TNHKL"},{"type":"text","text":"29-May-2026"},{"type":"text","text":"General Work"},{"type":"text","text":"Rosewood"},{"type":"text","text":"tower 6 "},{"type":"text","text":"Validation Requested by Ossian Papp at 29-May-2026 01:20:08 PM"},{"type":"text","text":"Validation Issue"},{"type":"text","text":"Ossian Papp"},{"type":"text","text":"https://oqsha.com/#/work-permit/view/372032?orgID=211&dlType=viewWorkPermit"}]}]}}}


### End Event Execution ###


### Start Event Execution ###


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000000705","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":"7TNHKL"},{"type":"text","text":"29-May-2026"},{"type":"text","text":"General Work"},{"type":"text","text":"Rosewood"},{"type":"text","text":"tower 6 "},{"type":"text","text":"Validation Requested by Ossian Papp at 29-May-2026 01:20:13 PM"},{"type":"text","text":"Validation Issue"},{"type":"text","text":"Ossian Papp"},{"type":"text","text":"https://oqsha.com/#/work-permit/view/372032?orgID=211&dlType=viewWorkPermit"}]}]}}}


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000004404","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":"7TNHKL"},{"type":"text","text":"29-May-2026"},{"type":"text","text":"General Work"},{"type":"text","text":"Rosewood"},{"type":"text","text":"tower 6 "},{"type":"text","text":"Validation Requested by Ossian Papp at 29-May-2026 01:20:13 PM"},{"type":"text","text":"Validation Issue"},{"type":"text","text":"Ossian Papp"},{"type":"text","text":"https://oqsha.com/#/work-permit/view/372032?orgID=211&dlType=viewWorkPermit"}]}]}}}


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000000705","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":"7TNHKL"},{"type":"text","text":"29-May-2026"},{"type":"text","text":"General Work"},{"type":"text","text":"Rosewood"},{"type":"text","text":"tower 6 "},{"type":"text","text":"Validation Requested by Ossian Papp at 29-May-2026 01:20:18 PM"},{"type":"text","text":"Validation Issue"},{"type":"text","text":"Ossian Papp"},{"type":"text","text":"https://oqsha.com/#/work-permit/view/372032?orgID=211&dlType=viewWorkPermit"}]}]}}}


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000004404","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":"7TNHKL"},{"type":"text","text":"29-May-2026"},{"type":"text","text":"General Work"},{"type":"text","text":"Rosewood"},{"type":"text","text":"tower 6 "},{"type":"text","text":"Validation Requested by Ossian Papp at 29-May-2026 01:20:18 PM"},{"type":"text","text":"Validation Issue"},{"type":"text","text":"Ossian Papp"},{"type":"text","text":"https://oqsha.com/#/work-permit/view/372032?orgID=211&dlType=viewWorkPermit"}]}]}}}


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


# Calling SendNotificationOfValidationRequestedToAllExceptRequester function for whatsapp and push notification #


Executing sending notification to issuers through whatsapp


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


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000000705","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":"7TNHKL"},{"type":"text","text":"29-May-2026"},{"type":"text","text":"General Work"},{"type":"text","text":"Rosewood"},{"type":"text","text":"tower 6 "},{"type":"text","text":"Validation Requested by Ossian Papp at 29-May-2026 01:20:23 PM"},{"type":"text","text":"Validation Issue"},{"type":"text","text":"Ossian Papp"},{"type":"text","text":"https://oqsha.com/#/work-permit/view/372032?orgID=211&dlType=viewWorkPermit"}]}]}}}


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000004404","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":"7TNHKL"},{"type":"text","text":"29-May-2026"},{"type":"text","text":"General Work"},{"type":"text","text":"Rosewood"},{"type":"text","text":"tower 6 "},{"type":"text","text":"Validation Requested by Ossian Papp at 29-May-2026 01:20:23 PM"},{"type":"text","text":"Validation Issue"},{"type":"text","text":"Ossian Papp"},{"type":"text","text":"https://oqsha.com/#/work-permit/view/372032?orgID=211&dlType=viewWorkPermit"}]}]}}}


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000000705","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":"7TNHKL"},{"type":"text","text":"29-May-2026"},{"type":"text","text":"General Work"},{"type":"text","text":"Rosewood"},{"type":"text","text":"tower 6 "},{"type":"text","text":"Validation Requested by Ossian Papp at 29-May-2026 01:20:43 PM"},{"type":"text","text":"Validation Issue"},{"type":"text","text":"Adelinde Hamlet"},{"type":"text","text":"https://oqsha.com/#/work-permit/view/372032?orgID=211&dlType=viewWorkPermit"}]}]}}}


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000004404","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":"7TNHKL"},{"type":"text","text":"29-May-2026"},{"type":"text","text":"General Work"},{"type":"text","text":"Rosewood"},{"type":"text","text":"tower 6 "},{"type":"text","text":"Validation Requested by Ossian Papp at 29-May-2026 01:20:43 PM"},{"type":"text","text":"Validation Issue"},{"type":"text","text":"Adelinde Hamlet"},{"type":"text","text":"https://oqsha.com/#/work-permit/view/372032?orgID=211&dlType=viewWorkPermit"}]}]}}}


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000000724","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":"7TNHKL"},{"type":"text","text":"29-May-2026"},{"type":"text","text":"General Work"},{"type":"text","text":"Rosewood"},{"type":"text","text":"tower 6 "},{"type":"text","text":"Validation Requested by Ossian Papp at 29-May-2026 01:20:43 PM"},{"type":"text","text":"Validation Issue"},{"type":"text","text":"Adelinde Hamlet"},{"type":"text","text":"https://oqsha.com/#/work-permit/view/372032?orgID=211&dlType=viewWorkPermit"}]}]}}}


Osmo-x WhatsApp Message has been Sent


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000000705","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":"7TNHKL"},{"type":"text","text":"29-May-2026"},{"type":"text","text":"General Work"},{"type":"text","text":"Rosewood"},{"type":"text","text":"tower 6 "},{"type":"text","text":"Validation Requested by Ossian Papp at 29-May-2026 01:20:50 PM"},{"type":"text","text":"Validation Issue"},{"type":"text","text":"Adelinde Hamlet"},{"type":"text","text":"https://oqsha.com/#/work-permit/view/372032?orgID=211&dlType=viewWorkPermit"}]}]}}}


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000004404","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":"7TNHKL"},{"type":"text","text":"29-May-2026"},{"type":"text","text":"General Work"},{"type":"text","text":"Rosewood"},{"type":"text","text":"tower 6 "},{"type":"text","text":"Validation Requested by Ossian Papp at 29-May-2026 01:20:50 PM"},{"type":"text","text":"Validation Issue"},{"type":"text","text":"Adelinde Hamlet"},{"type":"text","text":"https://oqsha.com/#/work-permit/view/372032?orgID=211&dlType=viewWorkPermit"}]}]}}}


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000000724","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":"7TNHKL"},{"type":"text","text":"29-May-2026"},{"type":"text","text":"General Work"},{"type":"text","text":"Rosewood"},{"type":"text","text":"tower 6 "},{"type":"text","text":"Validation Requested by Ossian Papp at 29-May-2026 01:20:50 PM"},{"type":"text","text":"Validation Issue"},{"type":"text","text":"Adelinde Hamlet"},{"type":"text","text":"https://oqsha.com/#/work-permit/view/372032?orgID=211&dlType=viewWorkPermit"}]}]}}}


### End Event Execution ###


### Start Event Execution ###


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000000705","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":"7TNHKL"},{"type":"text","text":"29-May-2026"},{"type":"text","text":"General Work"},{"type":"text","text":"Rosewood"},{"type":"text","text":"tower 6 "},{"type":"text","text":"Validation Requested by Ossian Papp at 29-May-2026 01:20:55 PM"},{"type":"text","text":"Validation Issue"},{"type":"text","text":"Adelinde Hamlet"},{"type":"text","text":"https://oqsha.com/#/work-permit/view/372032?orgID=211&dlType=viewWorkPermit"}]}]}}}


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000004404","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":"7TNHKL"},{"type":"text","text":"29-May-2026"},{"type":"text","text":"General Work"},{"type":"text","text":"Rosewood"},{"type":"text","text":"tower 6 "},{"type":"text","text":"Validation Requested by Ossian Papp at 29-May-2026 01:20:55 PM"},{"type":"text","text":"Validation Issue"},{"type":"text","text":"Adelinde Hamlet"},{"type":"text","text":"https://oqsha.com/#/work-permit/view/372032?orgID=211&dlType=viewWorkPermit"}]}]}}}


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000000724","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":"7TNHKL"},{"type":"text","text":"29-May-2026"},{"type":"text","text":"General Work"},{"type":"text","text":"Rosewood"},{"type":"text","text":"tower 6 "},{"type":"text","text":"Validation Requested by Ossian Papp at 29-May-2026 01:20:55 PM"},{"type":"text","text":"Validation Issue"},{"type":"text","text":"Adelinde Hamlet"},{"type":"text","text":"https://oqsha.com/#/work-permit/view/372032?orgID=211&dlType=viewWorkPermit"}]}]}}}


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


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


Message : {"EventName":"Update_USER","EventArgs":[{"Key":"DisplayName","Value":"Eino Cope"},{"Key":"Password","Value":""},{"Key":"OrganisationName","Value":"Meiwu Technology Company Limited"},{"Key":"UserDivisions","Value":"Near Miss Report, Unsafe Action - by workforce, Unsafe Condition - at site"},{"Key":"UserIncidentSites","Value":"Animas, Austin, Bland, Blencoe, Bothell East, Campbell Station, Collins Colony, De Land, East Newark, Ellinger, Fletcher, Foothill Farms, Gladeville, Highland Falls, Isabella, Island Pond, Johnson Park, Lake Havasu City, Magnolia Beach, Mahanoy City, Meridian Village, North Fairfield, North Tunica, Peotone, Richton, St. Johns, Waterville, West Pleasant View, Woodsburgh"},{"Key":"OldEmail","Value":""},{"Key":"Email","Value":"osm06279@osmosys.co"}]}


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


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


Calling Send Email Function for Update User Email


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


Reading and binding data to Email Template


Initializing Email Service Client


Generating Email Request


Your OQSHA Access Has Been Updated


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


--- Email response from Osmo-x is 201


### End Event Execution ###


### Start Event Execution ###


Message : {"EventName":"Update_APP_USER","EventArgs":[{"Key":"DisplayName","Value":"Eino Cope"},{"Key":"Password","Value":""},{"Key":"OrganisationName","Value":"Meiwu Technology Company Limited"},{"Key":"UserUid","Value":"8756012121"},{"Key":"UserDivisions","Value":"Near Miss Report, Unsafe Action - by workforce, Unsafe Condition - at site"},{"Key":"UserIncidentSites","Value":"Animas, Austin, Bland, Blencoe, Bothell East, Campbell Station, Collins Colony, De Land, East Newark, Ellinger, Fletcher, Foothill Farms, Gladeville, Highland Falls, Isabella, Island Pond, Johnson Park, Lake Havasu City, Magnolia Beach, Mahanoy City, Meridian Village, North Fairfield, North Tunica, Peotone, Richton, St. Johns, Waterville, West Pleasant View, Woodsburgh"},{"Key":"Email","Value":"osm06279@osmosys.co"},{"Key":"MobileNumber","Value":"+912000002132"}]}


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


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


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


# Calling SendBulkExportReadyEmail for exportId=11 userId=267 #


[BulkExport] Fetching user details for userId=267


[BulkExport] Sending email to=TTK_Admin@oqsha.com


Your OQSHA bulk export is ready


[BulkExport] Email sent successfully to=TTK_Admin@oqsha.com


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


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


# Calling SendNotificationForWorkPermitCreation function for email/WhatsApp #


Executing email and WhatsApp notifications to WorkPermit approvers


Sending WorkPermit creation email to: TTK_Admin@oqsha.com


Initializing Email Service Client


Generating Email Request


New Work Permit Assigned


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


--- Email response from Osmo-x is 201


Sending WorkPermit creation WhatsApp message to: 912000001875


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


Osmo-x WhatsApp Message has been Sent


# Preparing notification body #


### End Event Execution ###


### Start Event Execution ###


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


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


# Calling SendDepartmentInchargeNotificationForWorkPermitCreation function for email/WhatsApp #


Message : {"EventName":"WORK_PERMIT_APPROVED_INFORM_TO_CREATOR_NOTIFICATION","EventArgs":[{"Key":"CreatorId","Value":"267"},{"Key":"ApproverName","Value":"Hebert Eaton"},{"Key":"WorkPermitId","Value":"2496"},{"Key":"WorkPermitUid","Value":"WP/FBYDW/ROO/CSE/26/00001"},{"Key":"SiteName","Value":"Colver"},{"Key":"OrganisationName","Value":"Falcon's Beyond Global Inc. Warrants"},{"Key":"StatusPastTenseName","Value":"Approved"},{"Key":"ApprovedOn","Value":"29-May-2026 05:22:51 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: TTK_Admin@oqsha.com


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


Reading and binding data to Email Template


Initializing Email Service Client


Generating Email Request


Hebert Eaton 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: 267


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


Osmo-x WhatsApp Message has been Sent


# Preparing notification body #


### End Event Execution ###


### Start Event Execution ###


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


# Calling SendWorkPermitApprovalInvitationNotification function for email/WhatsApp #


Executing email notifications to WorkPermit Approvers about the Pending approval


A Work Permit is awaiting your Approval


Executing whatsapp notifications to WorkPermit Approvers about the Pending approval


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_approval_invitation_v3","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"Lesia Hardman"},{"type":"text","text":"Approval"},{"type":"text","text":"WP/FBYDW/ROO/CSE/26/00001"},{"type":"text","text":"Colver"},{"type":"text","text":"Falcon's Beyond Global Inc. Warrants"},{"type":"text","text":"Hebert Eaton"},{"type":"text","text":"https://oqsha.com/#/permit-to-work/view-work-permit/248/2496?dlType=viewWorkPermitV2"},{"type":"text","text":"EHS Department - TTK Prestige Limited"}]}]}}}


Message : {"EventName":"WORK_PERMIT_APPROVED_INFORM_TO_CREATOR_NOTIFICATION","EventArgs":[{"Key":"CreatorId","Value":"267"},{"Key":"ApproverName","Value":"Lesia Hardman"},{"Key":"WorkPermitId","Value":"2496"},{"Key":"WorkPermitUid","Value":"WP/FBYDW/ROO/CSE/26/00001"},{"Key":"SiteName","Value":"Colver"},{"Key":"OrganisationName","Value":"Falcon's Beyond Global Inc. Warrants"},{"Key":"StatusPastTenseName","Value":"Approved"},{"Key":"ApprovedOn","Value":"29-May-2026 05:24:55 PM"},{"Key":"OrgId","Value":248}]}


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


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


Osmo-x WhatsApp Message has been Sent


# Preparing notification body #


### End Event Execution ###


### Start Event Execution ###


Sending WhatsApp for WorkPermit to user: 5889


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


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


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


Message : {"EventName":"WORK_PERMIT_APPROVED_INFORM_TO_CREATOR_NOTIFICATION","EventArgs":[{"Key":"CreatorId","Value":"267"},{"Key":"ApproverName","Value":"Cato Kwon"},{"Key":"WorkPermitId","Value":"2496"},{"Key":"WorkPermitUid","Value":"WP/FBYDW/ROO/CSE/26/00001"},{"Key":"SiteName","Value":"Colver"},{"Key":"OrganisationName","Value":"Falcon's Beyond Global Inc. Warrants"},{"Key":"StatusPastTenseName","Value":"Approved"},{"Key":"ApprovedOn","Value":"29-May-2026 05:26:51 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: TTK_Admin@oqsha.com


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


Reading and binding data to Email Template


Initializing Email Service Client


Generating Email Request


Cato Kwon 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: 267


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


Osmo-x WhatsApp Message has been Sent


# Preparing notification body #


### End Event Execution ###


### Start Event Execution ###


Message : {"EventName":"WORK_PERMIT_APPROVED_CONTRACTOR_SUPERVISOR_NOTIFICATION","EventArgs":[{"Key":"WorkPermitId","Value":"2496"},{"Key":"WorkPermitUid","Value":"WP/FBYDW/ROO/CSE/26/00001"},{"Key":"SiteName","Value":"Colver"},{"Key":"OrganisationName","Value":"Falcon's Beyond Global Inc. Warrants"},{"Key":"ApprovedOn","Value":"29-May-2026 05:26:51 PM"},{"Key":"OrgId","Value":248}]}


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


Executing email notifications to Contractor Supervisor about the approval of Work Permit by all Approver


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


# Calling SendBulkExportReadyEmail for exportId=12 userId=267 #


[BulkExport] Fetching user details for userId=267


[BulkExport] Sending email to=TTK_Admin@oqsha.com


Initializing Email Service Client


Generating Email Request


Your OQSHA bulk export is ready


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


--- Email response from Osmo-x is 201


[BulkExport] Email sent successfully to=TTK_Admin@oqsha.com


# Calling SendBulkExportReadyEmail for exportId=13 userId=267 #


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


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