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
vanessa veronvanessa veron 

created date in name job scheduler

Is it possible:

Set createddate in name job scheduler apex:

system.schedule(NomJobSchedulable+'_'+CronTrigger.CreatedDate, expression, p);

Best Answer chosen by vanessa veron
James LoghryJames Loghry

No, you cannot explicity set the CreatedDate or other "System fields" on Salesforce objects.
 

System fields are only defined by the system and are read-only elsewhere.

For more info see this documentation: https://www.salesforce.com/us/developer/docs/api/Content/system_fields.htm

All Answers

James LoghryJames Loghry

No, you cannot explicity set the CreatedDate or other "System fields" on Salesforce objects.
 

System fields are only defined by the system and are read-only elsewhere.

For more info see this documentation: https://www.salesforce.com/us/developer/docs/api/Content/system_fields.htm

This was selected as the best answer
vanessa veronvanessa veron
Thank you!