How to find who cancelled some task in Task Manager?
- Check the time when the task was cancelled.
- Login to OA UI server.
Search through the corresponding UI log for an entry like below:
#grep "cancelTasks" /var/log/poa-ui*.log 2014-10-01 12:24:36,169 b6a88239b7 sor10 DEBUG CORBA #23903276: Plesk.Tasks._ManagerStub.cancelTasks(user_id=xxx (su_user_id=xxxx)) >>> entry
Check that it matches the suspected timeframe, search up using the worker ID (sor10 in the example above), there should be entries like below:
2014-10-01 12:24:36,159 b6a88239b7 sor10 TRACE PDefaultPage EXEC NEW REQUEST: 2014-10-01 12:24:36,159 b6a88239b7 sor10 DEBUG PDefaultPage RDW: init:task_id=10001 2014-10-01 12:24:36,159 b6a88239b7 sor10 DEBUG PDefaultPage RDW: init:event1234submit=doCancel
The "doCancel" entry confirms that the task was canceled and the "task_id" one helps to check whether it was the required task.
From the OA database we can get the login name of that user id:
plesk=> SELECT * FROM identities WHERE identity_id IN (SELECT auth_identity_id FROM users WHERE user_id = xxxx); identity_id | system_id | login -------------+-----------+------------ xxxx | | username01 (1 row)
Feature Request POA-80209: "Ability to record user who cancelled task" has been submitted to the Maintenance Team. Please contact your Account Manager or Pooled Technical Associates team (firstname.lastname@example.org) to trace the status of the issue.