AnsweredAssumed Answered

Activiti6 Activiti5CompatibilityHandler usage

Question asked by shangqiwen on Sep 29, 2017

in activiti6 source code, I've seen everywhere the code like below :

// Backwards compatibility
if (task.getProcessDefinitionId() != null) {
if (Activiti5Util.isActiviti5ProcessDefinitionId(commandContext, task.getProcessDefinitionId())) {
Activiti5CompatibilityHandler activiti5CompatibilityHandler = Activiti5Util.getActiviti5CompatibilityHandler();

 

and original activit5 as a standlone jar dependecy

what is the usage? Why these code exists?

Outcomes