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
nwingnwing 

Runas() a different user when NOT in a test

 

I would like to run an @future class, which updates a batch of records, as someone I specifically define, even though it may be initially triggered by another individual.  There are issues with 'last updated by and such that I do not want to change to the triggering user.

 

Any help on this..... the only thing I can find is the testing scenario......

 

Thanks for it...