ProcessInstanceQuery tq = engine.getRuntimeService()
.createProcessInstanceQuery();
String bizKey = StringUtil.getString(filter.get("BIZ_KEY")); //业务数据
if(StringUtil.isNotEmpty(bizKey))
tq.processInstanceBusinessKey(bizKey);
String initor = StringUtil.getString(filter.get("initor")); //发起人
if(StringUtil.isNotEmpty(initor))
tq.initiator(initor);