03-27-2014 03:55 AM
import org.activiti.engine.ProcessEngine;
import org.activiti.engine.ProcessEngines;
import org.activiti.engine.RepositoryService;
public class createEngine {
public static void main(String[] args)
{
ProcessEngine processEngine = ProcessEngines.getDefaultProcessEngine();
RepositoryService repositoryService = processEngine.getRepositoryService();
repositoryService.createDeployment()
.addClasspathResource("accidentForm.bpmn20.xml")
.deploy();
System.out.println("Number of process definitions: " + repositoryService.createProcessDefinitionQuery().count());
}
}
import org.activiti.engine.ProcessEngine;
import org.activiti.engine.ProcessEngines;
import org.activiti.engine.RepositoryService;
public class createEngine {
public static void main(String[] args)
{
ProcessEngine processEngine = ProcessEngines.getDefaultProcessEngine();
System.out.println(processEngine);
}
}
03-27-2014 06:18 AM
03-28-2014 03:27 AM
03-28-2014 06:24 AM
03-31-2014 03:11 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.