During the Camunda upgrade from 7.10.0 to 7.14.0. We found the following issue and need your help.
The new version will enforce the rule on workflow definition, if you still have some old inflight points to the old version of the workflow definition. It might break. For instance, the sub workflow without start event. It was only consider as a warming in the old version of Camunda. But now, it was flag as Error.
We got the following error in the console. The question is what should we do to fix it?
=====================================================================
org.camunda.bpm.engine.ParseException: ENGINE-09005 Could not parse BPMN process. Errors:
- subProcess must define a startEvent element | resource trust-profile.bpmn | line 135 | column 136
at org.camunda.bpm.engine.impl.util.EngineUtilLogger.exceptionDuringParsing(EngineUtilLogger.java:66) ~[camunda-engine-7.14.0.jar:7.14.0]
at org.camunda.bpm.engine.impl.util.xml.Parse.throwExceptionForErrors(Parse.java:256) ~[camunda-engine-7.14.0.jar:7.14.0]
at org.camunda.bpm.engine.impl.bpmn.parser.BpmnParse.execute(BpmnParse.java:272) ~[camunda-engine-7.14.0.jar:7.14.0]
at org.camunda.bpm.engine.impl.bpmn.deployer.BpmnDeployer.transformDefinitions(BpmnDeployer.java:105) ~[camunda-engine-7.14.0.jar:7.14.0]
at org.camunda.bpm.engine.impl.AbstractDefinitionDeployer.transformResource(AbstractDefinitionDeployer.java:99) ~[camunda-engine-7.14.0.jar:7.14.0]
at org.camunda.bpm.engine.impl.AbstractDefinitionDeployer.parseDefinitionResources(AbstractDefinitionDeployer.java:74) ~[camunda-engine-7.14.0.jar:7.14.0]
at org.camunda.bpm.engine.impl.AbstractDefinitionDeployer.deploy(AbstractDefinitionDeployer.java:64) ~[camunda-engine-7.14.0.jar:7.14.0]
at org.camunda.bpm.engine.impl.persistence.deploy.cache.CacheDeployer$2.call(CacheDeployer.java:66) ~[camunda-engine-7.14.0.jar:7.14.0]
at org.camunda.bpm.engine.impl.persistence.deploy.cache.CacheDeployer$2.call(CacheDeployer.java:63) ~[camunda-engine-7.14.0.jar:7.14.0]
at org.camunda.bpm.engine.impl.interceptor.CommandContext.runWithoutAuthorization(CommandContext.java:546) ~[camunda-engine-7.14.0.jar:7.14.0]
at org.camunda.bpm.engine.impl.persistence.deploy.cache.CacheDeployer.deployOnlyGivenResourcesOfDeployment(CacheDeployer.java:63) ~[camunda-engine-7.14.0.jar:7.14.0]
at org.camunda.bpm.engine.impl.persistence.deploy.cache.ResourceDefinitionCache.resolveDefinition(ResourceDefinitionCache.java:124) ~[camunda-engine-7.14.0.jar:7.14.0]
at org.camunda.bpm.engine.impl.persistence.deploy.cache.ResourceDefinitionCache.findDeployedDefinitionById(ResourceDefinitionCache.java:56) ~[camunda-engine-7.14.0.jar:7.14.0]
at org.camunda.bpm.engine.impl.persistence.deploy.cache.DeploymentCache.findDeployedProcessDefinitionById(DeploymentCache.java:77) ~[camunda-engine-7.14.0.jar:7.14.0]
at org.camunda.bpm.engine.impl.persistence.entity.TaskEntity.getTaskDefinition(TaskEntity.java:1304) ~[camunda-engine-7.14.0.jar:7.14.0]
at org.camunda.bpm.engine.impl.persistence.entity.TaskEntity.initializeFormKey(TaskEntity.java:1405) ~[camunda-engine-7.14.0.jar:7.14.0]
at org.camunda.bpm.engine.impl.TaskQueryImpl.executeList(TaskQueryImpl.java:1381) ~[camunda-engine-7.14.0.jar:7.14.0]
at org.camunda.bpm.engine.impl.AbstractQuery.evaluateExpressionsAndExecuteList(AbstractQuery.java:219) ~[camunda-engine-7.14.0.jar:7.14.0]
at org.camunda.bpm.engine.impl.AbstractQuery.execute(AbstractQuery.java:193) ~[camunda-engine-7.14.0.jar:7.14.0]
at org.camunda.bpm.engine.impl.interceptor.CommandExecutorImpl.execute(CommandExecutorImpl.java:28) ~[camunda-engine-7.14.0.jar:7.14.0]
at org.camunda.bpm.engine.impl.interceptor.CommandContextInterceptor.execute(CommandContextInterceptor.java:110) ~[camunda-engine-7.14.0.jar:7.14.0]
at org.camunda.bpm.engine.spring.SpringTransactionInterceptor$1.doInTransaction(SpringTransactionInterceptor.java:46) ~[camunda-engine-spring-7.14.0.jar:7.14.0]
at org.springframework.transaction.support.TransactionTemplate.execute(TransactionTemplate.java:140) ~[spring-tx-5.2.12.RELEASE.jar:5.2.12.RELEASE]
at org.camunda.bpm.engine.spring.SpringTransactionInterceptor.execute(SpringTransactionInterceptor.java:44) ~[camunda-engine-spring-7.14.0.jar:7.14.0]
at org.camunda.bpm.engine.impl.interceptor.ProcessApplicationContextInterceptor.execute(ProcessApplicationContextInterceptor.java:70) ~[camunda-engine-7.14.0.jar:7.14.0]
at org.camunda.bpm.engine.impl.interceptor.CommandCounterInterceptor.execute(CommandCounterInterceptor.java:35) ~[camunda-engine-7.14.0.jar:7.14.0]
at org.camunda.bpm.engine.impl.interceptor.LogInterceptor.execute(LogInterceptor.java:33) ~[camunda-engine-7.14.0.jar:7.14.0]
at org.camunda.bpm.engine.impl.AbstractQuery.executeResult(AbstractQuery.java:160) ~[camunda-engine-7.14.0.jar:7.14.0]
at org.camunda.bpm.engine.impl.AbstractQuery.list(AbstractQuery.java:142) ~[camunda-engine-7.14.0.jar:7.14.0]
at org.camunda.bpm.engine.rest.impl.TaskRestServiceImpl.executeTaskQuery(TaskRestServiceImpl.java:116) ~[camunda-engine-rest-jaxrs2-7.14.0.jar:7.14.0]
at org.camunda.bpm.engine.rest.impl.TaskRestServiceImpl.queryTasks(TaskRestServiceImpl.java:96) ~[camunda-engine-rest-jaxrs2-7.14.0.jar:7.14.0]
at com.bnymellon.wm.client.workflows.rest.DashboardWidgetControllerImpl.getMyRequests(DashboardWidgetControllerImpl.java:481) ~[classes/:na]