-
15. Re: How to start/spawn 'n' subprocesses for 'n' users using JBPM-4.3.
matrixpooh Jul 22, 2010 9:57 AM (in response to matrixpooh)After even more investigation
RepositoryService::deleteDeploymentCascade() doesn't seem to cascade down to process instances any longer.
This, however, works:
List<ProcessDefinition> deployments = repositoryService.createProcessDefinitionQuery().processDefinitionKey(key).list();
for (int i = 0; i < deployments.size(); i++) {
ProcessDefinition pd = deployments.get(i);
List<ProcessInstance> processes = executionService.createProcessInstanceQuery().processDefinitionId(pd.getDeploymentId()).list();
for (int j = 0; j < processes.size(); j++) {
ProcessInstance processInstance = processes.get(i);
executionService.deleteProcessInstanceCascade(processInstance.getId());
}
} -
16. Re: How to start/spawn 'n' subprocesses for 'n' users using JBPM-4.3.
felixkjose Jul 22, 2010 1:17 PM (in response to matrixpooh)Hi Al Nadein,
Thank you very much. It is very helpful.
With Regards,
Felix K Jose
-
17. Re: How to start/spawn 'n' subprocesses for 'n' users using JBPM-4.3.
aguizar Jul 26, 2010 4:16 PM (in response to matrixpooh)Can you please create a JIRA issue for this and attach your process and code as separate files? This way we can assemble a test case and diagnose the problem.
-
18. Re: How to start/spawn 'n' subprocesses for 'n' users using JBPM-4.3.
felixkjose Jul 29, 2010 6:33 AM (in response to aguizar)Hi Alejandro,
How can I raise a JIRA issue. Can you provide me the link for that or tell me where can I do that?
And also one doubt and is about JBPM-4.4:
Where can find the downloadable for jbpm-api-4.4.jar, jbpm-jpdl-4.4.jar,jbpm-pvm-4.4.jar.
I can only be able to find the common jar "jbpm.jar" which is as part of the Jbpm-4.4.zip downloadable. And nothing else.
For jbpm-4.3 I can find all these are available in the following jboss maven path:
http://repository.jboss.org/maven2/org/jbpm/jbpm4/
Can it possible to add the jbpm-4.4 jars inside the maven? Otherwise what can I do as I have to add these jars in the dependency section of my application's pom.xml file.
Please help me.
Thank You and Regards,
Felix K Jose
-
19. Re: How to start/spawn 'n' subprocesses for 'n' users using JBPM-4.3.
felixkjose Jul 30, 2010 1:56 AM (in response to felixkjose)Hi All,
Can you please give me some information about this.
With Regards,
Felix K Jose