Hello, I’m working on upgrade from Activiti version 5.2.2 into Flowable 6.7.2. There was quite a lot occurances in the system of such mechanism:
class AnyClass implements TaskListener{
…
@Override
public void notify(DelegateTask delegateTask){
DelegateExecution execution = delegateTask.getExecution();
// many actions performed on the execution…
}
}
Unfortunately DelegateTask interface has been modified quite a long time ago, and there is not getExecution() method available anymore, I could find getExecutionId() instead, but I’m not sure what would be the correct way of capturing the Execution or preferable DelegateExecution, don’t know which Service will provide such with the same capabilities like that older implementation had. Could you please advise on that? I need to be careful with that changes to leave the system stable after the upgrade. Thanks!