AnsweredAssumed Answered

How do we load an existing (deployed) process ?

Question asked by gbm on Mar 31, 2016
Latest reply on Apr 1, 2016 by gbm
This may be a naive question, but I couldn't find how to solve this.

I get the process engine instance by this :


ProcessEngine processEngine = ProcessEngineConfiguration.createProcessEngineConfigurationFromResourceDefault()
        .buildProcessEngine();
    RepositoryService repositoryService = processEngine.getRepositoryService();
    RuntimeService runtimeService = processEngine.getRuntimeService();


However, everytime I need to do this, I will have to delete my tables as the first line fails with error 'tables already exist' (which of course were created when I ran it the first time).

How can I load the processEngine from database ?

Thanks

Outcomes