menghasilkan log riwayat

var hw, grI = new GlideRecord('incident');
grI.get('88fa35901b9dd058e253eac6bc4bcb32');
var hw = new sn_hw.HistoryWalker(grI.getTableName(), grI.getUniqueValue(), false); //last arg must be false to generate history set
gs.info(hw.walkTo(0)); //If true, walk was successful and history set is generated.
Envious Elk