Preview:
var CustSearchResult = [];
     var igrSearchData = customerSearchObj.runPaged({ pageSize: 1000 });
     igrSearchData.pageRanges.forEach(function (pageRange) {
       var page = igrSearchData.fetch({ index: pageRange.index });
       CustSearchResult = CustSearchResult.concat(page.data);
     });
     //logging the fetched data from saved search.
     log.debug("CustSearchResult  array", CustSearchResult);

     //for (var i = 0; i < CustSearchResult.length; i++) {



     for (var i = 0; i < CustSearchResult.length; i++) {
       














var cust_name = CustSearchResult[i].getValue({
name: 'entityid'
});
        var i_internalId = CustSearchResult[i].getValue({
            name: "internalid",
        });
        var i_email = CustSearchResult[i].getValue({
            name: "email",
        });
     }
downloadDownload PNG downloadDownload JPEG downloadDownload SVG

Tip: You can change the style, width & colours of the snippet with the inspect tool before clicking Download!

Click to optimize width for Twitter