You need to sign in to do that
Don't have an account?

how to change owner of record using trigger when we are deactivating the current owner ?
hi i have a task when we deactivating a user,the ownership of all the records owned by this user has to changed to his manager by using trigger.can any body please help for the code that need to be write for the trigger
Once you've the results, you've to loop over it and change the owner of it. Or if there are possibilities of having records in bulk then you can use batch as well.