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.
It is by design that no modifications are allowed to a suspended task.
Ask for and offer help to other Alfresco Process Services and Activiti Users and members of the Alfresco team.
By using this site, you are agreeing to allow us to collect and use cookies as outlined in Alfresco’s Cookie Statement and Terms of Use (and you have a legitimate interest in Alfresco and our products, authorizing us to contact you in such methods). If you are not ok with these terms, please do not use this website.