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 releasing the task
Last modified on March 10, 2020

Share this page

Facebook icon Twitter icon email icon

Print

print icon