# Uses of Interface
org.flowable.task.api.TaskCompletionBuilder

Packages that use TaskCompletionBuilder
Package
Description
org.flowable.cmmn.api
org.flowable.engine
Public API of the Flowable engine.
Typical usage of the API starts by the creation of a `ProcessEngineConfiguration` (typically based on a configuration file), from which a `ProcessEngine` can be obtained.
Through the services obtained from such a `ProcessEngine`, BPM and workflow operation can be executed:
`RepositoryService`: Manages `Deployment`s.
`RuntimeService`: For starting and searching `ProcessInstance`s.
`TaskService`: Exposes operations to manage human (standalone) tasks, such as claiming, completing and assigning tasks.
`IdentityService`: Used for managing users, groups and the relations between them.
`ManagementService`: Exposes engine administration and maintenance operations, which have no relation to the runtime exection of business processes.
`HistoryService`: Exposes information about ongoing and past process instances.
`FormService`: Access to form data and rendered forms for starting new process instances and completing tasks.
org.flowable.task.api

- ## Uses of TaskCompletionBuilder in org.flowable.cmmn.api

  Methods in org.flowable.cmmn.api that return TaskCompletionBuilder
  Modifier and Type
  Method
  Description
  `TaskCompletionBuilder`
  CmmnTaskService.`createTaskCompletionBuilder()`
  Create a completion builder for the task

- ## Uses of TaskCompletionBuilder in org.flowable.engine

  Methods in org.flowable.engine that return TaskCompletionBuilder
  Modifier and Type
  Method
  Description
  `TaskCompletionBuilder`
  TaskService.`createTaskCompletionBuilder()`
  Create a completion builder for the task

- ## Uses of TaskCompletionBuilder in org.flowable.task.api

  Methods in org.flowable.task.api that return TaskCompletionBuilder
  Modifier and Type
  Method
  Description
  `TaskCompletionBuilder`
  TaskCompletionBuilder.`formDefinitionId(String formDefinitionId)`
  Sets a form definition id.
  `TaskCompletionBuilder`
  TaskCompletionBuilder.`outcome(String outcome)`
  Sets an outcome for the form.
  `TaskCompletionBuilder`
  TaskCompletionBuilder.`taskId(String id)`
  Sets the id of the task which is completed.
  `TaskCompletionBuilder`
  TaskCompletionBuilder.`transientVariable(String variableName, Object variableValue)`
  Sets one non-persisted instance variables.
  `TaskCompletionBuilder`
  TaskCompletionBuilder.`transientVariableLocal(String variableName, Object variableValue)`
  Sets one non-persisted instance variables.
  `TaskCompletionBuilder`
  TaskCompletionBuilder.`transientVariables(Map<String,Object> transientVariables)`
  Sets non-persisted instance variables.
  `TaskCompletionBuilder`
  TaskCompletionBuilder.`transientVariablesLocal(Map<String,Object> transientVariablesLocal)`
  Sets non-persisted task-local variables.
  `TaskCompletionBuilder`
  TaskCompletionBuilder.`variable(String variableName, Object variableValue)`
  Sets one instance-level variable.
  `TaskCompletionBuilder`
  TaskCompletionBuilder.`variableLocal(String variableName, Object variableValue)`
  Sets one task-local variables instead of instance-level variables.
  `TaskCompletionBuilder`
  TaskCompletionBuilder.`variables(Map<String,Object> variables)`
  Sets variables that are added on the instance level.
  `TaskCompletionBuilder`
  TaskCompletionBuilder.`variablesLocal(Map<String,Object> variablesLocal)`
  Sets task-local variables instead of instance-level variables.