I am new to activiti engine. I am trying to get the process name by using execution listeners. I am using the executionEntity.getProcessInstanceId() method but it also returns some additional information. For example; it returns "process1:1:1623". However, I would like to only have "process1". I also tried other methods but didn't work for me.
The DelegateExecution only exposes processDefinitionId and key. You could use those to look up the process definition, using the getEngineServices() method and then use the repositoryService.