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


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


### Start Event Execution ###


Message : {"EventName":"Update_USER","EventArgs":[{"Key":"DisplayName","Value":"Renard Whatley"},{"Key":"Password","Value":""},{"Key":"OrganisationName","Value":"Galecto Inc."},{"Key":"UserDivisions","Value":"Near miss, Unsafe Act, Unsafe Condition"},{"Key":"UserIncidentSites","Value":"Alanreed, Bowers, Council Bluffs, Cowgill, Fleischmanns, Fort Myers Beach, Galeville, Leeper, Rosewood, Suffield Depot, Vinings, Weldona, Yorba Linda"},{"Key":"OldEmail","Value":""},{"Key":"Email","Value":"MH_Admin_HO@oqsha.com"}]}


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


Initializing Email Service Client


Generating Email Request


Your OQSHA Access Has Been Updated


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


--- Email response from Osmo-x is 201


### End Event Execution ###


Message : {"EventName":"Update_APP_USER","EventArgs":[{"Key":"DisplayName","Value":"Renard Whatley"},{"Key":"Password","Value":""},{"Key":"OrganisationName","Value":"Galecto Inc."},{"Key":"UserUid","Value":"9100999124"},{"Key":"UserDivisions","Value":"Near miss, Unsafe Act, Unsafe Condition"},{"Key":"UserIncidentSites","Value":"Alanreed, Bowers, Council Bluffs, Cowgill, Fleischmanns, Fort Myers Beach, Galeville, Leeper, Rosewood, Suffield Depot, Vinings, Weldona, Yorba Linda"},{"Key":"Email","Value":"MH_Admin_HO@oqsha.com"},{"Key":"MobileNumber","Value":"+912000000713"}]}


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


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


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


Osmo-x WhatsApp Message has been Sent


Sending Task Assignment Email for TaskId: 15329, UserId: 1955


New Task Assigned - AT/GLTO/GRR/SVV/26/00002


# Preparing notification body #


### Start Event Execution ###


Initializing Email Service Client


Generating Email Request


Message : {"EventName":"TASK_CLOSURE_NOTIFICATION_VALIDATION_1","EventArgs":[{"Key":"TaskId","Value":15329},{"Key":"OrgId","Value":211}]}


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


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


### End Event Execution ###


Sending Task Assignment Email for TaskId: 15331, UserId: 1955


New Task Assigned - AT/GLTO/GRR/SVV/26/00004


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


--- Email response from Osmo-x is 201


Osmo-x WhatsApp Message has been Sent


Sending Task Assignment Email for TaskId: 15333, UserId: 1955


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


Reading and binding data to Email Template


Initializing Email Service Client


Generating Email Request


New Task Assigned - AT/GLTO/GRR/SVV/26/00006


# Preparing notification body #


### Start Event Execution ###


Sending Task Assignment Email for TaskId: 15335, UserId: 1955


New Task Assigned - AT/GLTO/GRR/SVV/26/00008


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


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


Message : {"EventName":"ASSIGNED_TO_NOTIFICATION","EventArgs":[{"Key":"AssignedIncidentID","Value":77247},{"Key":"AssignedToID","Value":1955}]}


### 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 Renard Whatley, UserId : 1955 for assigned to notification ##


Sending Assigned To Email for IncidentId:77247


Initializing Email Service Client


Generating Email Request


A Ticket LJV8NG 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:77247


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


# Calling SendNotificationToIssuerForCreatingPermitToWork function for whatsapp and push notification #


Executing sending notification to issuers through whatsapp


Sending notification to issuers of the comapny regarding permit to work 409391


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000001327","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"ptw_assigned_to_generic_template_v4","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"P/GLTO/NIS/AAON/CS/26/00001"},{"type":"text","text":"17-Jul-2026"},{"type":"text","text":"Confined Space Entry"},{"type":"text","text":"Rosewood"},{"type":"text","text":" "},{"type":"text","text":"Requested by Renard Whatley at 17-Jul-2026 12:11:08 PM"},{"type":"text","text":"Approve"},{"type":"text","text":"Ailene Lim"},{"type":"text","text":"https://oqsha.com/#/work-permit/view/409391?orgID=211&dlType=viewWorkPermit"}]}]}}}


Executing sending push notification to the issuers


# Push Subject for Issuer P/GLTO/NIS/AAON/CS/26/00001


# Checking for device existence #


# User device exists #


Sending notification for permit to work: 409391


Inside SendAppNotification Device Type: GCM


Generating AWS SNS Request


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/e70ae804-1b1b-3a03-8c18-92e40328b3f6


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


# Push notification did not send #


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/19b9be4f-ac6e-3e85-a967-f2b839dadb6b


Push notification failed to send to a device 9375.


Endpoint: arn:aws:sns:us-west-2:505884080245:endpoint/GCM/OQSHA-Android/35a3a8ad-f727-3976-b3d3-95da0f048cc9


Push notification failed to send to a device 10879.


### End Event Execution ###


### Start Event Execution ###


Message : {"EventName":"INFORM_TO_INCIDENT_CREATION_NOTIFICATION","EventArgs":[{"Key":"IncidentId","Value":77248},{"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: 77248


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


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


Reading and binding data to Email Template


Initializing Email Service Client


Generating Email Request


Safety Alert T/KURA/UAA/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


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


### End Event Execution ###


### Start Event Execution ###


Message : {"EventName":"ASSIGNED_TO_NOTIFICATION","EventArgs":[{"Key":"AssignedIncidentID","Value":77248},{"Key":"AssignedToID","Value":20511}]}


### 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 Myranda Rounds, UserId : 20511 for assigned to notification ##


Sending Assigned To Email for IncidentId:77248


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


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


### Started processing for Investigation Validated Event ###


Executing email notifications to Investigation Approvers about the Pending approval


Incident Investigation Validated – Incident UID: KGOPXN | Site: Rosewood


Executing whatsapp notifications to Investigation Approvers about the Pending approval


Sending WhatsApp for Incident Approval to User: 1955


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000000713","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"oqsha_investigation_validation_v2","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"Renard Whatley"},{"type":"text","text":"KGOPXN"},{"type":"text","text":"Shaquita Piatt"},{"type":"text","text":"10-Jul-2026 11:40:00 AM"},{"type":"text","text":"Rosewood"},{"type":"text","text":"As per the work schedule assigned by Mr. Ramesh (MHC), the KBS waterproofing contract workers were carrying out work to close the gaps below the sliding door frame using a concrete mix at the Club House, 2nd Floor, sit-out area.During the activity, Mr. Khailash went to collect the GP bag. At the same time, another worker, Mr. Savara Kuvvari, removed the temporary support that had been placed beneath the sliding door to facilitate packing the cement mix into the gaps below the door frame. Due to the heavy weight of the sliding door, the bottom portion of the frame bent, and the door slipped out of its frame groove. As a result, the sliding door fell onto Mr. Savara Kuvvari.Following the incident, Mr. Savara Kuvvari sustained an injury to his pelvic area. He was immediately shifted to a nearby hospital for medical treatment."},{"type":"text","text":"0"},{"type":"text","text":"https://oqsha.com/#/incident-management/report-investigation/view/211/611?dlType=viewInvestigation"},{"type":"text","text":"Oqsha Team"}]}]}}}


# Checking for device existence #


# User device exists #


Sending Investigation Validated Notification for Investigation Id:611


Inside SendAppNotification Device Type: GCM


Generating AWS SNS Request


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Test/44e752fb-4155-3ac5-bbfb-c19db7529b16


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


# Push notification did not send #


### Ended processing Investigation Validated Event ###


### End Event Execution ###


### Start Event Execution ###


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


### Started processing for Investigation Final Report Released - External User ###


Executing email notifications to external users about the final report release


PDF generation completed successfully.


Incident PDF generation successfull


Using org-specific template for Org 211: Templates\OrgTemplates\211\Templates\ExternalUserInvestigationFinalReportReleasedTemplate.html


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


Reading and binding data to Email Template


Initializing Email Service Client


Generating Email Request


osm02274@osmosys.co, osm06269@osmosys.co, osm00377@osmosys.co, MH_Admin_HO@oqsha.com, osm05485@osmosys.co, osm07904@osmosys.co

Incident Investigation Released – Incident UID: KGOPXN | Site: Rosewood


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


--- Email response from Osmo-x is 201


### Ended processing Investigation Final Report Released - External User ###


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


Osmo-x WhatsApp Message has been Sent


Sending Task Assignment Email for TaskId: 15335, UserId: 1955


# Preparing notification body #


### End Event Execution ###


### Start Event Execution ###


Message : {"EventName":"Update_USER","EventArgs":[{"Key":"DisplayName","Value":"Anna Mattern"},{"Key":"Password","Value":""},{"Key":"OrganisationName","Value":"Netskope Inc."},{"Key":"UserDivisions","Value":"Observation, Near Miss, Accident, Unsafe Act, Unsafe condition, Environmental Incident"},{"Key":"UserIncidentSites","Value":"Archer Lodge, Butterfield Park, Harwood, Lazear, Leon, Mount Repose, Newtown, Thaxton, Yakima"},{"Key":"OldEmail","Value":""},{"Key":"Email","Value":"osm07431@osmosys.co"}]}


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


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


Calling Send Email Function for Update User Email


Initializing Email Service Client


Generating Email Request


Your OQSHA Access Has Been Updated


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


--- Email response from Osmo-x is 201


Message : {"EventName":"Update_APP_USER","EventArgs":[{"Key":"DisplayName","Value":"Anna Mattern"},{"Key":"Password","Value":""},{"Key":"OrganisationName","Value":"Netskope Inc."},{"Key":"UserUid","Value":""},{"Key":"UserDivisions","Value":"Observation, Near Miss, Accident, Unsafe Act, Unsafe condition, Environmental Incident"},{"Key":"UserIncidentSites","Value":"Archer Lodge, Butterfield Park, Harwood, Lazear, Leon, Mount Repose, Newtown, Thaxton, Yakima"},{"Key":"Email","Value":"osm07431@osmosys.co"},{"Key":"MobileNumber","Value":"+912000001906"}]}


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


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


### 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: osm05065@osmosys.co


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


Reading and binding data to Email Template


New Work Permit Assigned


Sending WorkPermit creation WhatsApp message to: 912000008486


Osmo-x WhatsApp Message has been Sent


# Preparing notification body #


### End Event Execution ###


### Start Event Execution ###


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


# Calling SendDepartmentInchargeNotificationForWorkPermitCreation function for email/WhatsApp #


Sending WorkPermit creation email to: TITAGARH_BHA_DH@oqsha.com


Initializing Email Service Client


Generating Email Request


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


--- Email response from Osmo-x is 201


Sending WorkPermit creation WhatsApp message to: 912222222221


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


# Calling SendNotificationForValidationIssued function for  whatsapp and push notification #


Message payload: { FacultyUserName = Sincere Kidwell, CourseName = ttt, BatchName = TEE_LAL_Sincere Kidwell_25-07-2025_01, StartDate = 25-Jul-2025 01:43 PM, Location = Tomahawk, LinkText = https://oqsha.com/#/batches/view/194/158/?dlType=viewBatch, OrganisationName = Opera Limited American }


## Sending whatsapp notification to:+912000007341 ##


Message payload: { FacultyUserName = Sincere Kidwell, CourseName = ttt, BatchName = TEE_LAL_Sincere Kidwell_25-07-2025_02, StartDate = 25-Jul-2025 01:43 PM, Location = Tomahawk, LinkText = https://oqsha.com/#/batches/view/194/158/?dlType=viewBatch, OrganisationName = Opera Limited American }


Osmo-x WhatsApp Message has been Sent


# Preparing notification body #


### End Event Execution ###


### Start Event Execution ###


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


Initializing Email Service Client


Generating Email Request


Ticket LJV8NG has been updated


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


--- Email response from Osmo-x is 201


Sending Assigned To Whatsapp for IncidentId:77247


### Ended processing Update incident Event ###


Message : {"EventName":"ADD_USER","EventArgs":[{"Key":"DisplayName","Value":"Test User"},{"Key":"Password","Value":"T!EFG882"},{"Key":"OrganisationName","Value":"SailPoint Inc."},{"Key":"UserDivisions","Value":""},{"Key":"UserIncidentSites","Value":"Beards Fork, Brooktrails, Cave Spring, Eleanor, Elizabethville, New Bethlehem, Quartzsite, Richton Park, South Plainfield, Zeb"},{"Key":"OldEmail","Value":null},{"Key":"Email","Value":"toolpusher@gmail.com"}]}


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


### Started Event for Add User Email ###


Calling Send Email Function for Add User Email


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


Reading and binding data to Email Template


Welcome to OQSHA


### End Event Execution ###


### Start Event Execution ###


Message : {"EventName":"Update_USER","EventArgs":[{"Key":"DisplayName","Value":"Test User"},{"Key":"Password","Value":""},{"Key":"OrganisationName","Value":"SailPoint Inc."},{"Key":"UserDivisions","Value":""},{"Key":"UserIncidentSites","Value":"Beards Fork, Brooktrails, Cave Spring, Eleanor, Elizabethville, New Bethlehem, Quartzsite, Richton Park, South Plainfield, Zeb"},{"Key":"OldEmail","Value":""},{"Key":"Email","Value":"toolpusher@gmail.com"}]}


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


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


Calling Send Email Function for Update User Email


Initializing Email Service Client


Generating Email Request


Your OQSHA Access Has Been Updated


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


--- Email response from Osmo-x is 201


Message : {"EventName":"Update_APP_USER","EventArgs":[{"Key":"DisplayName","Value":"Test User"},{"Key":"Password","Value":""},{"Key":"OrganisationName","Value":"SailPoint Inc."},{"Key":"UserUid","Value":""},{"Key":"UserDivisions","Value":""},{"Key":"UserIncidentSites","Value":"Beards Fork, Brooktrails, Cave Spring, Eleanor, Elizabethville, New Bethlehem, Quartzsite, Richton Park, South Plainfield, Zeb"},{"Key":"Email","Value":"toolpusher@gmail.com"},{"Key":"MobileNumber","Value":"+915555556123"}]}


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


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


Message : {"EventName":"WHATSAPP_TO_BATCH_PARTICIPANTS","EventArgs":[{"Key":"BatchParticipantIds","Value":"[11590]"},{"Key":"BatchId","Value":2269}]}


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


# Calling SendNotificationToBatchParticipants function for  whatsapp notification #


Executing completed course notification function to batch participants


Executing planned/Inprogress notification function to batch participants


Sending notification to batch participant for planned and in progress status678


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912222222223","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"oqsha_planned_batch_latest_v1","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"Giselle Angle"},{"type":"text","text":"Safety refresher batch"},{"type":"text","text":"Safety refresher training"},{"type":"text","text":"Neveu"},{"type":"text","text":"0 Week(s) 0 Day(s) 1 Hour(s)"},{"type":"text","text":"No faculty"},{"type":"text","text":"July 17, 2026  06:33:00 PM"},{"type":"text","text":"PLANNED"},{"type":"text","text":"https://oqsha.com/#/batches/view/264/308/2269?dlType=viewBatch"}]}]}}}


Osmo-x WhatsApp Message has been Sent


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


Sending Task Assignment Email for TaskId: 15338, 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/LULU/COI/HAA/26/00002


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


--- Email response from Osmo-x is 201


# Preparing notification body #


Message : {"EventName":"INFORM_TO_INCIDENT_CREATION_NOTIFICATION","EventArgs":[{"Key":"IncidentId","Value":77249},{"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: 77249


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


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


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


### End Event Execution ###


### Start Event Execution ###


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


## Safety Alert Email Sent to Quint Pizano##


Initializing Email Service Client


Generating Email Request


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


--- Email response from Osmo-x is 201


Sending Inform-To Push Notification for IncidentId: 77249


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.


Message : {"EventName":"INFORM_TO_INCIDENT_CREATION_NOTIFICATION","EventArgs":[{"Key":"IncidentId","Value":77249},{"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##


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


Message : {"EventName":"INFORM_TO_INCIDENT_CREATION_NOTIFICATION","EventArgs":[{"Key":"IncidentId","Value":77249},{"Key":"InformToUserId","Value":11139}]}


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


Osmo-x WhatsApp Message has been Sent


Generating Safety Alert report.


Converted to byte file


## Safety Alert Email Sent to Oskar Roden##


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


Sending Inform-To Push Notification for IncidentId: 77249


Inside SendAppNotification Device Type: GCM


Generating AWS SNS Request


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/0675b795-f420-3121-9417-0cea2cac8f5e


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


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


### End Event Execution ###


### Start Event Execution ###


Message : {"EventName":"INFORM_TO_INCIDENT_CREATION_NOTIFICATION","EventArgs":[{"Key":"IncidentId","Value":77249},{"Key":"InformToUserId","Value":11138}]}


Osmo-x WhatsApp Message has been Sent


Generating Safety Alert report.


Converted to byte file


## Safety Alert Email Sent to Vikas Rowlett##


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


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


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


## Safety Alert Email Sent to Judge Tenorio##


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


### End Event Execution ###


### Start Event Execution ###


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


Osmo-x WhatsApp Message has been Sent


Generating Safety Alert report.


Converted to byte file


## Safety Alert Email Sent to Hebert Eaton##


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":77249},{"Key":"InformToUserId","Value":11109}]}


## Safety Alert Email Sent to Vikram Register##


Sending Inform-To Push Notification for IncidentId: 77249


Inside SendAppNotification Device Type: GCM


Generating AWS SNS Request


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/a40c3f58-ae84-3f9a-8bea-3650b79a7f49


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


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


### End Event Execution ###


### Start Event Execution ###


Message : {"EventName":"INFORM_TO_INCIDENT_CREATION_NOTIFICATION","EventArgs":[{"Key":"IncidentId","Value":77249},{"Key":"InformToUserId","Value":11108}]}


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


Osmo-x WhatsApp Message has been Sent


Generating Safety Alert report.


Converted to byte file


## Safety Alert Email Sent to Gul Harkins##


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


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


Generating AWS SNS Request


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/07dee7a2-ec6a-3cda-b8e2-ba782dad0622


Unauthorized


Push notification failed to send to a device 17422.


### End Event Execution ###


### Start Event Execution ###


Message : {"EventName":"INFORM_TO_INCIDENT_CREATION_NOTIFICATION","EventArgs":[{"Key":"IncidentId","Value":77249},{"Key":"InformToUserId","Value":11107}]}


Osmo-x WhatsApp Message has been Sent


Generating Safety Alert report.


Converted to byte file


## Safety Alert Email Sent to Oli Barth##


Sending Inform-To Push Notification for IncidentId: 77249


Inside SendAppNotification Device Type: GCM


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/eed272fb-589b-39b5-946b-78a33440f20a


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


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


Push notification failed to send to a device 19709.


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


Message : {"EventName":"INFORM_TO_INCIDENT_CREATION_NOTIFICATION","EventArgs":[{"Key":"IncidentId","Value":77249},{"Key":"InformToUserId","Value":11106}]}


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


## Safety Alert Email Sent to Poppy Frank##


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


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


Generating AWS SNS Request


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/13d94627-0ff6-3463-8107-ea4e69b91d7f


Unauthorized


Push notification failed to send to a device 19197.


### End Event Execution ###


### Start Event Execution ###


Message : {"EventName":"INFORM_TO_INCIDENT_CREATION_NOTIFICATION","EventArgs":[{"Key":"IncidentId","Value":77249},{"Key":"InformToUserId","Value":11127}]}


Osmo-x WhatsApp Message has been Sent


Generating Safety Alert report.


Converted to byte file


## Safety Alert Email Sent to Gary Bhatia##


Message : {"EventName":"ASSIGNED_TO_NOTIFICATION","EventArgs":[{"Key":"AssignedIncidentID","Value":77249},{"Key":"AssignedToID","Value":11685}]}


### 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 Anastazja Hackman, UserId : 11685 for assigned to notification ##


Sending Assigned To Email for IncidentId:77249


Initializing Email Service Client


Generating Email Request


A Safety Alert T/KURA/UAA/26/00002 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:77249


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":77250},{"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: 77250


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


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


Reading and binding data to Email Template


Initializing Email Service Client


Generating Email Request


Safety Alert T/KURA/UAA/26/00003 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":77250},{"Key":"InformToUserId","Value":11166}]}


Osmo-x WhatsApp Message has been Sent


## Safety Alert Email Sent to Quint Pizano##


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


Generating Safety Alert report.


Converted to byte file


## Safety Alert Email Sent to Jakayla Pizano##


Message : {"EventName":"INFORM_TO_INCIDENT_CREATION_NOTIFICATION","EventArgs":[{"Key":"IncidentId","Value":77250},{"Key":"InformToUserId","Value":11139}]}


## Safety Alert Email Sent to Oskar Roden##


Initializing Email Service Client


Generating Email Request


Message : {"EventName":"INFORM_TO_INCIDENT_CREATION_NOTIFICATION","EventArgs":[{"Key":"IncidentId","Value":77250},{"Key":"InformToUserId","Value":11138}]}


## Safety Alert Email Sent to Vikas Rowlett##


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


--- Email response from Osmo-x is 201


### End Event Execution ###


### Start Event Execution ###


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


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


Osmo-x WhatsApp Message has been Sent


Generating Safety Alert report.


Converted to byte file


## Safety Alert Email Sent to Judge Tenorio##


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


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


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


### End Event Execution ###


### Start Event Execution ###


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


## Safety Alert Email Sent to Hebert Eaton##


Message : {"EventName":"INFORM_TO_INCIDENT_CREATION_NOTIFICATION","EventArgs":[{"Key":"IncidentId","Value":77250},{"Key":"InformToUserId","Value":11109}]}


Osmo-x WhatsApp Message has been Sent


Generating Safety Alert report.


Converted to byte file


## Safety Alert Email Sent to Vikram Register##


Message : {"EventName":"INFORM_TO_INCIDENT_CREATION_NOTIFICATION","EventArgs":[{"Key":"IncidentId","Value":77250},{"Key":"InformToUserId","Value":11108}]}


## Safety Alert Email Sent to Gul Harkins##


Message : {"EventName":"INFORM_TO_INCIDENT_CREATION_NOTIFICATION","EventArgs":[{"Key":"IncidentId","Value":77250},{"Key":"InformToUserId","Value":11107}]}


## Safety Alert Email Sent to Oli Barth##


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


Message : {"EventName":"INFORM_TO_INCIDENT_CREATION_NOTIFICATION","EventArgs":[{"Key":"IncidentId","Value":77250},{"Key":"InformToUserId","Value":11106}]}


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


Osmo-x WhatsApp Message has been Sent


Generating Safety Alert report.


Converted to byte file


## Safety Alert Email Sent to Poppy Frank##


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


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


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


### End Event Execution ###


### Start Event Execution ###


Message : {"EventName":"INFORM_TO_INCIDENT_CREATION_NOTIFICATION","EventArgs":[{"Key":"IncidentId","Value":77250},{"Key":"InformToUserId","Value":11127}]}


## Safety Alert Email Sent to Gary Bhatia##


Message : {"EventName":"ASSIGNED_TO_NOTIFICATION","EventArgs":[{"Key":"AssignedIncidentID","Value":77250},{"Key":"AssignedToID","Value":11145}]}


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


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


Sending Assigned To Whatsapp for IncidentId:77250


Osmo-x WhatsApp Message has been Sent


# Preparing notification body #


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


### 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: osm02269@osmosys.co


Initializing Email Service Client


Generating Email Request


New Work Permit Assigned


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


--- Email response from Osmo-x is 201


Sending WorkPermit creation WhatsApp message to: 912000004246


# Checking for device existence #


# User device exists #


Sending Assigned To Notification for Work Permit Id:3238


Inside SendAppNotification Device Type: GCM


Generating AWS SNS Request


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/93aa125a-5420-35d6-bb65-a4d8409db4d4


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


# Push notification did not send #


### End Event Execution ###


### Start Event Execution ###


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


# Calling SendDepartmentInchargeNotificationForWorkPermitCreation function for email/WhatsApp #


# Preparing notification body #


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


Osmo-x WhatsApp Message has been Sent


Sending Task Assignment Email for TaskId: 15338, UserId: 9308


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


Sending WhatsApp notification for task assignment to user ID: 1


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


New Action Tracker Assigned - AT/LULU/COI/FRA/26/00002


### End Event Execution ###


### Start Event Execution ###


Sending WhatsApp notification for task assignment to user ID: 5838


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000007187","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":"Hulda Meltzer"},{"type":"text","text":"Action Tracker"},{"type":"text","text":"N57DMH"},{"type":"text","text":"Electrical Cable Hanging Condition Unit 2 Polishing area"},{"type":"text","text":"Safety Walkthrough"},{"type":"text","text":"https://oqsha.com/#/tasks/edit/15315?dlType=viewTask&orgID=248"},{"type":"text","text":"EHS Department - TTK Prestige Limited"}]}]}}}


Sending Task Assignment Email for TaskId: 15315, UserId: 5838


New Action Tracker Assigned - N57DMH


# Preparing notification body #


Message : {"EventName":"Update_USER","EventArgs":[{"Key":"DisplayName","Value":"Sincere Kidwell"},{"Key":"Password","Value":""},{"Key":"OrganisationName","Value":"Cadence Design Systems Inc."},{"Key":"UserDivisions","Value":"Observation, Near Miss, Accident, Unsafe Act, Unsafe condition, tipping, Fly tipping"},{"Key":"UserIncidentSites","Value":"Archer Lodge, Butterfield Park, Harwood, Lansford, Leon, Los Llanos, Thaxton, Yakima"},{"Key":"OldEmail","Value":""},{"Key":"Email","Value":"osm06269@osmosys.co"}]}


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


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


Calling Send Email Function for Update User Email


Initializing Email Service Client


Generating Email Request


Your OQSHA Access Has Been Updated


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


--- Email response from Osmo-x is 201


Message : {"EventName":"Update_APP_USER","EventArgs":[{"Key":"DisplayName","Value":"Sincere Kidwell"},{"Key":"Password","Value":""},{"Key":"OrganisationName","Value":"Cadence Design Systems Inc."},{"Key":"UserUid","Value":"7993748762"},{"Key":"UserDivisions","Value":"Observation, Near Miss, Accident, Unsafe Act, Unsafe condition, tipping, Fly tipping"},{"Key":"UserIncidentSites","Value":"Archer Lodge, Butterfield Park, Harwood, Lansford, Leon, Los Llanos, Thaxton, Yakima"},{"Key":"Email","Value":"osm06269@osmosys.co"},{"Key":"MobileNumber","Value":"+912000007341"}]}


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


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


### End Event Execution ###


### Start Event Execution ###


Message : {"EventName":"TASK_CLOSURE_NOTIFICATION_VALIDATION_1","EventArgs":[{"Key":"TaskId","Value":15340},{"Key":"OrgId","Value":251}]}


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


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