This content has been marked as final.
Show 1 reply
-
1. Re: jbpm 4.1 - How to get currentE
sebastian.s Oct 12, 2009 8:58 AM (in response to makarandk502)I am not sure but I suppose you could look it up via JNDI if you are running on JBoss AS. On Tomcat you might use
ProcessEngine processEngine = Configuration.getProcessEngine();
Question to the more advanced ones: This should not build a new one but rather return the current instance right?
Afterwards you should be able to get the executionService byprocessEngine.getExecutionService();
There might be limits to the java tasks which I don't know about. So it could be that you would need to use a custom task.
HTH