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


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


### Start Event Execution ###


Message : {"EventName":"INFORM_TO_INCIDENT_CREATION_NOTIFICATION","EventArgs":[{"Key":"IncidentId","Value":77328},{"Key":"InformToUserId","Value":881}]}


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


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


Calling SendInformToNotification function for ticket creation


Sending Inform-To WhatsApp for IncidentId: 77328


Osmo-x WhatsApp Message has been Sent


Generating Safety Alert report.


Converted to byte file


## Safety Alert Email Sent to Sincere Kidwell##


Sending Inform-To Email (with Safety Alert PDF) for IncidentId: 77328


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


Reading and binding data to Email Template


Initializing Email Service Client


Generating Email Request


Safety Alert T/KURA/NMM/26/00001 has been created

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


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


--- Email response from Osmo-x is 201


Sending Inform-To Push Notification for IncidentId: 77328


Inside SendAppNotification Device Type: GCM


Generating AWS SNS Request


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/0ef0b50d-a47c-38a1-a5aa-766b702d1eaf


Unauthorized


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


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


Push notification failed to send to a device 23426.


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


### End Event Execution ###


### Start Event Execution ###


Message : {"EventName":"INFORM_TO_INCIDENT_CREATION_NOTIFICATION","EventArgs":[{"Key":"IncidentId","Value":77328},{"Key":"InformToUserId","Value":11167}]}


Osmo-x WhatsApp Message has been Sent


Generating Safety Alert report.


Converted to byte file


## Safety Alert Email Sent to Judge Tenorio##


Initializing Email Service Client


Generating Email Request


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


--- Email response from Osmo-x is 201


Message : {"EventName":"INFORM_TO_INCIDENT_CREATION_NOTIFICATION","EventArgs":[{"Key":"IncidentId","Value":77328},{"Key":"InformToUserId","Value":267}]}


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


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


Calling SendInformToNotification function for ticket creation


Sending Inform-To WhatsApp for IncidentId: 77328


## Safety Alert Email Sent to Hebert Eaton##


Sending Inform-To Email (with Safety Alert PDF) for IncidentId: 77328


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


Reading and binding data to Email Template


Sending Inform-To Push Notification for IncidentId: 77328


Inside SendAppNotification Device Type: APNS


Generating AWS SNS Request


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/APNS/Oqsha-IOS-Production/a98157d5-b8f3-3e5a-8d1d-4de9d8a8b25a


Unauthorized


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


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


Push notification failed to send to a device 23431.


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


### End Event Execution ###


### Start Event Execution ###


Message : {"EventName":"INFORM_TO_INCIDENT_CREATION_NOTIFICATION","EventArgs":[{"Key":"IncidentId","Value":77328},{"Key":"InformToUserId","Value":11165}]}


Osmo-x WhatsApp Message has been Sent


Generating Safety Alert report.


Converted to byte file


## Safety Alert Email Sent to Jakayla Pizano##


Initializing Email Service Client


Generating Email Request


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


--- Email response from Osmo-x is 201


Message : {"EventName":"INFORM_TO_INCIDENT_CREATION_NOTIFICATION","EventArgs":[{"Key":"IncidentId","Value":77328},{"Key":"InformToUserId","Value":11166}]}


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


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


Calling SendInformToNotification function for ticket creation


Sending Inform-To WhatsApp for IncidentId: 77328


## Safety Alert Email Sent to Quint Pizano##


Sending Inform-To Email (with Safety Alert PDF) for IncidentId: 77328


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


Reading and binding data to Email Template


Sending Inform-To Push Notification for IncidentId: 77328


Inside SendAppNotification Device Type: GCM


Generating AWS SNS Request


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/ba8eafe0-4805-3af4-b596-1e7c0ee698f5


Unauthorized


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


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


Push notification failed to send to a device 17171.


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


### End Event Execution ###


### Start Event Execution ###


Message : {"EventName":"ASSIGNED_TO_NOTIFICATION","EventArgs":[{"Key":"AssignedIncidentID","Value":77328},{"Key":"AssignedToID","Value":11161}]}


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


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


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


Generating report.


Converted to byte file


PDF generation successfull


## Sending email to Claudiu Hupp, UserId : 11161 for assigned to notification ##


Sending Assigned To Email for IncidentId:77328


Initializing Email Service Client


Generating Email Request


A Safety Alert T/KURA/NMM/26/00001 is assigned to you related to 'Near Miss'


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


--- Email response from Osmo-x is 201


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


Sending Assigned To Whatsapp for IncidentId:77328


Osmo-x WhatsApp Message has been Sent


# Preparing notification body #


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


### End Event Execution ###


### Start Event Execution ###


Message : {"EventName":"INFORM_TO_INCIDENT_CREATION_NOTIFICATION","EventArgs":[{"Key":"IncidentId","Value":77329},{"Key":"InformToUserId","Value":881}]}


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


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


Calling SendInformToNotification function for ticket creation


Sending Inform-To WhatsApp for IncidentId: 77329


Generating Safety Alert report.


Converted to byte file


## Safety Alert Email Sent to Sincere Kidwell##


Sending Inform-To Email (with Safety Alert PDF) for IncidentId: 77329


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


Reading and binding data to Email Template


Initializing Email Service Client


Generating Email Request


Safety Alert T/KURA/NMM/26/00002 has been created


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


--- Email response from Osmo-x is 201


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


### End Event Execution ###


### Start Event Execution ###


Message : {"EventName":"INFORM_TO_INCIDENT_CREATION_NOTIFICATION","EventArgs":[{"Key":"IncidentId","Value":77329},{"Key":"InformToUserId","Value":11167}]}


Osmo-x WhatsApp Message has been Sent


## Safety Alert Email Sent to Judge Tenorio##


Message : {"EventName":"INFORM_TO_INCIDENT_CREATION_NOTIFICATION","EventArgs":[{"Key":"IncidentId","Value":77329},{"Key":"InformToUserId","Value":267}]}


Generating Safety Alert report.


Converted to byte file


## Safety Alert Email Sent to Hebert Eaton##


Message : {"EventName":"INFORM_TO_INCIDENT_CREATION_NOTIFICATION","EventArgs":[{"Key":"IncidentId","Value":77329},{"Key":"InformToUserId","Value":11165}]}


## Safety Alert Email Sent to Jakayla Pizano##


Initializing Email Service Client


Generating Email Request


Message : {"EventName":"INFORM_TO_INCIDENT_CREATION_NOTIFICATION","EventArgs":[{"Key":"IncidentId","Value":77329},{"Key":"InformToUserId","Value":11166}]}


## Safety Alert Email Sent to Quint Pizano##


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


--- Email response from Osmo-x is 201


### End Event Execution ###


### Start Event Execution ###


Message : {"EventName":"ASSIGNED_TO_NOTIFICATION","EventArgs":[{"Key":"AssignedIncidentID","Value":77329},{"Key":"AssignedToID","Value":11161}]}


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


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


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


Generating report.


Converted to byte file


PDF generation successfull


## Sending email to Claudiu Hupp, UserId : 11161 for assigned to notification ##


Sending Assigned To Email for IncidentId:77329


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


Reading and binding data to Email Template


Initializing Email Service Client


Generating Email Request


A Safety Alert T/KURA/NMM/26/00002 is assigned to you related to 'Near Miss'


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


--- Email response from Osmo-x is 201


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


Sending Assigned To Whatsapp for IncidentId:77329


Osmo-x WhatsApp Message has been Sent


# Preparing notification body #


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


### End Event Execution ###


### Start Event Execution ###


Message : {"EventName":"INFORM_TO_INCIDENT_CREATION_NOTIFICATION","EventArgs":[{"Key":"IncidentId","Value":77330},{"Key":"InformToUserId","Value":881}]}


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


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


Calling SendInformToNotification function for ticket creation


Sending Inform-To WhatsApp for IncidentId: 77330


Generating Safety Alert report.


Converted to byte file


## Safety Alert Email Sent to Sincere Kidwell##


Sending Inform-To Email (with Safety Alert PDF) for IncidentId: 77330


Initializing Email Service Client


Generating Email Request


Safety Alert T/KURA/UAA/26/00001 has been created


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


--- Email response from Osmo-x is 201


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


### End Event Execution ###


### Start Event Execution ###


Message : {"EventName":"ASSIGNED_TO_NOTIFICATION","EventArgs":[{"Key":"AssignedIncidentID","Value":77330},{"Key":"AssignedToID","Value":881}]}


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


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


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


Generating report.


PDF generation successfull


## Sending email to Sincere Kidwell, UserId : 881 for assigned to notification ##


Sending Assigned To Email for IncidentId:77330


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


Reading and binding data to Email Template


Initializing Email Service Client


Generating Email Request


A Safety Alert T/KURA/UAA/26/00001 is assigned to you related to 'Unsafe Act'


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


--- Email response from Osmo-x is 201


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


Sending Assigned To Whatsapp for IncidentId:77330


Osmo-x WhatsApp Message has been Sent


# Preparing notification body #


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


### End Event Execution ###


### Start Event Execution ###


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


# Calling SendNotificationForWorkPermitCreation function for email/WhatsApp #


Executing email and WhatsApp notifications to WorkPermit approvers


Sending WorkPermit creation email to: TITAGARH_BHA_DH@oqsha.com


New Work Permit Assigned


Sending WorkPermit creation WhatsApp message to: 912222222221


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


# Calling SendDepartmentInchargeNotificationForWorkPermitCreation function for email/WhatsApp #


Initializing Email Service Client


Generating Email Request


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


--- Email response from Osmo-x is 201


Osmo-x WhatsApp Message has been Sent


# Preparing notification body #