level: Info

severity: INFO

message: ### Start Event Execution ###


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


message: # Calling SendNotificationForWorkPermitCreation function for email/WhatsApp #


message: Executing email and WhatsApp notifications to WorkPermit approvers


message: Sending WorkPermit creation email to: osm00451@osmosys.co


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


message: Reading and binding data to Email Template


message: Initializing Email Service Client


message: Generating Email Request


from: "OQSHA" <noreply@oqsha.com>

subject: New Work Permit Assigned

created_by: Oqsha Sandbox

updated_by: Oqsha Sandbox

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


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


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


message: Sending WorkPermit creation WhatsApp message to: 912000003019


level: Debug

severity: DEBUG

message: Osmo-x WhatsApp Message has been Sent


message: # Preparing notification body #


message: ### End Event Execution ###


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


message: # Calling SendDepartmentInchargeNotificationForWorkPermitCreation function for email/WhatsApp #


message: ### Start Event Execution ###


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


message: # Calling SendNotificationToIssuerForCreatingPermitToWork function for whatsapp and push notification #


message: Executing sending notification to issuers through whatsapp


message: Sending notification to issuers of the comapny regarding permit to work 367617


level: Warn

severity: WARN

message: Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"919999999999","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/MIRA/FCP/YI/HW/26/00001"},{"type":"text","text":"24-May-2026"},{"type":"text","text":"Hot Work"},{"type":"text","text":"Rio"},{"type":"text","text":" "},{"type":"text","text":"Requested by Neppie Traynor at 23-May-2026 09:01:50 PM"},{"type":"text","text":"Accept"},{"type":"text","text":"Adda Pollak"},{"type":"text","text":"https://oqsha.com/#/work-permit/view/367617?orgID=232&dlType=viewWorkPermit"}]}]}}}


message: Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000010468","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/MIRA/FCP/YI/HW/26/00001"},{"type":"text","text":"24-May-2026"},{"type":"text","text":"Hot Work"},{"type":"text","text":"Rio"},{"type":"text","text":" "},{"type":"text","text":"Requested by Neppie Traynor at 23-May-2026 09:01:50 PM"},{"type":"text","text":"Accept"},{"type":"text","text":"Adda Pollak"},{"type":"text","text":"https://oqsha.com/#/work-permit/view/367617?orgID=232&dlType=viewWorkPermit"}]}]}}}


message: Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000001909","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/MIRA/FCP/YI/HW/26/00001"},{"type":"text","text":"24-May-2026"},{"type":"text","text":"Hot Work"},{"type":"text","text":"Rio"},{"type":"text","text":" "},{"type":"text","text":"Requested by Neppie Traynor at 23-May-2026 09:01:50 PM"},{"type":"text","text":"Accept"},{"type":"text","text":"Adda Pollak"},{"type":"text","text":"https://oqsha.com/#/work-permit/view/367617?orgID=232&dlType=viewWorkPermit"}]}]}}}


message: Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"912000006276","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/MIRA/FCP/YI/HW/26/00001"},{"type":"text","text":"24-May-2026"},{"type":"text","text":"Hot Work"},{"type":"text","text":"Rio"},{"type":"text","text":" "},{"type":"text","text":"Requested by Neppie Traynor at 23-May-2026 09:01:50 PM"},{"type":"text","text":"Accept"},{"type":"text","text":"Adda Pollak"},{"type":"text","text":"https://oqsha.com/#/work-permit/view/367617?orgID=232&dlType=viewWorkPermit"}]}]}}}


message: Osmo-x WhatsApp payload: {"providerId":48,"data":{"to":"917777777771","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/MIRA/FCP/YI/HW/26/00001"},{"type":"text","text":"24-May-2026"},{"type":"text","text":"Hot Work"},{"type":"text","text":"Rio"},{"type":"text","text":" "},{"type":"text","text":"Requested by Neppie Traynor at 23-May-2026 09:01:50 PM"},{"type":"text","text":"Accept"},{"type":"text","text":"Adda Pollak"},{"type":"text","text":"https://oqsha.com/#/work-permit/view/367617?orgID=232&dlType=viewWorkPermit"}]}]}}}


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


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