AnsweredAssumed Answered

Unable to update the tenant id of a task. setTenantId() doesnt work

Question asked by on Apr 21, 2016
Latest reply on Apr 22, 2016 by

1. We have a process instance created using the tenant id, and we are trying to update the tenant id of the tasks inside the process instance so that people belonging to a different tenants could work on the tasks. We are doing this due to a business requirement but unfortunately we are not able to update the tenant id. We are using the below code for updating the tenant id.

               Task task = taskService.createTaskQuery().taskId("100").list().get(0);

We checked the saveTask() implementation in the TaskEntity class and it looks like it does not update the tenant id of a task.
Am I missing something here? is it not possible to udpate the tenant id of a task?

Thanks in advance.