+ Start a Discussion

Trigger to assign Event Owner to Account Owner

Hi there!

I'm a newbie and I'd like to ask you if somebody could write a trigger for me that is able to change the Account owner with the User a new Event is assigned to.

Thanks a lot,

Kind Regards
Hi guanDong,

Could you please explain your requirment properly .

Situation is the following:
I create a new Event on an Account owned by User X and I assign this event to User Y.
Then, I'd like to have a trigger that changes the ownership of the Account to user Y.

Thanks a lot