Uses of Interface
org.camunda.bpm.engine.runtime.ProcessInstance
-
Packages that use ProcessInstance Package Description org.camunda.bpm.engine Public API of the Camunda Platform engine.
Typical usage of the API starts by the creation of aProcessEngineConfiguration
(typically based on a configuration file), from which aProcessEngine
can be obtained.
Through the services obtained from such aProcessEngine
, BPM and workflow operation can be executed:
RepositoryService
: ManagesDeployment
s
RuntimeService
: For starting and searchingProcessInstance
s
TaskService
: Exposes operations to manage human (standalone)Task
s, such as claiming, completing and assigning tasks
IdentityService
: Used for managingUser
s,Group
s and the relations between them
ManagementService
: Exposes engine admin and maintenance operations, which have no relation to the runtime execution 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.camunda.bpm.engine.cdi org.camunda.bpm.engine.cdi.impl.annotation org.camunda.bpm.engine.impl API implementation classes, which shouldn't directly be used by end-users.org.camunda.bpm.engine.impl.cfg.auth org.camunda.bpm.engine.impl.cmd org.camunda.bpm.engine.impl.persistence.entity org.camunda.bpm.engine.impl.runtime org.camunda.bpm.engine.rest.dto.runtime org.camunda.bpm.engine.runtime Classes related to theRuntimeService
.org.camunda.bpm.engine.test.assertions.bpmn org.camunda.bpm.qa.upgrade -
-
Uses of ProcessInstance in org.camunda.bpm.engine
Methods in org.camunda.bpm.engine that return ProcessInstance Modifier and Type Method Description ProcessInstance
RuntimeService. startProcessInstanceById(java.lang.String processDefinitionId)
Starts a new process instance in the exactly specified version of the process definition with the given id.ProcessInstance
RuntimeService. startProcessInstanceById(java.lang.String processDefinitionId, java.lang.String businessKey)
Starts a new process instance in the exactly specified version of the process definition with the given id.ProcessInstance
RuntimeService. startProcessInstanceById(java.lang.String processDefinitionId, java.lang.String businessKey, java.lang.String caseInstanceId)
Starts a new process instance in the exactly specified version of the process definition with the given id.ProcessInstance
RuntimeService. startProcessInstanceById(java.lang.String processDefinitionId, java.lang.String businessKey, java.lang.String caseInstanceId, java.util.Map<java.lang.String,java.lang.Object> variables)
Starts a new process instance in the exactly specified version of the process definition with the given id.ProcessInstance
RuntimeService. startProcessInstanceById(java.lang.String processDefinitionId, java.lang.String businessKey, java.util.Map<java.lang.String,java.lang.Object> variables)
Starts a new process instance in the exactly specified version of the process definition with the given id.ProcessInstance
RuntimeService. startProcessInstanceById(java.lang.String processDefinitionId, java.util.Map<java.lang.String,java.lang.Object> variables)
Starts a new process instance in the exactly specified version of the process definition with the given id.ProcessInstance
RuntimeService. startProcessInstanceByKey(java.lang.String processDefinitionKey)
Starts a new process instance in the latest version of the process definition with the given key.ProcessInstance
RuntimeService. startProcessInstanceByKey(java.lang.String processDefinitionKey, java.lang.String businessKey)
Starts a new process instance in the latest version of the process definition with the given key.ProcessInstance
RuntimeService. startProcessInstanceByKey(java.lang.String processDefinitionKey, java.lang.String businessKey, java.lang.String caseInstanceId)
Starts a new process instance in the latest version of the process definition with the given key.ProcessInstance
RuntimeService. startProcessInstanceByKey(java.lang.String processDefinitionKey, java.lang.String businessKey, java.lang.String caseInstanceId, java.util.Map<java.lang.String,java.lang.Object> variables)
Starts a new process instance in the latest version of the process definition with the given key.ProcessInstance
RuntimeService. startProcessInstanceByKey(java.lang.String processDefinitionKey, java.lang.String businessKey, java.util.Map<java.lang.String,java.lang.Object> variables)
Starts a new process instance in the latest version of the process definition with the given key.ProcessInstance
RuntimeService. startProcessInstanceByKey(java.lang.String processDefinitionKey, java.util.Map<java.lang.String,java.lang.Object> variables)
Starts a new process instance in the latest version of the process definition with the given keyProcessInstance
RuntimeService. startProcessInstanceByMessage(java.lang.String messageName)
Signals the process engine that a message is received and starts a newProcessInstance
.ProcessInstance
RuntimeService. startProcessInstanceByMessage(java.lang.String messageName, java.lang.String businessKey)
Signals the process engine that a message is received and starts a newProcessInstance
.ProcessInstance
RuntimeService. startProcessInstanceByMessage(java.lang.String messageName, java.lang.String businessKey, java.util.Map<java.lang.String,java.lang.Object> processVariables)
Signals the process engine that a message is received and starts a newProcessInstance
.ProcessInstance
RuntimeService. startProcessInstanceByMessage(java.lang.String messageName, java.util.Map<java.lang.String,java.lang.Object> processVariables)
Signals the process engine that a message is received and starts a newProcessInstance
.ProcessInstance
RuntimeService. startProcessInstanceByMessageAndProcessDefinitionId(java.lang.String messageName, java.lang.String processDefinitionId)
Signals the process engine that a message is received and starts a newProcessInstance
.ProcessInstance
RuntimeService. startProcessInstanceByMessageAndProcessDefinitionId(java.lang.String messageName, java.lang.String processDefinitionId, java.lang.String businessKey)
Signals the process engine that a message is received and starts a newProcessInstance
.ProcessInstance
RuntimeService. startProcessInstanceByMessageAndProcessDefinitionId(java.lang.String messageName, java.lang.String processDefinitionId, java.lang.String businessKey, java.util.Map<java.lang.String,java.lang.Object> processVariables)
Signals the process engine that a message is received and starts a newProcessInstance
.ProcessInstance
RuntimeService. startProcessInstanceByMessageAndProcessDefinitionId(java.lang.String messageName, java.lang.String processDefinitionId, java.util.Map<java.lang.String,java.lang.Object> processVariables)
Signals the process engine that a message is received and starts a newProcessInstance
.ProcessInstance
FormService. submitStartForm(java.lang.String processDefinitionId, java.lang.String businessKey, java.util.Map<java.lang.String,java.lang.Object> properties)
Start a new process instance with the user data that was entered as properties in a start form.ProcessInstance
FormService. submitStartForm(java.lang.String processDefinitionId, java.util.Map<java.lang.String,java.lang.Object> properties)
Start a new process instance with the user data that was entered as properties in a start form.ProcessInstance
FormService. submitStartFormData(java.lang.String processDefinitionId, java.lang.String businessKey, java.util.Map<java.lang.String,java.lang.String> properties)
Deprecated.ProcessInstance
FormService. submitStartFormData(java.lang.String processDefinitionId, java.util.Map<java.lang.String,java.lang.String> properties)
Deprecated. -
Uses of ProcessInstance in org.camunda.bpm.engine.cdi
Methods in org.camunda.bpm.engine.cdi that return ProcessInstance Modifier and Type Method Description ProcessInstance
BusinessProcess. getProcessInstance()
Returns theProcessInstance
currently associated or 'null'ProcessInstance
CurrentProcessInstance. getProcessInstance()
Returns theProcessInstance
currently associated or 'null'ProcessInstance
BusinessProcess. startProcessById(java.lang.String processDefinitionId)
ProcessInstance
BusinessProcess. startProcessById(java.lang.String processDefinitionId, java.lang.String businessKey)
ProcessInstance
BusinessProcess. startProcessById(java.lang.String processDefinitionId, java.lang.String businessKey, java.util.Map<java.lang.String,java.lang.Object> variables)
ProcessInstance
BusinessProcess. startProcessById(java.lang.String processDefinitionId, java.util.Map<java.lang.String,java.lang.Object> variables)
ProcessInstance
BusinessProcess. startProcessByKey(java.lang.String key)
ProcessInstance
BusinessProcess. startProcessByKey(java.lang.String key, java.lang.String businessKey)
ProcessInstance
BusinessProcess. startProcessByKey(java.lang.String key, java.lang.String businessKey, java.util.Map<java.lang.String,java.lang.Object> variables)
ProcessInstance
BusinessProcess. startProcessByKey(java.lang.String key, java.util.Map<java.lang.String,java.lang.Object> variables)
ProcessInstance
BusinessProcess. startProcessByMessage(java.lang.String messageName)
ProcessInstance
BusinessProcess. startProcessByMessage(java.lang.String messageName, java.lang.String businessKey, java.util.Map<java.lang.String,java.lang.Object> processVariables)
ProcessInstance
BusinessProcess. startProcessByMessage(java.lang.String messageName, java.util.Map<java.lang.String,java.lang.Object> processVariables)
-
Uses of ProcessInstance in org.camunda.bpm.engine.cdi.impl.annotation
Methods in org.camunda.bpm.engine.cdi.impl.annotation with parameters of type ProcessInstance Modifier and Type Method Description java.lang.String
BusinessKeyProducer. businessKey(ProcessInstance processInstance)
-
Uses of ProcessInstance in org.camunda.bpm.engine.impl
Methods in org.camunda.bpm.engine.impl that return ProcessInstance Modifier and Type Method Description ProcessInstance
MessageCorrelationBuilderImpl. correlateStartMessage()
ProcessInstance
ProcessInstantiationBuilderImpl. execute()
ProcessInstance
ProcessInstantiationBuilderImpl. execute(boolean skipCustomListeners, boolean skipIoMappings)
ProcessInstance
RuntimeServiceImpl. startProcessInstanceById(java.lang.String processDefinitionId)
ProcessInstance
RuntimeServiceImpl. startProcessInstanceById(java.lang.String processDefinitionId, java.lang.String businessKey)
ProcessInstance
RuntimeServiceImpl. startProcessInstanceById(java.lang.String processDefinitionId, java.lang.String businessKey, java.lang.String caseInstanceId)
ProcessInstance
RuntimeServiceImpl. startProcessInstanceById(java.lang.String processDefinitionId, java.lang.String businessKey, java.lang.String caseInstanceId, java.util.Map<java.lang.String,java.lang.Object> variables)
ProcessInstance
RuntimeServiceImpl. startProcessInstanceById(java.lang.String processDefinitionId, java.lang.String businessKey, java.util.Map<java.lang.String,java.lang.Object> variables)
ProcessInstance
RuntimeServiceImpl. startProcessInstanceById(java.lang.String processDefinitionId, java.util.Map<java.lang.String,java.lang.Object> variables)
ProcessInstance
RuntimeServiceImpl. startProcessInstanceByKey(java.lang.String processDefinitionKey)
ProcessInstance
RuntimeServiceImpl. startProcessInstanceByKey(java.lang.String processDefinitionKey, java.lang.String businessKey)
ProcessInstance
RuntimeServiceImpl. startProcessInstanceByKey(java.lang.String processDefinitionKey, java.lang.String businessKey, java.lang.String caseInstanceId)
ProcessInstance
RuntimeServiceImpl. startProcessInstanceByKey(java.lang.String processDefinitionKey, java.lang.String businessKey, java.lang.String caseInstanceId, java.util.Map<java.lang.String,java.lang.Object> variables)
ProcessInstance
RuntimeServiceImpl. startProcessInstanceByKey(java.lang.String processDefinitionKey, java.lang.String businessKey, java.util.Map<java.lang.String,java.lang.Object> variables)
ProcessInstance
RuntimeServiceImpl. startProcessInstanceByKey(java.lang.String processDefinitionKey, java.util.Map<java.lang.String,java.lang.Object> variables)
ProcessInstance
RuntimeServiceImpl. startProcessInstanceByMessage(java.lang.String messageName)
ProcessInstance
RuntimeServiceImpl. startProcessInstanceByMessage(java.lang.String messageName, java.lang.String businessKey)
ProcessInstance
RuntimeServiceImpl. startProcessInstanceByMessage(java.lang.String messageName, java.lang.String businessKey, java.util.Map<java.lang.String,java.lang.Object> processVariables)
ProcessInstance
RuntimeServiceImpl. startProcessInstanceByMessage(java.lang.String messageName, java.util.Map<java.lang.String,java.lang.Object> processVariables)
ProcessInstance
RuntimeServiceImpl. startProcessInstanceByMessageAndProcessDefinitionId(java.lang.String messageName, java.lang.String processDefinitionId)
ProcessInstance
RuntimeServiceImpl. startProcessInstanceByMessageAndProcessDefinitionId(java.lang.String messageName, java.lang.String processDefinitionId, java.lang.String businessKey)
ProcessInstance
RuntimeServiceImpl. startProcessInstanceByMessageAndProcessDefinitionId(java.lang.String messageName, java.lang.String processDefinitionId, java.lang.String businessKey, java.util.Map<java.lang.String,java.lang.Object> processVariables)
ProcessInstance
RuntimeServiceImpl. startProcessInstanceByMessageAndProcessDefinitionId(java.lang.String messageName, java.lang.String processDefinitionId, java.util.Map<java.lang.String,java.lang.Object> processVariables)
ProcessInstance
FormServiceImpl. submitStartForm(java.lang.String processDefinitionId, java.lang.String businessKey, java.util.Map<java.lang.String,java.lang.Object> properties)
ProcessInstance
FormServiceImpl. submitStartForm(java.lang.String processDefinitionId, java.util.Map<java.lang.String,java.lang.Object> properties)
ProcessInstance
FormServiceImpl. submitStartFormData(java.lang.String processDefinitionId, java.lang.String businessKey, java.util.Map<java.lang.String,java.lang.String> properties)
ProcessInstance
FormServiceImpl. submitStartFormData(java.lang.String processDefinitionId, java.util.Map<java.lang.String,java.lang.String> properties)
Methods in org.camunda.bpm.engine.impl that return types with arguments of type ProcessInstance Modifier and Type Method Description java.util.List<ProcessInstance>
ConditionEvaluationBuilderImpl. evaluateStartConditions()
java.util.List<ProcessInstance>
NativeProcessInstanceQueryImpl. executeList(CommandContext commandContext, java.util.Map<java.lang.String,java.lang.Object> parameterMap, int firstResult, int maxResults)
java.util.List<ProcessInstance>
ProcessInstanceQueryImpl. executeList(CommandContext commandContext, Page page)
-
Uses of ProcessInstance in org.camunda.bpm.engine.impl.cfg.auth
Methods in org.camunda.bpm.engine.impl.cfg.auth with parameters of type ProcessInstance Modifier and Type Method Description AuthorizationEntity[]
DefaultAuthorizationProvider. newProcessInstance(ProcessInstance processInstance)
AuthorizationEntity[]
ResourceAuthorizationProvider. newProcessInstance(ProcessInstance processInstance)
Invoked whenever a new process instance is started -
Uses of ProcessInstance in org.camunda.bpm.engine.impl.cmd
Methods in org.camunda.bpm.engine.impl.cmd that return ProcessInstance Modifier and Type Method Description ProcessInstance
SubmitStartFormCmd. execute(CommandContext commandContext)
protected ProcessInstance
AbstractCorrelateMessageCmd. instantiateProcess(CommandContext commandContext, CorrelationHandlerResult correlationResult)
protected ProcessInstance
EvaluateStartConditionCmd. instantiateProcess(CommandContext commandContext, ConditionHandlerResult result)
Methods in org.camunda.bpm.engine.impl.cmd that return types with arguments of type ProcessInstance Modifier and Type Method Description java.util.List<ProcessInstance>
EvaluateStartConditionCmd. execute(CommandContext commandContext)
protected java.util.List<ProcessInstance>
AbstractSetProcessInstanceStateCmd. obtainProcessInstances(CommandContext commandContext)
Method parameters in org.camunda.bpm.engine.impl.cmd with type arguments of type ProcessInstance Modifier and Type Method Description void
AbstractDeleteProcessInstanceCmd. triggerHistoryEvent(java.util.List<ProcessInstance> subProcesslist)
-
Uses of ProcessInstance in org.camunda.bpm.engine.impl.persistence.entity
Classes in org.camunda.bpm.engine.impl.persistence.entity that implement ProcessInstance Modifier and Type Class Description class
ExecutionEntity
class
ProcessInstanceWithVariablesImpl
Methods in org.camunda.bpm.engine.impl.persistence.entity that return types with arguments of type ProcessInstance Modifier and Type Method Description java.util.List<ProcessInstance>
ExecutionManager. findProcessInstanceByNativeQuery(java.util.Map<java.lang.String,java.lang.Object> parameterMap, int firstResult, int maxResults)
java.util.List<ProcessInstance>
ExecutionManager. findProcessInstancesByQueryCriteria(ProcessInstanceQueryImpl processInstanceQuery, Page page)
-
Uses of ProcessInstance in org.camunda.bpm.engine.impl.runtime
Fields in org.camunda.bpm.engine.impl.runtime declared as ProcessInstance Modifier and Type Field Description protected ProcessInstance
MessageCorrelationResultImpl. processInstance
Methods in org.camunda.bpm.engine.impl.runtime that return ProcessInstance Modifier and Type Method Description ProcessInstance
MessageCorrelationResultImpl. getProcessInstance()
Methods in org.camunda.bpm.engine.impl.runtime with parameters of type ProcessInstance Modifier and Type Method Description void
MessageCorrelationResultImpl. setProcessInstance(ProcessInstance processInstance)
-
Uses of ProcessInstance in org.camunda.bpm.engine.rest.dto.runtime
Methods in org.camunda.bpm.engine.rest.dto.runtime with parameters of type ProcessInstance Modifier and Type Method Description static ProcessInstanceDto
ProcessInstanceDto. fromProcessInstance(ProcessInstance instance)
Constructors in org.camunda.bpm.engine.rest.dto.runtime with parameters of type ProcessInstance Constructor Description ProcessInstanceDto(ProcessInstance instance)
ProcessInstanceWithVariablesDto(ProcessInstance instance)
-
Uses of ProcessInstance in org.camunda.bpm.engine.runtime
Subinterfaces of ProcessInstance in org.camunda.bpm.engine.runtime Modifier and Type Interface Description interface
ProcessInstanceWithVariables
Represents a process instance with the corresponding latest variables.Methods in org.camunda.bpm.engine.runtime that return ProcessInstance Modifier and Type Method Description ProcessInstance
MessageCorrelationBuilder. correlateStartMessage()
Executes the message correlation.ProcessInstance
ProcessInstantiationBuilder. execute()
Start the process instance.ProcessInstance
ProcessInstantiationBuilder. execute(boolean skipCustomListeners, boolean skipIoMappings)
Start the process instance.ProcessInstance
MessageCorrelationResult. getProcessInstance()
Returns the process instance id on which the message was correlated to.Methods in org.camunda.bpm.engine.runtime that return types with arguments of type ProcessInstance Modifier and Type Method Description java.util.List<ProcessInstance>
ConditionEvaluationBuilder. evaluateStartConditions()
-
Uses of ProcessInstance in org.camunda.bpm.engine.test.assertions.bpmn
Methods in org.camunda.bpm.engine.test.assertions.bpmn that return ProcessInstance Modifier and Type Method Description static ProcessInstance
BpmnAwareTests. calledProcessInstance()
Helper method to easily access the only called process instance currently available in the context of the last asserted process instance.static ProcessInstance
BpmnAwareTests. calledProcessInstance(java.lang.String processDefinitionKey)
Helper method to easily access the only called process instance with the given processDefinitionKey currently available in the context of the last asserted process instance.static ProcessInstance
BpmnAwareTests. calledProcessInstance(java.lang.String processDefinitionKey, ProcessInstance processInstance)
Helper method to easily access the only called process instance with the given processDefinitionKey currently available in the context of the given process instance.static ProcessInstance
BpmnAwareTests. calledProcessInstance(ProcessInstance processInstance)
Helper method to easily access the only called process instance currently available in the context of the given process instance.static ProcessInstance
BpmnAwareTests. calledProcessInstance(ProcessInstanceQuery processInstanceQuery)
Helper method to easily access the only called process instance compliant to a given processInstanceQuery and currently available in the context of the last asserted process instance.static ProcessInstance
BpmnAwareTests. calledProcessInstance(ProcessInstanceQuery processInstanceQuery, ProcessInstance processInstance)
Helper method to easily access the only called process instance compliant to a given processInstanceQuery and currently available in the context of the given process instance.protected ProcessInstance
ProcessInstanceAssert. getCurrent()
Methods in org.camunda.bpm.engine.test.assertions.bpmn with parameters of type ProcessInstance Modifier and Type Method Description static ProcessInstanceAssert
BpmnAwareTests. assertThat(ProcessInstance actual)
Assert that...protected static CalledProcessInstanceAssert
CalledProcessInstanceAssert. assertThat(ProcessEngine engine, ProcessInstance actual)
protected static ProcessInstanceAssert
ProcessInstanceAssert. assertThat(ProcessEngine engine, ProcessInstance actual)
static ProcessInstance
BpmnAwareTests. calledProcessInstance(java.lang.String processDefinitionKey, ProcessInstance processInstance)
Helper method to easily access the only called process instance with the given processDefinitionKey currently available in the context of the given process instance.static ProcessInstance
BpmnAwareTests. calledProcessInstance(ProcessInstance processInstance)
Helper method to easily access the only called process instance currently available in the context of the given process instance.static ProcessInstance
BpmnAwareTests. calledProcessInstance(ProcessInstanceQuery processInstanceQuery, ProcessInstance processInstance)
Helper method to easily access the only called process instance compliant to a given processInstanceQuery and currently available in the context of the given process instance.static ExternalTask
BpmnAwareTests. externalTask(java.lang.String activityId, ProcessInstance processInstance)
Helper method to easily access the only external task with the given activityId currently available in the context of the given process instance.static ExternalTask
BpmnAwareTests. externalTask(ExternalTaskQuery externalTaskQuery, ProcessInstance processInstance)
Helper method to easily access the only external task compliant to a given externalTaskQuery and currently available in the context of the given process instance.static ExternalTask
BpmnAwareTests. externalTask(ProcessInstance processInstance)
Helper method to easily access the only external task currently available in the context of the given process instance.static Job
BpmnAwareTests. job(java.lang.String activityId, ProcessInstance processInstance)
Helper method to easily access the only job with the given activityId currently available in the context of the given process instance.static Job
BpmnAwareTests. job(JobQuery jobQuery, ProcessInstance processInstance)
Helper method to easily access the only job compliant to a given jobQuery and currently available in the context of the given process instance.static Job
BpmnAwareTests. job(ProcessInstance processInstance)
Helper method to easily access the only job currently available in the context of the given process instance.static ProcessDefinition
BpmnAwareTests. processDefinition(ProcessInstance processInstance)
Helper method to easily access the process definition on which the given process instance is based.static Task
BpmnAwareTests. task(java.lang.String taskDefinitionKey, ProcessInstance processInstance)
Helper method to easily access the only task with the given taskDefinitionKey currently available in the context of the given process instance.static Task
BpmnAwareTests. task(ProcessInstance processInstance)
Helper method to easily access the only task currently available in the context of the given process instance.static Task
BpmnAwareTests. task(TaskQuery taskQuery, ProcessInstance processInstance)
Helper method to easily access the only task compliant to a given taskQuery and currently available in the context of the given process instance.protected java.lang.String
ProcessInstanceAssert. toString(ProcessInstance processInstance)
Constructors in org.camunda.bpm.engine.test.assertions.bpmn with parameters of type ProcessInstance Constructor Description CalledProcessInstanceAssert(ProcessEngine engine, ProcessInstance actual)
ProcessInstanceAssert(ProcessEngine engine, ProcessInstance actual)
ProcessInstanceAssert(ProcessEngine engine, ProcessInstance actual, java.lang.Class<?> selfType)
-
Uses of ProcessInstance in org.camunda.bpm.qa.upgrade
Methods in org.camunda.bpm.qa.upgrade that return ProcessInstance Modifier and Type Method Description ProcessInstance
UpgradeTestRule. processInstance()
-