- claim(ClaimTaskPayload) - Method in interface org.activiti.api.task.runtime.TaskAdminRuntime
-
Claim a task with the currently authenticated user
- If there is no authenticated user throw an IllegalStateException
- If the currently authenticated user is not a candidate throw an IllegalStateException
- The current approach doesn't support impersonation, it will always take the currently authenticated user
- after the claim the task should be in assigned status
- claim(ClaimTaskPayload) - Method in interface org.activiti.api.task.runtime.TaskRuntime
-
Claim a task with the currently authenticated user
- If there is no authenticated user throw an IllegalStateException
- If the currently authenticated user is not a candidate throw an IllegalStateException
- The current approach doesn't support impersonation, it will always take the currently authenticated user
- after the claim the task should be in assigned status
- complete(CompleteTaskPayload) - Method in interface org.activiti.api.task.runtime.TaskAdminRuntime
-
Completes the selected task with the variables set in the payload
- This method checks that the task is visible by the authenticated user
- This method also check that the task is assigned to the currently authenticated user before complete
- This method return a shallow Task object with the basic information needed to validate that the task was completed
- complete(CompleteTaskPayload) - Method in interface org.activiti.api.task.runtime.TaskRuntime
-
Completes the selected task with the variables set in the payload
- This method checks that the task is visible by the authenticated user
- This method also check that the task is assigned to the currently authenticated user before complete
- This method return a shallow Task object with the basic information needed to validate that the task was completed
- configuration() - Method in interface org.activiti.api.task.runtime.TaskRuntime
-
- create(CreateTaskPayload) - Method in interface org.activiti.api.task.runtime.TaskRuntime
-
Creates a task based on the following rules
- If an assignee is provided it creates and assign the task to the provided user
- If there is no assignee the task is not assigned, just created
- The owner of the task is the currently authenticated user (which is automatically added as a candidate)
- If a group or list of groups is provided those groups are added as candidates for claiming the task