.createProcessDefinitionQuery()
.deploymentId(d.getId())
.singleResult();
Map<String,Object> varMap = new HashMap<String,Object>();
varMap.put("console",new Console());
ProcessInstance proc = rtSvc.startProcessInstanceById(pDef.getId(),varMap);
String procId = proc.getId();
System.out.println("procId="+procId);