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


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


### Start Event Execution ###


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


### Started Event for Update App 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

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


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


--- Email response from Osmo-x is 201


### End Event Execution ###


Your OQSHA Access Has Been Updated


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


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


Calling Send Email Function for Add User Email


Welcome to OQSHA


Sending welcome WhatsApp notification to: +919999003140


Osmo-x WhatsApp Message has been Sent


### Start Event Execution ###


Sending welcome WhatsApp notification to: +919999003139


Sending welcome WhatsApp notification to: +919999003141


Sending welcome WhatsApp notification to: +919999030010


Initializing Email Service Client


Generating Email Request


Sending welcome WhatsApp notification to: +919999002880


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


--- Email response from Osmo-x is 201


### End Event Execution ###


Your OQSHA Access Has Been Updated


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


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


Message : {"EventName":"NOTIFICATION_FOR_MOC_CREATION","EventArgs":[{"Key":"MocId","Value":"404"},{"Key":"ApproverIds","Value":"[5889]"},{"Key":"SiteName","Value":"Colver"},{"Key":"CreatedBy","Value":"Hebert Eaton"},{"Key":"MocUid","Value":"M/FBYDW/ROO/NCI/26/00001"},{"Key":"OrgId","Value":248},{"Key":"OrganisationName","Value":"Falcon's Beyond Global Inc. Warrants"}]}


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


# Calling SendNotificationForMocCreation function for email/WhatsApp #


Executing email and WhatsApp notifications to MOC approvers


Sending MOC creation email to: osm07104@osmosys.co


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


Reading and binding data to Email Template


New MOC Assigned


Sending MOC creation WhatsApp message to: 912000003104


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000003104","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"oqsha_moc_creation_alert_v4","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"Cato Kwon"},{"type":"text","text":"M/FBYDW/ROO/NCI/26/00001"},{"type":"text","text":"Colver"},{"type":"text","text":"Falcon's Beyond Global Inc. Warrants"},{"type":"text","text":"Hebert Eaton"},{"type":"text","text":"https://oqsha.com/#/moc/view/248/404?dlType=viewMOC"},{"type":"text","text":"EHS Department - TTK Prestige Limited"}]}]}}}


Osmo-x WhatsApp Message has been Sent


# Preparing notification body #


# Fetching devices bypassing preferences (Single System Fallback) #


### End Event Execution ###


### Start Event Execution ###


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


### Started Event for Update App 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


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


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


Calling Send Email Function for Add User Email


Welcome to OQSHA


Sending welcome WhatsApp notification to: +919999009284


Osmo-x WhatsApp Message has been Sent


Sending welcome WhatsApp notification to: +919999009381


### End Event Execution ###


### Start Event Execution ###


Sending welcome WhatsApp notification to: +919999009289


Sending welcome WhatsApp notification to: +919999009290


Sending welcome WhatsApp notification to: +919999009303


Initializing Email Service Client


Generating Email Request


Sending welcome WhatsApp notification to: +919999009375


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


Reading and binding data to Email Template


Your OQSHA Access Has Been Updated


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


--- Email response from Osmo-x is 201


Welcome to OQSHA


Sending welcome WhatsApp notification to: +919999009377


Osmo-x WhatsApp Message has been Sent


Sending welcome WhatsApp notification to: +919999009391


### End Event Execution ###


### Start Event Execution ###


Sending welcome WhatsApp notification to: +919999009295


Sending welcome WhatsApp notification to: +919999009345


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


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


Calling Send Email Function for Update User Email


Initializing Email Service Client


Generating Email Request


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


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


Calling Send Email Function for Add User Email


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


--- Email response from Osmo-x is 201


Sending welcome WhatsApp notification to: +919999009342


Osmo-x WhatsApp Message has been Sent


Welcome to OQSHA


Sending welcome WhatsApp notification to: +919999001387


### End Event Execution ###


### Start Event Execution ###


Sending welcome WhatsApp notification to: +919999001303


Sending welcome WhatsApp notification to: +919999003568


Sending welcome WhatsApp notification to: +919999001788


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


Reading and binding data to Email Template


Initializing Email Service Client


Generating Email Request


Sending welcome WhatsApp notification to: +919999002518


Sending welcome WhatsApp notification to: +919999001530


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


--- Email response from Osmo-x is 201


Sending welcome WhatsApp notification to: +919999001456


Osmo-x WhatsApp Message has been Sent


Welcome to OQSHA


Sending welcome WhatsApp notification to: +919999030393


### End Event Execution ###


### Start Event Execution ###


Sending welcome WhatsApp notification to: +919999001458


Sending welcome WhatsApp notification to: +919999009300


Sending welcome WhatsApp notification to: +919999001457


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


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


Calling Send Email Function for Add User Email


Initializing Email Service Client


Generating Email Request


Sending welcome WhatsApp notification to: +919999001612


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


--- Email response from Osmo-x is 201


Sending welcome WhatsApp notification to: +919999001613


Osmo-x WhatsApp Message has been Sent


Welcome to OQSHA


Sending welcome WhatsApp notification to: +919999001611


### End Event Execution ###


### Start Event Execution ###


Sending welcome WhatsApp notification to: +919999001616


Sending welcome WhatsApp notification to: +919999002532


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


Reading and binding data to Email Template


Sending welcome WhatsApp notification to: +919999030403


Sending welcome WhatsApp notification to: +919999003886


Initializing Email Service Client


Generating Email Request


Sending welcome WhatsApp notification to: +919999002243


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


--- Email response from Osmo-x is 201


Sending welcome WhatsApp notification to: +919999025069


Osmo-x WhatsApp Message has been Sent


Welcome to OQSHA


Sending welcome WhatsApp notification to: +919999007838


### End Event Execution ###


### Start Event Execution ###


Sending welcome WhatsApp notification to: +919999025081


Sending welcome WhatsApp notification to: +919999040120


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


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


Calling Send Email Function for Add User Email


Sending welcome WhatsApp notification to: +919999030359


Initializing Email Service Client


Generating Email Request


Sending welcome WhatsApp notification to: +919999001430


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


--- Email response from Osmo-x is 201


Sending welcome WhatsApp notification to: +919999001789


Osmo-x WhatsApp Message has been Sent


Welcome to OQSHA


Sending welcome WhatsApp notification to: +919999005656


### End Event Execution ###


### Start Event Execution ###


Sending welcome WhatsApp notification to: +919999030325


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


Reading and binding data to Email Template


Sending welcome WhatsApp notification to: +919999006810


Sending welcome WhatsApp notification to: +919999006811


Sending welcome WhatsApp notification to: +919999007584


Initializing Email Service Client


Generating Email Request


Sending welcome WhatsApp notification to: +919999007736


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


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


Calling Send Email Function for Update User Email


Your OQSHA Access Has Been Updated


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


--- Email response from Osmo-x is 201


### End Event Execution ###


### Start Event Execution ###


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


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


Calling Send Email Function for Add User Email


Welcome to OQSHA


Sending welcome WhatsApp notification to: +919999003189


Osmo-x WhatsApp Message has been Sent


Initializing Email Service Client


Generating Email Request


Sending welcome WhatsApp notification to: +919999002630


Sending welcome WhatsApp notification to: +919999001913


Sending welcome WhatsApp notification to: +919999015163


Sending welcome WhatsApp notification to: +919999001821


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


Reading and binding data to Email Template


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


--- Email response from Osmo-x is 201


Sending welcome WhatsApp notification to: +919999002624


### End Event Execution ###


### Start Event Execution ###


Sending welcome WhatsApp notification to: +919999025080


Welcome to OQSHA


Sending welcome WhatsApp notification to: +919999003201


Osmo-x WhatsApp Message has been Sent


Initializing Email Service Client


Generating Email Request


Sending welcome WhatsApp notification to: +919999003569


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


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


Calling Send Email Function for Update User Email


Your OQSHA Access Has Been Updated


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


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


Calling Send Email Function for Add User Email


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


--- Email response from Osmo-x is 201


Sending welcome WhatsApp notification to: +919999006912


### End Event Execution ###


### Start Event Execution ###


Welcome to OQSHA


Sending welcome WhatsApp notification to: +919999001403


Osmo-x WhatsApp Message has been Sent


Initializing Email Service Client


Generating Email Request


Sending welcome WhatsApp notification to: +919999006084


Sending welcome WhatsApp notification to: +919999009335


Sending welcome WhatsApp notification to: +919999009395


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


Reading and binding data to Email Template


Your OQSHA Access Has Been Updated


Sending welcome WhatsApp notification to: +919999009282


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


--- Email response from Osmo-x is 201


Sending welcome WhatsApp notification to: +919999009387


### End Event Execution ###


### Start Event Execution ###


Welcome to OQSHA


Sending welcome WhatsApp notification to: +919999009281


Osmo-x WhatsApp Message has been Sent


Initializing Email Service Client


Generating Email Request


Sending welcome WhatsApp notification to: +919999009317


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


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


Calling Send Email Function for Update User Email


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


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


Calling Send Email Function for Add User Email


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


--- Email response from Osmo-x is 201


Sending welcome WhatsApp notification to: +919999009347


### End Event Execution ###


### Start Event Execution ###


Your OQSHA Access Has Been Updated


Welcome to OQSHA


Sending welcome WhatsApp notification to: +919999009382


Osmo-x WhatsApp Message has been Sent


Initializing Email Service Client


Generating Email Request


Sending welcome WhatsApp notification to: +919999009291


Sending welcome WhatsApp notification to: +919999009357


Sending welcome WhatsApp notification to: +919999009358


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


Reading and binding data to Email Template


Sending welcome WhatsApp notification to: +919999009359


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


--- Email response from Osmo-x is 201


Sending welcome WhatsApp notification to: +919999009365


### End Event Execution ###


### Start Event Execution ###


Sending welcome WhatsApp notification to: +919999009366


Your OQSHA Access Has Been Updated


Welcome to OQSHA


Sending welcome WhatsApp notification to: +919999009374


Osmo-x WhatsApp Message has been Sent


Initializing Email Service Client


Generating Email Request


Sending welcome WhatsApp notification to: +919999009385


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


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


Calling Send Email Function for Update User Email


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


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


Calling Send Email Function for Add User Email


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


--- Email response from Osmo-x is 201


Sending welcome WhatsApp notification to: +919999009278


### End Event Execution ###


### Start Event Execution ###


Your OQSHA Access Has Been Updated


Welcome to OQSHA


Sending welcome WhatsApp notification to: +919999006021


Osmo-x WhatsApp Message has been Sent


Initializing Email Service Client


Generating Email Request


Sending welcome WhatsApp notification to: +919999002829


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


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


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


Reading and binding data to Email Template


Sending welcome WhatsApp notification to: +919999009319


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


--- Email response from Osmo-x is 201


Sending welcome WhatsApp notification to: +919999009329


### End Event Execution ###


### Start Event Execution ###


Sending welcome WhatsApp notification to: +919999009353


Your OQSHA Access Has Been Updated


Welcome to OQSHA


Sending welcome WhatsApp notification to: +919999009334


Osmo-x WhatsApp Message has been Sent


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


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


Calling Send Email Function for Update User Email


Initializing Email Service Client


Generating Email Request


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


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


Calling Send Email Function for Add User Email


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


--- Email response from Osmo-x is 201


Sending welcome WhatsApp notification to: +919999009328


### End Event Execution ###


### Start Event Execution ###


Your OQSHA Access Has Been Updated


Welcome to OQSHA


Sending welcome WhatsApp notification to: +919999009308


Osmo-x WhatsApp Message has been Sent


Sending welcome WhatsApp notification to: +919999009275


Sending welcome WhatsApp notification to: +919999009293


Sending welcome WhatsApp notification to: +919999009292


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


Reading and binding data to Email Template


Initializing Email Service Client


Generating Email Request


Sending welcome WhatsApp notification to: +919999009296


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


--- Email response from Osmo-x is 201


Sending welcome WhatsApp notification to: +919999009313


### End Event Execution ###


### Start Event Execution ###


Your OQSHA Access Has Been Updated


Welcome to OQSHA


Sending welcome WhatsApp notification to: +919999009314


Osmo-x WhatsApp Message has been Sent


Sending welcome WhatsApp notification to: +919999009279


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


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


Calling Send Email Function for Update User Email


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


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


Calling Send Email Function for Add User Email


Initializing Email Service Client


Generating Email Request


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


--- Email response from Osmo-x is 201


Sending welcome WhatsApp notification to: +919999007468


### End Event Execution ###


### Start Event Execution ###


Your OQSHA Access Has Been Updated


Welcome to OQSHA


Sending welcome WhatsApp notification to: +919999009322


Osmo-x WhatsApp Message has been Sent


Sending welcome WhatsApp notification to: +919999009378


Sending welcome WhatsApp notification to: +919999009302


Sending welcome WhatsApp notification to: +919999009352


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


Reading and binding data to Email Template


Sending welcome WhatsApp notification to: +919999009397


Initializing Email Service Client


Generating Email Request


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


--- Email response from Osmo-x is 201


Sending welcome WhatsApp notification to: +919999009304


### End Event Execution ###


### Start Event Execution ###


Sending welcome WhatsApp notification to: +919999009305


Welcome to OQSHA


Sending welcome WhatsApp notification to: +919999009306


Osmo-x WhatsApp Message has been Sent


Sending welcome WhatsApp notification to: +919999009307


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


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


Calling Send Email Function for Update User Email


Your OQSHA Access Has Been Updated


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


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


Calling Send Email Function for Add User Email


Initializing Email Service Client


Generating Email Request


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


--- Email response from Osmo-x is 201


Sending welcome WhatsApp notification to: +919999009388


### End Event Execution ###


### Start Event Execution ###


Welcome to OQSHA


Sending welcome WhatsApp notification to: +919999009348


Osmo-x WhatsApp Message has been Sent


Sending welcome WhatsApp notification to: +919999009362


Sending welcome WhatsApp notification to: +919999009368


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


Reading and binding data to Email Template


Your OQSHA Access Has Been Updated


Sending welcome WhatsApp notification to: +919999009351


Sending welcome WhatsApp notification to: +919999009299


Initializing Email Service Client


Generating Email Request


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


--- Email response from Osmo-x is 201


Sending welcome WhatsApp notification to: +919999009320


### End Event Execution ###


### Start Event Execution ###


Welcome to OQSHA


Sending welcome WhatsApp notification to: +919999009356


Osmo-x WhatsApp Message has been Sent


Sending welcome WhatsApp notification to: +919999009330


Sending welcome WhatsApp notification to: +919999009360


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


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


Calling Send Email Function for Update User Email


Your OQSHA Access Has Been Updated


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


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


Calling Send Email Function for Add User Email


Initializing Email Service Client


Generating Email Request


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


--- Email response from Osmo-x is 201


Sending welcome WhatsApp notification to: +919999009370


### End Event Execution ###


### Start Event Execution ###


Welcome to OQSHA


Sending welcome WhatsApp notification to: +919999009285


Osmo-x WhatsApp Message has been Sent


Sending welcome WhatsApp notification to: +919999009367


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


Reading and binding data to Email Template


Your OQSHA Access Has Been Updated


Sending welcome WhatsApp notification to: +919999009389


Sending welcome WhatsApp notification to: +919999009361


Sending welcome WhatsApp notification to: +919999009363


Initializing Email Service Client


Generating Email Request


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


--- Email response from Osmo-x is 201


Sending welcome WhatsApp notification to: +919999009326


### End Event Execution ###


### Start Event Execution ###


Welcome to OQSHA


Sending welcome WhatsApp notification to: +919999009331


Osmo-x WhatsApp Message has been Sent


Sending welcome WhatsApp notification to: +919999009390


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


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


Calling Send Email Function for Update User Email


Your OQSHA Access Has Been Updated


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


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


Calling Send Email Function for Add User Email


Initializing Email Service Client


Generating Email Request


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


--- Email response from Osmo-x is 201


Sending welcome WhatsApp notification to: +919999009327


### End Event Execution ###


### Start Event Execution ###


Welcome to OQSHA


Sending welcome WhatsApp notification to: +919999009332


Osmo-x WhatsApp Message has been Sent


Sending welcome WhatsApp notification to: +919999009355


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


Reading and binding data to Email Template


Your OQSHA Access Has Been Updated


Sending welcome WhatsApp notification to: +919999009325


Sending welcome WhatsApp notification to: +919999009379


Sending welcome WhatsApp notification to: +919999009336


Initializing Email Service Client


Generating Email Request


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


--- Email response from Osmo-x is 201


Sending welcome WhatsApp notification to: +919999006400


### End Event Execution ###


### Start Event Execution ###


Welcome to OQSHA


Sending welcome WhatsApp notification to: +919999006410


Osmo-x WhatsApp Message has been Sent


Sending welcome WhatsApp notification to: +919999006422


Sending welcome WhatsApp notification to: +919999006391


Sending welcome WhatsApp notification to: +919999006387


Sending welcome WhatsApp notification to: +919999009162


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


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


Calling Send Email Function for Add User Email


Initializing Email Service Client


Generating Email Request


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


--- Email response from Osmo-x is 201


Sending welcome WhatsApp notification to: +919999006762


### End Event Execution ###


### Start Event Execution ###


Welcome to OQSHA


Sending welcome WhatsApp notification to: +919999006763


Osmo-x WhatsApp Message has been Sent


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


### Started Event for Update App 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


Sending welcome WhatsApp notification to: +919999006414


Initializing Email Service Client


Generating Email Request


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


--- Email response from Osmo-x is 201


Sending welcome WhatsApp notification to: +919999006390


### End Event Execution ###


### Start Event Execution ###


Welcome to OQSHA


Sending welcome WhatsApp notification to: +919999006389


Osmo-x WhatsApp Message has been Sent


Sending welcome WhatsApp notification to: +919999007664


Sending welcome WhatsApp notification to: +919999020090


Sending welcome WhatsApp notification to: +919999006445


Sending welcome WhatsApp notification to: +919999006452


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


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


Calling Send Email Function for Add User Email


Initializing Email Service Client


Generating Email Request


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


--- Email response from Osmo-x is 201


Sending welcome WhatsApp notification to: +919999006908


### End Event Execution ###


### Start Event Execution ###


Welcome to OQSHA


Sending welcome WhatsApp notification to: +919999006764


Osmo-x WhatsApp Message has been Sent


Sending welcome WhatsApp notification to: +919999006907


Sending welcome WhatsApp notification to: +919999009333


Sending welcome WhatsApp notification to: +919999030371


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


Reading and binding data to Email Template


Sending welcome WhatsApp notification to: +919999006118


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


### Started Event for Update App 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


### End Event Execution ###


### Start Event Execution ###


Welcome to OQSHA


Sending welcome WhatsApp notification to: +919999009166


Osmo-x WhatsApp Message has been Sent


Sending welcome WhatsApp notification to: +919999009294


Sending welcome WhatsApp notification to: +919999009338


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


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


Calling Send Email Function for Add User Email


Sending welcome WhatsApp notification to: +919999002110


Sending welcome WhatsApp notification to: +919999009023


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


### Start Event Execution ###


Welcome to OQSHA


Sending welcome WhatsApp notification to: +919999003332


Osmo-x WhatsApp Message has been Sent


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


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


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


Reading and binding data to Email Template


Sending welcome WhatsApp notification to: +919999009321


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


### Started Event for Update App 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


### End Event Execution ###


### Start Event Execution ###


Welcome to OQSHA


Sending welcome WhatsApp notification to: +919999009277


Osmo-x WhatsApp Message has been Sent


Sending welcome WhatsApp notification to: +919999007434


Sending welcome WhatsApp notification to: +919999005464


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


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


Calling Send Email Function for Add User Email


Sending welcome WhatsApp notification to: +919999007412


Sending welcome WhatsApp notification to: +919999007425


Initializing Email Service Client


Generating Email Request


Sending welcome WhatsApp notification to: +919999007429


Your OQSHA Access Has Been Updated


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


--- Email response from Osmo-x is 201


### End Event Execution ###


### Start Event Execution ###


Welcome to OQSHA


Sending welcome WhatsApp notification to: +919999005939


Osmo-x WhatsApp Message has been Sent


Sending welcome WhatsApp notification to: +919999005943


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


Reading and binding data to Email Template


Sending welcome WhatsApp notification to: +919999009383


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


### Started Event for Update App 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


### End Event Execution ###


### Start Event Execution ###


Welcome to OQSHA


Sending welcome WhatsApp notification to: +919999009341


Osmo-x WhatsApp Message has been Sent


Sending welcome WhatsApp notification to: +919999009354


Sending welcome WhatsApp notification to: +919999008370


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


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


Calling Send Email Function for Add User Email


Sending welcome WhatsApp notification to: +919999009287


Sending welcome WhatsApp notification to: +919999009344


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


### Start Event Execution ###


Welcome to OQSHA


Sending welcome WhatsApp notification to: +919999009297


Osmo-x WhatsApp Message has been Sent


Sending welcome WhatsApp notification to: +919999009324


Sending welcome WhatsApp notification to: +919999008371


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


Reading and binding data to Email Template


Sending welcome WhatsApp notification to: +919999009371


Sending welcome WhatsApp notification to: +919999009323


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


### Started Event for Update App 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


### End Event Execution ###


### Start Event Execution ###


Welcome to OQSHA


Sending welcome WhatsApp notification to: +919999030536


Osmo-x WhatsApp Message has been Sent


Sending welcome WhatsApp notification to: +919999030056


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


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


Calling Send Email Function for Add User Email


Sending welcome WhatsApp notification to: +919999030566


Sending welcome WhatsApp notification to: +919999003828


Sending welcome WhatsApp notification to: +919999004086


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


### Start Event Execution ###


Welcome to OQSHA


Sending welcome WhatsApp notification to: +919999030370


Osmo-x WhatsApp Message has been Sent


Sending welcome WhatsApp notification to: +919999030324


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


Reading and binding data to Email Template


Sending welcome WhatsApp notification to: +919999030308


Sending welcome WhatsApp notification to: +919999030453


Sending welcome WhatsApp notification to: +919999030042


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


### Started Event for Update App 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


### End Event Execution ###


### Start Event Execution ###


Welcome to OQSHA


Sending welcome WhatsApp notification to: +919999008373


Osmo-x WhatsApp Message has been Sent


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


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


Calling Send Email Function for Add User Email


Sending welcome WhatsApp notification to: +919999009373


Sending welcome WhatsApp notification to: +919999009286


Sending welcome WhatsApp notification to: +919999009310


Sending welcome WhatsApp notification to: +919999009343


Initializing Email Service Client


Generating Email Request


Sending welcome WhatsApp notification to: +919999009376


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


Reading and binding data to Email Template


Your OQSHA Access Has Been Updated


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


--- Email response from Osmo-x is 201


### End Event Execution ###


### Start Event Execution ###


Welcome to OQSHA


Sending welcome WhatsApp notification to: +919999009288


Osmo-x WhatsApp Message has been Sent


Sending welcome WhatsApp notification to: +919999006575


Sending welcome WhatsApp notification to: +919999009380


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


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


Calling Send Email Function for Update User Email


Initializing Email Service Client


Generating Email Request


Sending welcome WhatsApp notification to: +919999009394


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


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


Calling Send Email Function for Add User Email


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


--- Email response from Osmo-x is 201


Sending welcome WhatsApp notification to: +919999009369


### End Event Execution ###


### Start Event Execution ###


Your OQSHA Access Has Been Updated


Welcome to OQSHA


Sending welcome WhatsApp notification to: +919999025248


Osmo-x WhatsApp Message has been Sent


Sending welcome WhatsApp notification to: +919999009298


Sending welcome WhatsApp notification to: +919999009386


Initializing Email Service Client


Generating Email Request


Sending welcome WhatsApp notification to: +919999009393


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


Reading and binding data to Email Template


Sending welcome WhatsApp notification to: +919999009392


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


--- Email response from Osmo-x is 201


Sending welcome WhatsApp notification to: +919999001600


### End Event Execution ###


### Start Event Execution ###


Sending welcome WhatsApp notification to: +919999003456


Welcome to OQSHA


Sending welcome WhatsApp notification to: +919999001905


Osmo-x WhatsApp Message has been Sent


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


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


Calling Send Email Function for Update User Email


Initializing Email Service Client


Generating Email Request


Your OQSHA Access Has Been Updated


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


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


Calling Send Email Function for Add User Email


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


--- Email response from Osmo-x is 201


Sending welcome WhatsApp notification to: +919999008368


### End Event Execution ###


### Start Event Execution ###


Welcome to OQSHA


Sending welcome WhatsApp notification to: +919999008369


Osmo-x WhatsApp Message has been Sent


Sending welcome WhatsApp notification to: +919999009315


Sending welcome WhatsApp notification to: +919999009346


Sending welcome WhatsApp notification to: +919999009337


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


Reading and binding data to Email Template


Initializing Email Service Client


Generating Email Request


Your OQSHA Access Has Been Updated


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


# Calling SendBatchesFrozenNotification for organisationId=264 #


Using org-specific template for Org 264: Templates\OrgTemplates\264\Templates\BatchesFrozenTemplate.html


Training Calendar Frozen - August 2026


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


--- Email response from Osmo-x is 201


## Frozen Batches Emails Sent to 18 Departmental Role Users ##


### End Event Execution ###


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


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


### Start Event Execution ###


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


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


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


## Frozen Batches Global Executive Summary Sent. TO: 3 users, CC: 1 users ##


Message : {"EventName":"NOTIFICATION_FOR_BATCH_SCHEDULING_COMPLETED","EventArgs":[{"Key":"OrganisationId","Value":264},{"Key":"OrganisationName","Value":"Neveu"},{"Key":"TniId","Value":178},{"Key":"TniName","Value":"TNI - HIRA & Risk-Based Decision Making - Executive"},{"Key":"CourseId","Value":288},{"Key":"SiteId","Value":900},{"Key":"UserIds","Value":"[14489,16599,14540,17210,15706,17183,17191,15438,15741,15946,15955,16602,16904,17148,16332,15104,15653,16273,15992,16935,16545,16546,16547,16548,16549,19276,19277,21986]"}]}


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


# Calling SendBatchSchedulingCompletedNotification for tniId=178 organisationId=264 #


Using org-specific template for Org 264: Templates\OrgTemplates\264\Templates\TniBatchScheduledTemplate.html


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


Reading and binding data to Email Template


kailash.kumardewangan.30222@oqsha.co, kishor.kumarverma.3134@oqsha.co, tikendra.kumarverma.7417@oqsha.co, navdeep.rajsharma.30454@oqsha.co, derha.ramsahu.10306@oqsha.co, sunil.kumarverma.15050@oqsha.co, lomesh.kumarchandraker.40118@oqsha.co, govind.chandrawanshi.40081@oqsha.co, vijay.kumarjatwar.20087@oqsha.co, ashish.jujawane.3776@oqsha.co, shri.rakeshkumarjha.2345@oqsha.co, lalit.kumarwas.30153@oqsha.co, atanu.shubhadarshi.7550@oqsha.co, karri.sunil.7722@oqsha.co, abhinesh.kewat.7723@oqsha.co, swapnil.phansalkar.5303@oqsha.co, avinash.sharma.7708@oqsha.co, vinay.kumarpandey.3477@oqsha.co, madan.manikraokuthe.30201@oqsha.co, dewdutt.3860@oqsha.co, nitish.kumarsehra.15027@oqsha.co, sudesh.selkar.3809@oqsha.co, akhilesh.patel.3423@oqsha.co, manjeet.singh.4571@oqsha.co, ishwar.lalsonkar.40001@oqsha.co, tarini.charanmartha.7554@oqsha.co, ashutosh.mishra.7552@oqsha.co, hemant.kumar.9315@oqsha.co

Batch Scheduling Completed for TNI - HIRA & Risk-Based Decision Making - Executive


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


--- Email response from Osmo-x is 201


## Bulk Batch Scheduling Email Sent to 28 Safety Heads ##


### End Event Execution ###


### Start Event Execution ###


Message : {"EventName":"Update_USER","EventArgs":[{"Key":"DisplayName","Value":"Derek Cope"},{"Key":"Password","Value":""},{"Key":"OrganisationName","Value":"Kura Oncology Inc."},{"Key":"UserDivisions","Value":"Unsafe Act, Unsafe Condition, Observation, Near Miss"},{"Key":"UserIncidentSites","Value":"Carson Valley, Hickory Grove, Morgan's Point Resort, Old Orchard"},{"Key":"OldEmail","Value":""},{"Key":"Email","Value":"TITAGARH_ADMIN@oqsha.com"}]}


Initializing Email Service Client


Generating Email Request


Your OQSHA Access Has Been Updated


Message : {"EventName":"Update_APP_USER","EventArgs":[{"Key":"DisplayName","Value":"Derek Cope"},{"Key":"Password","Value":""},{"Key":"OrganisationName","Value":"Kura Oncology Inc."},{"Key":"UserUid","Value":"10313"},{"Key":"UserDivisions","Value":"Unsafe Act, Unsafe Condition, Observation, Near Miss"},{"Key":"UserIncidentSites","Value":"Carson Valley, Hickory Grove, Morgan's Point Resort, Old Orchard"},{"Key":"Email","Value":"TITAGARH_ADMIN@oqsha.com"},{"Key":"MobileNumber","Value":"+612222222220"}]}


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


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000001875","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":"Hebert Eaton"},{"type":"text","text":"Action Tracker"},{"type":"text","text":"AT/FBYDW/KHA/MRA/26/00001"},{"type":"text","text":"Unit 1-250T Mech Press-Acknowledgement system not working"},{"type":"text","text":"Machine Risk Assessment"},{"type":"text","text":"https://oqsha.com/#/tasks/edit/16314?dlType=viewTask&orgID=248"},{"type":"text","text":"EHS Department - TTK Prestige Limited"}]}]}}}


Osmo-x WhatsApp Message has been Sent


Sending Task Assignment Email for TaskId: 16314, UserId: 267


New Action Tracker Assigned - AT/FBYDW/KHA/MRA/26/00001


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


--- Email response from Osmo-x is 201


# Preparing notification body #


# Fetching devices bypassing preferences (Single System Fallback) #


### End Event Execution ###


### Start Event Execution ###


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000001875","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":"Hebert Eaton"},{"type":"text","text":"Action Tracker"},{"type":"text","text":"AT/FBYDW/KHA/MRA/26/00002"},{"type":"text","text":"Unit 1-250T Mech Press-Acknowledgement system not working"},{"type":"text","text":"Machine Risk Assessment"},{"type":"text","text":"https://oqsha.com/#/tasks/edit/16315?dlType=viewTask&orgID=248"},{"type":"text","text":"EHS Department - TTK Prestige Limited"}]}]}}}


Sending Task Assignment Email for TaskId: 16315, UserId: 267


Initializing Email Service Client


Generating Email Request


New Action Tracker Assigned - AT/FBYDW/KHA/MRA/26/00002


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


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


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000001875","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":"Hebert Eaton"},{"type":"text","text":"Action Tracker"},{"type":"text","text":"AT/FBYDW/KHA/MRA/26/00003"},{"type":"text","text":"Unit 1-250T Mech Press-Acknowledgement system not working"},{"type":"text","text":"Machine Risk Assessment"},{"type":"text","text":"https://oqsha.com/#/tasks/edit/16316?dlType=viewTask&orgID=248"},{"type":"text","text":"EHS Department - TTK Prestige Limited"}]}]}}}


Osmo-x WhatsApp Message has been Sent


Sending Task Assignment Email for TaskId: 16316, UserId: 267


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


Reading and binding data to Email Template


New Action Tracker Assigned - AT/FBYDW/KHA/MRA/26/00003


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


--- Email response from Osmo-x is 201


# Preparing notification body #


### End Event Execution ###


### Start Event Execution ###


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000001875","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":"Hebert Eaton"},{"type":"text","text":"Action Tracker"},{"type":"text","text":"AT/FBYDW/KHA/MRA/26/00004"},{"type":"text","text":"Unit 1-250T Mech Press-Acknowledgement system not working"},{"type":"text","text":"Machine Risk Assessment"},{"type":"text","text":"https://oqsha.com/#/tasks/edit/16317?dlType=viewTask&orgID=248"},{"type":"text","text":"EHS Department - TTK Prestige Limited"}]}]}}}


Sending Task Assignment Email for TaskId: 16317, UserId: 267


Initializing Email Service Client


Generating Email Request


New Action Tracker Assigned - AT/FBYDW/KHA/MRA/26/00004


Message : {"EventName":"NOTIFICATION_FOR_BATCH_SCHEDULING_COMPLETED","EventArgs":[{"Key":"OrganisationId","Value":264},{"Key":"OrganisationName","Value":"Neveu"},{"Key":"TniId","Value":179},{"Key":"TniName","Value":"TNI - Industrial Vehicle & Road Safety - Executive"},{"Key":"CourseId","Value":289},{"Key":"SiteId","Value":846},{"Key":"UserIds","Value":"[14489,16599,14540,17210,15706,17183,17191,15438,15741,15946,15955,16602,16904,17148,16332,15104,15653,16273,15992,16935,21986]"}]}


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


# Calling SendBatchSchedulingCompletedNotification for tniId=179 organisationId=264 #


Using org-specific template for Org 264: Templates\OrgTemplates\264\Templates\TniBatchScheduledTemplate.html


kailash.kumardewangan.30222@oqsha.co, kishor.kumarverma.3134@oqsha.co, tikendra.kumarverma.7417@oqsha.co, navdeep.rajsharma.30454@oqsha.co, derha.ramsahu.10306@oqsha.co, sunil.kumarverma.15050@oqsha.co, lomesh.kumarchandraker.40118@oqsha.co, govind.chandrawanshi.40081@oqsha.co, vijay.kumarjatwar.20087@oqsha.co, ashish.jujawane.3776@oqsha.co, shri.rakeshkumarjha.2345@oqsha.co, lalit.kumarwas.30153@oqsha.co, vinay.kumarpandey.3477@oqsha.co, madan.manikraokuthe.30201@oqsha.co, dewdutt.3860@oqsha.co, nitish.kumarsehra.15027@oqsha.co, sudesh.selkar.3809@oqsha.co, akhilesh.patel.3423@oqsha.co, manjeet.singh.4571@oqsha.co, ishwar.lalsonkar.40001@oqsha.co, hemant.kumar.9315@oqsha.co

Batch Scheduling Completed for TNI - Industrial Vehicle & Road Safety - Executive


## Bulk Batch Scheduling Email Sent to 21 Safety Heads ##


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


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


Calling Send Email Function for Add User Email


Welcome to OQSHA


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


--- Email response from Osmo-x is 201


Skipping welcome WhatsApp notification because mobile number is empty.


### End Event Execution ###


### Start Event Execution ###


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


# Calling SendNotificationToIssuerForCreatingPermitToWork function for whatsapp and push notification #


# Fetching devices bypassing preferences (system event or unknown module) (Bulk) #


Executing sending notification to issuers through whatsapp


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


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000002453","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/HUBG/TFX/AIP/CW/26/00001"},{"type":"text","text":"13-Aug-2026"},{"type":"text","text":"Cold work"},{"type":"text","text":"Meadow Oaks"},{"type":"text","text":" "},{"type":"text","text":"Requested by Raleigh Swaney at 12-Aug-2026 08:43:32 PM"},{"type":"text","text":"Issue"},{"type":"text","text":"Ana Osborn"},{"type":"text","text":"https://sandbox.oqsha.com/#/wp/view/207/428313"}]}]}}}


Osmo-x WhatsApp Message has been Sent


Executing sending push notification to the issuers


# Push Subject for Issuer P/HUBG/TFX/AIP/CW/26/00001


# Preparing notification body #


# Checking for device existence #


# User device exists #


Sending notification for permit to work: 428313


Inside SendAppNotification Device Type: GCM


Generating AWS SNS Request


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/f4efb887-45b1-3133-8647-101a6629c0a9


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


# Push notification did not send #


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/749893de-40e6-393c-b85b-0432f20014e3


Push notification failed to send to a device 15997.


### End Event Execution ###


### Start Event Execution ###


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


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


Calling Send Email Function for Add User Email


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


Reading and binding data to Email Template


Initializing Email Service Client


Generating Email Request


Welcome to OQSHA


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


--- Email response from Osmo-x is 201


Sending welcome WhatsApp notification to: +919832850034


Osmo-x WhatsApp Message has been Sent


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


Message : {"EventName":"ASSIGNED_TO_NOTIFICATION","EventArgs":[{"Key":"AssignedIncidentID","Value":78534},{"Key":"OrgId","Value":204},{"Key":"AssignedToID","Value":11031}]}


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


Local File Delete Failed

System.IO.IOException: The process cannot access the file 'D:\App-Data\iis\api.incidentreporter365.com\attachments\incidents\exports\OQSHA_Ticket_T_BEAT_NMM_26_00001.pdf' because it is being used by another process.
   at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
   at System.IO.File.InternalDelete(String path, Boolean checkHost)
   at System.IO.File.Delete(String path)
   at IncidentReporter.API.Helpers.AttachmentsHelper.S3Integration.UploadAndDeleteLocal(String localFilePath, String relativeDbPath) in C:\GitLab-Runner\builds\27n6lYj0J\0\incident-reporter\incident-reporter-api\IncidentReporter\IncidentReporter.API\Helpers\AttachmentsHelper.cs:line 415


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


# Preparing notification body #


# Fetching devices bypassing preferences (Single System Fallback) #


# Checking for device existence #


# User device exists #


Sending Assigned To Notification for IncidentId:78534


Inside SendAppNotification Device Type: GCM


Generating AWS SNS Request


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/5e230537-4dc2-343f-8cb8-6ceb8df258a9


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


# Push notification did not send #


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


### End Event Execution ###


### Start Event Execution ###


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


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


Reading and binding data to Email Template


Initializing Email Service Client


Generating Email Request


Ticket T/BEAT/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":"918888888882","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":"Randal Jessup"},{"type":"text","text":"Ticket"},{"type":"text","text":"T/BEAT/NMM/26/00001"},{"type":"text","text":"Ticket status updated to Resolved., Assigned To has been updated to 'Conway Alt', Due Date has been updated to '12-Aug-2026', , Comments are added as resolving"},{"type":"text","text":"Ticket"},{"type":"text","text":"testing"},{"type":"text","text":"Robertsdale"},{"type":"text","text":"Near Miss"},{"type":"text","text":"Randal Jessup"},{"type":"text","text":"Heartbeam Inc."},{"type":"text","text":"Resolved"},{"type":"text","text":"https://sandbox.oqsha.com/#/inct/view/204/78534"},{"type":"text","text":"Oqsha Team"}]}]}}}


Osmo-x WhatsApp Message has been Sent


# Preparing notification body #


# Checking for device existence #


# User device exists #


Generating AWS SNS Request


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Test/1e639abe-5841-3c61-8b07-eae0d387f089


Unauthorized


Push notification failed to send to a device 25406.


# Push notification did not send #


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Test/554e87ad-12cb-355c-9846-91d24e9c8030


Push notification failed to send to a device 25412.


Sending email for incident closure


Error occurred while sending email using Osmo-x.


System.NullReferenceException: Object reference not set to an instance of an object.
   at IncidentReporter.NotificationSender.EmailHelper.SendEmail(String template, String subject, Object args, String toAddress, String ccAddress, List`1 reportAttachments, List`1 additionalAttachmentsFilePath, String rootEmailTemplatePath, OrganisationFromConfig organisationFromAddress) in C:\GitLab-Runner\builds\27n6lYj0J\0\incident-reporter\incident-reporter-api\IncidentReporter\IncidentReporter.NotificationSender\Helpers\EmailHelper.cs:line 39


# Fetching devices bypassing preferences (Single System Fallback) #


Sending Assigned To Notification for IncidentId:78534


Inside SendAppNotification Device Type: GCM


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/cd147add-559f-39a0-aa42-2a122117d365


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


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


Push notification failed to send to a device 2568.


# Checking for device existence #


# User device exists #


Generating AWS SNS Request


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/22f1e197-ee6f-3ada-874b-b733f95c9f23


Unauthorized


Push notification failed to send to a device 6256.


# Push notification did not send #


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/f3e2e940-ac5f-343e-9c85-fc9a2a9d655f


Push notification failed to send to a device 16977.


Sending Assigned To Whatsapp for IncidentId:78534


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000006478","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":"Jacqui Skelton"},{"type":"text","text":"Ticket"},{"type":"text","text":"T/BEAT/NMM/26/00001"},{"type":"text","text":"Ticket status updated to Resolved., Assigned To has been updated to 'Conway Alt', Due Date has been updated to '12-Aug-2026', , Comments are added as resolving"},{"type":"text","text":"Ticket"},{"type":"text","text":"testing"},{"type":"text","text":"Robertsdale"},{"type":"text","text":"Near Miss"},{"type":"text","text":"Randal Jessup"},{"type":"text","text":"Heartbeam Inc."},{"type":"text","text":"Resolved"},{"type":"text","text":"https://sandbox.oqsha.com/#/inct/view/204/78534"},{"type":"text","text":"Oqsha Team"}]}]}}}


Osmo-x WhatsApp Message has been Sent


# Preparing notification body #


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000001710","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":"Hellen Maravilla"},{"type":"text","text":"Ticket"},{"type":"text","text":"T/BEAT/NMM/26/00001"},{"type":"text","text":"Ticket status updated to Resolved., Assigned To has been updated to 'Conway Alt', Due Date has been updated to '12-Aug-2026', , Comments are added as resolving"},{"type":"text","text":"Ticket"},{"type":"text","text":"testing"},{"type":"text","text":"Robertsdale"},{"type":"text","text":"Near Miss"},{"type":"text","text":"Randal Jessup"},{"type":"text","text":"Heartbeam Inc."},{"type":"text","text":"Resolved"},{"type":"text","text":"https://sandbox.oqsha.com/#/inct/view/204/78534"},{"type":"text","text":"Oqsha Team"}]}]}}}


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/1ed0574f-f394-38d4-b33c-1065f3e9da1e


Push notification failed to send to a device 18903.


Sending email for incident closure


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


Error occurred while sending email using Osmo-x.


Object reference not set to an instance of an object.


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000005109","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":"Kathaleen Hoopes"},{"type":"text","text":"Ticket"},{"type":"text","text":"T/BEAT/NMM/26/00001"},{"type":"text","text":"Ticket status updated to Resolved., Assigned To has been updated to 'Conway Alt', Due Date has been updated to '12-Aug-2026', , Comments are added as resolving"},{"type":"text","text":"Ticket"},{"type":"text","text":"testing"},{"type":"text","text":"Robertsdale"},{"type":"text","text":"Near Miss"},{"type":"text","text":"Randal Jessup"},{"type":"text","text":"Heartbeam Inc."},{"type":"text","text":"Resolved"},{"type":"text","text":"https://sandbox.oqsha.com/#/inct/view/204/78534"},{"type":"text","text":"Oqsha Team"}]}]}}}


# Fetching devices bypassing preferences (Single System Fallback) #


# Checking for device existence #


# User device exists #


Sending Assigned To Notification for IncidentId:78534


Inside SendAppNotification Device Type: GCM


Generating AWS SNS Request


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/abfbb79d-5114-3c62-aee6-78baa764354c


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


# Push notification did not send #


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/b4e726de-b571-3756-b126-e08a1164782c


Push notification failed to send to a device 7600.


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/c7fff072-7259-3f95-9dfe-f4bc33cb28f5


Push notification failed to send to a device 7865.


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/f7006075-c67c-34a5-954c-17b754622a61


Push notification failed to send to a device 18343.


Sending email for incident closure


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


Error occurred while sending email using Osmo-x.


Object reference not set to an instance of an object.


Sending Assigned To Whatsapp for IncidentId:78534


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000000786","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":"Osborn Mcclintock"},{"type":"text","text":"Ticket"},{"type":"text","text":"T/BEAT/NMM/26/00001"},{"type":"text","text":"Ticket status updated to Resolved., Assigned To has been updated to 'Conway Alt', Due Date has been updated to '12-Aug-2026', , Comments are added as resolving"},{"type":"text","text":"Ticket"},{"type":"text","text":"testing"},{"type":"text","text":"Robertsdale"},{"type":"text","text":"Near Miss"},{"type":"text","text":"Randal Jessup"},{"type":"text","text":"Heartbeam Inc."},{"type":"text","text":"Resolved"},{"type":"text","text":"https://sandbox.oqsha.com/#/inct/view/204/78534"},{"type":"text","text":"Oqsha Team"}]}]}}}


Osmo-x WhatsApp Message has been Sent


# Preparing notification body #


# Fetching devices bypassing preferences (Single System Fallback) #


# Checking for device existence #


# User device exists #


Sending Assigned To Notification for IncidentId:78534


Inside SendAppNotification Device Type: GCM


Generating AWS SNS Request


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/80f2e057-c1c4-33ff-ab71-96a94157f825


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


# Push notification did not send #


Sending email for incident closure


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000009155","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 Skelton"},{"type":"text","text":"Ticket"},{"type":"text","text":"T/BEAT/NMM/26/00001"},{"type":"text","text":"Ticket status updated to Resolved., Assigned To has been updated to 'Conway Alt', Due Date has been updated to '12-Aug-2026', , Comments are added as resolving"},{"type":"text","text":"Ticket"},{"type":"text","text":"testing"},{"type":"text","text":"Robertsdale"},{"type":"text","text":"Near Miss"},{"type":"text","text":"Randal Jessup"},{"type":"text","text":"Heartbeam Inc."},{"type":"text","text":"Resolved"},{"type":"text","text":"https://sandbox.oqsha.com/#/inct/view/204/78534"},{"type":"text","text":"Oqsha Team"}]}]}}}


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/51b263a2-751d-3f27-9fe4-a6d058409422


Push notification failed to send to a device 17143.


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000001657","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":"Karla Mcclintock"},{"type":"text","text":"Ticket"},{"type":"text","text":"T/BEAT/NMM/26/00001"},{"type":"text","text":"Ticket status updated to Resolved., Assigned To has been updated to 'Conway Alt', Due Date has been updated to '12-Aug-2026', , Comments are added as resolving"},{"type":"text","text":"Ticket"},{"type":"text","text":"testing"},{"type":"text","text":"Robertsdale"},{"type":"text","text":"Near Miss"},{"type":"text","text":"Randal Jessup"},{"type":"text","text":"Heartbeam Inc."},{"type":"text","text":"Resolved"},{"type":"text","text":"https://sandbox.oqsha.com/#/inct/view/204/78534"},{"type":"text","text":"Oqsha Team"}]}]}}}


Osmo-x WhatsApp Message has been Sent


# Preparing notification body #


# Checking for device existence #


# User device exists #


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/056dd5a1-1c27-3e4d-9114-c7300dcd4445


Push notification failed to send to a device 2589.


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


Error occurred while sending email using Osmo-x.


Object reference not set to an instance of an object.


Sending Assigned To Whatsapp for IncidentId:78534


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000009853","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":"Areli Shrum"},{"type":"text","text":"Ticket"},{"type":"text","text":"T/BEAT/NMM/26/00001"},{"type":"text","text":"Ticket status updated to Resolved., Assigned To has been updated to 'Conway Alt', Due Date has been updated to '12-Aug-2026', , Comments are added as resolving"},{"type":"text","text":"Ticket"},{"type":"text","text":"testing"},{"type":"text","text":"Robertsdale"},{"type":"text","text":"Near Miss"},{"type":"text","text":"Randal Jessup"},{"type":"text","text":"Heartbeam Inc."},{"type":"text","text":"Resolved"},{"type":"text","text":"https://sandbox.oqsha.com/#/inct/view/204/78534"},{"type":"text","text":"Oqsha Team"}]}]}}}


# Fetching devices bypassing preferences (Single System Fallback) #


Sending Assigned To Notification for IncidentId:78534


Inside SendAppNotification Device Type: GCM


Generating AWS SNS Request


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/b0093205-7b0a-3ffc-a18f-0554136bb760


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


# Push notification did not send #


# Checking for device existence #


# User device exists #


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/9cef82ec-ee40-3b87-8215-1f0ad7165ff7


Push notification failed to send to a device 5927.


Endpoint: arn:aws:sns:ap-south-1:637423593880:endpoint/GCM/Oqsha-Android-Production/9ae6f153-9f95-3b3a-9f54-55d87741a891


Push notification failed to send to a device 9010.


Sending email for incident closure


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000004003","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":"Marley Lacy"},{"type":"text","text":"Ticket"},{"type":"text","text":"T/BEAT/NMM/26/00001"},{"type":"text","text":"Ticket status updated to Resolved., Assigned To has been updated to 'Conway Alt', Due Date has been updated to '12-Aug-2026', , Comments are added as resolving"},{"type":"text","text":"Ticket"},{"type":"text","text":"testing"},{"type":"text","text":"Robertsdale"},{"type":"text","text":"Near Miss"},{"type":"text","text":"Randal Jessup"},{"type":"text","text":"Heartbeam Inc."},{"type":"text","text":"Resolved"},{"type":"text","text":"https://sandbox.oqsha.com/#/inct/view/204/78534"},{"type":"text","text":"Oqsha Team"}]}]}}}


Osmo-x WhatsApp Message has been Sent


### Ended processing Update incident Event ###


### End Event Execution ###


### Start Event Execution ###


Message : {"EventName":"ADD_APP_USER","EventArgs":[{"Key":"DisplayName","Value":"Elizabet Patty"},{"Key":"Password","Value":"Oqsha@123"},{"Key":"OrganisationName","Value":"Heartbeam Inc."},{"Key":"UserUid","Value":"samar"},{"Key":"UserDivisions","Value":"Environmental, Fire, First Aid, Hazard, Incident, Near Miss, Unsafe Act, Unsafe Condition"},{"Key":"UserIncidentSites","Value":"Robertsdale"},{"Key":"Email","Value":""},{"Key":"MobileNumber","Value":"+912000003468"},{"Key":"WhatsAppNumber","Value":"+912000003468"}]}


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


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


Calling Send Email Function for Add User Email


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


No email addresses passed.


Sending welcome WhatsApp notification to: +912000003468


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


# Calling SendNotificationToIssuerForCreatingPermitToWork function for whatsapp and push notification #


# Fetching devices bypassing preferences (system event or unknown module) (Bulk) #


Executing sending notification to issuers through whatsapp


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


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000003468","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/BEAT/COM/AKTS/GW/26/00001"},{"type":"text","text":"13-Aug-2026"},{"type":"text","text":"General Work"},{"type":"text","text":"Robertsdale"},{"type":"text","text":" "},{"type":"text","text":"Requested by Randal Jessup at 12-Aug-2026 09:46:09 PM"},{"type":"text","text":"Review"},{"type":"text","text":"Elizabet Patty"},{"type":"text","text":"https://sandbox.oqsha.com/#/wp/view/204/428314"}]}]}}}


Osmo-x WhatsApp Message has been Sent


Executing sending push notification to the issuers


# Push Subject for Issuer P/BEAT/COM/AKTS/GW/26/00001


# Preparing notification body #


### End Event Execution ###


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


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


### 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: [1778,2552,4258]


Starting Execution for whatsapp notification for all


Sending notification to requester regarding permit to work 428314


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"918888888882","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"ptw_generic_status_template_v4","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"P/BEAT/COM/AKTS/GW/26/00001"},{"type":"text","text":"13-Aug-2026"},{"type":"text","text":"General Work"},{"type":"text","text":"Robertsdale"},{"type":"text","text":" "},{"type":"text","text":"Reviewed by Elizabet Patty at 12-Aug-2026 09:51:02 PM"},{"type":"text","text":"Start Work"},{"type":"text","text":"https://sandbox.oqsha.com/#/wp/view/204/428314"}]}]}}}


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000007000","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"ptw_generic_status_template_v4","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"P/BEAT/COM/AKTS/GW/26/00001"},{"type":"text","text":"13-Aug-2026"},{"type":"text","text":"General Work"},{"type":"text","text":"Robertsdale"},{"type":"text","text":" "},{"type":"text","text":"Reviewed by Elizabet Patty at 12-Aug-2026 09:51:02 PM"},{"type":"text","text":"Start Work"},{"type":"text","text":"https://sandbox.oqsha.com/#/wp/view/204/428314"}]}]}}}


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000000776","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"ptw_generic_status_template_v4","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"P/BEAT/COM/AKTS/GW/26/00001"},{"type":"text","text":"13-Aug-2026"},{"type":"text","text":"General Work"},{"type":"text","text":"Robertsdale"},{"type":"text","text":" "},{"type":"text","text":"Reviewed by Elizabet Patty at 12-Aug-2026 09:51:02 PM"},{"type":"text","text":"Start Work"},{"type":"text","text":"https://sandbox.oqsha.com/#/wp/view/204/428314"}]}]}}}


Starting Execution for push notification for all


# string body 13-Aug-2026, Elizabet Patty, P/BEAT/COM/AKTS/GW/26/00001, 13-Aug-2026


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


# Calling SendNotificationToIssuersForExtensionPTW function for whatsapp and push notification #


# Fetching devices bypassing preferences (system event or unknown module) (Bulk) #


Executing sending notification to issuers for extended PTW through whatsapp


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


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000003468","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/BEAT/COM/AKTS/GW/26/00001"},{"type":"text","text":"13-Aug-2026"},{"type":"text","text":"General Work"},{"type":"text","text":"Robertsdale"},{"type":"text","text":" "},{"type":"text","text":"Extension Requested by Randal Jessup for 3 hour(s) at 12-Aug-2026 09:52:20 PM"},{"type":"text","text":"Extension Review"},{"type":"text","text":"Elizabet Patty"},{"type":"text","text":"https://sandbox.oqsha.com/#/wp/view/204/428314"}]}]}}}


Osmo-x WhatsApp Message has been Sent


Executing sending push notification to the issuers for extended PTW


# Preparing notification body #


# Push Subject for Issuer P/BEAT/COM/AKTS/GW/26/00001


# string body Randal Jessup, 3 hour(s), P/BEAT/COM/AKTS/GW/26/00001


### End Event Execution ###


### Start Event Execution ###


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


# Calling SendNotificationForPTWHistory function for whatsapp and push notification #


Executing sending notification to reviewer through whatsapp


Sending notification to reviewer of the comapny regarding permit to work 428314


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


# Calling SendNotificationToAllExceptReviewerForExtendedPTW function for  whatsapp and push notification #


Starting Execution for whatsapp notification for all


Sending notification to requester regarding permit to work 428314


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"918888888882","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"ptw_generic_status_template_v4","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"P/BEAT/COM/AKTS/GW/26/00001"},{"type":"text","text":"13-Aug-2026"},{"type":"text","text":"General Work"},{"type":"text","text":"Robertsdale"},{"type":"text","text":" "},{"type":"text","text":"Extension Reviewed by Elizabet Patty for 3 hour(s) at 12-Aug-2026 09:53:15 PM"},{"type":"text","text":"Start Work"},{"type":"text","text":"https://sandbox.oqsha.com/#/wp/view/204/428314"}]}]}}}


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000007000","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"ptw_generic_status_template_v4","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"P/BEAT/COM/AKTS/GW/26/00001"},{"type":"text","text":"13-Aug-2026"},{"type":"text","text":"General Work"},{"type":"text","text":"Robertsdale"},{"type":"text","text":" "},{"type":"text","text":"Extension Reviewed by Elizabet Patty for 3 hour(s) at 12-Aug-2026 09:53:15 PM"},{"type":"text","text":"Start Work"},{"type":"text","text":"https://sandbox.oqsha.com/#/wp/view/204/428314"}]}]}}}


Osmo-x WhatsApp Message has been Sent


Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000000776","messaging_product":"whatsapp","type":"template","template":{"namespace":"d8bcb6bd_2ab2_439c_9d9e_947501266c77","name":"ptw_generic_status_template_v4","language":{"policy":"deterministic","code":"en"},"components":[{"type":"body","sub_type":null,"index":0,"parameters":[{"type":"text","text":"P/BEAT/COM/AKTS/GW/26/00001"},{"type":"text","text":"13-Aug-2026"},{"type":"text","text":"General Work"},{"type":"text","text":"Robertsdale"},{"type":"text","text":" "},{"type":"text","text":"Extension Reviewed by Elizabet Patty for 3 hour(s) at 12-Aug-2026 09:53:15 PM"},{"type":"text","text":"Start Work"},{"type":"text","text":"https://sandbox.oqsha.com/#/wp/view/204/428314"}]}]}}}


# Preparing notification body #


# string body Elizabet Patty, 3 hour(s), P/BEAT/COM/AKTS/GW/26/00001


Message : {"EventName":"NOTIFICATION_FOR_BATCH_SCHEDULING_COMPLETED","EventArgs":[{"Key":"OrganisationId","Value":264},{"Key":"OrganisationName","Value":"Neveu"},{"Key":"TniId","Value":213},{"Key":"TniName","Value":"TNI - Safety Leadership & Behavioral Safety"},{"Key":"CourseId","Value":284},{"Key":"SiteId","Value":900},{"Key":"UserIds","Value":"[14489,16599,14540,17210,15706,17183,17191,15438,15741,15946,15955,16602,16904,17148,16332,15104,15653,16273,15992,16935,21986]"}]}


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


# Calling SendBatchSchedulingCompletedNotification for tniId=213 organisationId=264 #


Using org-specific template for Org 264: Templates\OrgTemplates\264\Templates\TniBatchScheduledTemplate.html


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


Reading and binding data to Email Template


Initializing Email Service Client


Generating Email Request


Batch Scheduling Completed for TNI - Safety Leadership & Behavioral Safety


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


--- Email response from Osmo-x is 201


## Bulk Batch Scheduling Email Sent to 21 Safety Heads ##


### End Event Execution ###


### Start Event Execution ###


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


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


Calling Send Email Function for Update User Email


Your OQSHA Access Has Been Updated


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


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


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


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


Calling Send Email Function for Add User Email


Initializing Email Service Client


Generating Email Request


Welcome to OQSHA


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


--- Email response from Osmo-x is 201


Sending welcome WhatsApp notification to: +918888007550


Osmo-x WhatsApp Message has been Sent


### End Event Execution ###


### Start Event Execution ###


Sending welcome WhatsApp notification to: +918888007684


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


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


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


Sending Task Assignment Email for TaskId: 16319, UserId: 267


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


Reading and binding data to Email Template


Initializing Email Service Client


Generating Email Request


New Action Tracker Assigned - AT/WNW/RMS/SWW/26/00002


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


--- Email response from Osmo-x is 201


# Preparing notification body #


# Fetching devices bypassing preferences (Single System Fallback) #


### End Event Execution ###