cancel
Showing results for 
Search instead for 
Did you mean: 

Activiti Explorer and ProcessEngine

mab
Champ in-the-making
Champ in-the-making
Hello,

I have an application (not a WebApp) that implements Business-Logic. This application is Spring integrated and has defined process diagrams that are executed via the process engine. Therefore the application uses its own process engine configuration file.
Now I want to use the Explorer to do some user tasks. I wonder how I can configure the Explorer in a way, that it is working with the prodcess engine of my application. Is it necessary to do it that way?:
http://forums.activiti.org/content/invoking-spring-bean-activiti-explorer

If not can anybody please describe how to do that? I really cant`t find a solution…

Many thanks in advance:-)
1 REPLY 1

frederikherema1
Star Contributor
Star Contributor
The explorer-application uses spring as well to configure all the beans. What you could do, is alter the applicationContext.xml in activiti-webapp-explorer2 module (or alter the .war-file). In there, just import the spring-context file for your own application and make sure all required dependencies etc. are on the webapps class path… If this is done, your processes can use beans defined in your spring-context. If you want to overrride the processEngine used by the explorer, edit the applicationContext file and remove the processEngineCOnfiguration bean from there, and replace all references by the name of your process-enginn bean.