As we transition to the new Hyland Community, some post links may be temporarily disrupted as we finalize redirects. We apologize for the inconvenience and are working to resolve this as quickly as possible. Details.
<br> protected void initializeExpressionManager() {<br> if (processEngineConfiguration.getExpressionManager() == null && applicationContext != null) {<br> processEngineConfiguration.setExpressionManager(<br> new SpringExpressionManager(applicationContext, processEngineConfiguration.getBeans()));<br> }<br> }<br>
<br>protected void initializeExpressionManager() {<br> if (processEngineConfiguration.getExpressionManager() == null && applicationContext != null) {<br> processEngineConfiguration.setExpressionManager(<br> new SpringExpressionManager(applicationContext, processEngineConfiguration.getBeans()));<br> }<br> }<br>
<br> processEngineConfiguration.setExpressionManager(<br> new SpringExpressionManager(applicationContext, processEngineConfiguration.getBeans()));
ProcessEngines.getDefaultProcessEngine() -> this will also work when the engine is wired in spring. Once ANY engine starts, it get's registered with the ProcessEngines object. The explorer-app engine has no explicit name set (/activiti-webapp-explorer2/src/main/webapp/WEB-INF/applicationContext.xml), so the default is used, effectively exposing it as the default.So the engine obtained should be the correct one. Every bean you wire in applicationContext.xml, should be available in expressions…