// + "<endEvent id=\"_3\" name=\"EndProcess\">"
// + "<terminateEventDefinition/>"
// + "</endEvent>"
// + "</process>"
// + "</definitions>";
Resource res = new ClassPathResource("test-process.bpmn");
((InternalResource) res).setResourceType(ResourceType.BPMN2);
//changeSet.setResourcesAdded(Arrays.asList(res));
//@TODO: for some reason the Classpath resource when is sent to the grid node is loosing the
// ResourceType, so I need to fix that.
KnowledgeAgent kAgent = GridHelper.getKnowledgeAgentRemoteClient( GridHelper.createGrid(), remoteN1.getId(), "ksession-rules" );