Hello,
we are loading process definitions through the following call:
ProcessEngines
.getDefaultProcessEngine
.getRepositoryService
.createProcessDefinitionQuery()
.processDefinitionKey(processDefinitionKey)
.processDefinitionVersion(version)
.singleResult())
and we get objects back, but the lists of activities,
ProcessDefinitionEntity.flowActivities
ProcessDefinitionEntity.namedFlowActivities
are empty. But when we generate migration plans for the process definitions to rename the end activities, the migration plan validator has access to objects where these lists are filled (which is why it fails us). How do we get these lists by using the default process engine?