function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
NielsenPeterNielsenPeter 

Auto updating the Account Owner

I'm trying to have the account owner change to a default user if current user is inactive. Can anyone help me with this solving this?

 

thanks

 

Pete

Steve :-/Steve :-/

how are you defining the Default User ID?  This won;t be possible with a Formula Field or a Workflow Rule, you might need to use a Trigger for this.

NielsenPeterNielsenPeter

Basically for example:  Joe owns an account and Joe becomes inactive, somehow I would like the account owner to update to an active user "Active User" user id '00530000000eUnrs'. So any account that has a inactive owner would default to this same user.

 

I hope I didn't make it more confusing there

Steve :-/Steve :-/

Unfortunatley that's beyond what you can do with Formulas and WFR.  If you want to automate it you're gonna need a Trigger, and for that you'd better go to the Apex Board.  

 

The easiest solution might be to create an Exeption Report of all Accounts owned by inactive users, and then use the Mass Transfer button.

NielsenPeterNielsenPeter

Got it, thanks