As we transition to the new Hyland Community, some post links may be temporarily disrupted as we finalize redirects. We apologize for the inconvenience and are working to resolve this as quickly as possible. Details.
package project.fraport.mobileformular; import org.activiti.engine.*; import org.activiti.engine.runtime.*; public class DevelopProcess { //set global variable static ProcessEngine processEngine; static RepositoryService repositoryService; static RuntimeService runtimeService; static ProcessInstance processInstance; //method for deploying and start process public static void main(String[] args) { processEngine = ProcessEngines.getDefaultProcessEngine(); repositoryService = processEngine.getRepositoryService(); repositoryService.createDeployment() .addClasspathResource("accidentForm.bpmn20.xml") .deploy(); System.out.println("Success"); } }