@@ -58,23 +60,47 @@ public class TakeOutgoingSequenceFlowsOperation extends AbstractOperation {
logger.debug("Leaving flow node {} with id '{}' by following it's {} outgoing sequenceflow",flowNode.getClass(),flowNode.getId(),flowNode.getOutgoingFlows().size());
@@ -88,9 +88,7 @@ public class BoundaryEventActivityBehavior extends FlowNodeActivityBehavior {
thrownewActivitiException("Programmatic error: no parent scope execution found for boundary event");
}
commandContext.getAgenda().planDestroyScopeOperation(executionEntity);// The destroy scope operation will figure
// out the correct scope execution, don't pass
// in the parentScopeExecution here
commandContext.getAgenda().planDestroyScopeOperation(executionEntity);// The destroy scope operation will figure out the correct scope execution, don't pass in the parentScopeExecution here
thrownewActivitiException("Cannot start process instance. Process model "+processDefinition.getName()+" (id = "+processDefinition.getId()+") could not be found");
thrownewActivitiException("Cannot start process instance. Process model "+processDefinition.getName()+" (id = "+processDefinition.getId()+") could not be found");
}
...
...
@@ -177,8 +177,9 @@ public class StartProcessInstanceCmd<T> implements Command<ProcessInstance>, Ser
thrownewActivitiException("Cannot start process instance. Process model "+processDefinition.getName()+" (id = "+processDefinition.getId()+") could not be found");
this.cache=Collections.synchronizedMap(newLinkedHashMap<String,T>(limit+1,0.75f,true){// +1 is needed, because the entry is inserted first, before it is removed
// 0.75 is the default (see javadocs)
// true will keep the 'access-order', which is needed to
// have a real LRU cache
// true will keep the 'access-order', which is needed to have a real LRU cache
thrownewActivitiObjectNotFoundException("deployment for process definition does not exist: "+processDefinition.getDeploymentId(),Deployment.class);
}else{
thrownewActivitiObjectNotFoundException("no resource found with name '"+resourceName+"' in deployment '"+processDefinition.getDeploymentId()+"'",InputStream.class);
@@ -127,7 +85,7 @@ public class DeploymentManager {
if(processDefinition==null){
thrownewActivitiObjectNotFoundException("no processes deployed with key '"+processDefinitionKey+"' for tenant identifier '"+tenantId+"'",ProcessDefinition.class);
@@ -137,28 +95,30 @@ public class DeploymentManager {
if(processDefinition==null){
thrownewActivitiObjectNotFoundException("no processes deployed with key = '"+processDefinitionKey+"' and version = '"+processDefinitionVersion+"'",ProcessDefinition.class);