Get System Notes content (Function)

Use the below code snippet to call any records system notes

function(){
//get one system note record
var ss = search.create({

type: search.Type.SYSTEM_NOTE,

columns: [‘date’, ‘recordtype’, ‘record’, ‘field’, ‘oldvalue’, ‘newvalue’],

filters: [[‘role’, ‘is’, ‘3’]] //administrator

}).run().getRange(0,1);

return ss

}

Leave a comment

Your email address will not be published. Required fields are marked *