requestSchema.methods.getLastNonApprovalRequestLog = function getLastNonApprovalRequestLog() {
        for(var i=this.requestLog.length-1; i>=0; i--) {
            if (this.requestLog[i].approvalStep === undefined) {
                return this.requestLog[i];
            }