Jump to content

Unable to remove licence from a user (Tasks assigned)


PeterL

Recommended Posts

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.  

  • Like 1
Link to comment
Share on other sites

Hello Is It Me Youre Looking For GIFs - Get the best GIF on GIPHY

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'
 

  • Like 1
Link to comment
Share on other sites

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.

image.png

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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...