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?