05-31-2016 02:39 AM
no processes deployed with key 'Process_MohitWorkflow'
while executing:ProcessInstance instance = runtimeService.startProcessInstanceByKey(workflowName, businessKey, variables);
"Process_MohitWorkflow:1:14";1;"http://www.activiti.org/processdef';'Mohit Trust";"Process_MohitWorkflow";1;"11";"MyBPMN.bpmn20.xml";"MyBPMN.Process_MohitWorkflow.png";"";FALSE;TRUE;1;"603"
public void deployProcessFile(String name, InputStream io, long tenantId) {
RepositoryService repositoryService = processEngine.getRepositoryService();
repositoryService.createDeployment()
.addInputStream(name, io)
.name(name.substring(0, name.indexOf(".")))
.enableDuplicateFiltering()
.tenantId(String.valueOf(tenantId))
.deploy();
}
Caused by: org.activiti.engine.ActivitiObjectNotFoundException: no processes deployed with key 'Process_MohitWorkflow'
at org.activiti.engine.impl.persistence.deploy.DeploymentManager.findDeployedLatestProcessDefinitionByKey(DeploymentManager.java:125)
at org.activiti.engine.impl.cmd.StartProcessInstanceCmd.execute(StartProcessInstanceCmd.java:79)
at org.activiti.engine.impl.cmd.StartProcessInstanceCmd.execute(StartProcessInstanceCmd.java:37)
at org.activiti.engine.impl.interceptor.CommandInvoker.execute(CommandInvoker.java:24)
at org.activiti.engine.impl.interceptor.CommandContextInterceptor.execute(CommandContextInterceptor.java:57)
at org.activiti.engine.impl.interceptor.LogInterceptor.execute(LogInterceptor.java:31)
at org.activiti.engine.impl.cfg.CommandExecutorImpl.execute(CommandExecutorImpl.java:40)
at org.activiti.engine.impl.cfg.CommandExecutorImpl.execute(CommandExecutorImpl.java:35)
at org.activiti.engine.impl.RuntimeServiceImpl.startProcessInstanceByKey(RuntimeServiceImpl.java:81)
at com.vernuso.trust.server.service.ProcessService.startWorkFlowInstanceForEntity(ProcessService.java:265)
at com.vernuso.trust.server.service.ProcessService.startOnboardingForOrganisation(ProcessService.java:221)
at com.google.inject.persist.jpa.JpaLocalTxnInterceptor.invoke(JpaLocalTxnInterceptor.java:70)
at com.vernuso.trust.server.governance.client.OnboardOrganisationActionHandler.executeTransaction(OnboardOrganisationActionHandler.java:44)
at com.vernuso.trust.server.governance.client.OnboardOrganisationActionHandler.executeTransaction(OnboardOrganisationActionHandler.java:25)
at com.vernuso.trust.server.SecuredActionHandler.execute(SecuredActionHandler.java:31)
at com.gwtplatform.dispatch.rpc.server.AbstractDispatchImpl.doExecute(AbstractDispatchImpl.java:154)
… 48 more
05-31-2016 03:08 AM
05-31-2016 01:29 PM
05-31-2016 11:39 PM
06-01-2016 02:54 AM
"603"
tenantId?06-01-2016 03:00 AM
06-02-2016 03:42 AM
ProcessInstance instance = runtimeService.startProcessInstanceByKey(workflowName, businessKey, variables);
Does not have access to the definitions from the tenant 603
06-02-2016 03:47 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.