07-14-2018 03:01 AM
Currently TaskService.setAssignee does not allow reassigning a task that belongs to a suspended process instance(since AddIdentityLinkCmd extends NeedsActiveTaskCmd). This is inconvenient for me as I want to be able to reassign all tasks of a user that is to be deleted(regardless of being suspended). One solution might be customizing activiti-engine so that AddIdentitcomyLinkCmd wouldn't extend NeedsActiveTaskCmd.
1. Why does adding an identity link to a task require the task to be active? What pitfalls may I encounter if I make it not to need an active task?
2. Any better solutions are appreciated.
07-16-2018 08:00 AM
It is by design that no modifications are allowed to a suspended task.
Explore our Alfresco products with the links below. Use labels to filter content by product module.