#  Added Email Notification of IncidentUID: S47LRT#


# Incident Attachments Count: 0#


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


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


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


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


# Calling  SendNotification function for  all types of notification #


Sending Email for IncidentId:47966


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


Reading and binding data to Email Template


Initializing Email Service Client


Generating Email Request


Safety Alert T/TTK/NMM/26/00019 has been updated


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


--- Email response from Osmo-x is 201


Sending Assigned To Whatsapp for IncidentId:47966


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"919160948627","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"oqsha_ticket_update_whatsapp_template_v4","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"Rajkumar Pativada"},{"type":"text","text":"Safety Alert"},{"type":"text","text":"T/TTK/NMM/26/00019"},{"type":"text","text":"Safety Alert status updated to Rejected"},{"type":"text","text":"Safety Alert"},{"type":"text","text":" "},{"type":"text","text":"Hosur"},{"type":"text","text":"Near Misses"},{"type":"text","text":"Rajkumar Pativada"},{"type":"text","text":"TTK Beta - QA"},{"type":"text","text":"Rejected"},{"type":"text","text":"https://qa-staging-2.oqsha.com/#/incidents/view/387/47966?dlType=viewTicket"},{"type":"text","text":"EHS Department - TTK Prestige"}]}]}}}


Osmo-x WhatsApp Message has been Sent


# Preparing notification body #


# Checking for device existence #


# User device exists #


Sending Assigned To Notification for IncidentId:47966


Inside SendAppNotification Device Type: GCM


Generating AWS SNS Request


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Test/4acf3299-2ea0-3eb6-82ae-2b56841b0e25


Ticket has been updated. Check the following comments T/TTK/NMM/26/00019

Ticket Safety Alert status updated to Rejected


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


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


Push notification was sent to device with id 5757.


# Push notification sent #


### Ended processing Update incident Event ###


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


# Calling SendNotificationToTaskAssignees function for WhatsApp notification #


Sending WhatsApp notification for task assignment to user ID: 6636


Osmo-x WhatsApp Message has been Sent


Sending Task Assignment Email for TaskId: 9769, UserId: 6636


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


Reading and binding data to Email Template


Initializing Email Service Client


Generating Email Request


New Task Assigned - AT/FBYDW/ROO/PSR/26/00006

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


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


--- Email response from Osmo-x is 201


Message : {"EventName":"TASK_CLOSURE_NOTIFICATION_VALIDATION_1","EventArgs":[{"Key":"TaskId","Value":9769},{"Key":"OrgId","Value":248}]}


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


### Started processing for Task Closure Validation Level 1 Event ###


System.NullReferenceException: Object reference not set to an instance of an object.
   at IncidentReporter.NotificationSender.DAL.Events.Notifier.SendTaskClosureNotification(Int64 taskId, Int64 orgId, Int32 validationLevel) in C:\GitLab-Runner\builds\27n6lYj0J\0\incident-reporter\incident-reporter-api\IncidentReporter\IncidentReporter.NotificationSender\DAL\Events\Notifier.cs:line 10542
   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 1388


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


# Calling SendNotificationToTaskAssignees function for WhatsApp notification #


Sending WhatsApp notification for task assignment to user ID: 6636


Osmo-x WhatsApp Message has been Sent


Sending Task Assignment Email for TaskId: 9771, UserId: 6636


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


Reading and binding data to Email Template


Initializing Email Service Client


Generating Email Request


New Task Assigned - AT/FBYDW/ROO/PSR/26/00008


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


--- Email response from Osmo-x is 201


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


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


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


# Calling SendNotificationToTaskAssignees function for WhatsApp notification #


Sending WhatsApp notification for task assignment to user ID: 1


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"919160948627","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"oqsha_task_assigned_to_notification_v4","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"Rajkumar Pativada"},{"type":"text","text":"Action Tracker"},{"type":"text","text":"AT/TTK/COI/PSR/26/00024"},{"type":"text","text":"Replacement of the total machine procurement."},{"type":"text","text":"PSSR"},{"type":"text","text":"https://qa-staging-2.oqsha.com/#/tasks/edit/24502?dlType=viewTask&orgID=387"},{"type":"text","text":"EHS Department - TTK Prestige"}]}]}}}


Osmo-x WhatsApp Message has been Sent


Sending Task Assignment Email for TaskId: 24502, UserId: 1


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


Reading and binding data to Email Template


Initializing Email Service Client


Generating Email Request


New Action Tracker Assigned - AT/TTK/COI/PSR/26/00024


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


--- Email response from Osmo-x is 201


Sending Task Assignment Email for TaskId: 24503, UserId: 1


New Action Tracker Assigned - AT/TTK/COI/PSR/26/00025


### End Event Execution ###


### Start Event Execution ###


Message : {"EventName":"TASK_CLOSURE_NOTIFICATION_VALIDATION_1","EventArgs":[{"Key":"TaskId","Value":24502},{"Key":"OrgId","Value":387}]}


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


### Started processing for Task Closure Validation Level 1 Event ###


## Sending notification to Site EHS user ##


## Notification to be send for these users: [2764,1597]


Sending WhatsApp notification for task closure validation to user ID: 2764


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"917717731269","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"oqsha_task_closure_validation_v5","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"Shreya V"},{"type":"text","text":"Action Tracker"},{"type":"text","text":"AT/TTK/COI/PSR/26/00024"},{"type":"text","text":"Replacement of the total machine procurement."},{"type":"text","text":"PSSR"},{"type":"text","text":"https://qa-staging-2.oqsha.com/#/tasks/edit/24502?dlType=viewTask&orgID=387"},{"type":"text","text":"EHS Department - TTK Prestige"}]}]}}}


Osmo-x WhatsApp Message has been Sent


## Sending email to Shreya V, UserId : 2764 for Task Closure Validation notification ##


Sending Incident Closure Validation Email for TaskId:24502


Initializing Email Service Client


Generating Email Request


Action Validation – Level 1


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


--- Email response from Osmo-x is 201


System.NullReferenceException: Object reference not set to an instance of an object.
   at IncidentReporter.NotificationSender.DAL.Events.Notifier.SendTaskClosureNotification(Int64 taskId, Int64 orgId, Int32 validationLevel) in C:\GitLab-Runner\builds\27n6lYj0J\0\incident-reporter\incident-reporter-api\IncidentReporter\IncidentReporter.NotificationSender\DAL\Events\Notifier.cs:line 10577
   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 1388


### End Event Execution ###


### Start Event Execution ###


Message : {"EventName":"TASK_CLOSURE_NOTIFICATION_VALIDATION_1","EventArgs":[{"Key":"TaskId","Value":24503},{"Key":"OrgId","Value":387}]}


Sending Incident Closure Validation Email for TaskId:24503


### 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":"SUPERVISOR_ALERT_WORKPLACE_INJURY_INCIDENT","EventArgs":[{"Key":"UserId","Value":"2815"},{"Key":"OrgId","Value":"387"},{"Key":"IncidentId","Value":"1541"}]}


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


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


Executing email alert to supervisor about the Workplace injury incident


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


Reading and binding data to Email Template


Initializing Email Service Client


Generating Email Request


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


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


--- Email response from Osmo-x is 201


Executing whatsapp alert to supervisor about the Workplace injury incident


Sending WhatsApp Notification for workplace injury incident to User: 2815


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


Osmo-x WhatsApp Message has been Sent


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


### End Event Execution ###


### Start Event Execution ###


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


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


Sending WhatsApp Notification for workplace injury incident to User: 2884


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


# Calling SendNotificationToIssuerForCreatingPermitToWork function for whatsapp and push notification #


Executing sending notification to issuers through whatsapp


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


# Calling SendNotificationToTaskAssignees function for WhatsApp notification #


Sending WhatsApp notification for task assignment to user ID: 1


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"919160948627","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"oqsha_task_assigned_to_notification_v4","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"Rajkumar Pativada"},{"type":"text","text":"Action Tracker"},{"type":"text","text":"AT/TTK/COI/PSR/26/00024"},{"type":"text","text":"Replacement of the total machine procurement."},{"type":"text","text":"PSSR"},{"type":"text","text":"https://qa-staging-2.oqsha.com/#/tasks/edit/24502?dlType=viewTask&orgID=387"},{"type":"text","text":"EHS Department - TTK Prestige"}]}]}}}


Osmo-x WhatsApp Message has been Sent


Sending Task Assignment Email for TaskId: 24502, UserId: 1


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


Reading and binding data to Email Template


Initializing Email Service Client


Generating Email Request


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


--- Email response from Osmo-x is 201


### End Event Execution ###


### Start Event Execution ###


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


# Calling SendNotificationToEitherReviewerOrApprover function for  whatsapp and push notification #


Starting Execution for whatsapp notification for users


Executing sending notification to users through whatsapp


System.NullReferenceException: Object reference not set to an instance of an object.
   at IncidentReporter.NotificationSender.DAL.Events.Notifier.SendNotificationToEitherReviewerOrApprover(Int64 ptwId, Int64 orgId, String stringUserIds, String workPermitStatus, String jobType, String statusChangeUserDisplayName, String permitToWorkUId, String startDate, String statusChangedTime, String workLocation, String assignToUserDisplayName, String nextStatus, String siteName, String modeOfNotifications, String customStatusJson, String companyUsersEmails) in C:\GitLab-Runner\builds\27n6lYj0J\0\incident-reporter\incident-reporter-api\IncidentReporter\IncidentReporter.NotificationSender\DAL\Events\Notifier.cs:line 3893
   at IncidentReporter.NotificationSender.DAL.Events.EventHandler.HandleMessage(IMessage message) in C:\GitLab-Runner\builds\27n6lYj0J\0\incident-reporter\incident-reporter-api\IncidentReporter\IncidentReporter.NotificationSender\DAL\Events\EventHandler.cs:line 539


Message : {"EventName":"TASK_CLOSURE_NOTIFICATION_VALIDATION_1","EventArgs":[{"Key":"TaskId","Value":24502},{"Key":"OrgId","Value":387}]}


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


### Started processing for Task Closure Validation Level 1 Event ###


## Sending notification to Site EHS user ##


## Notification to be send for these users: [2764,1597]


Sending WhatsApp notification for task closure validation to user ID: 2764


Osmo-x WhatsApp payload: {"providerId":11,"data":{"to":"917717731269","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"oqsha_task_closure_validation_v5","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"Shreya V"},{"type":"text","text":"Action Tracker"},{"type":"text","text":"AT/TTK/COI/PSR/26/00024"},{"type":"text","text":"Replacement of the total machine procurement."},{"type":"text","text":"PSSR"},{"type":"text","text":"https://qa-staging-2.oqsha.com/#/tasks/edit/24502?dlType=viewTask&orgID=387"},{"type":"text","text":"EHS Department - TTK Prestige"}]}]}}}


Osmo-x WhatsApp Message has been Sent


## Sending email to Shreya V, UserId : 2764 for Task Closure Validation notification ##


Sending Incident Closure Validation Email for TaskId:24502


Initializing Email Service Client


Generating Email Request


Action Validation – Level 1


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


--- Email response from Osmo-x is 201


### End Event Execution ###


### Start Event Execution ###


Message : {"EventName":"Update_USER","EventArgs":[{"Key":"DisplayName","Value":"Shreya V"},{"Key":"Password","Value":""},{"Key":"OrganisationName","Value":"TTK Beta - QA"},{"Key":"UserDivisions","Value":"HSE Suggestion, Ladder cleaning, Near Misses, nkkl, testing cat"},{"Key":"UserIncidentSites","Value":"Coimbatore"},{"Key":"OldEmail","Value":""},{"Key":"Email","Value":"shreya.v@osmosys.co"}]}


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


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


Calling Send Email Function for Update User Email


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


Reading and binding data to Email Template


Your OQSHA Access Has Been Updated


Message : {"EventName":"Update_APP_USER","EventArgs":[{"Key":"DisplayName","Value":"Shreya V"},{"Key":"Password","Value":""},{"Key":"OrganisationName","Value":"TTK Beta - QA"},{"Key":"UserUid","Value":"7717731269"},{"Key":"UserDivisions","Value":"HSE Suggestion, Ladder cleaning, Near Misses, nkkl, testing cat"},{"Key":"UserIncidentSites","Value":"Coimbatore"},{"Key":"Email","Value":"shreya.v@osmosys.co"},{"Key":"MobileNumber","Value":"+917717731269"}]}


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


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


Initializing Email Service Client


Generating Email Request


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


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


# Calling SendNotificationToAllExceptReviewer function for whatsapp and push notification #


User Ids for notification: [1779,2552,4258,5295,5386]


Starting Execution for whatsapp notification for all


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


### Started processing for Notification Execution ###


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


### Started processing  Email Notification Execution ###


#  Added Email Notification of IncidentUID: R9W1AE#


# Incident Attachments Count: 0#


#  Added Email Notification of IncidentUID: S47LRT#


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


# Calling  SendCronEmail function for  email notification #


# Fetching details from escalate_cron table for escalate_cron id 12007 #


# Retry Count of the CronId: 12007 is 0


Generating report.


Logging user id - 83


# Fetching details from escalate_cron table for escalate_cron id 12013 #


# Retry Count of the CronId: 12013 is 0


# Fetching details from escalate_cron table for escalate_cron id 22555 #


# Retry Count of the CronId: 22555 is 0


### Ended processing  Email Notification Execution ###


### Started processing  Whatsapp Notification Execution ###


#  Added  WhatsApp Notification of IncidentUID: R9W1AE#


#  Added  WhatsApp Notification of IncidentUID: S47LRT#


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


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


# Calling SendNotificationToIssuersForExtensionPTW function for whatsapp and push notification #


Executing sending notification to issuers for extended PTW through whatsapp


### Started process for Execution of Event : 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 : INFORM_TO_USERS_FOR_HIRA_CREATION_ALL_SITES ###


# Calling SendNotificationToInformUsersForHiraCreationForAllSites function for email/WhatsApp #


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


Reading and binding data to Email Template


Initializing Email Service Client


Generating Email Request


A new Risk Assessment has been created


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


--- Email response from Osmo-x is 201


Osmo-x WhatsApp Message has been Sent


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


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


Message : {"EventName":"AUDIT_CREATION_NOTIFICATION","EventArgs":[{"Key":"AuditorsUserIds","Value":"[2130]"},{"Key":"AuditId","Value":"725"},{"Key":"OrgId","Value":"297"}]}


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


### Started processing for Audit Creation Event ###


Using org-specific template for Org 297: Templates\OrgTemplates\297\Templates\AuditCreationEmailTemplate.html


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


Reading and binding data to Email Template


Initializing Email Service Client


Generating Email Request


An Audit has been Scheduled for Apas


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


--- Email response from Osmo-x is 201


RequestBody: {  "providerId": 11,  "data": {    "to": "919528337693",    "messaging_product": "whatsapp",    "type": "template",    "template": {        "namespace": "d8bcb6bd_2ab2_439c_9d9e_947501266c77",        "name": "oqsha_audit_creation_template_v1",        "language": {            "code": "en",            "policy": "deterministic"        },        "components": [{"type":"body","parameters":[{"type":"text","text":"A/APS/APP/HCA/26/00041","image":null,"document":null,"video":null},{"type":"text","text":"334455","image":null,"document":null,"video":null},{"type":"text","text":"03-Mar-2026 05:02:57 PM","image":null,"document":null,"video":null},{"type":"text","text":"https://qa-staging-2.oqsha.com/#/audit/edit-audit/297/725","image":null,"document":null,"video":null},{"type":"text","text":"Oqsha Team","image":null,"document":null,"video":null}]}]    }   }}


Osmo-x WhatsApp Message has been Sent


RequestBody: {  "providerId": 11,  "data": {    "to": "8585967815",    "messaging_product": "whatsapp",    "type": "template",    "template": {        "namespace": "d8bcb6bd_2ab2_439c_9d9e_947501266c77",        "name": "oqsha_audit_creation_template_v1",        "language": {            "code": "en",            "policy": "deterministic"        },        "components": [{"type":"body","parameters":[{"type":"text","text":"A/APS/APP/HCA/26/00041","image":null,"document":null,"video":null},{"type":"text","text":"334455","image":null,"document":null,"video":null},{"type":"text","text":"03-Mar-2026 05:02:57 PM","image":null,"document":null,"video":null},{"type":"text","text":"https://qa-staging-2.oqsha.com/#/audit/edit-audit/297/725","image":null,"document":null,"video":null},{"type":"text","text":"Oqsha Team","image":null,"document":null,"video":null}]}]    }   }}


RequestBody: {  "providerId": 11,  "data": {    "to": "91798507565",    "messaging_product": "whatsapp",    "type": "template",    "template": {        "namespace": "d8bcb6bd_2ab2_439c_9d9e_947501266c77",        "name": "oqsha_audit_creation_template_v1",        "language": {            "code": "en",            "policy": "deterministic"        },        "components": [{"type":"body","parameters":[{"type":"text","text":"A/APS/APP/HCA/26/00041","image":null,"document":null,"video":null},{"type":"text","text":"334455","image":null,"document":null,"video":null},{"type":"text","text":"03-Mar-2026 05:02:57 PM","image":null,"document":null,"video":null},{"type":"text","text":"https://qa-staging-2.oqsha.com/#/audit/edit-audit/297/725","image":null,"document":null,"video":null},{"type":"text","text":"Oqsha Team","image":null,"document":null,"video":null}]}]    }   }}


### Ended processing Investigation Creator Status Update Event ###


### 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":"AUDIT_CREATION_NOTIFICATION","EventArgs":[{"Key":"AuditorsUserIds","Value":"[1657]"},{"Key":"AuditId","Value":"726"},{"Key":"OrgId","Value":"297"}]}


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


### Started processing for Audit Creation Event ###


Using org-specific template for Org 297: Templates\OrgTemplates\297\Templates\AuditCreationEmailTemplate.html


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


Reading and binding data to Email Template


Initializing Email Service Client


Generating Email Request


An Audit has been Scheduled for Avali


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


--- Email response from Osmo-x is 201


RequestBody: {  "providerId": 11,  "data": {    "to": "919009008001",    "messaging_product": "whatsapp",    "type": "template",    "template": {        "namespace": "d8bcb6bd_2ab2_439c_9d9e_947501266c77",        "name": "oqsha_audit_creation_template_v1",        "language": {            "code": "en",            "policy": "deterministic"        },        "components": [{"type":"body","parameters":[{"type":"text","text":"A/APS/AVA/HCA/26/00001","image":null,"document":null,"video":null},{"type":"text","text":"6677","image":null,"document":null,"video":null},{"type":"text","text":"11-Mar-2026 05:02:57 PM","image":null,"document":null,"video":null},{"type":"text","text":"https://qa-staging-2.oqsha.com/#/audit/edit-audit/297/726","image":null,"document":null,"video":null},{"type":"text","text":"Oqsha Team","image":null,"document":null,"video":null}]}]    }   }}


Osmo-x WhatsApp Message has been Sent


RequestBody: {  "providerId": 11,  "data": {    "to": "919528337693",    "messaging_product": "whatsapp",    "type": "template",    "template": {        "namespace": "d8bcb6bd_2ab2_439c_9d9e_947501266c77",        "name": "oqsha_audit_creation_template_v1",        "language": {            "code": "en",            "policy": "deterministic"        },        "components": [{"type":"body","parameters":[{"type":"text","text":"A/APS/AVA/HCA/26/00001","image":null,"document":null,"video":null},{"type":"text","text":"6677","image":null,"document":null,"video":null},{"type":"text","text":"11-Mar-2026 05:02:57 PM","image":null,"document":null,"video":null},{"type":"text","text":"https://qa-staging-2.oqsha.com/#/audit/edit-audit/297/726","image":null,"document":null,"video":null},{"type":"text","text":"Oqsha Team","image":null,"document":null,"video":null}]}]    }   }}


RequestBody: {  "providerId": 11,  "data": {    "to": "91798507565",    "messaging_product": "whatsapp",    "type": "template",    "template": {        "namespace": "d8bcb6bd_2ab2_439c_9d9e_947501266c77",        "name": "oqsha_audit_creation_template_v1",        "language": {            "code": "en",            "policy": "deterministic"        },        "components": [{"type":"body","parameters":[{"type":"text","text":"A/APS/AVA/HCA/26/00001","image":null,"document":null,"video":null},{"type":"text","text":"6677","image":null,"document":null,"video":null},{"type":"text","text":"11-Mar-2026 05:02:57 PM","image":null,"document":null,"video":null},{"type":"text","text":"https://qa-staging-2.oqsha.com/#/audit/edit-audit/297/726","image":null,"document":null,"video":null},{"type":"text","text":"Oqsha Team","image":null,"document":null,"video":null}]}]    }   }}


### Ended processing Investigation Creator Status Update Event ###


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


### Started processing for Notification Execution ###


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


### Started processing  Email Notification Execution ###


#  Added Email Notification of IncidentUID: R9W1AE#


# Incident Attachments Count: 0#


#  Added Email Notification of IncidentUID: S47LRT#


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


# Calling  SendCronEmail function for  email notification #


# Fetching details from escalate_cron table for escalate_cron id 12007 #


# Retry Count of the CronId: 12007 is 0


Generating report.


Logging user id - 83


# Fetching details from escalate_cron table for escalate_cron id 12013 #


# Retry Count of the CronId: 12013 is 0


# Fetching details from escalate_cron table for escalate_cron id 22555 #


# Retry Count of the CronId: 22555 is 0


### Ended processing  Email Notification Execution ###


### Started processing  Whatsapp Notification Execution ###


#  Added  WhatsApp Notification of IncidentUID: R9W1AE#


#  Added  WhatsApp Notification of IncidentUID: S47LRT#


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


# Calling  SendCronWhatsAppNotifcations function for  whatsapp notification #


# Fetching details from escalate_cron table for escalate_cron id 12008 #


# Fetching details from escalate_cron table for escalate_cron id 12014 #


# Fetching details from escalate_cron table for escalate_cron id 22556 #


### Ended processing  Whatsapp Notification Execution ###


### End Event Execution ###


### Start Event Execution ###


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


### Started processing for Notification Execution ###


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


### Started processing  Email Notification Execution ###


#  Added Email Notification of IncidentUID: R9W1AE#


# Incident Attachments Count: 0#


#  Added Email Notification of IncidentUID: S47LRT#


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


# Calling  SendCronEmail function for  email notification #


# Fetching details from escalate_cron table for escalate_cron id 12007 #


# Retry Count of the CronId: 12007 is 0


Generating report.


Logging user id - 83


# Fetching details from escalate_cron table for escalate_cron id 12013 #


# Retry Count of the CronId: 12013 is 0


# Fetching details from escalate_cron table for escalate_cron id 22555 #


# Retry Count of the CronId: 22555 is 0


### Ended processing  Email Notification Execution ###


### Started processing  Whatsapp Notification Execution ###


#  Added  WhatsApp Notification of IncidentUID: R9W1AE#


#  Added  WhatsApp Notification of IncidentUID: S47LRT#


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


# Calling  SendCronWhatsAppNotifcations function for  whatsapp notification #


# Fetching details from escalate_cron table for escalate_cron id 12008 #


# Fetching details from escalate_cron table for escalate_cron id 12014 #


# Fetching details from escalate_cron table for escalate_cron id 22556 #


### Ended processing  Whatsapp Notification Execution ###


### End Event Execution ###


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


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


### Start Event Execution ###