Toggle menu

unclaimTask

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 

NameTypeDescription
processDefinitionKeyInList<String>, optionalOnly 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.
taskIdString, requiredThe ID of the task to be released
userIdString, requiredThe name of the user to release the task from
proxyUserIdString, optionalThe 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

Share this page

Facebook icon Twitter icon email icon

Print

print icon