March 2017
Beginner
358 pages
9h 51m
English
Both update() and updateMultiple() will result in a database update. The main difference is that update() operates on one record at a time, whereas updateMultiple() updates any and all records returned from your GlideRecord query, without using next() to iterate through each one. update() returns the Sys ID of the updated record.
update() accepts one optional argument: the reason for the update. This reason will be logged in the audit history for the updated record.
updateMultiple() on the other hand, accepts no arguments, and returns no value.
Read now
Unlock full access