Where can I delete request procedures that are still assigned to this user. I wanted to delete it and got this error:
Object <User1,User1> cannot be deleted while objects of type <Request procedures> are still assigned.
try to use the ObjectBrowser, load the User1 person object and execute the method "Delete (including dependent objects(" from the Object menu.
Please be aware that this will also delete all the assigned request procedure or accounts for this person object.
if you cleanup dependencies first, you can do this via script too. You'll be able to delete the object, but this is a very dangerous way: it can bring you a lot of loose entries in different tables. The way Markus described is the better way but with the disadvantage he mentioned (all dependencies of your object will be deleted). I just want to give you a hint to keep it back in mind:
Technically you can not delete the object, because the standard order fills the column UID_PWOORIGIN in PersonInBaseTree. If you clear it (and afterwards the entry in PersonWantsOrg), you'll be able to delete the object. Please be aware that further dependencies can exist (like UID_SHOPPINGCARTORDER aso.)
This is a bit of a nuisance really. A user is assigned a new manager say using the OOB new manager request and then they cannot be simply deleted.
How can the request procedure be removed without using the Delete and remove all dependant objects? I have scheduled process that looks for disabled expired accounts of a certain type and deletes them. This gets stuck because of this problem. Is there a neater solution?