PeterL Posted May 13, 2022 Share Posted May 13, 2022 Just wondering if there is a way to mass remove all tasks from a user to then be able to remove the licence. The user has 640 items assigned to them. I have added myself as their manager so can see the list of tasks. 1 Link to comment Share on other sites More sharing options...
PeterL Posted May 13, 2022 Author Share Posted May 13, 2022 Guessing there is no easy way to do this? Is there a DELETE query that can be ran against the DB as i can run a SELECT and get all the results but a DELETE comes back with an error: SELECT * FROM h_sys_tasks WHERE h_assigned_to = 'urn:sys:user:name' 1 Link to comment Share on other sites More sharing options...
James Ainsworth Posted May 13, 2022 Share Posted May 13, 2022 Deleting incomplete tasks could be problematic to workflows. You can add the Releated Entity column to the Activity List. From there you can see which ones are associated to Service Manager requests. I'd recommend having someone review these to make sure your processes are followed through. Delete and update SQL queries can't be run against the database. This is to protect the integrity of the database. This can only be done at the API level. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now