that.query.sequencecontext.last_timing = {};
var lt = that.query.sequencecontext.last_timing;
if (that.result.rows.length>0) {
  var tr = that.result;
  lt.desc = tr.rows[0][3];
  lt.unit = tr.rows[0][4];
  lt.count = tr.rows[0][5];
  if (lt.desc.charAt(0)=='{') {
    var flag = 0;
    lt.descobj = JSON.parse(lt.desc);
    if (lt.descobj.RECORD_COUNT) {
      lt.records_processed = lt.descobj.RECORD_COUNT;
      flag += 1;
    } else {
     lt.records_processed = 'NO_RECORDS_COUNT_IN_CCPLOG_DESC';
    } 
    if (lt.descobj.ACTION) {
      lt.action = lt.descobj.ACTION;
      flag += 1;
    } else {
      lt.action = 'NO_ACTION_IN_CCPLOG_DESC';
    }
    if (flag>=2) {
      delete lt.desc;
      delete lt.descobj;
    }
  } else {
    lt.records_processed = 'LAST_CCPLOG_DESC_NOT_JSON';
    lt.action = 'LAST_CCPLOG_DESC_NOT_JSON';
  }
} else {
 lt.desc = 'No data got for last TDRESA in CCPLOG';
}