# Uses of Interface
org.flowable.cmmn.api.runtime.CaseInstanceBuilder

Packages that use CaseInstanceBuilder
Package
Description
org.flowable.cmmn.api
org.flowable.cmmn.api.runtime

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

  Methods in org.flowable.cmmn.api that return CaseInstanceBuilder
  Modifier and Type
  Method
  Description
  `CaseInstanceBuilder`
  CmmnRuntimeService.`createCaseInstanceBuilder()`

- ## Uses of CaseInstanceBuilder in org.flowable.cmmn.api.runtime

  Methods in org.flowable.cmmn.api.runtime that return CaseInstanceBuilder
  Modifier and Type
  Method
  Description
  `CaseInstanceBuilder`
  CaseInstanceBuilder.`assignee(String userId)`
  Set the assignee of the case to be created to the given user id.
  `CaseInstanceBuilder`
  CaseInstanceBuilder.`businessKey(String businessKey)`
  `CaseInstanceBuilder`
  CaseInstanceBuilder.`businessStatus(String businessStatus)`
  `CaseInstanceBuilder`
  CaseInstanceBuilder.`callbackId(String callbackId)`
  Set callback id of the newly created case instance.
  `CaseInstanceBuilder`
  CaseInstanceBuilder.`callbackType(String callbackType)`
  Set callback type of the newly created case instance.
  `CaseInstanceBuilder`
  CaseInstanceBuilder.`caseDefinitionId(String caseDefinitionId)`
  Set the case definition to be used for creating a new case instance by its id.
  `CaseInstanceBuilder`
  CaseInstanceBuilder.`caseDefinitionKey(String caseDefinitionKey)`
  Set the case definition to be used for creating a new case instance by its key.
  `CaseInstanceBuilder`
  CaseInstanceBuilder.`caseDefinitionParentDeploymentId(String parentDeploymentId)`
  When looking up for a case definition by key it would first lookup for a case definition within the given parent deployment.
  `CaseInstanceBuilder`
  CaseInstanceBuilder.`fallbackToDefaultTenant()`
  If case definition is not found by key in the specified tenant use default tenant search as a fallback
  `CaseInstanceBuilder`
  CaseInstanceBuilder.`name(String name)`
  `CaseInstanceBuilder`
  CaseInstanceBuilder.`outcome(String outcome)`
  Saves the outcome of the start form for the case, if this case should be started out of a start form.
  `CaseInstanceBuilder`
  CaseInstanceBuilder.`overrideCaseDefinitionTenantId(String tenantId)`
  Indicator to override the tenant id of the case definition with the provided value.
  `CaseInstanceBuilder`
  CaseInstanceBuilder.`owner(String userId)`
  Set the owner of the case to be created to the given user id.
  `CaseInstanceBuilder`
  CaseInstanceBuilder.`parentId(String parentCaseInstanceId)`
  Set parent case instanceId of the newly create case instance
  `CaseInstanceBuilder`
  CaseInstanceBuilder.`predefinedCaseInstanceId(String caseInstanceId)`
  If the new case instance should have a predefined id, you can set it using this method.
  `CaseInstanceBuilder`
  CaseInstanceBuilder.`referenceId(String referenceId)`
  Set the reference id on the newly create case instance.
  `CaseInstanceBuilder`
  CaseInstanceBuilder.`referenceType(String referenceType)`
  Set the reference type on the newly create case instance.
  `CaseInstanceBuilder`
  CaseInstanceBuilder.`startFormVariables(Map<String,Object> formVariables)`
  Allows to pass any variables if they come from a form.
  `CaseInstanceBuilder`
  CaseInstanceBuilder.`tenantId(String tenantId)`
  `CaseInstanceBuilder`
  CaseInstanceBuilder.`transientVariable(String variableName, Object value)`
  `CaseInstanceBuilder`
  CaseInstanceBuilder.`transientVariables(Map<String,Object> transientVariables)`
  `CaseInstanceBuilder`
  CaseInstanceBuilder.`variable(String variableName, Object value)`
  `CaseInstanceBuilder`
  CaseInstanceBuilder.`variables(Map<String,Object> variables)`