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

Trigger to update account owner to equal specific territory assignment user
We use territory assignments in our SFDC enterprise instance. Each territory has a few users, but one user in each territory always has the role "Field Rep".
When a territory assignment exists in an account record, I want the Account Owner to equal Field Rep.
Since workflow and process builder can't access the territory object, I believe a trigger is my only option, but I am an extreme novice when it comes to triggers. Any suggestions would be greatly appreciated!
Thanks!
Hello Sean Fielding.
Can you share your trigger, please!?
Best regards