level: Info

severity: INFO

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


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


message: ### Start Event Execution ###


message: Message : {"EventName":"UPDATE_INCIDENT_NOTIFICATION","EventArgs":[{"Key":"IncidentId","Value":75109},{"Key":"IncidentHistoryId","Value":100001},{"Key":"IsTicketAssigned","Value":false}]}


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


message: ### Started processing for Update incident Event ###


message: # Calling  SendNotification function for  all types of notification #


level: Debug

severity: DEBUG

message: Sending Email for IncidentId:75109


message: *--- Sending Email Serice Initiated ---*


message: Reading and binding data to Email Template


message: Initializing Email Service Client


message: Generating Email Request


from: "TTK DSMS" <ttk_dsms@oqsha.com>

subject: Safety Alert T/FBYDW/NMM/26/00003 has been updated

created_by: Oqsha Sandbox

updated_by: Oqsha Sandbox

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


message: --- Email created using Osmo-x ---


message: --- Email response from Osmo-x is 201


message: Sending Assigned To Whatsapp for IncidentId:75109


level: Warn

severity: WARN

message: Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000003104","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":"Cato Kwon"},{"type":"text","text":"Safety Alert"},{"type":"text","text":"T/FBYDW/NMM/26/00003"},{"type":"text","text":"Safety Alert status updated to Assigned., Comments are added as Re opening it since it needs proper resolution"},{"type":"text","text":"Safety Alert"},{"type":"text","text":"Demo"},{"type":"text","text":"Colver"},{"type":"text","text":"Near Misses"},{"type":"text","text":"Cato Kwon"},{"type":"text","text":"Falcon's Beyond Global Inc. Warrants"},{"type":"text","text":"Assigned"},{"type":"text","text":"https://oqsha.com/#/incidents/view/248/75109?dlType=viewTicket"},{"type":"text","text":"EHS Department - TTK Prestige Limited"}]}]}}}


message: Osmo-x WhatsApp Message has been Sent


message: # Preparing notification body #


message: ### Ended processing Update incident Event ###


message: ### End Event Execution ###


message: ### Start Event Execution ###


message: Message : {"EventName":"INCIDENT_REOPEN_NOTIFICATION","EventArgs":[{"Key":"IncidentId","Value":75109},{"Key":"ClosedById","Value":5889}]}


message: ### Started process for Execution of Event : INCIDENT_REOPEN_NOTIFICATION ###


message: ### Started processing for Incident Reopen Event ###


message: Generating report.


message: ## Sending email to Cato Kwon, UserId : 5889 for reopen notification ##


message: Sending Assigned To Email for IncidentId:75109


message: Initializing Email Service Client


message: Generating Email Request


subject: Safety Alert Reopened


message: --- Email created using Osmo-x ---


message: --- Email response from Osmo-x is 201


message: Sending Inform-To Update WhatsApp for IncidentId:75109


message: Osmo-x WhatsApp Message has been Sent


message: ### Ended processing Incident Reopen Event ###


message: Message : {"EventName":"ASSIGNED_TO_NOTIFICATION","EventArgs":[{"Key":"AssignedIncidentID","Value":75021},{"Key":"AssignedToID","Value":267}]}


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


message: ### Started processing Assigned to Notification Event ###


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


message: ### Ended processing Assigned to Notification Event ###


message: ### End Event Execution ###


message: ### Start Event Execution ###


message: Message : {"EventName":"UPDATE_INCIDENT_NOTIFICATION","EventArgs":[{"Key":"IncidentId","Value":75021},{"Key":"IncidentHistoryId","Value":100002},{"Key":"IsTicketAssigned","Value":true}]}


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


message: ### Started processing for Update incident Event ###


message: # Calling  SendNotification function for  all types of notification #


message: Sending Email for IncidentId:75021


message: *--- Sending Email Serice Initiated ---*


message: Reading and binding data to Email Template


message: Initializing Email Service Client


message: Generating Email Request


subject: Safety Alert FJ4K4I has been updated


message: --- Email created using Osmo-x ---


message: --- Email response from Osmo-x is 201


message: Sending Assigned To Whatsapp for IncidentId:75021


message: Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000002911","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":"Jillian Firth"},{"type":"text","text":"Safety Alert"},{"type":"text","text":"FJ4K4I"},{"type":"text","text":"Comments are added as re assigned"},{"type":"text","text":"Safety Alert"},{"type":"text","text":"No escape route of some emergency, so provide escape roure for station 4,5,6 side. we need lader tht side same as below images"},{"type":"text","text":"Washoe Valley"},{"type":"text","text":"Unsafe Condition"},{"type":"text","text":"Jillian Firth"},{"type":"text","text":"Falcon's Beyond Global Inc. Warrants"},{"type":"text","text":"Assigned"},{"type":"text","text":"https://oqsha.com/#/incidents/view/248/75021?dlType=viewTicket"},{"type":"text","text":"EHS Department - TTK Prestige Limited"}]}]}}}


message: Osmo-x WhatsApp Message has been Sent


message: # Preparing notification body #


message: ### Ended processing Update incident Event ###


message: ### End Event Execution ###


message: ### Start Event Execution ###


message: Message : {"EventName":"UPDATE_INCIDENT_NOTIFICATION","EventArgs":[{"Key":"IncidentId","Value":75021},{"Key":"IncidentHistoryId","Value":100003},{"Key":"IsTicketAssigned","Value":false}]}


message: Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000002911","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":"Jillian Firth"},{"type":"text","text":"Safety Alert"},{"type":"text","text":"FJ4K4I"},{"type":"text","text":"Safety Alert status updated to Resolved., Comments are added as Reslved"},{"type":"text","text":"Safety Alert"},{"type":"text","text":"No escape route of some emergency, so provide escape roure for station 4,5,6 side. we need lader tht side same as below images"},{"type":"text","text":"Washoe Valley"},{"type":"text","text":"Unsafe Condition"},{"type":"text","text":"Jillian Firth"},{"type":"text","text":"Falcon's Beyond Global Inc. Warrants"},{"type":"text","text":"Resolved"},{"type":"text","text":"https://oqsha.com/#/incidents/view/248/75021?dlType=viewTicket"},{"type":"text","text":"EHS Department - TTK Prestige Limited"}]}]}}}


message: Sending Email for IncidentId:75021


subject: Safety Alert FJ4K4I has been updated


message: Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000001875","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":"Hebert Eaton"},{"type":"text","text":"Safety Alert"},{"type":"text","text":"FJ4K4I"},{"type":"text","text":"Safety Alert status updated to Resolved., Comments are added as Reslved"},{"type":"text","text":"Safety Alert"},{"type":"text","text":"No escape route of some emergency, so provide escape roure for station 4,5,6 side. we need lader tht side same as below images"},{"type":"text","text":"Washoe Valley"},{"type":"text","text":"Unsafe Condition"},{"type":"text","text":"Jillian Firth"},{"type":"text","text":"Falcon's Beyond Global Inc. Warrants"},{"type":"text","text":"Resolved"},{"type":"text","text":"https://oqsha.com/#/incidents/view/248/75021?dlType=viewTicket"},{"type":"text","text":"EHS Department - TTK Prestige Limited"}]}]}}}


message: Message : {"EventName":"INCIDENT_CLOSURE_NOTIFICATION_VALIDATION_1","EventArgs":[{"Key":"IncidentId","Value":75021},{"Key":"ClosedById","Value":267}]}


message: ### Started process for Execution of Event : INCIDENT_CLOSURE_NOTIFICATION_VALIDATION_1 ###


message: ### Started processing for Incident Closure Validation Level 1 Event ###


message: Generating report.


message: ## Sending notification to Site EHS user ##


message: ## Notification to be send for these users: [5530]


message: ## Sending email to Curley Benedict, UserId : 5530 for Incident Closure Validation notification ##


message: ### Ended processing Incident Closure Validation Level 1 Event ###


level: Error

severity: ERROR

MethodName: UnhandledExceptionTrapper

EntryPoint: NotificationSender

stackTrace:
System.IO.FileLoadException: Could not load file or assembly 'AWSSDK.Core, Version=3.3.0.0, Culture=neutral, PublicKeyToken=885c28607f98e604' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)
File name: 'AWSSDK.Core, Version=3.3.0.0, Culture=neutral, PublicKeyToken=885c28607f98e604'
   at IncidentReporter.API.Helpers.AttachmentsHelper.S3Integration.UploadAndDeleteLocal(String localFilePath, String relativeDbPath)
   at IncidentReporter.API.Helpers.ExportIncidentPDFHelper.ExportIncidentPDFAsByteArray(IncidentDBO incident, String organisationBannerRelativePath, String ticketModuleCustomName, Boolean enableReportedByType) in C:\GitLab-Runner\builds\27n6lYj0J\0\incident-reporter\incident-reporter-api\IncidentReporter\IncidentReporter.API\Helpers\ExportIncidentPDFHelper.cs:line 648
   at IncidentReporter.NotificationSender.DAL.Events.Notifier.<SendIncidentClosureNotification>d__120.MoveNext() in C:\GitLab-Runner\builds\27n6lYj0J\0\incident-reporter\incident-reporter-api\IncidentReporter\IncidentReporter.NotificationSender\DAL\Events\Notifier.cs:line 9653
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.AsyncMethodBuilderCore.<>c.<ThrowAsync>b__6_1(Object state)
   at System.Threading.QueueUserWorkItemCallback.WaitCallback_Context(Object state)
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.QueueUserWorkItemCallback.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem()
   at System.Threading.ThreadPoolWorkQueue.Dispatch()
   at System.Threading._ThreadPoolWaitCallback.PerformWaitCallback()

WRN: Assembly binding logging is turned OFF.
To enable assembly bind failure logging, set the registry value [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) to 1.
Note: There is some performance penalty associated with assembly bind failure logging.
To turn this feature off, remove the registry value [HKLM\Software\Microsoft\Fusion!EnableLog].