11-24-2023 09:22 AM
Hi All,
We have migrated Activiti 5.2 to Activiti 6.0.0. Now we are facing issue to retrieve task list using
createTaskQuery().taskCandidateUser(userid).orderByTaskCreateTime().desc().list();
We have tried other method like taskCandidateOrAssigned, taskId, taskAssignee all are funcitoning.
Any suggestions.
11-30-2023 12:22 PM
Upgrading from Activiti 5 to 6 is not possible because Activiti 6 is introducing new ACL concept around workflows.
I would suggest to migrate your existent definitions, instances and extensions to Activiti 6 starting from a vanilla installation. For this purpose you may want to use the Activiti SDK project available here:
https://github.com/OpenPj/activiti-sdk
This SDK is based on Activiti Community 6 and it allows you to manage your Activiti extensions building your JAR, the overlayed Activiti 6 WAR and the related Docker image. The SDK will also deploy locally the entire platform using Docker.
I know that if you try to upgrade Activiti from 5 to 6 the engine executes all the needed patches but the problem is related to your current data that is not correctly migrated. In order to solve, you should adjust by yourself the data with specific SQL statements related to your specific changes.
Hope this helps
Explore our Alfresco products with the links below. Use labels to filter content by product module.