Uses of Interface
org.camunda.bpm.engine.runtime.ProcessInstantiationBuilder
Package
Description
Public API of the Camunda Platform engine.
Typical usage of the API starts by the creation of a
Through the services obtained from such a
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
sRuntimeService
:
For starting and searching ProcessInstance
sTaskService
:
Exposes operations to manage human (standalone) Task
s,
such as claiming, completing and assigning tasksIdentityService
:
Used for managing User
s,
Group
s 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.API implementation classes, which shouldn't directly be used by end-users.
Classes related to the
RuntimeService
.-
Uses of ProcessInstantiationBuilder in org.camunda.bpm.engine
Modifier and TypeMethodDescriptionRuntimeService.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.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. -
Uses of ProcessInstantiationBuilder in org.camunda.bpm.engine.impl
Modifier and TypeClassDescriptionclass
Simply wraps a modification builder because their API is equivalent.Modifier and TypeMethodDescriptionProcessInstantiationBuilderImpl.businessKey
(String businessKey) ProcessInstantiationBuilderImpl.caseInstanceId
(String caseInstanceId) static ProcessInstantiationBuilder
ProcessInstantiationBuilderImpl.createProcessInstanceById
(CommandExecutor commandExecutor, String processDefinitionId) RuntimeServiceImpl.createProcessInstanceById
(String processDefinitionId) static ProcessInstantiationBuilder
ProcessInstantiationBuilderImpl.createProcessInstanceByKey
(CommandExecutor commandExecutor, String processDefinitionKey) RuntimeServiceImpl.createProcessInstanceByKey
(String processDefinitionKey) ProcessInstantiationBuilderImpl.processDefinitionTenantId
(String tenantId) ProcessInstantiationBuilderImpl.processDefinitionWithoutTenantId()
ProcessInstantiationBuilderImpl.setVariable
(String name, Object value) ProcessInstantiationBuilderImpl.setVariableLocal
(String name, Object value) ProcessInstantiationBuilderImpl.setVariables
(Map<String, Object> variables) ProcessInstantiationBuilderImpl.setVariablesLocal
(Map<String, Object> variables) ProcessInstantiationBuilderImpl.startAfterActivity
(String activityId) ProcessInstantiationBuilderImpl.startBeforeActivity
(String activityId) ProcessInstantiationBuilderImpl.startTransition
(String transitionId) -
Uses of ProcessInstantiationBuilder in org.camunda.bpm.engine.runtime
Modifier and TypeMethodDescriptionProcessInstantiationBuilder.businessKey
(String businessKey) Set the business key for the process instanceProcessInstantiationBuilder.caseInstanceId
(String caseInstanceId) Associate a case instance with the process instanceProcessInstantiationBuilder.processDefinitionTenantId
(String tenantId) Specify the id of the tenant the process definition belongs to.ProcessInstantiationBuilder.processDefinitionWithoutTenantId()
Specify that the process definition belongs to no tenant.