+ 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...