You need to sign in to do that
Don't have an account?
davidjbb
Apex Scheduler
Hello Community
If I write an Apex Scheduler to create a bunch of records at X day at Y Time.
When these records are created. Who would be the ownership of the Records? ie. Created By and Modified would be..??
(If I did not set these fields)
Would it be the person who sets the Scheduled Job?
Thank you,
davidjbb
Yes you are correct. ownership, createdby and lastmodified will be the user who schedules the job... But you can always define the owner when creating records sy setting ownerId field.