| Package | Description | 
|---|---|
| org.camunda.bpm.engine | Public API of the Camunda Platform engine. Typical usage of the API starts by the creation of a ProcessEngineConfiguration(typically based on a configuration file), from which aProcessEnginecan be obtained.Through the services obtained from such a ProcessEngine, BPM and workflow operation
    can be executed:RepositoryService:
    ManagesDeploymentsRuntimeService:
    For starting and searchingProcessInstancesTaskService:
    Exposes operations to manage human (standalone)Tasks,
    such as claiming, completing and assigning tasksIdentityService:
    Used for managingUsers,Groups and the relations between themManagementService:
    Exposes engine admin and maintenance operations,
    which have no relation to the runtime execution of business processesHistoryService:
    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.camunda.bpm.engine.impl | API implementation classes, which shouldn't directly be used by end-users. | 
| org.camunda.bpm.engine.runtime | Classes related to the  RuntimeService. | 
| Modifier and Type | Method and Description | 
|---|---|
| ProcessInstantiationBuilder | RuntimeService. createProcessInstanceById(String processDefinitionId)Returns a fluent builder to start a new process instance in the exactly
 specified version of the process definition with the given id. | 
| ProcessInstantiationBuilder | RuntimeService. createProcessInstanceByKey(String processDefinitionKey)Returns a fluent builder to start a new process instance in the latest
 version of the process definition with the given key. | 
| Modifier and Type | Class and Description | 
|---|---|
| class  | ProcessInstantiationBuilderImplSimply wraps a modification builder because their API is equivalent. | 
| Modifier and Type | Method and Description | 
|---|---|
| ProcessInstantiationBuilder | ProcessInstantiationBuilder. businessKey(String businessKey)Set the business key for the process instance | 
| ProcessInstantiationBuilder | ProcessInstantiationBuilder. caseInstanceId(String caseInstanceId)Associate a case instance with the process instance | 
| ProcessInstantiationBuilder | ProcessInstantiationBuilder. processDefinitionTenantId(String tenantId)Specify the id of the tenant the process definition belongs to. | 
| ProcessInstantiationBuilder | ProcessInstantiationBuilder. processDefinitionWithoutTenantId()Specify that the process definition belongs to no tenant. | 
Copyright © 2022. All rights reserved.