Removes the current assignee from the task.
The user is checked to ensure that it matches the current assignee. This function checks whether or not a task is unclaimable - if the task has a form property with id GOSS_PreventUnclaim then the task will not be unclaimed.
Parameters
Name | Type | Description |
---|---|---|
processDefinitionKeyIn | List<String>, optional | Only unclaim the task if it has a process definition key included in the supplied list. Used by templates to help prevent users bypassing template limitations by manually editing URLs etc. |
taskId | String, required | The ID of the task to be released |
userId | String, required | The name of the user releasing the task |
Last modified on March 10, 2020