[AUDIT] No audit reminders to process


Audit log sent successfully.


Pushing Audit Creation Notification Event to NSQ


NotificationObject: {"EventName":"AUDIT_CREATION_NOTIFICATION", "EventArgs":[{"Key":"AuditorsUserIds", "Value":"[5538]"},{"Key":"AuditId", "Value":"272"},{"Key":"OrgId", "Value":"248"}]}


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


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


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


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


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


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/272/tasks


Request URL : https://api-qa-staging-2.oqsha.com/Organisation/248/Audit/272/AssociatedTasks


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


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


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


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


Request Body : {"OrgId":[248],"PageLimit":10,"PageNumber":1,"SearchTerm":"","SiteId":[708],"SortingColumn":["InspectionName"],"SortingOrder":["asc"]}


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


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


Request Body : {"SiteId":[]}


Request URL : https://api-qa-staging-2.oqsha.com/AppFilterUsers?Role=fieldStaff&OrgId=248


Request URL : https://api-qa-staging-2.oqsha.com/Organisation/248/Users/DropDown?ModuleName=Tasks&siteId=708&siteId=744&siteId=707&siteId=705&siteId=709&siteId=706


Request URL : https://api-qa-staging-2.oqsha.com/logs/2025-12-24_exception.ndjson


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


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


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


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":"ok -  1.1 How is the HSE policy communicated to all employees and subcontractors on-site? Provide evidence. (Verify through site personnel interactions to assess compliance)","Priority":2,"DueDate":"2026-04-10T00:00:00Z","AssigneeIds":[5835],"Attachments":[]}],"SaveStatus":1,"CheckListData":[],"AuditId":"272","SectionId":2,"InvestigationId":null}


[CreateTask] Started for OrgId: 248


[CreateTask] Step 1 - Initial setup: 0ms


[CreateTask] Step 2 - Fetch organization: 1ms


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


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


[CreateTask] Step 6 - Begin transaction: 0ms


[CreateTask] Processing SiteId: 708


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


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


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


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


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


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


[CreateTask] Step 13 - Insert task into database (TaskId: 11137): 4ms


[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: 9ms


[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: 9ms


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


Audit log sent successfully.


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


[CreateTask] Total time for SiteId 708: 92ms


[CreateTask] Step 29 - Commit transaction: 26ms


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


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


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