[AWA] User cannot be deleted because of active tasks

Document ID : KB000113623
Last Modified Date : 12/09/2018
Show Technical Document Details
On Automic Workload Automation, when deleting old users, the following error appears:
User-added image
Therefore the users are unable to be deleted.
- There are not-deactivated tasks by that user.
Common solution:
  • Go to client on which you wish to remove the user > open Process Monitoring Perspective > Filter > Time Frame: select the suitable time range & User Object: select the user that you want to remove
  • Click Filter button (leaving option Include deactivated tasks unchecked) > then you should see the tasks that are still active under that particular user
  • Cleaning the tasks that are not deactivated then remove the user.
Workaround that can be applied in case it is still not working:
  • Option 1: Disable/Rename the user can help prevent the security risks while still be able to keep the statistics of that user.
  • Option 2: Use SQL query to search and deactivate tasks under the execution of that user and then delete it (please contact Customer Support for SQL queries)