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


# Incident Attachments Count: 0#


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


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


Executing sending push notification to the reviewer


# Preparing notification body #


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


# string body 12-Mar-2026, Rajkumar Pativada, P/APR/abd/ABHITR/BL/26/00001, udhdu.


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

Rajkumar Pativada has added comment on the permit to work(UID: P/APR/abd/ABHITR/BL/26/00001). The comment: udhdu.


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


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


# Calling SendKpiMasterCreatedNotification for email #


[2026-03-12 08:04:55] Executing KPI Master Created notifications (email)


[DELAY-START] rajkumar.p@osmosys.co at 08:04:55


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


# Calling SendKpiMasterUpdatedNotification for email #


[2026-03-12 08:05:09] Executing KPI Master Updated notifications (email)


[DELAY-START] rajkumar.p@osmosys.co at 08:05:09


[DELAY-END] rajkumar.p@osmosys.co at 08:05:25


Sending KPI Master Created 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 KPI Master Created


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


--- Email response from Osmo-x is 201


[DELAY-START] srinivas.m@osmosys.co at 08:05:25


[DELAY-END] rajkumar.p@osmosys.co at 08:05:39


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


KPI Master Updated


[DELAY-START] srinivas.m@osmosys.co at 08:05:39


[DELAY-END] srinivas.m@osmosys.co at 08:05:55


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


New KPI Master Created

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


[DELAY-START] jatin.g@osmosys.co at 08:05:55


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


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


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


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


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


Initializing Email Service Client


Generating Email Request


New KPI Master Created


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


--- Email response from Osmo-x is 201


[DELAY-START] as9801233442@gmail.com at 08:06:35


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


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


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


Reading and binding data to Email Template


KPI Master Updated


[DELAY-START] as9801233442@gmail.com at 08:06:50


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


[DELAY-END] as9801233442@gmail.com at 08:07:05


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


Initializing Email Service Client


Generating Email Request


New KPI Master Created


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


--- Email response from Osmo-x is 201


[DELAY-START] lalit.a@osmosys.co at 08:07:05


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


[DELAY-END] as9801233442@gmail.com at 08:07:20


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


*--- 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] lalit.a@osmosys.co at 08:07:20


[DELAY-END] lalit.a@osmosys.co at 08:07:35


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


New KPI Master Created


[DELAY-START] paras.j@osmosys.co at 08:07:35


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


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


Message : {"EventName":"NOTIFICATION_FOR_INSPECTION_CREATION","EventArgs":[{"Key":"UserIds","Value":"[2815]"},{"Key":"InspectionUID","Value":"I/APS/AVA/P-C/26/00024"},{"Key":"Name","Value":"356"},{"Key":"Type","Value":"P&M - Chain Pulley Block Inspection Checklists"},{"Key":"Organisation","Value":"My Home Private LTD"},{"Key":"Site","Value":"Avali"},{"Key":"Department","Value":"EHS"},{"Key":"Asset","Value":"Task Check"},{"Key":"Status","Value":"Draft"},{"Key":"CreatedBy","Value":"Shobhitaa Barik"},{"Key":"CreatedOn","Value":"12-Mar-2026 01:52:40 PM"},{"Key":"OrganisationId","Value":297}]}


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


# Calling SendNotificationForInspectionCreation function for whatsapp and push notification #


Executing email notifications to Users about inspection creation


Sending Inspection creation email to user: gopi.s@osmosys.co


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


Reading and binding data to Email Template


Initializing Email Service Client


Generating Email Request


New Inspection Created: I/APS/AVA/P-C/26/00024


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


--- Email response from Osmo-x is 201


Executing sending notification to associated user through whatsapp


Sending notifications for inspection creation to associated user2815


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"916303513182","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"oqsha_inspection_template_v1","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"Gopi Krishna Somayajulu"},{"type":"text","text":"I/APS/AVA/P-C/26/00024"},{"type":"text","text":"356"},{"type":"text","text":"P&M - Chain Pulley Block Inspection Checklists"},{"type":"text","text":"My Home Private LTD"},{"type":"text","text":"Avali"},{"type":"text","text":"EHS"},{"type":"text","text":"Task Check"},{"type":"text","text":"Draft"},{"type":"text","text":"Shobhitaa Barik"},{"type":"text","text":"12-Mar-2026 01:52:40 PM"},{"type":"text","text":"Oqsha Team"}]}]}}}


Osmo-x WhatsApp Message has been Sent


### End Event Execution ###


### Start Event Execution ###


Message : {"EventName":"NOTIFICATION_TO_ISSUER","EventArgs":[{"Key":"PtwId","Value":3482},{"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/CH/26/00001"},{"Key":"JobType","Value":"Check Work For 27th June"},{"Key":"StatusChangeByUserDisplayName","Value":"Rajkumar Pativada"},{"Key":"RequestedOnTime","Value":"12-Mar-2026 01:53:48 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 3482


Executing sending push notification to the issuers


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


# Preparing notification body #


# Checking for device existence #


# User device exists #


Sending notification for permit to work: 3482


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/CH/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: 3482


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 #


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Test/b0f00c04-4123-332e-a2b4-e0565c577de5


Push notification was sent to device with id 5787.


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


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


[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/00149


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


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


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


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


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


Initializing Email Service Client


Generating Email Request


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


--- 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/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"}]}]}}}


# 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"}]}]}}}


Osmo-x WhatsApp Message has been Sent


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


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


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


### End Event Execution ###


### Start Event Execution ###


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


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


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"}]}]}}}


# 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


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


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


*--- 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/00178


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


--- Email response from Osmo-x is 201


# 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


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


[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/TCL/25/00024#


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


Initializing Email Service Client


Generating Email Request


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


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


--- Email response from Osmo-x is 201


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


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


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


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"}]}]}}}


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


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


Reading and binding data to Email Template


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


[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


### End Event Execution ###


### Start Event Execution ###


# 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


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


[SafetyAlertEscalation] WhatsApp sent successfully to 919989248964


### Ended processing Safety Alert Escalation 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/00196#


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


[SafetyAlertEscalation] Sending email to Abhinav Srivastava


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


Reading and binding data to Email Template


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


[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


### End Event Execution ###


### Start Event Execution ###


# 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


Initializing Email Service Client


Generating Email Request


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


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


[SafetyAlertEscalation] WhatsApp sent successfully to 919989248964


### Ended processing Safety Alert Escalation 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/00163#


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


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


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


### End Event Execution ###


### Start Event Execution ###


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


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


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


Reading and binding data to Email Template


Initializing Email Service Client


Generating Email Request


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


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


--- Email response from Osmo-x is 201


# 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


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


Message : {"EventName":"NOTIFICATION_TO_REVIEWER_APPROVER","EventArgs":[{"Key":"PtwId","Value":3482},{"Key":"OrganisationId","Value":310},{"Key":"JobType","Value":"Check Work For 27th June"},{"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 01:58:52 PM"},{"Key":"PermitToWorkUID","Value":"P/APR/abd/ABHITR/CH/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 3482


# Preparing notification body #


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


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


# Checking for device existence #


# User device exists #


Sending notification for permit to work: 3482


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


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


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


Message : {"EventName":"NOTIFICATION_TO_REVIEWER_APPROVER","EventArgs":[{"Key":"PtwId","Value":3482},{"Key":"OrganisationId","Value":310},{"Key":"JobType","Value":"Check Work For 27th June"},{"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 02:02:05 PM"},{"Key":"PermitToWorkUID","Value":"P/APR/abd/ABHITR/CH/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 3482


# Preparing notification body #


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


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


# Checking for device existence #


# User device exists #


Sending notification for permit to work: 3482


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.


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


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


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


Reading and binding data to Email Template


Initializing Email Service Client


Generating Email Request


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


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


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


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


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


Initializing Email Service Client


Generating Email Request


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


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


--- Email response from Osmo-x is 201


# 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


Osmo-x WhatsApp Message has been Sent


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


Message : {"EventName":"ASSIGNED_TO_NOTIFICATION","EventArgs":[{"Key":"AssignedIncidentID","Value":48058},{"Key":"AssignedToID","Value":1}]}


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


### Started processing Assigned to Notification Event ###


# Calling SendNotificationToAssignedId function for all types of assigned to notification #


Generating report.


PDF generation successfull


## Sending email to Rajkumar Pativada, UserId : 1 for assigned to notification ##


Sending Assigned To Email for IncidentId:48058


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


Reading and binding data to Email Template


Initializing Email Service Client


Generating Email Request


A Ticket T/APS/BBB/26/00031 is assigned to you related to 'Blasts'


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


--- Email response from Osmo-x is 201


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


Sending Assigned To Whatsapp for IncidentId:48058


Osmo-x WhatsApp Message has been Sent


# Preparing notification body #


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


### End Event Execution ###


### Start Event Execution ###


Message : {"EventName":"NOTIFICATION_TO_ISSUER","EventArgs":[{"Key":"PtwId","Value":3484},{"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/CH/26/00002"},{"Key":"JobType","Value":"Check Work For 27th June"},{"Key":"StatusChangeByUserDisplayName","Value":"Rajkumar Pativada"},{"Key":"RequestedOnTime","Value":"12-Mar-2026 02:27:43 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 3484


Executing sending push notification to the issuers


# Push Subject for Issuer P/APR/abd/3221SA/CH/26/00002


# Checking for device existence #


# User device exists #


Sending notification for permit to work: 3484


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/CH/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.


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


Executing sending push notification to the reviewer


# Preparing notification body #


# Push Subject for Issuer P/APR/abd/3221SA/CH/26/00002


# string body 12-Mar-2026, Rajkumar Pativada, P/APR/abd/3221SA/CH/26/00002, hiii.


# Checking for device existence #


# User device exists #


Sending notification for permit to work: 3484


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


Rajkumar Pativada has added comment on the permit to work(UID: P/APR/abd/3221SA/CH/26/00002). The comment: hiii.


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


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


Message : {"EventName":"NOTIFICATION_TO_REVIEWER_APPROVER","EventArgs":[{"Key":"PtwId","Value":3484},{"Key":"OrganisationId","Value":310},{"Key":"JobType","Value":"Check Work For 27th June"},{"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 02:28:36 PM"},{"Key":"PermitToWorkUID","Value":"P/APR/abd/3221SA/CH/26/00002"},{"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 3484


# Preparing notification body #


# Push Subject P/APR/abd/3221SA/CH/26/00002


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


# Checking for device existence #


# User device exists #


Sending notification for permit to work: 3484


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


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


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 #


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.


Object reference not set to an instance of an object.


### End Event Execution ###


### Start Event Execution ###


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


### Started processing for Notification Execution ###


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


### Started processing  Email Notification Execution ###


#  Added Email Notification of IncidentUID: R9W1AE#


# Incident Attachments Count: 0#


#  Added Email Notification of IncidentUID: S47LRT#


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


# Calling  SendCronEmail function for  email notification #


# Fetching details from escalate_cron table for escalate_cron id 12007 #


# Retry Count of the CronId: 12007 is 0


Generating report.


Logging user id - 83


# Fetching details from escalate_cron table for escalate_cron id 12013 #


# Retry Count of the CronId: 12013 is 0


# Fetching details from escalate_cron table for escalate_cron id 22555 #


# Retry Count of the CronId: 22555 is 0


### Ended processing  Email Notification Execution ###


### Started processing  Whatsapp Notification Execution ###


#  Added  WhatsApp Notification of IncidentUID: R9W1AE#


#  Added  WhatsApp Notification of IncidentUID: S47LRT#


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


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


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