" <connection from=\"4\" to=\"3\"/>\n" +
" </connections>\n" +
"</process>";
builder = KnowledgeBuilderFactory.newKnowledgeBuilder();
builder.add( new ReaderResource( new StringReader( process2 )), ResourceType.DRF );
kbase.addKnowledgePackages( builder.getKnowledgePackages() );
WorkflowProcessInstanceUpgrader.upgradeProcessInstance(
session, processInstance.getId(), "org.test.ruleflow2", new HashMap<String, Long>());
assertEquals("org.test.ruleflow2", processInstance.getProcessId());