I use the code deploy process, But I deploy each time, it will make the JBPM table empty.
And, the JBPM db only have jbpm/Order.jpdl.xml process.
Why?
| public class JbpmTest {
|
| public static void main(String[] args) {
| Configuration configuration = new Configuration();
| ProcessEngine processEngine = configuration.buildProcessEngine();
| RepositoryService repositoryService = processEngine.getRepositoryService();
| ExecutionService executionService = processEngine.getExecutionService();
| TaskService taskService = processEngine.getTaskService();
| HistoryService historyService = processEngine.getHistoryService();
| ManagementService managementService = processEngine.getManagementService();
| String deploymentId = repositoryService.createDeployment()
| .addResourceFromClasspath("jbpm/Order.jpdl.xml")
| .deploy();
|
| }
| }
|
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4269217#...
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&a...