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 to release the task from |
proxyUserId | String, optional | The name of the logged in user if assisting another user, eg via the Assisted Service template (userId holds the name of the user being proxied) |
Last modified on 30 December 2024