def listResult = [ results: FlowOperate.count(), FlowOperate: FlowOperate.list(params)] render listResult as JSON