Calculate specific table attachments size from sys_attachment table
Hi, I need to calculate total attachments size of hr table from sys_attachment table ? Can anyone help me with the script var gr = new GlideRecord('sys_attachment');gr.addQuery('table_name','hr_case');gr.Query();var totalSize=0;while(gr.next()) {...