Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"918160948627","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"ptw_assigned_to_generic_template_v4","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"P/HUBG/TFX/RDVT/CW/26/00001"},{"type":"text","text":"26-Feb-2026"},{"type":"text","text":"Cold work"},{"type":"text","text":"Meadow Oaks"},{"type":"text","text":" "},{"type":"text","text":"Approved by Eleanore Bayles at 26-Feb-2026 12:22:56 PM"},{"type":"text","text":"Review"},{"type":"text","text":"Robby Soukup"},{"type":"text","text":"https://qa-staging-2.oqsha.com/#/work-permit/view/313948?orgID=207&dlType=viewWorkPermit"}]}]}}}


Osmo-x WhatsApp Message has been Sent


Sending notification to approver of the comapny regarding permit to work


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"917993748792","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"ptw_assigned_to_generic_template_v4","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"P/HUBG/TFX/RDVT/CW/26/00001"},{"type":"text","text":"26-Feb-2026"},{"type":"text","text":"Cold work"},{"type":"text","text":"Meadow Oaks"},{"type":"text","text":" "},{"type":"text","text":"Approved by Eleanore Bayles at 26-Feb-2026 12:22:56 PM"},{"type":"text","text":"Review"},{"type":"text","text":"Robby Soukup"},{"type":"text","text":"https://qa-staging-2.oqsha.com/#/work-permit/view/313948?orgID=207&dlType=viewWorkPermit"}]}]}}}


### 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 387: Templates\IncidentSubmittedNotificationEmailTemplate.html


Executing email notifications to Incident Approvers about the Pending approval


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


Reading and binding data to Email Template


Initializing Email Service Client


Generating Email Request


A new incident IMF/TTK/COI/IAP/26/00010 has been reported


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


--- Email response from Osmo-x is 201


Executing whatsapp notifications to Incident Approvers about the Pending approval


Sending WhatsApp Notification for Incident Approval to User: 2764


Osmo-x WhatsApp Message has been Sent


### Ended processing Incident Submitted Event ###


### End Event Execution ###


### Start Event Execution ###


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


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


Incident IMF/TTK/COI/IAP/26/00010 has been validated


Sending WhatsApp for Incident Validation to User: 2764


### 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 387: Templates\IncidentFIRReleasedNotificationEmailTemplate.html


Initializing Email Service Client


Generating Email Request


Incident IMF/TTK/COI/IAP/26/00010 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: 2764


Osmo-x WhatsApp Message has been Sent


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


Incident PDF generation successfull


shreya.v@osmosys.co, lalit.a@osmosys.co, sagaraswar0001@gmail.com, hemantsehwag0008@gmail.com

Incident IMF/TTK/COI/IAP/26/00010 FIR has been released


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


### Started processing for Notification Execution ###


# Immediate Notification flag for the event: ESCALATE_NOTIFICATION is set to #


### Started processing  Email Notification Execution ###


#  Added Email Notification of IncidentUID: R9W1AE#


# Incident Attachments Count: 0#


#  Added Email Notification of IncidentUID: S47LRT#


#  Added Email Notification of IncidentUID: T//AII/25/00001#


# Calling  SendCronEmail function for  email notification #


# Fetching details from escalate_cron table for escalate_cron id 12007 #


# Retry Count of the CronId: 12007 is 0


Generating report.


Logging user id - 83


# Fetching details from escalate_cron table for escalate_cron id 12013 #


# Retry Count of the CronId: 12013 is 0


# Fetching details from escalate_cron table for escalate_cron id 22555 #


# Retry Count of the CronId: 22555 is 0


### Ended processing  Email Notification Execution ###


### Started processing  Whatsapp Notification Execution ###


#  Added  WhatsApp Notification of IncidentUID: R9W1AE#


#  Added  WhatsApp Notification of IncidentUID: S47LRT#


#  Added  WhatsApp Notification of IncidentUID: T//AII/25/00001#


#  Added  WhatsApp Notification of IncidentUID: T/APR/16J/BCC/26/00001#


# Calling  SendCronWhatsAppNotifcations function for  whatsapp notification #


# Fetching details from escalate_cron table for escalate_cron id 12008 #


# Fetching details from escalate_cron table for escalate_cron id 12014 #


# Fetching details from escalate_cron table for escalate_cron id 22556 #


# Fetching details from escalate_cron table for escalate_cron id 23984 #


### Ended processing  Whatsapp Notification Execution ###


### End Event Execution ###


### Start Event Execution ###


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


# Calling SendNotificationToAllExceptReviewer function for whatsapp and push notification #


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


Starting Execution for whatsapp notification for all


Sending notification to requester regarding permit to work 313948


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"918160948627","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"ptw_generic_status_template_v4","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"P/HUBG/TFX/RDVT/CW/26/00001"},{"type":"text","text":"26-Feb-2026"},{"type":"text","text":"Cold work"},{"type":"text","text":"Meadow Oaks"},{"type":"text","text":" "},{"type":"text","text":"Reviewed by Robby Soukup at 26-Feb-2026 12:25:32 PM"},{"type":"text","text":"Start Work"},{"type":"text","text":"https://qa-staging-2.oqsha.com/#/work-permit/view/313948?orgID=207&dlType=viewWorkPermit"}]}]}}}


Osmo-x WhatsApp Message has been Sent


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"917993748792","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"ptw_generic_status_template_v4","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"P/HUBG/TFX/RDVT/CW/26/00001"},{"type":"text","text":"26-Feb-2026"},{"type":"text","text":"Cold work"},{"type":"text","text":"Meadow Oaks"},{"type":"text","text":" "},{"type":"text","text":"Reviewed by Robby Soukup at 26-Feb-2026 12:25:32 PM"},{"type":"text","text":"Start Work"},{"type":"text","text":"https://qa-staging-2.oqsha.com/#/work-permit/view/313948?orgID=207&dlType=viewWorkPermit"}]}]}}}


Message : {"EventName":"INFORM_TO_INCIDENT_CREATION_NOTIFICATION","EventArgs":[{"Key":"IncidentId","Value":66922},{"Key":"InformToUserId","Value":5530}]}


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


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


Calling SendInformToNotification function for ticket creation


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


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


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"918160948627","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"ptw_assigned_to_generic_template_v4","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"P/HUBG/TFX/RDVT/CW/26/00002"},{"type":"text","text":"26-Feb-2026"},{"type":"text","text":"Cold work"},{"type":"text","text":"Meadow Oaks"},{"type":"text","text":" "},{"type":"text","text":"Requested by Gia Mccandless at 26-Feb-2026 12:40:43 PM"},{"type":"text","text":"Issue"},{"type":"text","text":"Ana Osborn"},{"type":"text","text":"https://qa-staging-2.oqsha.com/#/work-permit/view/313949?orgID=207&dlType=viewWorkPermit"}]}]}}}


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"917993748792","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"ptw_assigned_to_generic_template_v4","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"P/HUBG/TFX/RDVT/CW/26/00002"},{"type":"text","text":"26-Feb-2026"},{"type":"text","text":"Cold work"},{"type":"text","text":"Meadow Oaks"},{"type":"text","text":" "},{"type":"text","text":"Requested by Gia Mccandless at 26-Feb-2026 12:40:43 PM"},{"type":"text","text":"Issue"},{"type":"text","text":"Ana Osborn"},{"type":"text","text":"https://qa-staging-2.oqsha.com/#/work-permit/view/313949?orgID=207&dlType=viewWorkPermit"}]}]}}}


### End Event Execution ###


### Start Event Execution ###


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


# Calling SendNotificationForPTWRejectedStatus function for whatsapp and push notification #


Executing sending notification for rejection status through whatsapp


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


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"918160948627","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"ptw_generic_status_template_v4","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"P/HUBG/TFX/RDVT/CW/26/00002"},{"type":"text","text":"26-Feb-2026"},{"type":"text","text":"Cold work"},{"type":"text","text":"Meadow Oaks"},{"type":"text","text":" "},{"type":"text","text":"Rejected by Ana Osborn at 26-Feb-2026 12:42:12 PM. Reason- Reject from issuer "},{"type":"text","text":"Request Again"},{"type":"text","text":"https://qa-staging-2.oqsha.com/#/work-permit/view/313949?orgID=207&dlType=viewWorkPermit"}]}]}}}


Osmo-x WhatsApp Message has been Sent


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"917993748792","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"ptw_generic_status_template_v4","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"P/HUBG/TFX/RDVT/CW/26/00002"},{"type":"text","text":"26-Feb-2026"},{"type":"text","text":"Cold work"},{"type":"text","text":"Meadow Oaks"},{"type":"text","text":" "},{"type":"text","text":"Rejected by Ana Osborn at 26-Feb-2026 12:42:12 PM. Reason- Reject from issuer "},{"type":"text","text":"Request Again"},{"type":"text","text":"https://qa-staging-2.oqsha.com/#/work-permit/view/313949?orgID=207&dlType=viewWorkPermit"}]}]}}}


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"918160948627","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"ptw_generic_status_template_v4","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"P/HUBG/TFX/RDVT/CW/26/00002"},{"type":"text","text":"26-Feb-2026"},{"type":"text","text":"Cold work"},{"type":"text","text":"Meadow Oaks"},{"type":"text","text":" "},{"type":"text","text":"Requested by Gia Mccandless at 26-Feb-2026 12:43:27 PM"},{"type":"text","text":"Issue"},{"type":"text","text":"https://qa-staging-2.oqsha.com/#/work-permit/view/313949?orgID=207&dlType=viewWorkPermit"}]}]}}}


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"917993748792","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"ptw_generic_status_template_v4","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"P/HUBG/TFX/RDVT/CW/26/00002"},{"type":"text","text":"26-Feb-2026"},{"type":"text","text":"Cold work"},{"type":"text","text":"Meadow Oaks"},{"type":"text","text":" "},{"type":"text","text":"Requested by Gia Mccandless at 26-Feb-2026 12:43:27 PM"},{"type":"text","text":"Issue"},{"type":"text","text":"https://qa-staging-2.oqsha.com/#/work-permit/view/313949?orgID=207&dlType=viewWorkPermit"}]}]}}}


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


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"918160948627","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"ptw_assigned_to_generic_template_v4","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"P/HUBG/TFX/RDVT/CW/26/00002"},{"type":"text","text":"26-Feb-2026"},{"type":"text","text":"Cold work"},{"type":"text","text":"Meadow Oaks"},{"type":"text","text":" "},{"type":"text","text":"Issued by Ana Osborn at 26-Feb-2026 12:43:52 PM"},{"type":"text","text":"Approve"},{"type":"text","text":"Eleanore Bayles"},{"type":"text","text":"https://qa-staging-2.oqsha.com/#/work-permit/view/313949?orgID=207&dlType=viewWorkPermit"}]}]}}}


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"917993748792","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"ptw_assigned_to_generic_template_v4","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"P/HUBG/TFX/RDVT/CW/26/00002"},{"type":"text","text":"26-Feb-2026"},{"type":"text","text":"Cold work"},{"type":"text","text":"Meadow Oaks"},{"type":"text","text":" "},{"type":"text","text":"Issued by Ana Osborn at 26-Feb-2026 12:43:52 PM"},{"type":"text","text":"Approve"},{"type":"text","text":"Eleanore Bayles"},{"type":"text","text":"https://qa-staging-2.oqsha.com/#/work-permit/view/313949?orgID=207&dlType=viewWorkPermit"}]}]}}}


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 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 3893
   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 539


### End Event Execution ###


### Start Event Execution ###


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"918160948627","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"ptw_generic_status_template_v4","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"P/HUBG/TFX/RDVT/CW/26/00002"},{"type":"text","text":"26-Feb-2026"},{"type":"text","text":"Cold work"},{"type":"text","text":"Meadow Oaks"},{"type":"text","text":" "},{"type":"text","text":"Rejected by Eleanore Bayles at 26-Feb-2026 12:45:06 PM. Reason- I didn't like the insurance number"},{"type":"text","text":"Request Again"},{"type":"text","text":"https://qa-staging-2.oqsha.com/#/work-permit/view/313949?orgID=207&dlType=viewWorkPermit"}]}]}}}


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"917993748792","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"ptw_generic_status_template_v4","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"P/HUBG/TFX/RDVT/CW/26/00002"},{"type":"text","text":"26-Feb-2026"},{"type":"text","text":"Cold work"},{"type":"text","text":"Meadow Oaks"},{"type":"text","text":" "},{"type":"text","text":"Rejected by Eleanore Bayles at 26-Feb-2026 12:45:06 PM. Reason- I didn't like the insurance number"},{"type":"text","text":"Request Again"},{"type":"text","text":"https://qa-staging-2.oqsha.com/#/work-permit/view/313949?orgID=207&dlType=viewWorkPermit"}]}]}}}


Message : {"EventName":"ADD_USER_WITH_CONSENT","EventArgs":[{"Key":"DisplayName","Value":"Surendra Kumar"},{"Key":"Password","Value":"Z5Yq%F&w"},{"Key":"OrganisationName","Value":"TTK Beta - QA"},{"Key":"ReferenceId","Value":"72423720-1e9f-4451-be2e-0f36f2260c32"},{"Key":"Email","Value":"as9811012aa33442@gmail.com"}]}


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


### Started Event for Add User Consent Email ###


Calling Send Email Function for Add User Email


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


Reading and binding data to Email Template


Initializing Email Service Client


Generating Email Request


Welcome to OQSHA

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


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


--- Email response from Osmo-x is 201


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


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"918160948627","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"ptw_generic_status_template_v4","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"P/HUBG/TFX/RDVT/CW/26/00002"},{"type":"text","text":"26-Feb-2026"},{"type":"text","text":"Cold work"},{"type":"text","text":"Meadow Oaks"},{"type":"text","text":" "},{"type":"text","text":"Requested by Gia Mccandless at 26-Feb-2026 12:46:04 PM"},{"type":"text","text":"Issue"},{"type":"text","text":"https://qa-staging-2.oqsha.com/#/work-permit/view/313949?orgID=207&dlType=viewWorkPermit"}]}]}}}


Osmo-x WhatsApp Message has been Sent


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"917993748792","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"ptw_generic_status_template_v4","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"P/HUBG/TFX/RDVT/CW/26/00002"},{"type":"text","text":"26-Feb-2026"},{"type":"text","text":"Cold work"},{"type":"text","text":"Meadow Oaks"},{"type":"text","text":" "},{"type":"text","text":"Requested by Gia Mccandless at 26-Feb-2026 12:46:04 PM"},{"type":"text","text":"Issue"},{"type":"text","text":"https://qa-staging-2.oqsha.com/#/work-permit/view/313949?orgID=207&dlType=viewWorkPermit"}]}]}}}


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


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"918160948627","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"ptw_generic_status_template_v4","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"P/HUBG/TFX/RDVT/CW/26/00002"},{"type":"text","text":"26-Feb-2026"},{"type":"text","text":"Cold work"},{"type":"text","text":"Meadow Oaks"},{"type":"text","text":" "},{"type":"text","text":"Issued by Ana Osborn at 26-Feb-2026 12:47:22 PM"},{"type":"text","text":"Approve"},{"type":"text","text":"https://qa-staging-2.oqsha.com/#/work-permit/view/313949?orgID=207&dlType=viewWorkPermit"}]}]}}}


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"917993748792","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"ptw_generic_status_template_v4","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"P/HUBG/TFX/RDVT/CW/26/00002"},{"type":"text","text":"26-Feb-2026"},{"type":"text","text":"Cold work"},{"type":"text","text":"Meadow Oaks"},{"type":"text","text":" "},{"type":"text","text":"Issued by Ana Osborn at 26-Feb-2026 12:47:22 PM"},{"type":"text","text":"Approve"},{"type":"text","text":"https://qa-staging-2.oqsha.com/#/work-permit/view/313949?orgID=207&dlType=viewWorkPermit"}]}]}}}


Object reference not set to an instance of an object.


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


### Started processing for Notification Execution ###


# Immediate Notification flag for the event: ESCALATE_NOTIFICATION is set to #


### Started processing  Email Notification Execution ###


#  Added Email Notification of IncidentUID: R9W1AE#


# Incident Attachments Count: 0#


#  Added Email Notification of IncidentUID: S47LRT#


#  Added Email Notification of IncidentUID: T//AII/25/00001#


# Calling  SendCronEmail function for  email notification #


# Fetching details from escalate_cron table for escalate_cron id 12007 #


# Retry Count of the CronId: 12007 is 0


Generating report.


Logging user id - 83


# Fetching details from escalate_cron table for escalate_cron id 12013 #


# Retry Count of the CronId: 12013 is 0


# Fetching details from escalate_cron table for escalate_cron id 22555 #


# Retry Count of the CronId: 22555 is 0


### Ended processing  Email Notification Execution ###


### Started processing  Whatsapp Notification Execution ###


#  Added  WhatsApp Notification of IncidentUID: R9W1AE#


#  Added  WhatsApp Notification of IncidentUID: S47LRT#


#  Added  WhatsApp Notification of IncidentUID: T//AII/25/00001#


#  Added  WhatsApp Notification of IncidentUID: T/APR/16J/BCC/26/00001#


# Calling  SendCronWhatsAppNotifcations function for  whatsapp notification #


# Fetching details from escalate_cron table for escalate_cron id 12008 #


# Fetching details from escalate_cron table for escalate_cron id 12014 #


# Fetching details from escalate_cron table for escalate_cron id 22556 #


# Fetching details from escalate_cron table for escalate_cron id 23984 #


### Ended processing  Whatsapp Notification Execution ###


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


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"918160948627","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"ptw_assigned_to_generic_template_v4","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"P/HUBG/TFX/RDVT/CW/26/00002"},{"type":"text","text":"26-Feb-2026"},{"type":"text","text":"Cold work"},{"type":"text","text":"Meadow Oaks"},{"type":"text","text":" "},{"type":"text","text":"Approved by Eleanore Bayles at 26-Feb-2026 12:49:46 PM"},{"type":"text","text":"Review"},{"type":"text","text":"Robby Soukup"},{"type":"text","text":"https://qa-staging-2.oqsha.com/#/work-permit/view/313949?orgID=207&dlType=viewWorkPermit"}]}]}}}


Osmo-x WhatsApp Message has been Sent


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"917993748792","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"ptw_assigned_to_generic_template_v4","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"P/HUBG/TFX/RDVT/CW/26/00002"},{"type":"text","text":"26-Feb-2026"},{"type":"text","text":"Cold work"},{"type":"text","text":"Meadow Oaks"},{"type":"text","text":" "},{"type":"text","text":"Approved by Eleanore Bayles at 26-Feb-2026 12:49:46 PM"},{"type":"text","text":"Review"},{"type":"text","text":"Robby Soukup"},{"type":"text","text":"https://qa-staging-2.oqsha.com/#/work-permit/view/313949?orgID=207&dlType=viewWorkPermit"}]}]}}}


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


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


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


Incident 832 not found or inactive for org 248.


### Ended processing Incident Submitted Event ###


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


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


### Ended processing Incident Validated Event ###


### End Event Execution ###


### Start Event Execution ###


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


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


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


Calling Send Email Function for Update User Email


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


Reading and binding data to Email Template


Initializing Email Service Client


Generating Email Request


Your OQSHA Access Has Been Updated


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


--- Email response from Osmo-x is 201


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


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


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


### 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 832 not found or inactive for org 248.


### End Event Execution ###


### Start Event Execution ###


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


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


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


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


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


### Ended processing Investigation Submitted Event ###


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


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


### Ended processing Investigation Validated Event ###


Message : {"EventName":"NOTIFICATION_FOR_WORK_PERMIT_CREATION","EventArgs":[{"Key":"WorkPermitId","Value":"679"},{"Key":"ApproverIds","Value":"[6251]"},{"Key":"SiteName","Value":"Washoe Valley"},{"Key":"CreatedBy","Value":"Kaycee Maness"},{"Key":"WorkPermitUid","Value":"WP/FBYDW/COI/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


Message : {"EventName":"DEPARTMENT_INCHARGE_NOTIFICATION_FOR_WORK_PERMIT_CREATION","EventArgs":[{"Key":"WorkPermitId","Value":"679"},{"Key":"UserIds","Value":"[]"},{"Key":"SiteName","Value":"Washoe Valley"},{"Key":"CreatedBy","Value":"Kaycee Maness"},{"Key":"WorkPermitUid","Value":"WP/FBYDW/COI/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 #


### End Event Execution ###


### Start Event Execution ###


Message : {"EventName":"WORK_PERMIT_APPROVED_INFORM_TO_CREATOR_NOTIFICATION","EventArgs":[{"Key":"CreatorId","Value":"5894"},{"Key":"ApproverName","Value":"Achsah Miley"},{"Key":"WorkPermitId","Value":"679"},{"Key":"WorkPermitUid","Value":"WP/FBYDW/COI/CSE/26/00001"},{"Key":"SiteName","Value":"Washoe Valley"},{"Key":"OrganisationName","Value":"Falcon's Beyond Global Inc. Warrants"},{"Key":"ApprovedOn","Value":"26-Feb-2026 01:53:47 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


System.NullReferenceException: Object reference not set to an instance of an object.
   at IncidentReporter.NotificationSender.DAL.Events.Notifier.SendWorkPermitApprovedInformToCreatorNotification(String creatorId, String approverName, String workPermitId, String workPermitUid, String siteName, String organisationName, String approvedOn, Int64 orgId) in C:\GitLab-Runner\builds\27n6lYj0J\0\incident-reporter\incident-reporter-api\IncidentReporter\IncidentReporter.NotificationSender\DAL\Events\Notifier.cs:line 12182
   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 1603


Message : {"EventName":"WORK_PERMIT_APPROVED_INFORM_TO_CREATOR_NOTIFICATION","EventArgs":[{"Key":"CreatorId","Value":"5894"},{"Key":"ApproverName","Value":"Achsah Miley"},{"Key":"WorkPermitId","Value":"679"},{"Key":"WorkPermitUid","Value":"WP/FBYDW/COI/CSE/26/00001"},{"Key":"SiteName","Value":"Washoe Valley"},{"Key":"OrganisationName","Value":"Falcon's Beyond Global Inc. Warrants"},{"Key":"ApprovedOn","Value":"26-Feb-2026 01:53:55 PM"},{"Key":"OrgId","Value":248}]}


Message : {"EventName":"WORK_PERMIT_APPROVED_INFORM_TO_CREATOR_NOTIFICATION","EventArgs":[{"Key":"CreatorId","Value":"5894"},{"Key":"ApproverName","Value":"Achsah Miley"},{"Key":"WorkPermitId","Value":"679"},{"Key":"WorkPermitUid","Value":"WP/FBYDW/COI/CSE/26/00001"},{"Key":"SiteName","Value":"Washoe Valley"},{"Key":"OrganisationName","Value":"Falcon's Beyond Global Inc. Warrants"},{"Key":"ApprovedOn","Value":"26-Feb-2026 01:54:04 PM"},{"Key":"OrgId","Value":248}]}


Message : {"EventName":"WORK_PERMIT_APPROVAL_INVITATION_NOTIFICATION","EventArgs":[{"Key":"UserIds","Value":"[5530]"},{"Key":"WorkPermitId","Value":"679"},{"Key":"WorkPermitUid","Value":"WP/FBYDW/COI/CSE/26/00001"},{"Key":"SiteName","Value":"Washoe Valley"},{"Key":"InitiatorName","Value":"Kaycee Maness"},{"Key":"OrganisationName","Value":"Falcon's Beyond Global Inc. Warrants"},{"Key":"OrgId","Value":248}]}


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


Message : {"EventName":"WORK_PERMIT_APPROVED_INFORM_TO_CREATOR_NOTIFICATION","EventArgs":[{"Key":"CreatorId","Value":"5894"},{"Key":"ApproverName","Value":"Curley Benedict"},{"Key":"WorkPermitId","Value":"679"},{"Key":"WorkPermitUid","Value":"WP/FBYDW/COI/CSE/26/00001"},{"Key":"SiteName","Value":"Washoe Valley"},{"Key":"OrganisationName","Value":"Falcon's Beyond Global Inc. Warrants"},{"Key":"ApprovedOn","Value":"26-Feb-2026 01:54:52 PM"},{"Key":"OrgId","Value":248}]}


Message : {"EventName":"WORK_PERMIT_APPROVAL_INVITATION_NOTIFICATION","EventArgs":[{"Key":"UserIds","Value":"[9275]"},{"Key":"WorkPermitId","Value":"679"},{"Key":"WorkPermitUid","Value":"WP/FBYDW/COI/CSE/26/00001"},{"Key":"SiteName","Value":"Washoe Valley"},{"Key":"InitiatorName","Value":"Kaycee Maness"},{"Key":"OrganisationName","Value":"Falcon's Beyond Global Inc. Warrants"},{"Key":"OrgId","Value":248}]}


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


# Calling SendNotificationToRequestorForWorkPermitRejectionfunction for email/WhatsApp #


Executing email and WhatsApp notifications for WorkPermit rejection to requestor


Requestor user details not found for rejection notification


### End Event Execution ###


### Start Event Execution ###


Message : {"EventName":"NOTIFICATION_FOR_WORK_PERMIT_REASSIGN","EventArgs":[{"Key":"WorkPermitId","Value":"679"},{"Key":"ApproverIds","Value":"[5894]"},{"Key":"SiteName","Value":"Washoe Valley"},{"Key":"CreatedBy","Value":"Kaycee Maness"},{"Key":"WorkPermitUid","Value":"WP/FBYDW/COI/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_REASSIGN ###


# Calling SendNotificationToReAssignedApproversForWorkPermit function for email/WhatsApp #


Executing email and WhatsApp notifications to WorkPermit approvers


Message : {"EventName":"NOTIFICATION_FOR_WORK_PERMIT_CREATION","EventArgs":[{"Key":"WorkPermitId","Value":"679"},{"Key":"ApproverIds","Value":"[5894]"},{"Key":"SiteName","Value":"Washoe Valley"},{"Key":"CreatedBy","Value":"Kaycee Maness"},{"Key":"WorkPermitUid","Value":"WP/FBYDW/COI/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 #


Message : {"EventName":"DEPARTMENT_INCHARGE_NOTIFICATION_FOR_WORK_PERMIT_CREATION","EventArgs":[{"Key":"WorkPermitId","Value":"679"},{"Key":"UserIds","Value":"[]"},{"Key":"SiteName","Value":"Washoe Valley"},{"Key":"CreatedBy","Value":"Kaycee Maness"},{"Key":"WorkPermitUid","Value":"WP/FBYDW/COI/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":"5894"},{"Key":"ApproverName","Value":"Kaycee Maness"},{"Key":"WorkPermitId","Value":"679"},{"Key":"WorkPermitUid","Value":"WP/FBYDW/COI/CSE/26/00001"},{"Key":"SiteName","Value":"Washoe Valley"},{"Key":"OrganisationName","Value":"Falcon's Beyond Global Inc. Warrants"},{"Key":"ApprovedOn","Value":"26-Feb-2026 01:59:14 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


Object reference not set to an instance of an object.


### End Event Execution ###


### Start Event Execution ###


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


# Calling SendNotificationToRequestorForWorkPermitRejectionfunction for email/WhatsApp #


Executing email and WhatsApp notifications for WorkPermit rejection to requestor


Requestor user details not found for rejection notification


Message : {"EventName":"WORK_PERMIT_APPROVED_INFORM_TO_CREATOR_NOTIFICATION","EventArgs":[{"Key":"CreatorId","Value":"5894"},{"Key":"ApproverName","Value":"Kaycee Maness"},{"Key":"WorkPermitId","Value":"679"},{"Key":"WorkPermitUid","Value":"WP/FBYDW/COI/CSE/26/00001"},{"Key":"SiteName","Value":"Washoe Valley"},{"Key":"OrganisationName","Value":"Falcon's Beyond Global Inc. Warrants"},{"Key":"ApprovedOn","Value":"26-Feb-2026 01:59:37 PM"},{"Key":"OrgId","Value":248}]}


Message : {"EventName":"WORK_PERMIT_APPROVED_INFORM_TO_CREATOR_NOTIFICATION","EventArgs":[{"Key":"CreatorId","Value":"5894"},{"Key":"ApproverName","Value":"Kaycee Maness"},{"Key":"WorkPermitId","Value":"679"},{"Key":"WorkPermitUid","Value":"WP/FBYDW/COI/CSE/26/00001"},{"Key":"SiteName","Value":"Washoe Valley"},{"Key":"OrganisationName","Value":"Falcon's Beyond Global Inc. Warrants"},{"Key":"ApprovedOn","Value":"26-Feb-2026 01:59:45 PM"},{"Key":"OrgId","Value":248}]}


Message : {"EventName":"WORK_PERMIT_APPROVED_INFORM_TO_CREATOR_NOTIFICATION","EventArgs":[{"Key":"CreatorId","Value":"5894"},{"Key":"ApproverName","Value":"Kaycee Maness"},{"Key":"WorkPermitId","Value":"679"},{"Key":"WorkPermitUid","Value":"WP/FBYDW/COI/CSE/26/00001"},{"Key":"SiteName","Value":"Washoe Valley"},{"Key":"OrganisationName","Value":"Falcon's Beyond Global Inc. Warrants"},{"Key":"ApprovedOn","Value":"26-Feb-2026 01:59:54 PM"},{"Key":"OrgId","Value":248}]}


Message : {"EventName":"WORK_PERMIT_APPROVAL_INVITATION_NOTIFICATION","EventArgs":[{"Key":"UserIds","Value":"[5530]"},{"Key":"WorkPermitId","Value":"679"},{"Key":"WorkPermitUid","Value":"WP/FBYDW/COI/CSE/26/00001"},{"Key":"SiteName","Value":"Washoe Valley"},{"Key":"InitiatorName","Value":"Kaycee Maness"},{"Key":"OrganisationName","Value":"Falcon's Beyond Global Inc. Warrants"},{"Key":"OrgId","Value":248}]}


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


Message : {"EventName":"WORK_PERMIT_APPROVED_INFORM_TO_CREATOR_NOTIFICATION","EventArgs":[{"Key":"CreatorId","Value":"5894"},{"Key":"ApproverName","Value":"Curley Benedict"},{"Key":"WorkPermitId","Value":"679"},{"Key":"WorkPermitUid","Value":"WP/FBYDW/COI/CSE/26/00001"},{"Key":"SiteName","Value":"Washoe Valley"},{"Key":"OrganisationName","Value":"Falcon's Beyond Global Inc. Warrants"},{"Key":"ApprovedOn","Value":"26-Feb-2026 02:00:44 PM"},{"Key":"OrgId","Value":248}]}


Message : {"EventName":"WORK_PERMIT_APPROVAL_INVITATION_NOTIFICATION","EventArgs":[{"Key":"UserIds","Value":"[9275]"},{"Key":"WorkPermitId","Value":"679"},{"Key":"WorkPermitUid","Value":"WP/FBYDW/COI/CSE/26/00001"},{"Key":"SiteName","Value":"Washoe Valley"},{"Key":"InitiatorName","Value":"Kaycee Maness"},{"Key":"OrganisationName","Value":"Falcon's Beyond Global Inc. Warrants"},{"Key":"OrgId","Value":248}]}


Message : {"EventName":"WORK_PERMIT_APPROVED_INFORM_TO_CREATOR_NOTIFICATION","EventArgs":[{"Key":"CreatorId","Value":"5894"},{"Key":"ApproverName","Value":"Plummer Cope"},{"Key":"WorkPermitId","Value":"679"},{"Key":"WorkPermitUid","Value":"WP/FBYDW/COI/CSE/26/00001"},{"Key":"SiteName","Value":"Washoe Valley"},{"Key":"OrganisationName","Value":"Falcon's Beyond Global Inc. Warrants"},{"Key":"ApprovedOn","Value":"26-Feb-2026 02:02:01 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


Object reference not set to an instance of an object.


### End Event Execution ###


### Start Event Execution ###


Message : {"EventName":"WORK_PERMIT_APPROVAL_INVITATION_NOTIFICATION","EventArgs":[{"Key":"UserIds","Value":"[5538]"},{"Key":"WorkPermitId","Value":"679"},{"Key":"WorkPermitUid","Value":"WP/FBYDW/COI/CSE/26/00001"},{"Key":"SiteName","Value":"Washoe Valley"},{"Key":"InitiatorName","Value":"Kaycee Maness"},{"Key":"OrganisationName","Value":"Falcon's Beyond Global Inc. Warrants"},{"Key":"OrgId","Value":248}]}


Message : {"EventName":"WORK_PERMIT_APPROVED_INFORM_TO_CREATOR_NOTIFICATION","EventArgs":[{"Key":"CreatorId","Value":"5894"},{"Key":"ApproverName","Value":"Mozell Heaton"},{"Key":"WorkPermitId","Value":"679"},{"Key":"WorkPermitUid","Value":"WP/FBYDW/COI/CSE/26/00001"},{"Key":"SiteName","Value":"Washoe Valley"},{"Key":"OrganisationName","Value":"Falcon's Beyond Global Inc. Warrants"},{"Key":"ApprovedOn","Value":"26-Feb-2026 02:03:02 PM"},{"Key":"OrgId","Value":248}]}


Message : {"EventName":"WORK_PERMIT_APPROVED_CONTRACTOR_SUPERVISOR_NOTIFICATION","EventArgs":[{"Key":"WorkPermitId","Value":"679"},{"Key":"WorkPermitUid","Value":"WP/FBYDW/COI/CSE/26/00001"},{"Key":"SiteName","Value":"Washoe Valley"},{"Key":"OrganisationName","Value":"Falcon's Beyond Global Inc. Warrants"},{"Key":"ApprovedOn","Value":"26-Feb-2026 02:03:02 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


Message : {"EventName":"NOTIFICATION_FOR_INSPECTION_ASSIGNEES","EventArgs":[{"Key":"UserIds","Value":"[5894]"},{"Key":"InspectionUID","Value":"I/FBYDW/COI/BL(/26/00001"},{"Key":"Name","Value":"General inspection from app"},{"Key":"Type","Value":"BACKHOE LOADER (JCB) Inspection Type"},{"Key":"Site","Value":"Washoe Valley"},{"Key":"Status","Value":"Planned"},{"Key":"CreatedBy","Value":"Mozell Heaton"},{"Key":"CreatedOn","Value":"26-Feb-2026 02:08:14 PM"},{"Key":"InspectionId","Value":"9262"},{"Key":"OrganisationId","Value":248}]}


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


# Calling SendNotificationForInspectionCreation function for whatsapp and push notification #


Message : {"EventName":"NOTIFICATION_FOR_INSPECTION_COMPLETION","EventArgs":[{"Key":"UserId","Value":5538},{"Key":"InspectionUID","Value":"I/FBYDW/COI/BL(/26/00001"},{"Key":"Name","Value":"General inspection from app"},{"Key":"Type","Value":"BACKHOE LOADER (JCB) Inspection Type"},{"Key":"Site","Value":"Washoe Valley"},{"Key":"Status","Value":"Verified"},{"Key":"CreatedOn","Value":"26-Feb-2026 02:08:14 PM"},{"Key":"InspectionId","Value":"9262"},{"Key":"OrganisationId","Value":248}]}


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


# Calling SendNotificationForInspectionCreation function for whatsapp and email notification #


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


### Started processing for Notification Execution ###


# Immediate Notification flag for the event: ESCALATE_NOTIFICATION is set to #


### Started processing  Email Notification Execution ###


#  Added Email Notification of IncidentUID: R9W1AE#


# Incident Attachments Count: 0#


#  Added Email Notification of IncidentUID: S47LRT#


#  Added Email Notification of IncidentUID: T//AII/25/00001#


# Calling  SendCronEmail function for  email notification #


# Fetching details from escalate_cron table for escalate_cron id 12007 #


# Retry Count of the CronId: 12007 is 0


Generating report.


Logging user id - 83


# Fetching details from escalate_cron table for escalate_cron id 12013 #


# Retry Count of the CronId: 12013 is 0


# Fetching details from escalate_cron table for escalate_cron id 22555 #


# Retry Count of the CronId: 22555 is 0


### Ended processing  Email Notification Execution ###


### Started processing  Whatsapp Notification Execution ###


#  Added  WhatsApp Notification of IncidentUID: R9W1AE#


#  Added  WhatsApp Notification of IncidentUID: S47LRT#


#  Added  WhatsApp Notification of IncidentUID: T//AII/25/00001#


#  Added  WhatsApp Notification of IncidentUID: T/APR/16J/BCC/26/00001#


# Calling  SendCronWhatsAppNotifcations function for  whatsapp notification #


# Fetching details from escalate_cron table for escalate_cron id 12008 #


# Fetching details from escalate_cron table for escalate_cron id 12014 #


# Fetching details from escalate_cron table for escalate_cron id 22556 #


# Fetching details from escalate_cron table for escalate_cron id 23984 #


### Ended processing  Whatsapp Notification Execution ###


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


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


### Started processing for Notification Execution ###


# Immediate Notification flag for the event: ESCALATE_NOTIFICATION is set to #


### Started processing  Email Notification Execution ###


#  Added Email Notification of IncidentUID: R9W1AE#


# Incident Attachments Count: 0#


#  Added Email Notification of IncidentUID: S47LRT#


#  Added Email Notification of IncidentUID: T//AII/25/00001#


# Calling  SendCronEmail function for  email notification #


# Fetching details from escalate_cron table for escalate_cron id 12007 #


# Retry Count of the CronId: 12007 is 0


Generating report.


Logging user id - 83


# Fetching details from escalate_cron table for escalate_cron id 12013 #


# Retry Count of the CronId: 12013 is 0


# Fetching details from escalate_cron table for escalate_cron id 22555 #


# Retry Count of the CronId: 22555 is 0


### Ended processing  Email Notification Execution ###


### Started processing  Whatsapp Notification Execution ###


#  Added  WhatsApp Notification of IncidentUID: R9W1AE#


#  Added  WhatsApp Notification of IncidentUID: S47LRT#


#  Added  WhatsApp Notification of IncidentUID: T//AII/25/00001#


#  Added  WhatsApp Notification of IncidentUID: T/APR/16J/BCC/26/00001#


# Calling  SendCronWhatsAppNotifcations function for  whatsapp notification #


# Fetching details from escalate_cron table for escalate_cron id 12008 #


# Fetching details from escalate_cron table for escalate_cron id 12014 #


# Fetching details from escalate_cron table for escalate_cron id 22556 #


# Fetching details from escalate_cron table for escalate_cron id 23984 #


### Ended processing  Whatsapp Notification Execution ###


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


Object reference not set to an instance of an object.


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


### Started processing for Notification Execution ###


# Immediate Notification flag for the event: ESCALATE_NOTIFICATION is set to #


### Started processing  Email Notification Execution ###


#  Added Email Notification of IncidentUID: R9W1AE#


# Incident Attachments Count: 0#


#  Added Email Notification of IncidentUID: S47LRT#


#  Added Email Notification of IncidentUID: T//AII/25/00001#


# Calling  SendCronEmail function for  email notification #


# Fetching details from escalate_cron table for escalate_cron id 12007 #


# Retry Count of the CronId: 12007 is 0


Generating report.


Logging user id - 83


# Fetching details from escalate_cron table for escalate_cron id 12013 #


# Retry Count of the CronId: 12013 is 0


# Fetching details from escalate_cron table for escalate_cron id 22555 #


# Retry Count of the CronId: 22555 is 0


### Ended processing  Email Notification Execution ###


### Started processing  Whatsapp Notification Execution ###


#  Added  WhatsApp Notification of IncidentUID: R9W1AE#


#  Added  WhatsApp Notification of IncidentUID: S47LRT#


#  Added  WhatsApp Notification of IncidentUID: T//AII/25/00001#


#  Added  WhatsApp Notification of IncidentUID: T/APR/16J/BCC/26/00001#


# Calling  SendCronWhatsAppNotifcations function for  whatsapp notification #


# Fetching details from escalate_cron table for escalate_cron id 12008 #


# Fetching details from escalate_cron table for escalate_cron id 12014 #


# Fetching details from escalate_cron table for escalate_cron id 22556 #


# Fetching details from escalate_cron table for escalate_cron id 23984 #


### Ended processing  Whatsapp Notification Execution ###


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


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


# Calling SendNotificationToAllExceptReviewer function for whatsapp and push notification #


User Ids for notification: [5092,10335,10541,10836]


Starting Execution for whatsapp notification for all


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


Message : {"EventName":"Update_USER","EventArgs":[{"Key":"DisplayName","Value":"Sai Ram Teja"},{"Key":"Password","Value":""},{"Key":"OrganisationName","Value":"TTK Beta - QA"},{"Key":"UserDivisions","Value":"abc, HSE Suggestion, Ladder cleaning, lalit new category, Near Misses, nkkl, testing cat, tipping, tipping2, Unsafe Act, unsafe cond, Unsafe Condition"},{"Key":"UserIncidentSites","Value":"Coimbatore"},{"Key":"OldEmail","Value":""},{"Key":"Email","Value":"as980aa1233442@gmail.com"}]}


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


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


Calling Send Email Function for Update User Email


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


Reading and binding data to Email Template


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":"Sai Ram Teja"},{"Key":"Password","Value":""},{"Key":"OrganisationName","Value":"TTK Beta - QA"},{"Key":"UserUid","Value":""},{"Key":"UserDivisions","Value":"abc, HSE Suggestion, Ladder cleaning, lalit new category, Near Misses, nkkl, testing cat, tipping, tipping2, Unsafe Act, unsafe cond, Unsafe Condition"},{"Key":"UserIncidentSites","Value":"Coimbatore"},{"Key":"Email","Value":"as980aa1233442@gmail.com"},{"Key":"MobileNumber","Value":"+91072738183504"}]}


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


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


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


### Started processing for Notification Execution ###


# Immediate Notification flag for the event: ESCALATE_NOTIFICATION is set to #


### Started processing  Email Notification Execution ###


#  Added Email Notification of IncidentUID: R9W1AE#


# Incident Attachments Count: 0#


#  Added Email Notification of IncidentUID: S47LRT#


#  Added Email Notification of IncidentUID: T//AII/25/00001#


# Calling  SendCronEmail function for  email notification #


# Fetching details from escalate_cron table for escalate_cron id 12007 #


# Retry Count of the CronId: 12007 is 0


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


# Calling SendNotificationForPTWHistory function for whatsapp and push notification #


Generating report.


Object reference not set to an instance of an object.


### End Event Execution ###


Logging user id - 83


# Fetching details from escalate_cron table for escalate_cron id 12013 #


# Retry Count of the CronId: 12013 is 0


# Fetching details from escalate_cron table for escalate_cron id 22555 #


# Retry Count of the CronId: 22555 is 0


### Ended processing  Email Notification Execution ###


### Started processing  Whatsapp Notification Execution ###


#  Added  WhatsApp Notification of IncidentUID: R9W1AE#


#  Added  WhatsApp Notification of IncidentUID: S47LRT#


#  Added  WhatsApp Notification of IncidentUID: T//AII/25/00001#


#  Added  WhatsApp Notification of IncidentUID: T/APR/16J/BCC/26/00001#


# Calling  SendCronWhatsAppNotifcations function for  whatsapp notification #


# Fetching details from escalate_cron table for escalate_cron id 12008 #


# Fetching details from escalate_cron table for escalate_cron id 12014 #


# Fetching details from escalate_cron table for escalate_cron id 22556 #


# Fetching details from escalate_cron table for escalate_cron id 23984 #


### Ended processing  Whatsapp Notification Execution ###


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


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


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


### Started processing for Notification Execution ###


# Immediate Notification flag for the event: ESCALATE_NOTIFICATION is set to #


### Started processing  Email Notification Execution ###


#  Added Email Notification of IncidentUID: R9W1AE#


# Incident Attachments Count: 0#


#  Added Email Notification of IncidentUID: S47LRT#


#  Added Email Notification of IncidentUID: T//AII/25/00001#


# Calling  SendCronEmail function for  email notification #


# Fetching details from escalate_cron table for escalate_cron id 12007 #


# Retry Count of the CronId: 12007 is 0


Generating report.


Logging user id - 83


# Fetching details from escalate_cron table for escalate_cron id 12013 #


# Retry Count of the CronId: 12013 is 0


# Fetching details from escalate_cron table for escalate_cron id 22555 #


# Retry Count of the CronId: 22555 is 0


### Ended processing  Email Notification Execution ###


### Started processing  Whatsapp Notification Execution ###


#  Added  WhatsApp Notification of IncidentUID: R9W1AE#


#  Added  WhatsApp Notification of IncidentUID: S47LRT#


#  Added  WhatsApp Notification of IncidentUID: T//AII/25/00001#


#  Added  WhatsApp Notification of IncidentUID: T/APR/16J/BCC/26/00001#


# Calling  SendCronWhatsAppNotifcations function for  whatsapp notification #


# Fetching details from escalate_cron table for escalate_cron id 12008 #


# Fetching details from escalate_cron table for escalate_cron id 12014 #


# Fetching details from escalate_cron table for escalate_cron id 22556 #


# Fetching details from escalate_cron table for escalate_cron id 23984 #


### Ended processing  Whatsapp Notification Execution ###


### End Event Execution ###


### Start Event Execution ###


Message : {"EventName":"Update_USER","EventArgs":[{"Key":"DisplayName","Value":"Debraj Dey"},{"Key":"Password","Value":""},{"Key":"OrganisationName","Value":"TTK Beta - QA"},{"Key":"UserDivisions","Value":"abc, Examplewfe, HSE Suggestion, Ladder cleaning, lalit new category, Near Misses, nkkl, testing cat, tipping, tipping2, Unsafe Act, unsafe cond, Unsafe Condition"},{"Key":"UserIncidentSites","Value":"Central Team, Coimbatore, Hosur, Karjan, Khardi, Roorkee"},{"Key":"OldEmail","Value":""},{"Key":"Email","Value":"debraj.d@osmosys.co"}]}


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


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


Calling Send Email Function for Update User Email


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


Reading and binding data to Email Template


Initializing Email Service Client


Generating Email Request


Your OQSHA Access Has Been Updated


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


--- Email response from Osmo-x is 201


Message : {"EventName":"Update_APP_USER","EventArgs":[{"Key":"DisplayName","Value":"Debraj Dey"},{"Key":"Password","Value":""},{"Key":"OrganisationName","Value":"TTK Beta - QA"},{"Key":"UserUid","Value":"9485219603"},{"Key":"UserDivisions","Value":"abc, Examplewfe, HSE Suggestion, Ladder cleaning, lalit new category, Near Misses, nkkl, testing cat, tipping, tipping2, Unsafe Act, unsafe cond, Unsafe Condition"},{"Key":"UserIncidentSites","Value":"Central Team, Coimbatore, Hosur, Karjan, Khardi, Roorkee"},{"Key":"Email","Value":"debraj.d@osmosys.co"},{"Key":"MobileNumber","Value":"+919485219603"}]}


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


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


Message : {"EventName":"PASSWORD_RESET","EventArgs":[{"Key":"DisplayName","Value":null},{"Key":"Password","Value":"oN!4n0uG"},{"Key":"Email","Value":"debraj.d@osmosys.co"}]}


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


### Started Event for Reset Password Email ###


Calling Send Email Function for Reset Password Email


Your password is reset


### End Event Execution ###


### Start Event Execution ###


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


### Started processing for Notification Execution ###


# Immediate Notification flag for the event: ESCALATE_NOTIFICATION is set to #


### Started processing  Email Notification Execution ###


#  Added Email Notification of IncidentUID: R9W1AE#


# Incident Attachments Count: 0#


#  Added Email Notification of IncidentUID: S47LRT#


#  Added Email Notification of IncidentUID: T//AII/25/00001#


# Calling  SendCronEmail function for  email notification #


# Fetching details from escalate_cron table for escalate_cron id 12007 #


# Retry Count of the CronId: 12007 is 0


Generating report.


Logging user id - 83


# Fetching details from escalate_cron table for escalate_cron id 12013 #


# Retry Count of the CronId: 12013 is 0


# Fetching details from escalate_cron table for escalate_cron id 22555 #


# Retry Count of the CronId: 22555 is 0


### Ended processing  Email Notification Execution ###


### Started processing  Whatsapp Notification Execution ###


#  Added  WhatsApp Notification of IncidentUID: R9W1AE#


#  Added  WhatsApp Notification of IncidentUID: S47LRT#


#  Added  WhatsApp Notification of IncidentUID: T//AII/25/00001#


#  Added  WhatsApp Notification of IncidentUID: T/APR/16J/BCC/26/00001#


# Calling  SendCronWhatsAppNotifcations function for  whatsapp notification #


# Fetching details from escalate_cron table for escalate_cron id 12008 #


# Fetching details from escalate_cron table for escalate_cron id 12014 #


# Fetching details from escalate_cron table for escalate_cron id 22556 #


# Fetching details from escalate_cron table for escalate_cron id 23984 #


### Ended processing  Whatsapp Notification Execution ###


### End Event Execution ###


### Start Event Execution ###


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


### Started processing for Notification Execution ###


# Immediate Notification flag for the event: ESCALATE_NOTIFICATION is set to #


### Started processing  Email Notification Execution ###


#  Added Email Notification of IncidentUID: R9W1AE#


# Incident Attachments Count: 0#


#  Added Email Notification of IncidentUID: S47LRT#


#  Added Email Notification of IncidentUID: T//AII/25/00001#


# Calling  SendCronEmail function for  email notification #


# Fetching details from escalate_cron table for escalate_cron id 12007 #


# Retry Count of the CronId: 12007 is 0


Generating report.


Logging user id - 83


# Fetching details from escalate_cron table for escalate_cron id 12013 #


# Retry Count of the CronId: 12013 is 0


# Fetching details from escalate_cron table for escalate_cron id 22555 #


# Retry Count of the CronId: 22555 is 0


### Ended processing  Email Notification Execution ###


### Started processing  Whatsapp Notification Execution ###


#  Added  WhatsApp Notification of IncidentUID: R9W1AE#


#  Added  WhatsApp Notification of IncidentUID: S47LRT#


#  Added  WhatsApp Notification of IncidentUID: T//AII/25/00001#


#  Added  WhatsApp Notification of IncidentUID: T/APR/16J/BCC/26/00001#


# Calling  SendCronWhatsAppNotifcations function for  whatsapp notification #


# Fetching details from escalate_cron table for escalate_cron id 12008 #


# Fetching details from escalate_cron table for escalate_cron id 12014 #


# Fetching details from escalate_cron table for escalate_cron id 22556 #


# Fetching details from escalate_cron table for escalate_cron id 23984 #


### Ended processing  Whatsapp Notification Execution ###


### End Event Execution ###


### Start Event Execution ###


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


### Started processing for Notification Execution ###


# Immediate Notification flag for the event: ESCALATE_NOTIFICATION is set to #


### Started processing  Email Notification Execution ###


#  Added Email Notification of IncidentUID: R9W1AE#


# Incident Attachments Count: 0#


#  Added Email Notification of IncidentUID: S47LRT#


#  Added Email Notification of IncidentUID: T//AII/25/00001#


# Calling  SendCronEmail function for  email notification #


# Fetching details from escalate_cron table for escalate_cron id 12007 #


# Retry Count of the CronId: 12007 is 0


Generating report.


Logging user id - 83


# Fetching details from escalate_cron table for escalate_cron id 12013 #


# Retry Count of the CronId: 12013 is 0


# Fetching details from escalate_cron table for escalate_cron id 22555 #


# Retry Count of the CronId: 22555 is 0


### Ended processing  Email Notification Execution ###


### Started processing  Whatsapp Notification Execution ###


#  Added  WhatsApp Notification of IncidentUID: R9W1AE#


#  Added  WhatsApp Notification of IncidentUID: S47LRT#


#  Added  WhatsApp Notification of IncidentUID: T//AII/25/00001#


#  Added  WhatsApp Notification of IncidentUID: T/APR/16J/BCC/26/00001#


# Calling  SendCronWhatsAppNotifcations function for  whatsapp notification #


# Fetching details from escalate_cron table for escalate_cron id 12008 #


# Fetching details from escalate_cron table for escalate_cron id 12014 #


# Fetching details from escalate_cron table for escalate_cron id 22556 #


# Fetching details from escalate_cron table for escalate_cron id 23984 #


### Ended processing  Whatsapp Notification Execution ###


### End Event Execution ###


### Start Event Execution ###


Message : {"EventName":"Update_USER","EventArgs":[{"Key":"DisplayName","Value":"Jatin Gupta"},{"Key":"Password","Value":""},{"Key":"OrganisationName","Value":"TTK Beta - QA"},{"Key":"UserDivisions","Value":"abc, Examplewfe, HSE Suggestion, Ladder cleaning, lalit new category, Near Misses, nkkl, testing cat, tipping, tipping2, Unsafe Act, unsafe cond, Unsafe Condition"},{"Key":"UserIncidentSites","Value":"Central Team, Coimbatore, Hosur, Karjan, Khardi, new sitess, Qrtestsite, Roorkee"},{"Key":"OldEmail","Value":""},{"Key":"Email","Value":"jatin.g@osmosys.co"}]}


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


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


Calling Send Email Function for Update User Email


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


Reading and binding data to Email Template


Initializing Email Service Client


Generating Email Request


Your OQSHA Access Has Been Updated


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


--- Email response from Osmo-x is 201


Message : {"EventName":"Update_APP_USER","EventArgs":[{"Key":"DisplayName","Value":"Jatin Gupta"},{"Key":"Password","Value":""},{"Key":"OrganisationName","Value":"TTK Beta - QA"},{"Key":"UserUid","Value":"9528337699"},{"Key":"UserDivisions","Value":"abc, Examplewfe, HSE Suggestion, Ladder cleaning, lalit new category, Near Misses, nkkl, testing cat, tipping, tipping2, Unsafe Act, unsafe cond, Unsafe Condition"},{"Key":"UserIncidentSites","Value":"Central Team, Coimbatore, Hosur, Karjan, Khardi, new sitess, Qrtestsite, Roorkee"},{"Key":"Email","Value":"jatin.g@osmosys.co"},{"Key":"MobileNumber","Value":"+919528337699"}]}


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


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


Message : {"EventName":"PASSWORD_RESET","EventArgs":[{"Key":"DisplayName","Value":null},{"Key":"Password","Value":"n2*BchqK"},{"Key":"Email","Value":"jatin.g@osmosys.co"}]}


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


### Started Event for Reset Password Email ###


Calling Send Email Function for Reset Password Email


Your password is reset


### End Event Execution ###


### Start Event Execution ###


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


### Started processing for Notification Execution ###


# Immediate Notification flag for the event: ESCALATE_NOTIFICATION is set to #


### Started processing  Email Notification Execution ###


#  Added Email Notification of IncidentUID: R9W1AE#


# Incident Attachments Count: 0#


#  Added Email Notification of IncidentUID: S47LRT#


#  Added Email Notification of IncidentUID: T//AII/25/00001#


# Calling  SendCronEmail function for  email notification #


# Fetching details from escalate_cron table for escalate_cron id 12007 #


# Retry Count of the CronId: 12007 is 0


Generating report.


Logging user id - 83


# Fetching details from escalate_cron table for escalate_cron id 12013 #


# Retry Count of the CronId: 12013 is 0


# Fetching details from escalate_cron table for escalate_cron id 22555 #


# Retry Count of the CronId: 22555 is 0


### Ended processing  Email Notification Execution ###


### Started processing  Whatsapp Notification Execution ###


#  Added  WhatsApp Notification of IncidentUID: R9W1AE#


#  Added  WhatsApp Notification of IncidentUID: S47LRT#


#  Added  WhatsApp Notification of IncidentUID: T//AII/25/00001#


#  Added  WhatsApp Notification of IncidentUID: T/APR/16J/BCC/26/00001#


# Calling  SendCronWhatsAppNotifcations function for  whatsapp notification #


# Fetching details from escalate_cron table for escalate_cron id 12008 #


# Fetching details from escalate_cron table for escalate_cron id 12014 #


# Fetching details from escalate_cron table for escalate_cron id 22556 #


# Fetching details from escalate_cron table for escalate_cron id 23984 #


### Ended processing  Whatsapp Notification Execution ###


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


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


### Started processing for Notification Execution ###


# Immediate Notification flag for the event: ESCALATE_NOTIFICATION is set to #


### Started processing  Email Notification Execution ###


#  Added Email Notification of IncidentUID: R9W1AE#


# Incident Attachments Count: 0#


#  Added Email Notification of IncidentUID: S47LRT#


#  Added Email Notification of IncidentUID: T//AII/25/00001#


# Calling  SendCronEmail function for  email notification #


# Fetching details from escalate_cron table for escalate_cron id 12007 #


# Retry Count of the CronId: 12007 is 0


Generating report.


Logging user id - 83


# Fetching details from escalate_cron table for escalate_cron id 12013 #


# Retry Count of the CronId: 12013 is 0


# Fetching details from escalate_cron table for escalate_cron id 22555 #


# Retry Count of the CronId: 22555 is 0


### Ended processing  Email Notification Execution ###


### Started processing  Whatsapp Notification Execution ###


#  Added  WhatsApp Notification of IncidentUID: R9W1AE#


#  Added  WhatsApp Notification of IncidentUID: S47LRT#


#  Added  WhatsApp Notification of IncidentUID: T//AII/25/00001#


#  Added  WhatsApp Notification of IncidentUID: T/APR/16J/BCC/26/00001#


# Calling  SendCronWhatsAppNotifcations function for  whatsapp notification #


# Fetching details from escalate_cron table for escalate_cron id 12008 #


# Fetching details from escalate_cron table for escalate_cron id 12014 #


# Fetching details from escalate_cron table for escalate_cron id 22556 #


# Fetching details from escalate_cron table for escalate_cron id 23984 #


### Ended processing  Whatsapp Notification Execution ###


### End Event Execution ###


### Start Event Execution ###


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


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


### Started processing for Notification Execution ###


# Immediate Notification flag for the event: ESCALATE_NOTIFICATION is set to #


### Started processing  Email Notification Execution ###


#  Added Email Notification of IncidentUID: R9W1AE#


# Incident Attachments Count: 0#


#  Added Email Notification of IncidentUID: S47LRT#


#  Added Email Notification of IncidentUID: T//AII/25/00001#


# Calling  SendCronEmail function for  email notification #


# Fetching details from escalate_cron table for escalate_cron id 12007 #


# Retry Count of the CronId: 12007 is 0


Generating report.


Logging user id - 83


# Fetching details from escalate_cron table for escalate_cron id 12013 #


# Retry Count of the CronId: 12013 is 0


# Fetching details from escalate_cron table for escalate_cron id 22555 #


# Retry Count of the CronId: 22555 is 0


### Ended processing  Email Notification Execution ###


### Started processing  Whatsapp Notification Execution ###


#  Added  WhatsApp Notification of IncidentUID: R9W1AE#


#  Added  WhatsApp Notification of IncidentUID: S47LRT#


#  Added  WhatsApp Notification of IncidentUID: T//AII/25/00001#


#  Added  WhatsApp Notification of IncidentUID: T/APR/16J/BCC/26/00001#


# Calling  SendCronWhatsAppNotifcations function for  whatsapp notification #


# Fetching details from escalate_cron table for escalate_cron id 12008 #


# Fetching details from escalate_cron table for escalate_cron id 12014 #


# Fetching details from escalate_cron table for escalate_cron id 22556 #


# Fetching details from escalate_cron table for escalate_cron id 23984 #


### Ended processing  Whatsapp Notification Execution ###


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


Message : {"EventName":"INFORM_TO_INCIDENT_CREATION_NOTIFICATION","EventArgs":[{"Key":"IncidentId","Value":66923},{"Key":"InformToUserId","Value":5530}]}


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


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


Calling SendInformToNotification function for ticket creation


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


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


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


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


Object reference not set to an instance of an object.


### End Event Execution ###


### Start Event Execution ###


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


### Started processing for Notification Execution ###


# Immediate Notification flag for the event: ESCALATE_NOTIFICATION is set to #


### Started processing  Email Notification Execution ###


#  Added Email Notification of IncidentUID: R9W1AE#


# Incident Attachments Count: 0#


#  Added Email Notification of IncidentUID: S47LRT#


#  Added Email Notification of IncidentUID: T//AII/25/00001#


# Calling  SendCronEmail function for  email notification #


# Fetching details from escalate_cron table for escalate_cron id 12007 #


# Retry Count of the CronId: 12007 is 0


Generating report.


Logging user id - 83


# Fetching details from escalate_cron table for escalate_cron id 12013 #


# Retry Count of the CronId: 12013 is 0


# Fetching details from escalate_cron table for escalate_cron id 22555 #


# Retry Count of the CronId: 22555 is 0


### Ended processing  Email Notification Execution ###


### Started processing  Whatsapp Notification Execution ###


#  Added  WhatsApp Notification of IncidentUID: R9W1AE#


#  Added  WhatsApp Notification of IncidentUID: S47LRT#


#  Added  WhatsApp Notification of IncidentUID: T//AII/25/00001#


#  Added  WhatsApp Notification of IncidentUID: T/APR/16J/BCC/26/00001#


# Calling  SendCronWhatsAppNotifcations function for  whatsapp notification #


# Fetching details from escalate_cron table for escalate_cron id 12008 #


# Fetching details from escalate_cron table for escalate_cron id 12014 #


# Fetching details from escalate_cron table for escalate_cron id 22556 #


# Fetching details from escalate_cron table for escalate_cron id 23984 #


### Ended processing  Whatsapp Notification Execution ###


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


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


# Calling SendNotificationToAllExceptReviewer function for whatsapp and push notification #


User Ids for notification: [5092,10335,10541,10836]


Starting Execution for whatsapp notification for all


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


### Started processing for Notification Execution ###


# Immediate Notification flag for the event: ESCALATE_NOTIFICATION is set to #


### Started processing  Email Notification Execution ###


#  Added Email Notification of IncidentUID: R9W1AE#


# Incident Attachments Count: 0#


#  Added Email Notification of IncidentUID: S47LRT#


#  Added Email Notification of IncidentUID: T//AII/25/00001#


# Calling  SendCronEmail function for  email notification #


# Fetching details from escalate_cron table for escalate_cron id 12007 #


# Retry Count of the CronId: 12007 is 0


Generating report.


Logging user id - 83


# Fetching details from escalate_cron table for escalate_cron id 12013 #


# Retry Count of the CronId: 12013 is 0


# Fetching details from escalate_cron table for escalate_cron id 22555 #


# Retry Count of the CronId: 22555 is 0


### Ended processing  Email Notification Execution ###


### Started processing  Whatsapp Notification Execution ###


#  Added  WhatsApp Notification of IncidentUID: R9W1AE#


#  Added  WhatsApp Notification of IncidentUID: S47LRT#


#  Added  WhatsApp Notification of IncidentUID: T//AII/25/00001#


#  Added  WhatsApp Notification of IncidentUID: T/APR/16J/BCC/26/00001#


# Calling  SendCronWhatsAppNotifcations function for  whatsapp notification #


# Fetching details from escalate_cron table for escalate_cron id 12008 #


# Fetching details from escalate_cron table for escalate_cron id 12014 #


# Fetching details from escalate_cron table for escalate_cron id 22556 #


# Fetching details from escalate_cron table for escalate_cron id 23984 #


### Ended processing  Whatsapp Notification Execution ###


### End Event Execution ###


### Start Event Execution ###


Message : {"EventName":"TRAINING_ATTENDANCE_DOCUMENT_EXTRACTOR","EventArgs":[{"Key":"OrgId","Value":"387"},{"Key":"BatchId","Value":"6900"},{"Key":"CourseId","Value":"463"},{"Key":"BatchName","Value":"wew"},{"Key":"ParticipantTableRows","Value":"
K.SY	Krishnakumar	PRE ASSEMBLY

K.SY	M. Kanagavel	N/A

1185	P. Suresh	N/A

K.SY	Savarigamesan	N/A

1915	Guruch Singh	N/A

K.SY	Munusamy	N/A

M.E	Siva Perumal	N/A

M.E	Manikandan	N/A

M.E	S. Kuppusamy	N/A

V.S.Y	R. Ramesh	N/A
"}]}


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


Sending Batch Attendance Email | OrgId=387, BatchId=6900


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


Reading and binding data to Email Template


Initializing Email Service Client


Generating Email Request


Batch Attendance – wew


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


--- Email response from Osmo-x is 201


Batch Attendance Email Sent | BatchId=6900


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


Presentation Report – 2026-00-27 To 2026-00-26


Weekly Presentation Report Email Sent | File=D:\App-Data\iis\api-qa-staging.oqsha.com\api-qa-staging.oqsha.com\attachments\osmodoc\safety_report_20260226_092008.pptx


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


### Started processing for Notification Execution ###


# Immediate Notification flag for the event: ESCALATE_NOTIFICATION is set to #


### Started processing  Email Notification Execution ###


#  Added Email Notification of IncidentUID: R9W1AE#


# Incident Attachments Count: 0#


#  Added Email Notification of IncidentUID: S47LRT#


#  Added Email Notification of IncidentUID: T//AII/25/00001#


# Calling  SendCronEmail function for  email notification #


# Fetching details from escalate_cron table for escalate_cron id 12007 #


# Retry Count of the CronId: 12007 is 0


Generating report.


Logging user id - 83


# Fetching details from escalate_cron table for escalate_cron id 12013 #


# Retry Count of the CronId: 12013 is 0


# Fetching details from escalate_cron table for escalate_cron id 22555 #


# Retry Count of the CronId: 22555 is 0


### Ended processing  Email Notification Execution ###


### Started processing  Whatsapp Notification Execution ###


#  Added  WhatsApp Notification of IncidentUID: R9W1AE#


#  Added  WhatsApp Notification of IncidentUID: S47LRT#


#  Added  WhatsApp Notification of IncidentUID: T//AII/25/00001#


#  Added  WhatsApp Notification of IncidentUID: T/APR/16J/BCC/26/00001#


# Calling  SendCronWhatsAppNotifcations function for  whatsapp notification #


# Fetching details from escalate_cron table for escalate_cron id 12008 #


# Fetching details from escalate_cron table for escalate_cron id 12014 #


# Fetching details from escalate_cron table for escalate_cron id 22556 #


# Fetching details from escalate_cron table for escalate_cron id 23984 #


### Ended processing  Whatsapp Notification Execution ###


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


Object reference not set to an instance of an object.


### 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,10441,10658]


Starting Execution for whatsapp notification for all


Sending notification to requester regarding permit to work 313949


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"918160948627","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"ptw_generic_status_template_v4","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"P/HUBG/TFX/RDVT/CW/26/00002"},{"type":"text","text":"26-Feb-2026"},{"type":"text","text":"Cold work"},{"type":"text","text":"Meadow Oaks"},{"type":"text","text":" "},{"type":"text","text":"Reviewed by Robby Soukup at 26-Feb-2026 02:54:59 PM"},{"type":"text","text":"Start Work"},{"type":"text","text":"https://qa-staging-2.oqsha.com/#/work-permit/view/313949?orgID=207&dlType=viewWorkPermit"}]}]}}}


Osmo-x WhatsApp Message has been Sent


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"917993748792","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"ptw_generic_status_template_v4","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"P/HUBG/TFX/RDVT/CW/26/00002"},{"type":"text","text":"26-Feb-2026"},{"type":"text","text":"Cold work"},{"type":"text","text":"Meadow Oaks"},{"type":"text","text":" "},{"type":"text","text":"Reviewed by Robby Soukup at 26-Feb-2026 02:54:59 PM"},{"type":"text","text":"Start Work"},{"type":"text","text":"https://qa-staging-2.oqsha.com/#/work-permit/view/313949?orgID=207&dlType=viewWorkPermit"}]}]}}}


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


### Started processing for Notification Execution ###


# Immediate Notification flag for the event: ESCALATE_NOTIFICATION is set to #


### Started processing  Email Notification Execution ###


#  Added Email Notification of IncidentUID: R9W1AE#


# Incident Attachments Count: 0#


#  Added Email Notification of IncidentUID: S47LRT#


#  Added Email Notification of IncidentUID: T//AII/25/00001#


# Calling  SendCronEmail function for  email notification #


# Fetching details from escalate_cron table for escalate_cron id 12007 #


# Retry Count of the CronId: 12007 is 0


Generating report.


Logging user id - 83


# Fetching details from escalate_cron table for escalate_cron id 12013 #


# Retry Count of the CronId: 12013 is 0


# Fetching details from escalate_cron table for escalate_cron id 22555 #


# Retry Count of the CronId: 22555 is 0


### Ended processing  Email Notification Execution ###


### Started processing  Whatsapp Notification Execution ###


#  Added  WhatsApp Notification of IncidentUID: R9W1AE#


#  Added  WhatsApp Notification of IncidentUID: S47LRT#


#  Added  WhatsApp Notification of IncidentUID: T//AII/25/00001#


#  Added  WhatsApp Notification of IncidentUID: T/APR/16J/BCC/26/00001#


# Calling  SendCronWhatsAppNotifcations function for  whatsapp notification #


# Fetching details from escalate_cron table for escalate_cron id 12008 #


# Fetching details from escalate_cron table for escalate_cron id 12014 #


# Fetching details from escalate_cron table for escalate_cron id 22556 #


# Fetching details from escalate_cron table for escalate_cron id 23984 #


### Ended processing  Whatsapp Notification Execution ###


### End Event Execution ###


### Start Event Execution ###


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


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


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


Calling Send Email Function for Update User Email


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


Reading and binding data to Email Template


Initializing Email Service Client


Generating Email Request


Your OQSHA Access Has Been Updated


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


--- Email response from Osmo-x is 201


Message : {"EventName":"Update_APP_USER","EventArgs":[{"Key":"DisplayName","Value":"Curley Benedict"},{"Key":"Password","Value":""},{"Key":"OrganisationName","Value":"Falcon's Beyond Global Inc. Warrants"},{"Key":"UserUid","Value":""},{"Key":"UserDivisions","Value":"HSE Suggestion, Near Misses, Unsafe Act, Unsafe Condition"},{"Key":"UserIncidentSites","Value":"Washoe Valley"},{"Key":"Email","Value":"TTK_COB_SITE_EHS@oqsha.com"},{"Key":"MobileNumber","Value":"+912000001716"}]}


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


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


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


### Started processing for Notification Execution ###


# Immediate Notification flag for the event: ESCALATE_NOTIFICATION is set to #


### Started processing  Email Notification Execution ###


#  Added Email Notification of IncidentUID: R9W1AE#


# Incident Attachments Count: 0#


#  Added Email Notification of IncidentUID: S47LRT#


#  Added Email Notification of IncidentUID: T//AII/25/00001#


# Calling  SendCronEmail function for  email notification #


# Fetching details from escalate_cron table for escalate_cron id 12007 #


# Retry Count of the CronId: 12007 is 0


Generating report.


Logging user id - 83


# Fetching details from escalate_cron table for escalate_cron id 12013 #


# Retry Count of the CronId: 12013 is 0


# Fetching details from escalate_cron table for escalate_cron id 22555 #


# Retry Count of the CronId: 22555 is 0


### Ended processing  Email Notification Execution ###


### Started processing  Whatsapp Notification Execution ###


#  Added  WhatsApp Notification of IncidentUID: R9W1AE#


#  Added  WhatsApp Notification of IncidentUID: S47LRT#


#  Added  WhatsApp Notification of IncidentUID: T//AII/25/00001#


#  Added  WhatsApp Notification of IncidentUID: T/APR/16J/BCC/26/00001#


# Calling  SendCronWhatsAppNotifcations function for  whatsapp notification #


# Fetching details from escalate_cron table for escalate_cron id 12008 #


# Fetching details from escalate_cron table for escalate_cron id 12014 #


# Fetching details from escalate_cron table for escalate_cron id 22556 #


# Fetching details from escalate_cron table for escalate_cron id 23984 #


### Ended processing  Whatsapp Notification Execution ###


### 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 387: Templates\IncidentSubmittedNotificationEmailTemplate.html


Executing email notifications to Incident Approvers about the Pending approval


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


Reading and binding data to Email Template


Initializing Email Service Client


Generating Email Request


A new incident IMF/TTK/COI/FAO/26/00015 has been reported


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


--- Email response from Osmo-x is 201


Executing whatsapp notifications to Incident Approvers about the Pending approval


Sending WhatsApp Notification for Incident Approval to User: 1954


Osmo-x WhatsApp Message has been Sent


### Ended processing Incident Submitted Event ###


### End Event Execution ###


### Start Event Execution ###


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


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


Incident IMF/TTK/COI/FAO/26/00015 has been validated


Sending WhatsApp for Incident Validation to User: 1696


### 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 387: Templates\IncidentFIRReleasedNotificationEmailTemplate.html


Initializing Email Service Client


Generating Email Request


Incident IMF/TTK/COI/FAO/26/00015 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: 2764


Osmo-x WhatsApp Message has been Sent


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


Incident PDF generation successfull


jatin.g@osmosys.co, shreya.v@osmosys.co, lalit.a@osmosys.co, sagaraswar0001@gmail.com, hemantsehwag0008@gmail.com

Incident IMF/TTK/COI/FAO/26/00015 FIR has been released


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


### Started processing for Notification Execution ###


# Immediate Notification flag for the event: ESCALATE_NOTIFICATION is set to #


### Started processing  Email Notification Execution ###


#  Added Email Notification of IncidentUID: R9W1AE#


# Incident Attachments Count: 0#


#  Added Email Notification of IncidentUID: S47LRT#


#  Added Email Notification of IncidentUID: T//AII/25/00001#


# Calling  SendCronEmail function for  email notification #


# Fetching details from escalate_cron table for escalate_cron id 12007 #


# Retry Count of the CronId: 12007 is 0


Generating report.


Logging user id - 83


# Fetching details from escalate_cron table for escalate_cron id 12013 #


# Retry Count of the CronId: 12013 is 0


# Fetching details from escalate_cron table for escalate_cron id 22555 #


# Retry Count of the CronId: 22555 is 0


### Ended processing  Email Notification Execution ###


### Started processing  Whatsapp Notification Execution ###


#  Added  WhatsApp Notification of IncidentUID: R9W1AE#


#  Added  WhatsApp Notification of IncidentUID: S47LRT#


#  Added  WhatsApp Notification of IncidentUID: T//AII/25/00001#


#  Added  WhatsApp Notification of IncidentUID: T/APR/16J/BCC/26/00001#


# Calling  SendCronWhatsAppNotifcations function for  whatsapp notification #


# Fetching details from escalate_cron table for escalate_cron id 12008 #


# Fetching details from escalate_cron table for escalate_cron id 12014 #


# Fetching details from escalate_cron table for escalate_cron id 22556 #


# Fetching details from escalate_cron table for escalate_cron id 23984 #


### Ended processing  Whatsapp Notification Execution ###


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


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"918160948627","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"ptw_assigned_to_generic_template_v4","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"P/HUBG/TFX/RDVT/HE/26/00001"},{"type":"text","text":"26-Feb-2026"},{"type":"text","text":"Height work"},{"type":"text","text":"Meadow Oaks"},{"type":"text","text":" "},{"type":"text","text":"Requested by Gia Mccandless at 26-Feb-2026 03:03:26 PM"},{"type":"text","text":"Issue"},{"type":"text","text":"Ana Osborn"},{"type":"text","text":"https://qa-staging-2.oqsha.com/#/work-permit/view/313952?orgID=207&dlType=viewWorkPermit"}]}]}}}


Osmo-x WhatsApp Message has been Sent


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"917993748792","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"ptw_assigned_to_generic_template_v4","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"P/HUBG/TFX/RDVT/HE/26/00001"},{"type":"text","text":"26-Feb-2026"},{"type":"text","text":"Height work"},{"type":"text","text":"Meadow Oaks"},{"type":"text","text":" "},{"type":"text","text":"Requested by Gia Mccandless at 26-Feb-2026 03:03:26 PM"},{"type":"text","text":"Issue"},{"type":"text","text":"Ana Osborn"},{"type":"text","text":"https://qa-staging-2.oqsha.com/#/work-permit/view/313952?orgID=207&dlType=viewWorkPermit"}]}]}}}


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


### Started processing for Notification Execution ###


# Immediate Notification flag for the event: ESCALATE_NOTIFICATION is set to #


### Started processing  Email Notification Execution ###


#  Added Email Notification of IncidentUID: R9W1AE#


# Incident Attachments Count: 0#


#  Added Email Notification of IncidentUID: S47LRT#


#  Added Email Notification of IncidentUID: T//AII/25/00001#


# Calling  SendCronEmail function for  email notification #


# Fetching details from escalate_cron table for escalate_cron id 12007 #


# Retry Count of the CronId: 12007 is 0


Generating report.


Logging user id - 83


# Fetching details from escalate_cron table for escalate_cron id 12013 #


# Retry Count of the CronId: 12013 is 0


# Fetching details from escalate_cron table for escalate_cron id 22555 #


# Retry Count of the CronId: 22555 is 0


### Ended processing  Email Notification Execution ###


### Started processing  Whatsapp Notification Execution ###


#  Added  WhatsApp Notification of IncidentUID: R9W1AE#


#  Added  WhatsApp Notification of IncidentUID: S47LRT#


#  Added  WhatsApp Notification of IncidentUID: T//AII/25/00001#


#  Added  WhatsApp Notification of IncidentUID: T/APR/16J/BCC/26/00001#


# Calling  SendCronWhatsAppNotifcations function for  whatsapp notification #


# Fetching details from escalate_cron table for escalate_cron id 12008 #


# Fetching details from escalate_cron table for escalate_cron id 12014 #


# Fetching details from escalate_cron table for escalate_cron id 22556 #


# Fetching details from escalate_cron table for escalate_cron id 23984 #


### Ended processing  Whatsapp Notification Execution ###


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


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"918160948627","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"ptw_assigned_to_generic_template_v4","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"P/HUBG/TFX/RDVT/HE/26/00001"},{"type":"text","text":"26-Feb-2026"},{"type":"text","text":"Height work"},{"type":"text","text":"Meadow Oaks"},{"type":"text","text":" "},{"type":"text","text":"Issued by Ana Osborn at 26-Feb-2026 03:04:42 PM"},{"type":"text","text":"Approve"},{"type":"text","text":"Eleanore Bayles"},{"type":"text","text":"https://qa-staging-2.oqsha.com/#/work-permit/view/313952?orgID=207&dlType=viewWorkPermit"}]}]}}}