[AUDIT] No audit reminders to process


Audit log sent successfully.


Pushing Audit Creation Notification Event to NSQ


NotificationObject: {@Object}


Request URL : https://api-qa-staging-2.oqsha.com/Organisations/248/Audit/Statuses


Request URL : https://api-qa-staging-2.oqsha.com/Organisation/248/Users/DropDown?ModuleName=Audit&AcmModuleId=38


Request URL : https://api-qa-staging-2.oqsha.com/Organisations/248/Audits/373


Request URL : https://api-qa-staging-2.oqsha.com/Organisations/248/Audit/373/AuditCommentHistory


Request URL : https://api-qa-staging-2.oqsha.com/Organisations/248/Audit/Types


Request URL : https://api-qa-staging-2.oqsha.com/Organisations/248/Module/38/Entity/373/tasks


Request Body : {"SortingColumn":["Name"],"SortingOrder":["asc"],"SiteId":[708]}


Request URL : https://api-qa-staging-2.oqsha.com/Organisations/211/Statuses


Request URL : https://api-qa-staging-2.oqsha.com/Organisations/211


Request URL : https://api-qa-staging-2.oqsha.com/Organisations/211/TaskCategories/Dropdown


Request Body : {"SiteId":[619,604,617,536,588,801,582,603,602,537,830,616],"UserId":1955}


Request URL : https://api-qa-staging-2.oqsha.com/Organisations/211/Tasks/List


Request URL : https://api-qa-staging-2.oqsha.com/Organisation/211/InspectionType/All?SortingColumn=InspectionType&SortingOrder=asc&userId=1955


Request URL : https://api-qa-staging-2.oqsha.com/Organisations/211/Inspections


Request URL : https://api-qa-staging-2.oqsha.com/Organisations/211/InspectionStatus


Request URL : https://api-qa-staging-2.oqsha.com/Organisations/211/Contractors/All?&IsActive=1


Request URL : https://api-qa-staging-2.oqsha.com/Organisation/211/Users/DropDown?ModuleName=Inspections


Request URL : https://api-qa-staging-2.oqsha.com/Organisations/211/Users/1955


Request URL : https://api-qa-staging-2.oqsha.com/Organisations/211/Audit/Types


Request Body : {"SortingColumn":["Name"],"SortingOrder":["asc"],"SiteId":[]}


Request URL : https://api-qa-staging-2.oqsha.com/Organisations/211/PermitToWork/UsersByRole?ptwJobDesignationId=4


Request URL : https://api-qa-staging-2.oqsha.com/Organisations/211/Audit/Statuses


Request URL : https://api-qa-staging-2.oqsha.com/Organisations/248/Company/All?&IsActive=1


Request URL : https://api-qa-staging-2.oqsha.com/Organisations/248/Statuses


Request URL : https://api-qa-staging-2.oqsha.com/Organisation/248/Users/DropDown?ModuleName=Tasks&SiteId=708&AcmModuleId=27


Request URL : https://api-qa-staging-2.oqsha.com/Organisations/248/TaskCategories/Dropdown


Request URL : https://api-qa-staging-2.oqsha.com/Organisations/211/Audits/All


Request Body : {"OrgId":211,"FromDate":"2026-08-12","ToDate":"2026-08-19","SortingColumn":["StartDate"],"SortingOrder":["desc"],"PageNumber":1,"PageLimit":10}


Request Body : {"SiteId":[708],"Source":"User","UserId":5538}


Request URL : https://api-qa-staging-2.oqsha.com/Organisations/211


Request URL : https://api-qa-staging-2.oqsha.com/Assets/AssetTypes?OrgId=211&SortingOrder=asc&SortingColumn=Name


Request URL : https://api-qa-staging-2.oqsha.com/Assets


Request Body : {"OrgId":[211],"PageNumber":1,"PageLimit":100,"SearchTerm":"","SortingColumn":["CreatedOn"],"SortingOrder":["desc"],"AssetTypeId":[186,190,147,65,146,151,152,187],"IsActive":true}


Request URL : https://api-qa-staging-2.oqsha.com/Organisations/248/Tasks


Request Body : {"SiteId":708,"SiteIds":null,"TaskStatus":151,"TaskCategoryId":null,"AssetIds":[],"RemindersConfig":[],"TaskDetails":[{"TaskDescription":"t1 - 1.1 Availability of Safety Champion & Performing his Job","Priority":2,"DueDate":"2026-08-19T00:00:00Z","AssigneeIds":[5538],"Attachments":[]}],"SaveStatus":1,"CheckListData":[],"AuditId":"373","SectionId":2,"InvestigationId":null}


[CreateTask] Started for OrgId: 248


[CreateTask] Step 1 - Initial setup: 0ms


[CreateTask] Step 2 - Fetch organization: 3ms


[CreateTask] Step 3 - Get task module ID: 2ms


[CreateTask] Step 4 - Fetch organization preferences: 3ms


[CreateTask] Step 6 - Begin transaction: 2ms


[CreateTask] Processing SiteId: 708


[CreateTask] Step 7 - Validate input for SiteId 708: 2ms


[CreateTask] Step 8 - Create task object: 0ms


[CreateTask] Step 9 - Fetch site and module details: 1ms


[CreateTask] Step 10 - Determine task category: 9ms


[CreateTask] Step 11 - Get task category short code: 1ms


[CreateTask] Step 12 - Generate task UID: 23ms


[CreateTask] Step 13 - Insert task into database (TaskId: 16700): 1ms


[CreateTask] Step 14 - Associate PSSR: 0ms


[CreateTask] Step 15 - Parse task association flag: 0ms


[CreateTask] Step 16 - Associate MOC: 0ms


[CreateTask] Step 17 - Associate Audit: 12ms


[CreateTask] Step 18 - Associate HIRA: 0ms


[CreateTask] Step 19 - Associate Investigation: 0ms


[CreateTask] Step 20 - Associate Ticket: 0ms


[CreateTask] Step 21 - Process checklist data: 0ms


[CreateTask] Step 22 - Insert assignees: 0ms


[CreateTask] Step 23 - Process asset IDs: 0ms


[CreateTask] Step 25 - Process child task details: 6ms


[CreateTask] Step 26 - Send assignee notifications: 0ms


Audit log sent successfully.


[CreateTask] Step 28 - Fetch assignees and log audit: 13ms


[CreateTask] Total time for SiteId 708: 78ms


[CreateTask] Step 29 - Commit transaction: 21ms


[CreateTask] Step 30 - Send status update emails: 0ms


[CreateTask] Completed successfully for OrgId: 248. Total execution time: 116ms


Request URL : https://api-qa-staging-2.oqsha.com/Organisations/248/PendingActionsNotifications


Request URL : https://api-qa-staging-2.oqsha.com/Organisations/248/Task/UploadAttachments


Request URL : https://api-qa-staging-2.oqsha.com/Organisations/248/Audits/373


Request URL : https://api-qa-staging-2.oqsha.com/Organisation/248/Users/DropDown?ModuleName=Audit&AcmModuleId=38


Request URL : https://api-qa-staging-2.oqsha.com/Organisations/248/Users/5538


Request URL : https://api-qa-staging-2.oqsha.com/Organisations/248/Audit/Statuses