C
cohezive
Guest
Actually, that didn't work. I have had to use setField(). The object in question also has a trigger-based combined field validation on before create and before update. When I used update_record, it returned an error indicating that a conflict occurred. Apparently Rollbase is responding like createRecord() was called when updateRecord() is run from a batch. Call that another "undocumented feature." Also, from the way batch works, it only iterates through all records. So I cannot filter the batch to only those records that need an update. Loop wouldn't even work anyway due to this.
Continue reading...
Continue reading...