--- 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":72258},{"Key":"AssignedToID","Value":4206}]}


### 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 Deonta Soukup, UserId : 4206 for assigned to notification ##


Sending Assigned To Email for IncidentId:72258


*--- 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/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:72258


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912222222222","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"oqsha_assigned_to_whatsapp_template_v3","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"Deonta Soukup"},{"type":"text","text":"Safety Alert"},{"type":"text","text":"T/KURA/NMM/26/00001"},{"type":"text","text":"Test SA flow"},{"type":"text","text":"Morgan's Point Resort"},{"type":"text","text":"Near Miss"},{"type":"text","text":"Deonta Soukup"},{"type":"text","text":"Kura Oncology Inc."},{"type":"text","text":"Open"},{"type":"text","text":"https://oqsha.com/#/incidents/view/258/72258?dlType=viewTicket"},{"type":"text","text":"Oqsha Team"}]}]}}}


Osmo-x WhatsApp Message has been Sent


# Preparing notification body #


# Checking for device existence #


# User device exists #


Sending Assigned To Notification for IncidentId:72258


Inside SendAppNotification Device Type: GCM


Generating AWS SNS Request


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/7fc790c8-4b23-3710-ab71-38def8e99dc1


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


# Push notification did not send #


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


### End Event Execution ###


### Start Event Execution ###


Message : {"EventName":"UPDATE_INCIDENT_NOTIFICATION","EventArgs":[{"Key":"IncidentId","Value":72258},{"Key":"IncidentHistoryId","Value":90303},{"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:72258


Initializing Email Service Client


Generating Email Request


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


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


--- Email response from Osmo-x is 201


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912222222222","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":"Deonta Soukup"},{"type":"text","text":"Safety Alert"},{"type":"text","text":"T/KURA/NMM/26/00001"},{"type":"text","text":"Safety Alert status updated to Resolved., Comments are added as resolving"},{"type":"text","text":"Safety Alert"},{"type":"text","text":"Test SA flow"},{"type":"text","text":"Morgan's Point Resort"},{"type":"text","text":"Near Miss"},{"type":"text","text":"Deonta Soukup"},{"type":"text","text":"Kura Oncology Inc."},{"type":"text","text":"Resolved"},{"type":"text","text":"https://oqsha.com/#/incidents/view/258/72258?dlType=viewTicket"},{"type":"text","text":"Oqsha Team"}]}]}}}


Osmo-x WhatsApp Message has been Sent


# Preparing notification body #


### Ended processing Update incident Event ###


Message : {"EventName":"ALTERNATIVE_INCIDENT_NOTIFICATION","EventArgs":[{"Key":"IncidentId","Value":72258},{"Key":"IncidentStatus","Value":"Resolved"}]}


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


### Started processing for Alternative incident notification Event ###


Sending Inform-To Update WhatsApp for IncidentId:72258


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912222222223","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":"Giselle Angle"},{"type":"text","text":"Safety Alert"},{"type":"text","text":"T/KURA/NMM/26/00001"},{"type":"text","text":"Safety Alert is Resolved"},{"type":"text","text":"Safety Alert"},{"type":"text","text":"Test SA flow"},{"type":"text","text":"Morgan's Point Resort"},{"type":"text","text":"Near Miss"},{"type":"text","text":"Deonta Soukup"},{"type":"text","text":"Kura Oncology Inc."},{"type":"text","text":"Resolved"},{"type":"text","text":"https://oqsha.com/#/incidents/view/258/72258?dlType=viewTicket"},{"type":"text","text":"Oqsha Team"}]}]}}}


Sending Alternative notification Email for IncidentId:72258


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


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


--- Email response from Osmo-x is 201


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912222222222","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":"Deonta Soukup"},{"type":"text","text":"Safety Alert"},{"type":"text","text":"T/KURA/NMM/26/00001"},{"type":"text","text":"Safety Alert is Resolved"},{"type":"text","text":"Safety Alert"},{"type":"text","text":"Test SA flow"},{"type":"text","text":"Morgan's Point Resort"},{"type":"text","text":"Near Miss"},{"type":"text","text":"Deonta Soukup"},{"type":"text","text":"Kura Oncology Inc."},{"type":"text","text":"Resolved"},{"type":"text","text":"https://oqsha.com/#/incidents/view/258/72258?dlType=viewTicket"},{"type":"text","text":"Oqsha Team"}]}]}}}


Osmo-x WhatsApp Message has been Sent


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000007341","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":"Sincere Kidwell"},{"type":"text","text":"Safety Alert"},{"type":"text","text":"T/KURA/NMM/26/00001"},{"type":"text","text":"Safety Alert is Resolved"},{"type":"text","text":"Safety Alert"},{"type":"text","text":"Test SA flow"},{"type":"text","text":"Morgan's Point Resort"},{"type":"text","text":"Near Miss"},{"type":"text","text":"Deonta Soukup"},{"type":"text","text":"Kura Oncology Inc."},{"type":"text","text":"Resolved"},{"type":"text","text":"https://oqsha.com/#/incidents/view/258/72258?dlType=viewTicket"},{"type":"text","text":"Oqsha Team"}]}]}}}


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


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000005487","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":"Gary Bhatia"},{"type":"text","text":"Safety Alert"},{"type":"text","text":"T/KURA/NMM/26/00001"},{"type":"text","text":"Safety Alert is Resolved"},{"type":"text","text":"Safety Alert"},{"type":"text","text":"Test SA flow"},{"type":"text","text":"Morgan's Point Resort"},{"type":"text","text":"Near Miss"},{"type":"text","text":"Deonta Soukup"},{"type":"text","text":"Kura Oncology Inc."},{"type":"text","text":"Resolved"},{"type":"text","text":"https://oqsha.com/#/incidents/view/258/72258?dlType=viewTicket"},{"type":"text","text":"Oqsha Team"}]}]}}}


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000008503","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":"Judge Tenorio"},{"type":"text","text":"Safety Alert"},{"type":"text","text":"T/KURA/NMM/26/00001"},{"type":"text","text":"Safety Alert is Resolved"},{"type":"text","text":"Safety Alert"},{"type":"text","text":"Test SA flow"},{"type":"text","text":"Morgan's Point Resort"},{"type":"text","text":"Near Miss"},{"type":"text","text":"Deonta Soukup"},{"type":"text","text":"Kura Oncology Inc."},{"type":"text","text":"Resolved"},{"type":"text","text":"https://oqsha.com/#/incidents/view/258/72258?dlType=viewTicket"},{"type":"text","text":"Oqsha Team"}]}]}}}


### Ended processing Alternative incident notification Event ###


### End Event Execution ###


### Start Event Execution ###


Message : {"EventName":"UPDATE_INCIDENT_NOTIFICATION","EventArgs":[{"Key":"IncidentId","Value":72258},{"Key":"IncidentHistoryId","Value":90304},{"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:72258


Initializing Email Service Client


Generating Email Request


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


--- Email response from Osmo-x is 201


Sending Assigned To Whatsapp for IncidentId:72258


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912222222222","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":"Deonta Soukup"},{"type":"text","text":"Safety Alert"},{"type":"text","text":"T/KURA/NMM/26/00001"},{"type":"text","text":"Safety Alert status updated to Closed., Comments are added as closed"},{"type":"text","text":"Safety Alert"},{"type":"text","text":"Test SA flow"},{"type":"text","text":"Morgan's Point Resort"},{"type":"text","text":"Near Miss"},{"type":"text","text":"Deonta Soukup"},{"type":"text","text":"Kura Oncology Inc."},{"type":"text","text":"Closed"},{"type":"text","text":"https://oqsha.com/#/incidents/view/258/72258?dlType=viewTicket"},{"type":"text","text":"Oqsha Team"}]}]}}}


Osmo-x WhatsApp Message has been Sent


# Preparing notification body #


### Ended processing Update incident Event ###


Message : {"EventName":"ALTERNATIVE_INCIDENT_NOTIFICATION","EventArgs":[{"Key":"IncidentId","Value":72258},{"Key":"IncidentStatus","Value":""}]}


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


### Started processing for Alternative incident notification Event ###


### End Event Execution ###


### Start Event Execution ###


Message : {"EventName":"INFORM_TO_INCIDENT_CREATION_NOTIFICATION","EventArgs":[{"Key":"IncidentId","Value":72259},{"Key":"InformToUserId","Value":678}]}


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


Generating Safety Alert report.


## Safety Alert Email Sent to Giselle Angle##


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


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


Reading and binding data to Email Template


Initializing Email Service Client


Generating Email Request


Safety Alert T/KURA/OOO/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":"INFORM_TO_INCIDENT_CREATION_NOTIFICATION","EventArgs":[{"Key":"IncidentId","Value":72259},{"Key":"InformToUserId","Value":881}]}


Osmo-x WhatsApp Message has been Sent


## Safety Alert Email Sent to Sincere Kidwell##


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


Generating Safety Alert report.


## Safety Alert Email Sent to Judge Tenorio##