cancel
Showing results for 
Search instead for 
Did you mean: 

Multiple engines but only one Job Executor?

mbucknam
Champ in-the-making
Champ in-the-making
I want to create a web application (call it Primary) that incorporates Activiti BPM so I will create a process engine in the web application.  The processes deployed to the engine will use resources and classes that will only be available in the Primary web application.  I also want to have the Activiti Explorer running in a different web application, maybe on a different machine, but it will not have the resources and java classes available to execute the processes, i.e. the tasks will execute custom java code and call web services that require libraries and authentication only present in the Primary web application.

My question is can I simply disable the executor in the Activiti Explorer and then it will not attempt to run any tasks, evaluate state transitions, etc.?  Like I only want to use it to explore, and maybe kick off a process or restart one but the Primary web application will do all of the processing.

Will that work?
1 REPLY 1

trademak
Star Contributor
Star Contributor
You can turn off the job executor. But when you start a process instance in the Activiti Explorer it's also executed there.
A solution would be to use the REST API on the primary application. Then you can adapt the Activiti Explorer to use that REST API for tasks like starting a process instance.

Best regards,