I have a scheduled class which scans through all of the records which have been made for a specific custom object and creates what is a "Monthly Report" record for that record (on a different object). It populates one of the fields in the new record with a name which appears in one of the fields of the original object. However, it is getting a "OP_WITH_INVALID_USER_TYPE_EXCEPTION" error when firing off.
I read this helpful post regarding the error :
That seems to be a possibility for my problem. However, in my case the code is being fired off by a schedule, not a trigger. So, would I still be getting the same problem if I was creating new records by a schedule and populating a field with a Chatter Free user ? Granted, that person is indeed regarded as the "Owner" of the record and is the only name on the record, but I didn't know if Salesforce technically regarded the person as the "owner" if it was merely a name in a field.
Anybody have any ideas on this ?