cancel
Showing results for 
Search instead for 
Did you mean: 

Why did Activity 6 remove the delegateExecution method getCurrentActivityName()?

brendenr
Champ on-the-rise
Champ on-the-rise

Attempting to migrate to v6 but I'm finding that the DelegateExecution class removed the method getCurrentActivityName(). Why is this the case, and is there another way I can achieve this functionality?

For reference:

DelegateExecution (Activiti - Engine 5.22.0 API) 

DelegateExecution (Activiti - Engine 6.0.0.RC1-SNAPSHOT API)  [Missing getCurrentActivityName()]

2 REPLIES 2

ryandawson
Elite Collaborator
Elite Collaborator

This is a change that was made some time ago but it is possible to see the details of the commit that made the change - Fixes for ExecutionListenerTest · Activiti/Activiti@801fad8 · GitHub . I take it this change is having an impact on you. Have you been able to find an alternative way to deal with your use-case?

I didn't find an obvious solution after posting, but I have shifted gears for the moment. When I come back to this I'll update on what I find