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
SIVA KUMAR 507SIVA KUMAR 507 

Hey Guys i need a trigger code for Below requirement.

i have 2 users in salesforce org whenever the  user1 is inactive i want to assign the all records created by user1  to user2...

thanks in advance
AbhinavAbhinav (Salesforce Developers) 
Hi Siva,

You can check below link for reference:

https://salesforce.stackexchange.com/questions/154124/if-user-deactivate-then-assign-his-her-case-to-another-active-queue-member-usin

Thanks!