I have a scheduled apex job which updates a field which is controlled by a validation rule as follows:
AND( Not(ISNEW()), $Profile.Name != "System Administrator", ISCHANGED(theFieldInQuestion) )
This validation rule prevents anyone from changing the value in theFieldInQuestion UNLESS that person is a System Administrator.
The scheduler runs as system, according to the documentation located here:
My question is : What can I add to this AND clause in the validation rule which would allow the Scheduled Apex Job to update theFieldInQuestion ?