03-12-2014 12:15 PM
@Deployment(resources = {"com/yo/poc/rest/CallActivityTest.myfirstMainProcess010.bpmn20.xml",
"com/yo/poc/rest/CallActivityTest.myfirstCalledProcess010.bpmn20.xml",
"com/yo/poc/rest/CallActivityTest.myfirstCalledProcess020.bpmn20.xml"})
public void testMainProcessCallingLatestSubProcess() throws Exception {
try {
//TODO wrong if some process still in the db –> do your own test db
List<ProcessDefinition> procDefs = repositoryService.createProcessDefinitionQuery().list();
assertEquals(3, procDefs.size());
} catch (Exception e) {
Assert.fail("Something is wrong: " + e);
}
}
03-13-2014 03:27 AM
{"com/yo/poc/rest/CallActivityTest.myfirstMainProcess010.bpmn20.xml",
"com/yo/poc/rest/CallActivityTest.myfirstCalledProcess010.bpmn20.xml",
"com/yo/poc/rest/CallActivityTest.myfirstCalledProcess020.bpmn20.xml"})
Do your processes have same key?03-13-2014 09:26 AM
03-17-2014 04:53 AM
Tags
Find what you came for
We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.