01-09-2012 10:30 AM
01-09-2012 05:40 PM
01-10-2012 05:27 AM
01-10-2012 08:48 AM
org.activiti.engineand
org.osgi.frameworkb) the code of the start method
ProcessEngineConfiguration processEngineConfiguration = StandaloneInMemProcessEngineConfiguration.createStandaloneInMemProcessEngineConfiguration();
ClassLoader classLoaderBefore = processEngineConfiguration.getClassLoader();
try {
processEngineConfiguration.setClassLoader(Thread.currentThread().getContextClassLoader());
} finally {
}
processEngine = processEngineConfiguration.buildProcessEngine();
RepositoryService repositoryService = processEngine.getRepositoryService();
RuntimeService runtimeService = processEngine.getRuntimeService();
Deployment deploy = null;
try {
deploy = repositoryService.createDeployment()
.addInputStream("TestFlow.bpmn20.xml", new FileInputStream(new File ("d:/diagrams/TestFlow.bpmn20.xml")))
.addInputStream("TestSubFlow.bpmn20.xml", new FileInputStream(new File ("d:/diagrams/TestSubFlow.bpmn20.xml")))
.deploy();
} catch (FileNotFoundException e) {
e.printStackTrace();
}
String procId = runtimeService.startProcessInstanceByKey("TestFlow").getId();
org.activiti.engineand
org.osgi.frameworkb) required plugin: activiti-engine-bundle <– give it a nice name 😉
Eclipse-RegisterBuddy: activiti-engine-bundleto Manifest.MF
package com.example.delegate;
import java.util.Map;
public class TestDelegate implements JavaDelegate {
private FixedValue exampleField = null;
@Override
public void execute(DelegateExecution de) throws Exception {
}
public FixedValue getExampleField() {
return exampleField;
}
public void setExampleField(FixedValue exampleField) {
this.exampleField = exampleField;
}
}
Eclipse-BuddyPolicy: registeredto Manifest.MF
01-10-2012 08:50 AM
01-12-2012 09:48 AM
01-12-2012 10:44 AM
Have you had a look at: ACT-1027?Yes, I changed it manually 😉
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.