Message : {"EventName":"WORK_PERMIT_APPROVED_CONTRACTOR_SUPERVISOR_NOTIFICATION","EventArgs":[{"Key":"WorkPermitId","Value":"1045"},{"Key":"WorkPermitUid","Value":"WP/APS/APP/CST/26/00016"},{"Key":"SiteName","Value":"Apas"},{"Key":"OrganisationName","Value":"My Home Private LTD"},{"Key":"ApprovedOn","Value":"12-Mar-2026 10:40:04 AM"},{"Key":"OrgId","Value":297}]}


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


# Calling SendWorkPermitApprovedInformToCreatorNotification function for email #


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


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


Generating report.


# Fetching details from escalate_cron table for escalate_cron id 22555 #


# Retry Count of the CronId: 22555 is 0


### 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 : 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 4110
   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 591


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


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


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


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


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


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


### End Event Execution ###


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


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


### Ended processing  Whatsapp Notification 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


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 3889
   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 553


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


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


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


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


### Ended processing  Whatsapp Notification Execution ###


### End Event Execution ###


### Start Event Execution ###


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


# Calling SendNotificationForWorkPermitCreation function for email/WhatsApp #


Executing email and WhatsApp notifications to WorkPermit approvers


Sending WorkPermit creation email to: rajkumar.p@osmosys.co


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


Reading and binding data to Email Template


Initializing Email Service Client


Generating Email Request


New Work Permit Assigned


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


--- Email response from Osmo-x is 201


Sending WorkPermit creation WhatsApp message to: 919160948627


Osmo-x WhatsApp Message has been Sent


### 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":"PTW_DAILY_SUMMARY_EMAIL_NOTIFICATION","EventArgs":[{"Key":"PtwDailySummaryNotifications","Value":"[{\"OrganisationId\":297,\"OrganisationName\":\"My Home Private LTD\",\"RecipientEmails\":[\"hemantsehwag0008@gmail.com\"],\"Date\":\"12 Mar 2026\",\"EmailBody\":\"<!doctype html>\\n\\n  \\n    <meta charset=\\\"UTF-8\\\" />\\n    <meta name=\\\"viewport\\\" content=\\\"width=device-width, initial-scale=1.0\\\" />\\n    <title>Daily PTW Summary</title>\\n  \\n  \\n
\\n
\\n        \\n          \\n
\\n
\\n              \\n
\\n                  Daily PTW Summary\\n
\\n
\\n                  Date: 12 Mar 2026  |  Organisation: My Home Private LTD\\n
\\n
\\n                  Total Active Permit(s): 3\\n
\\n              	\\n
\\n
\\n\\n          \\n
\\n
\\n              \\n
\\n                  Active Permits to Work (3)\\n
\\n\\n
\\n
\\n                    \\n                      Permit UID\\n                    	\\n                    \\n                      Date\\n                    	\\n                    \\n                      Time\\n                    	\\n                    \\n                      Type of work permit\\n                    	\\n                    \\n                      Location\\n                    	\\n                    \\n                      Contractor name\\n                    	\\n                    \\n                      No. of people\\n                    	\\n
\\n\\n
P/APS/APP/BBACOT/BL/26/00001	10 Mar 2026	12:52 - 13:00	Blasting Work	Apas	BBA Constructions Pvt Limited  	1

P/APS/AVA/MYHOME/CW/26/00002	11 Mar 2026	10:25 - 18:29	Concrete Work	Avali	My Home Private LTD	2

P/APS/AVA/MYHOME/CW/26/00001	12 Mar 2026	10:25 - 18:29	Concrete Work	Avali	My Home Private LTD	2
\\n
\\n              	\\n
\\n
\\n\\n          \\n
\\n
\\n              \\n                This is an automated daily summary email generated by the OQSHA\\n                system. Please do not reply to this email.\\n              	\\n
\\n
\\n        	\\n
\\n
\\n  \\n\\n\"}]"}]}


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


### Started processing PTW Daily Summary Email Event ###


### Ended processing PTW Daily Summary Email Event ###


Daily PTW Summary - My Home Private LTD - 12 Mar 2026


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


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


### Ended processing  Whatsapp Notification Execution ###


### End Event Execution ###


### Start Event Execution ###


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


# Calling SendNotificationForWorkPermitCreation function for email/WhatsApp #


Executing email and WhatsApp notifications to WorkPermit approvers


Sending WorkPermit creation email to: rajkumar.p@osmosys.co


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


Reading and binding data to Email Template


Initializing Email Service Client


Generating Email Request


New Work Permit Assigned


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


--- Email response from Osmo-x is 201


Sending WorkPermit creation WhatsApp message to: 919160948627


Osmo-x WhatsApp Message has been Sent


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


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


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


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


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


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


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


### Ended processing  Whatsapp Notification Execution ###


### End Event Execution ###


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


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


### Start Event Execution ###


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


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


### Started processing Safety Alert Escalation Notification ###


# Calling SendSafetyAlertEscalationNotification for incident T/TTK/NMM/25/00188#


[SafetyAlertEscalation] Starting notification for incident T/TTK/NMM/25/00188


[SafetyAlertEscalation] Sending email to Lalit Aditya Kola


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


Reading and binding data to Email Template


Initializing Email Service Client


Generating Email Request


Safety Alert Escalation - T/TTK/NMM/25/00188


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


--- Email response from Osmo-x is 201


[SafetyAlertEscalation] Email sent successfully to lalit.a@osmosys.co


[SafetyAlertEscalation] Sending WhatsApp to Lalit Aditya Kola, Number: 919989248964


Osmo-x WhatsApp Message has been Sent


[SafetyAlertEscalation] WhatsApp sent successfully to 919989248964


### Ended processing Safety Alert Escalation Notification ###


### End Event Execution ###


### Start Event Execution ###


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


# Calling SendKpiMasterUpdatedNotification for email #


[2026-03-12 06:07:20] Executing KPI Master Updated notifications (email)


[DELAY-START] rajkumar.p@osmosys.co at 06:07:20


[DELAY-END] rajkumar.p@osmosys.co at 06:07:50


Sending KPI Master Updated email to: rajkumar.p@osmosys.co


Initializing Email Service Client


Generating Email Request


KPI Master Updated


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


--- Email response from Osmo-x is 201


[DELAY-START] srinivas.m@osmosys.co at 06:07:50


[DELAY-END] srinivas.m@osmosys.co at 06:08:20


Sending KPI Master Updated email to: srinivas.m@osmosys.co


KPI Master Updated

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


[DELAY-START] jatin.g@osmosys.co at 06:08:20


[DELAY-END] jatin.g@osmosys.co at 06:08:50


Sending KPI Master Updated email to: jatin.g@osmosys.co


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


Reading and binding data to Email Template


[DELAY-START] as9801233442@gmail.com at 06:09:00


[DELAY-END] as9801233442@gmail.com at 06:09:30


Sending KPI Master Updated email to: as9801233442@gmail.com


Initializing Email Service Client


Generating Email Request


KPI Master Updated


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


--- Email response from Osmo-x is 201


[DELAY-START] lalit.a@osmosys.co at 06:09:30


### Start Event Execution ###


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


### Started processing Safety Alert Escalation Notification ###


# Calling SendSafetyAlertEscalationNotification for incident T/TTK/NMM/25/00149#


[SafetyAlertEscalation] Starting notification for incident T/TTK/NMM/25/00149


[SafetyAlertEscalation] Sending email to Lalit Aditya Kola


Safety Alert Escalation - T/TTK/NMM/25/00149


[SafetyAlertEscalation] Email sent successfully to lalit.a@osmosys.co


[SafetyAlertEscalation] Sending WhatsApp to Lalit Aditya Kola, Number: 919989248964


Osmo-x WhatsApp Message has been Sent


[SafetyAlertEscalation] WhatsApp sent successfully to 919989248964


### Ended processing Safety Alert Escalation Notification ###


### End Event Execution ###


# Calling SendSafetyAlertEscalationNotification for incident T/TTK/NMM/25/00154#


[SafetyAlertEscalation] Starting notification for incident T/TTK/NMM/25/00154


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


Reading and binding data to Email Template


Initializing Email Service Client


Generating Email Request


Safety Alert Escalation - T/TTK/NMM/25/00154


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


--- Email response from Osmo-x is 201


### Start Event Execution ###


# Calling SendSafetyAlertEscalationNotification for incident T/TTK/NMM/25/00164#


[SafetyAlertEscalation] Starting notification for incident T/TTK/NMM/25/00164


Safety Alert Escalation - T/TTK/NMM/25/00164


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"919989248964","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"oqsha_cron_escalate_whatsapp_template_v2","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"Lalit Aditya Kola"},{"type":"text","text":"Safety Alert"},{"type":"text","text":"T/TTK/NMM/25/00164"},{"type":"text","text":" "},{"type":"text","text":"Coimbatore"},{"type":"text","text":"Near Misses"},{"type":"text","text":"VV SITE EHS NEW"},{"type":"text","text":"TTK Beta - QA"},{"type":"text","text":"https://qa-staging-2.oqsha.com/#/incidents/view/387/21705?dlType=viewTicket"}]}]}}}


Osmo-x WhatsApp Message has been Sent


# Calling SendSafetyAlertEscalationNotification for incident T/TTK/NMM/25/00166#


[SafetyAlertEscalation] Starting notification for incident T/TTK/NMM/25/00166


Safety Alert Escalation - T/TTK/NMM/25/00166


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"919989248964","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"oqsha_cron_escalate_whatsapp_template_v2","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"Lalit Aditya Kola"},{"type":"text","text":"Safety Alert"},{"type":"text","text":"T/TTK/NMM/25/00166"},{"type":"text","text":"2"},{"type":"text","text":"Coimbatore"},{"type":"text","text":"Near Misses"},{"type":"text","text":"VV SITE EHS NEW"},{"type":"text","text":"TTK Beta - QA"},{"type":"text","text":"https://qa-staging-2.oqsha.com/#/incidents/view/387/21707?dlType=viewTicket"}]}]}}}


### End Event Execution ###


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


### Started processing Safety Alert Escalation Notification ###


# Calling SendSafetyAlertEscalationNotification for incident T/TTK/NMM/25/00175#


[SafetyAlertEscalation] Starting notification for incident T/TTK/NMM/25/00175


[SafetyAlertEscalation] Sending email to Lalit Aditya Kola


Initializing Email Service Client


Generating Email Request


Safety Alert Escalation - T/TTK/NMM/25/00175


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


--- Email response from Osmo-x is 201


[SafetyAlertEscalation] Email sent successfully to lalit.a@osmosys.co


[SafetyAlertEscalation] Sending WhatsApp to Lalit Aditya Kola, Number: 919989248964


Osmo-x WhatsApp Message has been Sent


[SafetyAlertEscalation] WhatsApp sent successfully to 919989248964


### Ended processing Safety Alert Escalation Notification ###


### Start Event Execution ###


# Calling SendSafetyAlertEscalationNotification for incident T/TTK/TTA/25/00063#


[SafetyAlertEscalation] Starting notification for incident T/TTK/TTA/25/00063


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


Reading and binding data to Email Template


Safety Alert Escalation - T/TTK/TTA/25/00063


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"919989248964","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"oqsha_cron_escalate_whatsapp_template_v2","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"Lalit Aditya Kola"},{"type":"text","text":"Safety Alert"},{"type":"text","text":"T/TTK/TTA/25/00063"},{"type":"text","text":" "},{"type":"text","text":"Coimbatore"},{"type":"text","text":"Unsafe Condition"},{"type":"text","text":"Lalit Aditya Kola"},{"type":"text","text":"TTK Beta - QA"},{"type":"text","text":"https://qa-staging-2.oqsha.com/#/incidents/view/387/21727?dlType=viewTicket"}]}]}}}


### End Event Execution ###


# Calling SendSafetyAlertEscalationNotification for incident T/TTK/NMM/25/00177#


[SafetyAlertEscalation] Starting notification for incident T/TTK/NMM/25/00177


[SafetyAlertEscalation] Sending email to Abhinav Srivastava


Initializing Email Service Client


Generating Email Request


Safety Alert Escalation - T/TTK/NMM/25/00177


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


--- Email response from Osmo-x is 201


[SafetyAlertEscalation] Email sent successfully to as9801233442@gmail.com


[SafetyAlertEscalation] Sending WhatsApp to Abhinav Srivastava, Number: 917273883504


Osmo-x WhatsApp Message has been Sent


[SafetyAlertEscalation] WhatsApp sent successfully to 917273883504


### Start Event Execution ###


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


### Started processing Safety Alert Escalation Notification ###


# Calling SendSafetyAlertEscalationNotification for incident T/TTK/NMM/25/00178#


[SafetyAlertEscalation] Starting notification for incident T/TTK/NMM/25/00178


Safety Alert Escalation - T/TTK/NMM/25/00178


### End Event Execution ###


# Calling SendSafetyAlertEscalationNotification for incident T/TTK/NMM/25/00184#


[SafetyAlertEscalation] Starting notification for incident T/TTK/NMM/25/00184


[SafetyAlertEscalation] Sending email to Lalit Aditya Kola


Initializing Email Service Client


Generating Email Request


Safety Alert Escalation - T/TTK/NMM/25/00184


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


--- Email response from Osmo-x is 201


[SafetyAlertEscalation] Email sent successfully to lalit.a@osmosys.co


[SafetyAlertEscalation] Sending WhatsApp to Lalit Aditya Kola, Number: 919989248964


Osmo-x WhatsApp Message has been Sent


[SafetyAlertEscalation] WhatsApp sent successfully to 919989248964


### Ended processing Safety Alert Escalation Notification ###


### Start Event Execution ###


# Calling SendSafetyAlertEscalationNotification for incident T/TTK/TCL/25/00024#


[SafetyAlertEscalation] Starting notification for incident T/TTK/TCL/25/00024


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


Reading and binding data to Email Template


Safety Alert Escalation - T/TTK/TCL/25/00024


### End Event Execution ###


# Calling SendSafetyAlertEscalationNotification for incident T/TTK/SAB/25/00053#


[SafetyAlertEscalation] Starting notification for incident T/TTK/SAB/25/00053


Initializing Email Service Client


Generating Email Request


Safety Alert Escalation - T/TTK/SAB/25/00053


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


--- Email response from Osmo-x is 201


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"919989248964","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"oqsha_cron_escalate_whatsapp_template_v2","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"Lalit Aditya Kola"},{"type":"text","text":"Safety Alert"},{"type":"text","text":"T/TTK/SAB/25/00053"},{"type":"text","text":" "},{"type":"text","text":"Coimbatore"},{"type":"text","text":"Unsafe Act"},{"type":"text","text":"Lalit Aditya Kola"},{"type":"text","text":"TTK Beta - QA"},{"type":"text","text":"https://qa-staging-2.oqsha.com/#/incidents/view/387/21759?dlType=viewTicket"}]}]}}}


Osmo-x WhatsApp Message has been Sent


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


### Started processing Safety Alert Escalation Notification ###


# Calling SendSafetyAlertEscalationNotification for incident T/TTK/NMM/25/00186#


[SafetyAlertEscalation] Starting notification for incident T/TTK/NMM/25/00186


[SafetyAlertEscalation] Sending email to Abhinav Srivastava


Safety Alert Escalation - T/TTK/NMM/25/00186


[SafetyAlertEscalation] Email sent successfully to as9801233442@gmail.com


[SafetyAlertEscalation] Sending WhatsApp to Abhinav Srivastava, Number: 917273883504


[SafetyAlertEscalation] WhatsApp sent successfully to 917273883504


### End Event Execution ###


### Start Event Execution ###


# Calling SendSafetyAlertEscalationNotification for incident T/TTK/NMM/25/00196#


[SafetyAlertEscalation] Starting notification for incident T/TTK/NMM/25/00196


Initializing Email Service Client


Generating Email Request


Safety Alert Escalation - T/TTK/NMM/25/00196


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


--- Email response from Osmo-x is 201


Osmo-x WhatsApp Message has been Sent


### Ended processing Safety Alert Escalation Notification ###


# Calling SendSafetyAlertEscalationNotification for incident T/TTK/LCC/25/00010#


[SafetyAlertEscalation] Starting notification for incident T/TTK/LCC/25/00010


[SafetyAlertEscalation] Sending email to Lalit Aditya Kola


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


Reading and binding data to Email Template


Safety Alert Escalation - T/TTK/LCC/25/00010


[SafetyAlertEscalation] Email sent successfully to lalit.a@osmosys.co


[SafetyAlertEscalation] Sending WhatsApp to Lalit Aditya Kola, Number: 919989248964


[SafetyAlertEscalation] WhatsApp sent successfully to 919989248964


### End Event Execution ###


### Start Event Execution ###


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


### Started processing Safety Alert Escalation Notification ###


# Calling SendSafetyAlertEscalationNotification for incident T/TTK/NMM/25/00163#


[SafetyAlertEscalation] Starting notification for incident T/TTK/NMM/25/00163


Initializing Email Service Client


Generating Email Request


Safety Alert Escalation - T/TTK/NMM/25/00163


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


--- Email response from Osmo-x is 201


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"919989248964","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"oqsha_cron_escalate_whatsapp_template_v2","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"Lalit Aditya Kola"},{"type":"text","text":"Safety Alert"},{"type":"text","text":"T/TTK/NMM/25/00163"},{"type":"text","text":" "},{"type":"text","text":"Coimbatore"},{"type":"text","text":"Near Misses"},{"type":"text","text":"VV SITE EHS NEW"},{"type":"text","text":"TTK Beta - QA"},{"type":"text","text":"https://qa-staging-2.oqsha.com/#/incidents/view/387/21704?dlType=viewTicket"}]}]}}}


Osmo-x WhatsApp Message has been Sent


# Calling SendSafetyAlertEscalationNotification for incident T/TTK/TTA/25/00066#


[SafetyAlertEscalation] Starting notification for incident T/TTK/TTA/25/00066


Safety Alert Escalation - T/TTK/TTA/25/00066


# Calling SendSafetyAlertEscalationNotification for incident T/TTK/NMM/25/00220#


[SafetyAlertEscalation] Starting notification for incident T/TTK/NMM/25/00220


Safety Alert Escalation - T/TTK/NMM/25/00220


### Ended processing Safety Alert Escalation Notification ###


### End Event Execution ###


[DELAY-END] lalit.a@osmosys.co at 06:10:00


Sending KPI Master Updated email to: lalit.a@osmosys.co


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


Reading and binding data to Email Template


Initializing Email Service Client


Generating Email Request


KPI Master Updated


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


--- Email response from Osmo-x is 201


[DELAY-START] paras.j@osmosys.co at 06:10:00


### Start Event Execution ###


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


[DELAY-END] paras.j@osmosys.co at 06:10:30


Sending KPI Master Updated email to: paras.j@osmosys.co


[DELAY-START] sagaraswar001@gmail.com at 06:10:41


[DELAY-END] sagaraswar001@gmail.com at 06:11:11


Sending KPI Master Updated email to: sagaraswar001@gmail.com


[DELAY-START] abhinav.s@osmosys.co at 06:11:11


[DELAY-END] abhinav.s@osmosys.co at 06:11:41


Sending KPI Master Updated email to: abhinav.s@osmosys.co


[DELAY-START] gopi.s@osmosys.co at 06:11:41


[DELAY-END] gopi.s@osmosys.co at 06:12:11


Sending KPI Master Updated email to: gopi.s@osmosys.co


Initializing Email Service Client


Generating Email Request


KPI Master Updated


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


--- Email response from Osmo-x is 201


[DELAY-START] testpurpose@gmail.com at 06:12:21


[DELAY-END] testpurpose@gmail.com at 06:12:51


Sending KPI Master Updated email to: testpurpose@gmail.com


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


Reading and binding data to Email Template


[DELAY-START] SagarAswar0a01@gmail.com at 06:12:51


### Start Event Execution ###


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


### End Event Execution ###


[DELAY-END] SagarAswar0a01@gmail.com at 06:13:21


Sending KPI Master Updated email to: SagarAswar0a01@gmail.com


[DELAY-START] as98ww01233442@gmail.com at 06:13:21


[DELAY-END] as98ww01233442@gmail.com at 06:13:51


Sending KPI Master Updated email to: as98ww01233442@gmail.com


Initializing Email Service Client


Generating Email Request


KPI Master Updated


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


--- Email response from Osmo-x is 201


[DELAY-START] ccperformer@gmail.com at 06:14:01


[DELAY-END] ccperformer@gmail.com at 06:14:31


Sending KPI Master Updated email to: ccperformer@gmail.com


[DELAY-START] ccreator@gmail.com at 06:14:32


[DELAY-END] ccreator@gmail.com at 06:15:02


Sending KPI Master Updated email to: ccreator@gmail.com


[DELAY-START] as9811012aa33442@gmail.com at 06:15:02


[DELAY-END] as9811012aa33442@gmail.com at 06:15:32


Sending KPI Master Updated email to: as9811012aa33442@gmail.com


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


Reading and binding data to Email Template


[DELAY-START] testing@gmail.com at 06:15:42


### Start Event Execution ###


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


### End Event Execution ###


[DELAY-END] testing@gmail.com at 06:16:12


Sending KPI Master Updated email to: testing@gmail.com


Initializing Email Service Client


Generating Email Request


KPI Master Updated


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


--- Email response from Osmo-x is 201


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


### Started processing Safety Alert Escalation Notification ###


# Calling SendSafetyAlertEscalationNotification for incident T/TTK/SAB/25/00052#


[SafetyAlertEscalation] Starting notification for incident T/TTK/SAB/25/00052


[SafetyAlertEscalation] Sending email to Lalit Aditya Kola


Safety Alert Escalation - T/TTK/SAB/25/00052


[SafetyAlertEscalation] Email sent successfully to lalit.a@osmosys.co


[SafetyAlertEscalation] Sending WhatsApp to Lalit Aditya Kola, Number: 919989248964


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"919989248964","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"oqsha_cron_escalate_whatsapp_template_v2","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"Lalit Aditya Kola"},{"type":"text","text":"Safety Alert"},{"type":"text","text":"T/TTK/SAB/25/00052"},{"type":"text","text":" "},{"type":"text","text":"Coimbatore"},{"type":"text","text":"Unsafe Act"},{"type":"text","text":"Lalit Aditya Kola"},{"type":"text","text":"TTK Beta - QA"},{"type":"text","text":"https://qa-staging-2.oqsha.com/#/incidents/view/387/21731?dlType=viewTicket"}]}]}}}


Osmo-x WhatsApp Message has been Sent


[SafetyAlertEscalation] WhatsApp sent successfully to 919989248964


### Ended processing Safety Alert Escalation Notification ###


### End Event Execution ###


### Start Event Execution ###


# Calling SendSafetyAlertEscalationNotification for incident T/TTK/NMM/25/00179#


[SafetyAlertEscalation] Starting notification for incident T/TTK/NMM/25/00179


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


Reading and binding data to Email Template


Initializing Email Service Client


Generating Email Request


Safety Alert Escalation - T/TTK/NMM/25/00179


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


--- Email response from Osmo-x is 201


# Calling SendSafetyAlertEscalationNotification for incident T/TTK/NMM/25/00180#


[SafetyAlertEscalation] Starting notification for incident T/TTK/NMM/25/00180


Safety Alert Escalation - T/TTK/NMM/25/00180


Osmo-x WhatsApp Message has been Sent


# Calling SendSafetyAlertEscalationNotification for incident T/TTK/NMM/25/00183#


[SafetyAlertEscalation] Starting notification for incident T/TTK/NMM/25/00183


Safety Alert Escalation - T/TTK/NMM/25/00183


### End Event Execution ###


### Start Event Execution ###


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


### Started processing Safety Alert Escalation Notification ###


# Calling SendSafetyAlertEscalationNotification for incident T/TTK/SAB/25/00055#


[SafetyAlertEscalation] Starting notification for incident T/TTK/SAB/25/00055


[SafetyAlertEscalation] Sending email to Lalit Aditya Kola


Initializing Email Service Client


Generating Email Request


Safety Alert Escalation - T/TTK/SAB/25/00055


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


--- Email response from Osmo-x is 201


[SafetyAlertEscalation] Email sent successfully to lalit.a@osmosys.co


[SafetyAlertEscalation] Sending WhatsApp to Lalit Aditya Kola, Number: 919989248964


Osmo-x WhatsApp Message has been Sent


[SafetyAlertEscalation] WhatsApp sent successfully to 919989248964


### Ended processing Safety Alert Escalation Notification ###


### End Event Execution ###


### Start Event Execution ###


# Calling SendSafetyAlertEscalationNotification for incident T/TTK/NMM/25/00199#


[SafetyAlertEscalation] Starting notification for incident T/TTK/NMM/25/00199


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


Reading and binding data to Email Template


Safety Alert Escalation - T/TTK/NMM/25/00199


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"919989248964","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"oqsha_cron_escalate_whatsapp_template_v2","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"Lalit Aditya Kola"},{"type":"text","text":"Safety Alert"},{"type":"text","text":"T/TTK/NMM/25/00199"},{"type":"text","text":" "},{"type":"text","text":"Coimbatore"},{"type":"text","text":"Near Misses"},{"type":"text","text":"Lalit Aditya Kola"},{"type":"text","text":"TTK Beta - QA"},{"type":"text","text":"https://qa-staging-2.oqsha.com/#/incidents/view/387/21793?dlType=viewTicket"}]}]}}}


# Calling SendSafetyAlertEscalationNotification for incident T/TTK/NMM/25/00261#


[SafetyAlertEscalation] Starting notification for incident T/TTK/NMM/25/00261


Initializing Email Service Client


Generating Email Request


Safety Alert Escalation - T/TTK/NMM/25/00261


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


--- Email response from Osmo-x is 201


Osmo-x WhatsApp Message has been Sent


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


### End Event Execution ###


### Start Event Execution ###


Message : {"EventName":"NOTIFICATION_TO_ISSUER","EventArgs":[{"Key":"PtwId","Value":3478},{"Key":"OrganisationId","Value":310},{"Key":"CompanyId","Value":394},{"Key":"StringIssuerIds","Value":"[1,1735,1475,2061,2160,2161,2169,2205,2206,2256,1939,2125,2201,2215,2078,1536]"},{"Key":"PermitToWorkUID","Value":"P/APR/abd/3221SA/HW/BL/BL/UN/26/00001"},{"Key":"JobType","Value":"Hot Work, Blasting Work, blasting work 2.0, Undergroud Work"},{"Key":"StatusChangeByUserDisplayName","Value":"Rajkumar Pativada"},{"Key":"RequestedOnTime","Value":"12-Mar-2026 12:14:37 PM"},{"Key":"SiteName","Value":"Aparna New Site"},{"Key":"StartDate","Value":"12-Mar-2026"},{"Key":"WorkLocation","Value":""},{"Key":"AssignedUserDisplayName","Value":"Rajkumar Pativada"},{"Key":"ModeOfNotifications","Value":"{\"Whatsapp\":false,\"Email\":false,\"PushNotifications\":true}"},{"Key":"NextStatus","Value":"Issued"},{"Key":"CustomStatusNames","Value":"[{\"StatusId\":1,\"PresentTenseName\":\"Approve -1\",\"PastTenseName\":\"Approved -1\"},{\"StatusId\":2,\"PresentTenseName\":\"Issue -2\",\"PastTenseName\":\"Issued -2\"},{\"StatusId\":3,\"PresentTenseName\":\"Request -3\",\"PastTenseName\":\"Requested -3\"},{\"StatusId\":4,\"PresentTenseName\":\"Review -4\",\"PastTenseName\":\"Reviewed -4\"},{\"StatusId\":5,\"PresentTenseName\":\"Reject -5\",\"PastTenseName\":\"Rejected -5\"},{\"StatusId\":6,\"PresentTenseName\":\"Close -6\",\"PastTenseName\":\"Closed -6\"},{\"StatusId\":7,\"PresentTenseName\":\"Cancel -7\",\"PastTenseName\":\"Cancelled -7\"},{\"StatusId\":8,\"PresentTenseName\":\"Re-Approve -8\",\"PastTenseName\":\"Re-Approved -8\"},{\"StatusId\":9,\"PresentTenseName\":\"Extension Request -9\",\"PastTenseName\":\"Extension Requested -9\"},{\"StatusId\":10,\"PresentTenseName\":\"Extension Issue -10\",\"PastTenseName\":\"Extension Issued -10\"},{\"StatusId\":11,\"PresentTenseName\":\"Extension Review -11\",\"PastTenseName\":\"Extension Reviewed -11\"},{\"StatusId\":12,\"PresentTenseName\":\"Extension Approve -12\",\"PastTenseName\":\"Extension Approved -12\"},{\"StatusId\":13,\"PresentTenseName\":\"Extension Reject -13\",\"PastTenseName\":\"Extension Rejected -13\"},{\"StatusId\":14,\"PresentTenseName\":\"Validation Request -14\",\"PastTenseName\":\"Validation Requested -14\"},{\"StatusId\":15,\"PresentTenseName\":\"Validation Reject -15\",\"PastTenseName\":\"Validation Rejected -15\"},{\"StatusId\":16,\"PresentTenseName\":\"Suspend -16\",\"PastTenseName\":\"Suspended -16\"},{\"StatusId\":17,\"PresentTenseName\":\"Validation Issue -17\",\"PastTenseName\":\"Validation Issued -17\"},{\"StatusId\":18,\"PresentTenseName\":\"Validation Approve -18\",\"PastTenseName\":\"Validation Approved -18\"},{\"StatusId\":19,\"PresentTenseName\":\"Pending Closure -19\",\"PastTenseName\":\"Pending Closure -19\"},{\"StatusId\":20,\"PresentTenseName\":\"Start Work -20\",\"PastTenseName\":\"Start Work -20\"},{\"StatusId\":21,\"PresentTenseName\":\"Request Again -21\",\"PastTenseName\":\"Request Again -21\"},{\"StatusId\":22,\"PresentTenseName\":\"Abandon\",\"PastTenseName\":\"Abandoned\"}]"}]}


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


Executing sending push notification to the issuers


# Push Subject for Issuer P/APR/abd/3221SA/HW/BL/BL/UN/26/00001


# Preparing notification body #


# Checking for device existence #


# User device exists #


Sending notification for permit to work: 3478


Inside SendAppNotification Device Type: GCM


Generating AWS SNS Request


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Test/eccbd3b0-0016-3d9b-be9b-28ee025190b3


Permit To Work (UID: P/APR/abd/3221SA/HW/BL/BL/UN/26/00001)

A permit to work is created for 12-Mar-2026 and is ready to be Issued -2


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


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


Push notification was sent to device with id 4973.


# Push notification sent #


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Test/5de6a4c5-6e36-3d21-bdbe-bfc8320abed6


Push notification was sent to device with id 4976.


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Test/0b6bb304-a1cd-36ed-a0d4-85b58e180cc3


Push notification was sent to device with id 5126.


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Test/de74a513-ccc9-3428-846c-a99d23e22518


Push notification was sent to device with id 5497.


# Checking for device existence #


# User device exists #


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Test/3d167e00-6cb0-36fa-aa71-a2ab939a4c03


Push notification was sent to device with id 5509.


Generating AWS SNS Request


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Test/6adab2dd-156f-3eaa-9897-5ec05b175ee7


Push notification was sent to device with id 5514.


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Test/2753d279-4303-3470-ba97-5166aa7c9e93


Push notification was sent to device with id 5785.


Sending notification for permit to work: 3478


Inside SendAppNotification Device Type: GCM


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Test/b859593e-2d46-30f4-9970-401896b7e25b


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


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


Push notification was sent to device with id 5786.


# Push notification sent #


### End Event Execution ###


### Start Event Execution ###


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


# Calling SendNotificationForPTWHistory function for whatsapp and push notification #


Executing sending notification to reviewer through whatsapp


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


Executing sending push notification to the reviewer


# Preparing notification body #


# Push Subject for Issuer P/APR/abd/3221SA/HW/BL/BL/UN/26/00001


# string body 12-Mar-2026, Rajkumar Pativada, P/APR/abd/3221SA/HW/BL/BL/UN/26/00001, udu.


# Checking for device existence #


# User device exists #


Generating AWS SNS Request


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Test/eccbd3b0-0016-3d9b-be9b-28ee025190b3


Rajkumar Pativada has added comment on the permit to work(UID: P/APR/abd/3221SA/HW/BL/BL/UN/26/00001). The comment: udu.


Push notification was sent to device with id 4973.


# Push notification sent #


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Test/5de6a4c5-6e36-3d21-bdbe-bfc8320abed6


Push notification was sent to device with id 4976.


Sending notification for permit to work: 3478


Inside SendAppNotification Device Type: GCM


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Test/0b6bb304-a1cd-36ed-a0d4-85b58e180cc3


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


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


Push notification was sent to device with id 5126.


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Test/de74a513-ccc9-3428-846c-a99d23e22518


Push notification was sent to device with id 5497.


# Checking for device existence #


# User device exists #


Generating AWS SNS Request


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Test/3d167e00-6cb0-36fa-aa71-a2ab939a4c03


Push notification was sent to device with id 5509.


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Test/6adab2dd-156f-3eaa-9897-5ec05b175ee7


Push notification was sent to device with id 5514.


# Push notification sent #


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Test/2753d279-4303-3470-ba97-5166aa7c9e93


Push notification was sent to device with id 5785.


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Test/b859593e-2d46-30f4-9970-401896b7e25b


Push notification was sent to device with id 5786.


### End Event Execution ###


### Start Event Execution ###


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


Message : {"EventName":"NOTIFICATION_TO_ISSUER","EventArgs":[{"Key":"PtwId","Value":3479},{"Key":"OrganisationId","Value":310},{"Key":"CompanyId","Value":505},{"Key":"StringIssuerIds","Value":"[1,1735,1475,2061,2160,2161,2169,2205,2206,2256,1939,2125,2201,2215,2078,1536]"},{"Key":"PermitToWorkUID","Value":"P/APR/abd/ABHITR/BL/26/00001"},{"Key":"JobType","Value":"Blasting Work"},{"Key":"StatusChangeByUserDisplayName","Value":"Rajkumar Pativada"},{"Key":"RequestedOnTime","Value":"12-Mar-2026 12:33:25 PM"},{"Key":"SiteName","Value":"Aparna New Site"},{"Key":"StartDate","Value":"12-Mar-2026"},{"Key":"WorkLocation","Value":""},{"Key":"AssignedUserDisplayName","Value":"Rajkumar Pativada"},{"Key":"ModeOfNotifications","Value":"{\"Whatsapp\":false,\"Email\":false,\"PushNotifications\":true}"},{"Key":"NextStatus","Value":"Issued"},{"Key":"CustomStatusNames","Value":"[{\"StatusId\":1,\"PresentTenseName\":\"Approve -1\",\"PastTenseName\":\"Approved -1\"},{\"StatusId\":2,\"PresentTenseName\":\"Issue -2\",\"PastTenseName\":\"Issued -2\"},{\"StatusId\":3,\"PresentTenseName\":\"Request -3\",\"PastTenseName\":\"Requested -3\"},{\"StatusId\":4,\"PresentTenseName\":\"Review -4\",\"PastTenseName\":\"Reviewed -4\"},{\"StatusId\":5,\"PresentTenseName\":\"Reject -5\",\"PastTenseName\":\"Rejected -5\"},{\"StatusId\":6,\"PresentTenseName\":\"Close -6\",\"PastTenseName\":\"Closed -6\"},{\"StatusId\":7,\"PresentTenseName\":\"Cancel -7\",\"PastTenseName\":\"Cancelled -7\"},{\"StatusId\":8,\"PresentTenseName\":\"Re-Approve -8\",\"PastTenseName\":\"Re-Approved -8\"},{\"StatusId\":9,\"PresentTenseName\":\"Extension Request -9\",\"PastTenseName\":\"Extension Requested -9\"},{\"StatusId\":10,\"PresentTenseName\":\"Extension Issue -10\",\"PastTenseName\":\"Extension Issued -10\"},{\"StatusId\":11,\"PresentTenseName\":\"Extension Review -11\",\"PastTenseName\":\"Extension Reviewed -11\"},{\"StatusId\":12,\"PresentTenseName\":\"Extension Approve -12\",\"PastTenseName\":\"Extension Approved -12\"},{\"StatusId\":13,\"PresentTenseName\":\"Extension Reject -13\",\"PastTenseName\":\"Extension Rejected -13\"},{\"StatusId\":14,\"PresentTenseName\":\"Validation Request -14\",\"PastTenseName\":\"Validation Requested -14\"},{\"StatusId\":15,\"PresentTenseName\":\"Validation Reject -15\",\"PastTenseName\":\"Validation Rejected -15\"},{\"StatusId\":16,\"PresentTenseName\":\"Suspend -16\",\"PastTenseName\":\"Suspended -16\"},{\"StatusId\":17,\"PresentTenseName\":\"Validation Issue -17\",\"PastTenseName\":\"Validation Issued -17\"},{\"StatusId\":18,\"PresentTenseName\":\"Validation Approve -18\",\"PastTenseName\":\"Validation Approved -18\"},{\"StatusId\":19,\"PresentTenseName\":\"Pending Closure -19\",\"PastTenseName\":\"Pending Closure -19\"},{\"StatusId\":20,\"PresentTenseName\":\"Start Work -20\",\"PastTenseName\":\"Start Work -20\"},{\"StatusId\":21,\"PresentTenseName\":\"Request Again -21\",\"PastTenseName\":\"Request Again -21\"},{\"StatusId\":22,\"PresentTenseName\":\"Abandon\",\"PastTenseName\":\"Abandoned\"}]"}]}


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


Executing sending push notification to the issuers


# Push Subject for Issuer P/APR/abd/ABHITR/BL/26/00001


# Preparing notification body #


# Checking for device existence #


# User device exists #


Sending notification for permit to work: 3479


Inside SendAppNotification Device Type: GCM


Generating AWS SNS Request


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Test/eccbd3b0-0016-3d9b-be9b-28ee025190b3


Permit To Work (UID: P/APR/abd/ABHITR/BL/26/00001)


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


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


Push notification was sent to device with id 4973.


# Push notification sent #


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Test/5de6a4c5-6e36-3d21-bdbe-bfc8320abed6


Push notification was sent to device with id 4976.


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Test/0b6bb304-a1cd-36ed-a0d4-85b58e180cc3


Push notification was sent to device with id 5126.


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Test/de74a513-ccc9-3428-846c-a99d23e22518


Push notification was sent to device with id 5497.


# Checking for device existence #


# User device exists #


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Test/3d167e00-6cb0-36fa-aa71-a2ab939a4c03


Push notification was sent to device with id 5509.


Generating AWS SNS Request


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Test/6adab2dd-156f-3eaa-9897-5ec05b175ee7


Push notification was sent to device with id 5514.


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Test/2753d279-4303-3470-ba97-5166aa7c9e93


Push notification was sent to device with id 5785.


Sending notification for permit to work: 3479


Inside SendAppNotification Device Type: GCM


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Test/b859593e-2d46-30f4-9970-401896b7e25b


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


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


Push notification was sent to device with id 5786.


# Push notification sent #


### End Event Execution ###


### Start Event Execution ###


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


Message : {"EventName":"NOTIFICATION_TO_REVIEWER_APPROVER","EventArgs":[{"Key":"PtwId","Value":3479},{"Key":"OrganisationId","Value":310},{"Key":"JobType","Value":"Blasting Work"},{"Key":"WorkPermitStatus","Value":"Issued"},{"Key":"SiteName","Value":"Aparna New Site"},{"Key":"CustomStatusNames","Value":"[{\"StatusId\":1,\"PresentTenseName\":\"Approve -1\",\"PastTenseName\":\"Approved -1\"},{\"StatusId\":2,\"PresentTenseName\":\"Issue -2\",\"PastTenseName\":\"Issued -2\"},{\"StatusId\":3,\"PresentTenseName\":\"Request -3\",\"PastTenseName\":\"Requested -3\"},{\"StatusId\":4,\"PresentTenseName\":\"Review -4\",\"PastTenseName\":\"Reviewed -4\"},{\"StatusId\":5,\"PresentTenseName\":\"Reject -5\",\"PastTenseName\":\"Rejected -5\"},{\"StatusId\":6,\"PresentTenseName\":\"Close -6\",\"PastTenseName\":\"Closed -6\"},{\"StatusId\":7,\"PresentTenseName\":\"Cancel -7\",\"PastTenseName\":\"Cancelled -7\"},{\"StatusId\":8,\"PresentTenseName\":\"Re-Approve -8\",\"PastTenseName\":\"Re-Approved -8\"},{\"StatusId\":9,\"PresentTenseName\":\"Extension Request -9\",\"PastTenseName\":\"Extension Requested -9\"},{\"StatusId\":10,\"PresentTenseName\":\"Extension Issue -10\",\"PastTenseName\":\"Extension Issued -10\"},{\"StatusId\":11,\"PresentTenseName\":\"Extension Review -11\",\"PastTenseName\":\"Extension Reviewed -11\"},{\"StatusId\":12,\"PresentTenseName\":\"Extension Approve -12\",\"PastTenseName\":\"Extension Approved -12\"},{\"StatusId\":13,\"PresentTenseName\":\"Extension Reject -13\",\"PastTenseName\":\"Extension Rejected -13\"},{\"StatusId\":14,\"PresentTenseName\":\"Validation Request -14\",\"PastTenseName\":\"Validation Requested -14\"},{\"StatusId\":15,\"PresentTenseName\":\"Validation Reject -15\",\"PastTenseName\":\"Validation Rejected -15\"},{\"StatusId\":16,\"PresentTenseName\":\"Suspend -16\",\"PastTenseName\":\"Suspended -16\"},{\"StatusId\":17,\"PresentTenseName\":\"Validation Issue -17\",\"PastTenseName\":\"Validation Issued -17\"},{\"StatusId\":18,\"PresentTenseName\":\"Validation Approve -18\",\"PastTenseName\":\"Validation Approved -18\"},{\"StatusId\":19,\"PresentTenseName\":\"Pending Closure -19\",\"PastTenseName\":\"Pending Closure -19\"},{\"StatusId\":20,\"PresentTenseName\":\"Start Work -20\",\"PastTenseName\":\"Start Work -20\"},{\"StatusId\":21,\"PresentTenseName\":\"Request Again -21\",\"PastTenseName\":\"Request Again -21\"},{\"StatusId\":22,\"PresentTenseName\":\"Abandon\",\"PastTenseName\":\"Abandoned\"}]"},{"Key":"StringUserIds","Value":"[1,1735,1475,2061,2160,2161,2169,2205,2206,2256,1939,2125,2201,2215,2078,1536]"},{"Key":"StatusChangeByUserDisplayName","Value":"Rajkumar Pativada"},{"Key":"StartDate","Value":"12-Mar-2026"},{"Key":"StatusChangedTime","Value":"12-Mar-2026 12:37:05 PM"},{"Key":"PermitToWorkUID","Value":"P/APR/abd/ABHITR/BL/26/00001"},{"Key":"WorkLocation","Value":""},{"Key":"AssignedUserDisplayName","Value":"Rajkumar Pativada"},{"Key":"NextStatus","Value":"Approved"},{"Key":"CompanyUserEmails","Value":"null"},{"Key":"ModeOfNotifications","Value":"{\"Whatsapp\":false,\"Email\":false,\"PushNotifications\":true}"}]}


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


# Preparing notification body #


# Push Subject P/APR/abd/ABHITR/BL/26/00001


# string body 12-Mar-2026, Rajkumar Pativada,


# Checking for device existence #


# User device exists #


Generating AWS SNS Request


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Test/eccbd3b0-0016-3d9b-be9b-28ee025190b3


A permit to work is created for 12-Mar-2026. Issue -2


Push notification was sent to device with id 4973.


# Push notification sent #


Sending notification for permit to work: 3479


Inside SendAppNotification Device Type: GCM


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Test/5de6a4c5-6e36-3d21-bdbe-bfc8320abed6


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


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


Push notification was sent to device with id 4976.


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Test/0b6bb304-a1cd-36ed-a0d4-85b58e180cc3


Push notification was sent to device with id 5126.


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Test/de74a513-ccc9-3428-846c-a99d23e22518


Push notification was sent to device with id 5497.


# Checking for device existence #


# User device exists #


Generating AWS SNS Request


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Test/3d167e00-6cb0-36fa-aa71-a2ab939a4c03


Push notification was sent to device with id 5509.


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Test/6adab2dd-156f-3eaa-9897-5ec05b175ee7


Push notification was sent to device with id 5514.


# Push notification sent #


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Test/2753d279-4303-3470-ba97-5166aa7c9e93


Push notification was sent to device with id 5785.


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Test/b859593e-2d46-30f4-9970-401896b7e25b


Push notification was sent to device with id 5786.


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 3874
   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 554


### End Event Execution ###


### Start Event Execution ###


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


Message : {"EventName":"NOTIFICATION_TO_REVIEWER_APPROVER","EventArgs":[{"Key":"PtwId","Value":3479},{"Key":"OrganisationId","Value":310},{"Key":"JobType","Value":"Blasting Work"},{"Key":"WorkPermitStatus","Value":"Approved"},{"Key":"SiteName","Value":"Aparna New Site"},{"Key":"CustomStatusNames","Value":"[{\"StatusId\":1,\"PresentTenseName\":\"Approve -1\",\"PastTenseName\":\"Approved -1\"},{\"StatusId\":2,\"PresentTenseName\":\"Issue -2\",\"PastTenseName\":\"Issued -2\"},{\"StatusId\":3,\"PresentTenseName\":\"Request -3\",\"PastTenseName\":\"Requested -3\"},{\"StatusId\":4,\"PresentTenseName\":\"Review -4\",\"PastTenseName\":\"Reviewed -4\"},{\"StatusId\":5,\"PresentTenseName\":\"Reject -5\",\"PastTenseName\":\"Rejected -5\"},{\"StatusId\":6,\"PresentTenseName\":\"Close -6\",\"PastTenseName\":\"Closed -6\"},{\"StatusId\":7,\"PresentTenseName\":\"Cancel -7\",\"PastTenseName\":\"Cancelled -7\"},{\"StatusId\":8,\"PresentTenseName\":\"Re-Approve -8\",\"PastTenseName\":\"Re-Approved -8\"},{\"StatusId\":9,\"PresentTenseName\":\"Extension Request -9\",\"PastTenseName\":\"Extension Requested -9\"},{\"StatusId\":10,\"PresentTenseName\":\"Extension Issue -10\",\"PastTenseName\":\"Extension Issued -10\"},{\"StatusId\":11,\"PresentTenseName\":\"Extension Review -11\",\"PastTenseName\":\"Extension Reviewed -11\"},{\"StatusId\":12,\"PresentTenseName\":\"Extension Approve -12\",\"PastTenseName\":\"Extension Approved -12\"},{\"StatusId\":13,\"PresentTenseName\":\"Extension Reject -13\",\"PastTenseName\":\"Extension Rejected -13\"},{\"StatusId\":14,\"PresentTenseName\":\"Validation Request -14\",\"PastTenseName\":\"Validation Requested -14\"},{\"StatusId\":15,\"PresentTenseName\":\"Validation Reject -15\",\"PastTenseName\":\"Validation Rejected -15\"},{\"StatusId\":16,\"PresentTenseName\":\"Suspend -16\",\"PastTenseName\":\"Suspended -16\"},{\"StatusId\":17,\"PresentTenseName\":\"Validation Issue -17\",\"PastTenseName\":\"Validation Issued -17\"},{\"StatusId\":18,\"PresentTenseName\":\"Validation Approve -18\",\"PastTenseName\":\"Validation Approved -18\"},{\"StatusId\":19,\"PresentTenseName\":\"Pending Closure -19\",\"PastTenseName\":\"Pending Closure -19\"},{\"StatusId\":20,\"PresentTenseName\":\"Start Work -20\",\"PastTenseName\":\"Start Work -20\"},{\"StatusId\":21,\"PresentTenseName\":\"Request Again -21\",\"PastTenseName\":\"Request Again -21\"},{\"StatusId\":22,\"PresentTenseName\":\"Abandon\",\"PastTenseName\":\"Abandoned\"}]"},{"Key":"StringUserIds","Value":"[1,1735,1475,2061,2160,2161,2169,2205,2206,2256,1939,2125,2201,2215,2078,1536]"},{"Key":"StatusChangeByUserDisplayName","Value":"Rajkumar Pativada"},{"Key":"StartDate","Value":"12-Mar-2026"},{"Key":"StatusChangedTime","Value":"12-Mar-2026 12:40:51 PM"},{"Key":"PermitToWorkUID","Value":"P/APR/abd/ABHITR/BL/26/00001"},{"Key":"WorkLocation","Value":""},{"Key":"AssignedUserDisplayName","Value":"Rajkumar Pativada"},{"Key":"NextStatus","Value":"Reviewed"},{"Key":"CompanyUserEmails","Value":"[]"},{"Key":"ModeOfNotifications","Value":"{\"Whatsapp\":false,\"Email\":false,\"PushNotifications\":true}"}]}


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


# Preparing notification body #


# Push Subject P/APR/abd/ABHITR/BL/26/00001


# string body 12-Mar-2026, Rajkumar Pativada,


# Checking for device existence #


# User device exists #


Sending notification for permit to work: 3479


Inside SendAppNotification Device Type: GCM


Generating AWS SNS Request


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Test/eccbd3b0-0016-3d9b-be9b-28ee025190b3


A permit to work is created for 12-Mar-2026. Approve -1


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


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


Push notification was sent to device with id 4973.


# Push notification sent #


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Test/5de6a4c5-6e36-3d21-bdbe-bfc8320abed6


Push notification was sent to device with id 4976.


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Test/0b6bb304-a1cd-36ed-a0d4-85b58e180cc3


Push notification was sent to device with id 5126.


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Test/de74a513-ccc9-3428-846c-a99d23e22518


Push notification was sent to device with id 5497.


# Checking for device existence #


# User device exists #


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Test/3d167e00-6cb0-36fa-aa71-a2ab939a4c03


Push notification was sent to device with id 5509.


Generating AWS SNS Request


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Test/6adab2dd-156f-3eaa-9897-5ec05b175ee7


Push notification was sent to device with id 5514.


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Test/2753d279-4303-3470-ba97-5166aa7c9e93


Push notification was sent to device with id 5785.


Sending notification for permit to work: 3479


Inside SendAppNotification Device Type: GCM


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Test/b859593e-2d46-30f4-9970-401896b7e25b


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


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


Push notification was sent to device with id 5786.


# Push notification sent #


### End Event Execution ###


### Start Event Execution ###


Message : {"EventName":"NOTIFICATION_TO_REVIEWER_APPROVER","EventArgs":[{"Key":"PtwId","Value":3479},{"Key":"OrganisationId","Value":310},{"Key":"JobType","Value":"Blasting Work"},{"Key":"WorkPermitStatus","Value":"Approved"},{"Key":"SiteName","Value":"Aparna New Site"},{"Key":"CustomStatusNames","Value":"[{\"StatusId\":1,\"PresentTenseName\":\"Approve -1\",\"PastTenseName\":\"Approved -1\"},{\"StatusId\":2,\"PresentTenseName\":\"Issue -2\",\"PastTenseName\":\"Issued -2\"},{\"StatusId\":3,\"PresentTenseName\":\"Request -3\",\"PastTenseName\":\"Requested -3\"},{\"StatusId\":4,\"PresentTenseName\":\"Review -4\",\"PastTenseName\":\"Reviewed -4\"},{\"StatusId\":5,\"PresentTenseName\":\"Reject -5\",\"PastTenseName\":\"Rejected -5\"},{\"StatusId\":6,\"PresentTenseName\":\"Close -6\",\"PastTenseName\":\"Closed -6\"},{\"StatusId\":7,\"PresentTenseName\":\"Cancel -7\",\"PastTenseName\":\"Cancelled -7\"},{\"StatusId\":8,\"PresentTenseName\":\"Re-Approve -8\",\"PastTenseName\":\"Re-Approved -8\"},{\"StatusId\":9,\"PresentTenseName\":\"Extension Request -9\",\"PastTenseName\":\"Extension Requested -9\"},{\"StatusId\":10,\"PresentTenseName\":\"Extension Issue -10\",\"PastTenseName\":\"Extension Issued -10\"},{\"StatusId\":11,\"PresentTenseName\":\"Extension Review -11\",\"PastTenseName\":\"Extension Reviewed -11\"},{\"StatusId\":12,\"PresentTenseName\":\"Extension Approve -12\",\"PastTenseName\":\"Extension Approved -12\"},{\"StatusId\":13,\"PresentTenseName\":\"Extension Reject -13\",\"PastTenseName\":\"Extension Rejected -13\"},{\"StatusId\":14,\"PresentTenseName\":\"Validation Request -14\",\"PastTenseName\":\"Validation Requested -14\"},{\"StatusId\":15,\"PresentTenseName\":\"Validation Reject -15\",\"PastTenseName\":\"Validation Rejected -15\"},{\"StatusId\":16,\"PresentTenseName\":\"Suspend -16\",\"PastTenseName\":\"Suspended -16\"},{\"StatusId\":17,\"PresentTenseName\":\"Validation Issue -17\",\"PastTenseName\":\"Validation Issued -17\"},{\"StatusId\":18,\"PresentTenseName\":\"Validation Approve -18\",\"PastTenseName\":\"Validation Approved -18\"},{\"StatusId\":19,\"PresentTenseName\":\"Pending Closure -19\",\"PastTenseName\":\"Pending Closure -19\"},{\"StatusId\":20,\"PresentTenseName\":\"Start Work -20\",\"PastTenseName\":\"Start Work -20\"},{\"StatusId\":21,\"PresentTenseName\":\"Request Again -21\",\"PastTenseName\":\"Request Again -21\"},{\"StatusId\":22,\"PresentTenseName\":\"Abandon\",\"PastTenseName\":\"Abandoned\"}]"},{"Key":"StringUserIds","Value":"[1,1735,1475,2061,2160,2161,2169,2205,2206,2256,1939,2125,2201,2215,2078,1536]"},{"Key":"StatusChangeByUserDisplayName","Value":"Rajkumar Pativada"},{"Key":"StartDate","Value":"12-Mar-2026"},{"Key":"StatusChangedTime","Value":"12-Mar-2026 12:41:16 PM"},{"Key":"PermitToWorkUID","Value":"P/APR/abd/ABHITR/BL/26/00001"},{"Key":"WorkLocation","Value":""},{"Key":"AssignedUserDisplayName","Value":""},{"Key":"NextStatus","Value":"Reviewed"},{"Key":"CompanyUserEmails","Value":"[]"},{"Key":"ModeOfNotifications","Value":"{\"Whatsapp\":false,\"Email\":false,\"PushNotifications\":true}"}]}


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


# Preparing notification body #


# Push Subject P/APR/abd/ABHITR/BL/26/00001


# string body 12-Mar-2026, Rajkumar Pativada,


# Checking for device existence #


# User device exists #


Generating AWS SNS Request


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Test/eccbd3b0-0016-3d9b-be9b-28ee025190b3


Push notification was sent to device with id 4973.


# Push notification sent #


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Test/5de6a4c5-6e36-3d21-bdbe-bfc8320abed6


Push notification was sent to device with id 4976.


Sending notification for permit to work: 3479


Inside SendAppNotification Device Type: GCM


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Test/0b6bb304-a1cd-36ed-a0d4-85b58e180cc3


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


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


Push notification was sent to device with id 5126.


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Test/de74a513-ccc9-3428-846c-a99d23e22518


Push notification was sent to device with id 5497.


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Test/3d167e00-6cb0-36fa-aa71-a2ab939a4c03


Push notification was sent to device with id 5509.


# Checking for device existence #


# User device exists #


Generating AWS SNS Request


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Test/6adab2dd-156f-3eaa-9897-5ec05b175ee7


Push notification was sent to device with id 5514.


# Push notification sent #


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Test/2753d279-4303-3470-ba97-5166aa7c9e93


Push notification was sent to device with id 5785.


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Test/b859593e-2d46-30f4-9970-401896b7e25b


Push notification was sent to device with id 5786.


### End Event Execution ###


### Start Event Execution ###


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


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


### Started processing Safety Alert Escalation Notification ###


# Calling SendSafetyAlertEscalationNotification for incident T/TTK/NMM/25/00208#


[SafetyAlertEscalation] Starting notification for incident T/TTK/NMM/25/00208


[SafetyAlertEscalation] Sending email to Lalit Aditya Kola


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


Reading and binding data to Email Template


Initializing Email Service Client


Generating Email Request


Safety Alert Escalation - T/TTK/NMM/25/00208


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


--- Email response from Osmo-x is 201


[SafetyAlertEscalation] Email sent successfully to lalit.a@osmosys.co


[SafetyAlertEscalation] Sending WhatsApp to Lalit Aditya Kola, Number: 919989248964


Osmo-x WhatsApp Message has been Sent


[SafetyAlertEscalation] WhatsApp sent successfully to 919989248964


### Ended processing Safety Alert Escalation Notification ###


### End Event Execution ###


### Start Event Execution ###


# Calling SendSafetyAlertEscalationNotification for incident T/TTK/NMM/25/00225#


[SafetyAlertEscalation] Starting notification for incident T/TTK/NMM/25/00225


Safety Alert Escalation - T/TTK/NMM/25/00225


# Calling SendSafetyAlertEscalationNotification for incident T/TTK/TTA/25/00069#


[SafetyAlertEscalation] Starting notification for incident T/TTK/TTA/25/00069


Initializing Email Service Client


Generating Email Request


Safety Alert Escalation - T/TTK/TTA/25/00069


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


--- Email response from Osmo-x is 201


# Calling SendSafetyAlertEscalationNotification for incident T/TTK/NMM/25/00254#


[SafetyAlertEscalation] Starting notification for incident T/TTK/NMM/25/00254


Safety Alert Escalation - T/TTK/NMM/25/00254


Osmo-x WhatsApp Message has been Sent


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


### Started processing Safety Alert Escalation Notification ###


# Calling SendSafetyAlertEscalationNotification for incident T/TTK/NMM/25/00267#


[SafetyAlertEscalation] Starting notification for incident T/TTK/NMM/25/00267


[SafetyAlertEscalation] Sending email to Lalit Aditya Kola


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


Reading and binding data to Email Template


Safety Alert Escalation - T/TTK/NMM/25/00267


[SafetyAlertEscalation] Email sent successfully to lalit.a@osmosys.co


[SafetyAlertEscalation] Sending WhatsApp to Lalit Aditya Kola, Number: 919989248964


[SafetyAlertEscalation] WhatsApp sent successfully to 919989248964


### Ended processing Safety Alert Escalation Notification ###


### End Event Execution ###


### Start Event Execution ###


# Calling SendSafetyAlertEscalationNotification for incident T/TTK/NMM/25/00271#


[SafetyAlertEscalation] Starting notification for incident T/TTK/NMM/25/00271


Initializing Email Service Client


Generating Email Request


Safety Alert Escalation - T/TTK/NMM/25/00271


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


--- Email response from Osmo-x is 201


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"919989248964","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"oqsha_cron_escalate_whatsapp_template_v2","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"Lalit Aditya Kola"},{"type":"text","text":"Safety Alert"},{"type":"text","text":"T/TTK/NMM/25/00271"},{"type":"text","text":" "},{"type":"text","text":"Coimbatore"},{"type":"text","text":"Near Misses"},{"type":"text","text":"Lalit Aditya Kola"},{"type":"text","text":"TTK Beta - QA"},{"type":"text","text":"https://qa-staging-2.oqsha.com/#/incidents/view/387/21983?dlType=viewTicket"}]}]}}}


Osmo-x WhatsApp Message has been Sent


# Calling SendSafetyAlertEscalationNotification for incident T/TTK/NMM/25/00274#


[SafetyAlertEscalation] Starting notification for incident T/TTK/NMM/25/00274


Safety Alert Escalation - T/TTK/NMM/25/00274


# Calling SendSafetyAlertEscalationNotification for incident T/TTK/NMM/25/00231#


[SafetyAlertEscalation] Starting notification for incident T/TTK/NMM/25/00231


Safety Alert Escalation - T/TTK/NMM/25/00231


### End Event Execution ###


### Start Event Execution ###


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


Message : {"EventName":"NOTIFICATION_TO_ISSUER","EventArgs":[{"Key":"PtwId","Value":3480},{"Key":"OrganisationId","Value":310},{"Key":"CompanyId","Value":505},{"Key":"StringIssuerIds","Value":"[1,1735,1475,2061,2160,2161,2169,2205,2206,2256,1939,2125,2201,2215,2078,1536]"},{"Key":"PermitToWorkUID","Value":"P/APR/abd/ABHITR/BL/26/00002"},{"Key":"JobType","Value":"Blasting Work"},{"Key":"StatusChangeByUserDisplayName","Value":"Rajkumar Pativada"},{"Key":"RequestedOnTime","Value":"12-Mar-2026 12:57:51 PM"},{"Key":"SiteName","Value":"Aparna New Site"},{"Key":"StartDate","Value":"12-Mar-2026"},{"Key":"WorkLocation","Value":""},{"Key":"AssignedUserDisplayName","Value":"Rajkumar Pativada"},{"Key":"ModeOfNotifications","Value":"{\"Whatsapp\":false,\"Email\":false,\"PushNotifications\":true}"},{"Key":"NextStatus","Value":"Issued"},{"Key":"CustomStatusNames","Value":"[{\"StatusId\":1,\"PresentTenseName\":\"Approve -1\",\"PastTenseName\":\"Approved -1\"},{\"StatusId\":2,\"PresentTenseName\":\"Issue -2\",\"PastTenseName\":\"Issued -2\"},{\"StatusId\":3,\"PresentTenseName\":\"Request -3\",\"PastTenseName\":\"Requested -3\"},{\"StatusId\":4,\"PresentTenseName\":\"Review -4\",\"PastTenseName\":\"Reviewed -4\"},{\"StatusId\":5,\"PresentTenseName\":\"Reject -5\",\"PastTenseName\":\"Rejected -5\"},{\"StatusId\":6,\"PresentTenseName\":\"Close -6\",\"PastTenseName\":\"Closed -6\"},{\"StatusId\":7,\"PresentTenseName\":\"Cancel -7\",\"PastTenseName\":\"Cancelled -7\"},{\"StatusId\":8,\"PresentTenseName\":\"Re-Approve -8\",\"PastTenseName\":\"Re-Approved -8\"},{\"StatusId\":9,\"PresentTenseName\":\"Extension Request -9\",\"PastTenseName\":\"Extension Requested -9\"},{\"StatusId\":10,\"PresentTenseName\":\"Extension Issue -10\",\"PastTenseName\":\"Extension Issued -10\"},{\"StatusId\":11,\"PresentTenseName\":\"Extension Review -11\",\"PastTenseName\":\"Extension Reviewed -11\"},{\"StatusId\":12,\"PresentTenseName\":\"Extension Approve -12\",\"PastTenseName\":\"Extension Approved -12\"},{\"StatusId\":13,\"PresentTenseName\":\"Extension Reject -13\",\"PastTenseName\":\"Extension Rejected -13\"},{\"StatusId\":14,\"PresentTenseName\":\"Validation Request -14\",\"PastTenseName\":\"Validation Requested -14\"},{\"StatusId\":15,\"PresentTenseName\":\"Validation Reject -15\",\"PastTenseName\":\"Validation Rejected -15\"},{\"StatusId\":16,\"PresentTenseName\":\"Suspend -16\",\"PastTenseName\":\"Suspended -16\"},{\"StatusId\":17,\"PresentTenseName\":\"Validation Issue -17\",\"PastTenseName\":\"Validation Issued -17\"},{\"StatusId\":18,\"PresentTenseName\":\"Validation Approve -18\",\"PastTenseName\":\"Validation Approved -18\"},{\"StatusId\":19,\"PresentTenseName\":\"Pending Closure -19\",\"PastTenseName\":\"Pending Closure -19\"},{\"StatusId\":20,\"PresentTenseName\":\"Start Work -20\",\"PastTenseName\":\"Start Work -20\"},{\"StatusId\":21,\"PresentTenseName\":\"Request Again -21\",\"PastTenseName\":\"Request Again -21\"},{\"StatusId\":22,\"PresentTenseName\":\"Abandon\",\"PastTenseName\":\"Abandoned\"}]"}]}


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


Executing sending push notification to the issuers


# Push Subject for Issuer P/APR/abd/ABHITR/BL/26/00002


# Preparing notification body #


# Checking for device existence #


# User device exists #


Sending notification for permit to work: 3480


Inside SendAppNotification Device Type: GCM


Generating AWS SNS Request


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Test/eccbd3b0-0016-3d9b-be9b-28ee025190b3


Permit To Work (UID: P/APR/abd/ABHITR/BL/26/00002)


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


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


Push notification was sent to device with id 4973.


# Push notification sent #


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Test/5de6a4c5-6e36-3d21-bdbe-bfc8320abed6


Push notification was sent to device with id 4976.


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Test/0b6bb304-a1cd-36ed-a0d4-85b58e180cc3


Push notification was sent to device with id 5126.


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Test/de74a513-ccc9-3428-846c-a99d23e22518


Push notification was sent to device with id 5497.


# Checking for device existence #


# User device exists #


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Test/3d167e00-6cb0-36fa-aa71-a2ab939a4c03


Push notification was sent to device with id 5509.


Generating AWS SNS Request


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Test/6adab2dd-156f-3eaa-9897-5ec05b175ee7


Push notification was sent to device with id 5514.


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Test/2753d279-4303-3470-ba97-5166aa7c9e93


Push notification was sent to device with id 5785.


Sending notification for permit to work: 3480


Inside SendAppNotification Device Type: GCM


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Test/b859593e-2d46-30f4-9970-401896b7e25b


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


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


Push notification was sent to device with id 5786.


# Push notification sent #


### End Event Execution ###


### Start Event Execution ###


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


Message : {"EventName":"SUPERVISOR_ALERT_WORKPLACE_INJURY_INCIDENT","EventArgs":[{"Key":"UserId","Value":"2815"},{"Key":"OrgId","Value":"387"},{"Key":"IncidentId","Value":"1541"}]}


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


### Started processing supervisor alert workplace injury ###


Executing email alert to supervisor about the Workplace injury incident


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


Reading and binding data to Email Template


Initializing Email Service Client


Generating Email Request


Pending Work Injury Incident Submission Reminder - IMF/TTK/COI/III/26/00036


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


--- Email response from Osmo-x is 201


Executing whatsapp alert to supervisor about the Workplace injury incident


Sending WhatsApp Notification for workplace injury incident to User: 2815


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"916303513182","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"oqsha_supervisor_alert_work_injury_incident","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"Gopi Krishna Somayajulu"},{"type":"text","text":"IMF/TTK/COI/III/26/00036"},{"type":"text","text":"Lalit Aditya Kola"},{"type":"text","text":"02-Feb-2026 10:37:48 AM"},{"type":"text","text":"Coimbatore"},{"type":"text","text":"Location: hyderabad"},{"type":"text","text":"https://qa-staging-2.oqsha.com/#/incident-management/report-incident/view/387/1541?dlType=viewIncidentReport"},{"type":"text","text":"EHS Department - TTK Prestige"}]}]}}}


Osmo-x WhatsApp Message has been Sent


### Ended processing supervisor alert workplace injury  ###


### End Event Execution ###


### Start Event Execution ###


Message : {"EventName":"SUPERVISOR_ALERT_WORKPLACE_INJURY_INCIDENT","EventArgs":[{"Key":"UserId","Value":"2884"},{"Key":"OrgId","Value":"387"},{"Key":"IncidentId","Value":"1641"}]}


Pending Work Injury Incident Submission Reminder - IMF/TTK/COI/III/26/00044


Sending WhatsApp Notification for workplace injury incident to User: 2884


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


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


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


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


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


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


### Ended processing  Whatsapp Notification Execution ###


### End Event Execution ###


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


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


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


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


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


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


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


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


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


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


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