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 aProcessEnginecan be obtained.
Through the services obtained from such aProcessEngine, BPM and workflow operation can be executed:
RepositoryService: ManagesDeployments
RuntimeService: For starting and searchingProcessInstances
TaskService: Exposes operations to manage human (standalone)Tasks, such as claiming, completing and assigning tasks
IdentityService: Used for managingUsers,Groups 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 ProcessInstanceRuntimeService. startProcessInstanceById(java.lang.String processDefinitionId)Starts a new process instance in the exactly specified version of the process definition with the given id.ProcessInstanceRuntimeService. 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.ProcessInstanceRuntimeService. 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.ProcessInstanceRuntimeService. 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.ProcessInstanceRuntimeService. 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.ProcessInstanceRuntimeService. 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.ProcessInstanceRuntimeService. startProcessInstanceByKey(java.lang.String processDefinitionKey)Starts a new process instance in the latest version of the process definition with the given key.ProcessInstanceRuntimeService. 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.ProcessInstanceRuntimeService. 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.ProcessInstanceRuntimeService. 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.ProcessInstanceRuntimeService. 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.ProcessInstanceRuntimeService. 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 keyProcessInstanceRuntimeService. startProcessInstanceByMessage(java.lang.String messageName)Signals the process engine that a message is received and starts a newProcessInstance.ProcessInstanceRuntimeService. startProcessInstanceByMessage(java.lang.String messageName, java.lang.String businessKey)Signals the process engine that a message is received and starts a newProcessInstance.ProcessInstanceRuntimeService. 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.ProcessInstanceRuntimeService. 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.ProcessInstanceRuntimeService. startProcessInstanceByMessageAndProcessDefinitionId(java.lang.String messageName, java.lang.String processDefinitionId)Signals the process engine that a message is received and starts a newProcessInstance.ProcessInstanceRuntimeService. 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.ProcessInstanceRuntimeService. 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.ProcessInstanceRuntimeService. 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.ProcessInstanceFormService. 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.ProcessInstanceFormService. 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.ProcessInstanceFormService. submitStartFormData(java.lang.String processDefinitionId, java.lang.String businessKey, java.util.Map<java.lang.String,java.lang.String> properties)Deprecated.ProcessInstanceFormService. 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 ProcessInstanceBusinessProcess. getProcessInstance()Returns theProcessInstancecurrently associated or 'null'ProcessInstanceCurrentProcessInstance. getProcessInstance()Returns theProcessInstancecurrently associated or 'null'ProcessInstanceBusinessProcess. startProcessById(java.lang.String processDefinitionId)ProcessInstanceBusinessProcess. startProcessById(java.lang.String processDefinitionId, java.lang.String businessKey)ProcessInstanceBusinessProcess. startProcessById(java.lang.String processDefinitionId, java.lang.String businessKey, java.util.Map<java.lang.String,java.lang.Object> variables)ProcessInstanceBusinessProcess. startProcessById(java.lang.String processDefinitionId, java.util.Map<java.lang.String,java.lang.Object> variables)ProcessInstanceBusinessProcess. startProcessByKey(java.lang.String key)ProcessInstanceBusinessProcess. startProcessByKey(java.lang.String key, java.lang.String businessKey)ProcessInstanceBusinessProcess. startProcessByKey(java.lang.String key, java.lang.String businessKey, java.util.Map<java.lang.String,java.lang.Object> variables)ProcessInstanceBusinessProcess. startProcessByKey(java.lang.String key, java.util.Map<java.lang.String,java.lang.Object> variables)ProcessInstanceBusinessProcess. startProcessByMessage(java.lang.String messageName)ProcessInstanceBusinessProcess. startProcessByMessage(java.lang.String messageName, java.lang.String businessKey, java.util.Map<java.lang.String,java.lang.Object> processVariables)ProcessInstanceBusinessProcess. 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.StringBusinessKeyProducer. 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 ProcessInstanceMessageCorrelationBuilderImpl. correlateStartMessage()ProcessInstanceProcessInstantiationBuilderImpl. execute()ProcessInstanceProcessInstantiationBuilderImpl. execute(boolean skipCustomListeners, boolean skipIoMappings)ProcessInstanceRuntimeServiceImpl. startProcessInstanceById(java.lang.String processDefinitionId)ProcessInstanceRuntimeServiceImpl. startProcessInstanceById(java.lang.String processDefinitionId, java.lang.String businessKey)ProcessInstanceRuntimeServiceImpl. startProcessInstanceById(java.lang.String processDefinitionId, java.lang.String businessKey, java.lang.String caseInstanceId)ProcessInstanceRuntimeServiceImpl. startProcessInstanceById(java.lang.String processDefinitionId, java.lang.String businessKey, java.lang.String caseInstanceId, java.util.Map<java.lang.String,java.lang.Object> variables)ProcessInstanceRuntimeServiceImpl. startProcessInstanceById(java.lang.String processDefinitionId, java.lang.String businessKey, java.util.Map<java.lang.String,java.lang.Object> variables)ProcessInstanceRuntimeServiceImpl. startProcessInstanceById(java.lang.String processDefinitionId, java.util.Map<java.lang.String,java.lang.Object> variables)ProcessInstanceRuntimeServiceImpl. startProcessInstanceByKey(java.lang.String processDefinitionKey)ProcessInstanceRuntimeServiceImpl. startProcessInstanceByKey(java.lang.String processDefinitionKey, java.lang.String businessKey)ProcessInstanceRuntimeServiceImpl. startProcessInstanceByKey(java.lang.String processDefinitionKey, java.lang.String businessKey, java.lang.String caseInstanceId)ProcessInstanceRuntimeServiceImpl. startProcessInstanceByKey(java.lang.String processDefinitionKey, java.lang.String businessKey, java.lang.String caseInstanceId, java.util.Map<java.lang.String,java.lang.Object> variables)ProcessInstanceRuntimeServiceImpl. startProcessInstanceByKey(java.lang.String processDefinitionKey, java.lang.String businessKey, java.util.Map<java.lang.String,java.lang.Object> variables)ProcessInstanceRuntimeServiceImpl. startProcessInstanceByKey(java.lang.String processDefinitionKey, java.util.Map<java.lang.String,java.lang.Object> variables)ProcessInstanceRuntimeServiceImpl. startProcessInstanceByMessage(java.lang.String messageName)ProcessInstanceRuntimeServiceImpl. startProcessInstanceByMessage(java.lang.String messageName, java.lang.String businessKey)ProcessInstanceRuntimeServiceImpl. startProcessInstanceByMessage(java.lang.String messageName, java.lang.String businessKey, java.util.Map<java.lang.String,java.lang.Object> processVariables)ProcessInstanceRuntimeServiceImpl. startProcessInstanceByMessage(java.lang.String messageName, java.util.Map<java.lang.String,java.lang.Object> processVariables)ProcessInstanceRuntimeServiceImpl. startProcessInstanceByMessageAndProcessDefinitionId(java.lang.String messageName, java.lang.String processDefinitionId)ProcessInstanceRuntimeServiceImpl. startProcessInstanceByMessageAndProcessDefinitionId(java.lang.String messageName, java.lang.String processDefinitionId, java.lang.String businessKey)ProcessInstanceRuntimeServiceImpl. startProcessInstanceByMessageAndProcessDefinitionId(java.lang.String messageName, java.lang.String processDefinitionId, java.lang.String businessKey, java.util.Map<java.lang.String,java.lang.Object> processVariables)ProcessInstanceRuntimeServiceImpl. startProcessInstanceByMessageAndProcessDefinitionId(java.lang.String messageName, java.lang.String processDefinitionId, java.util.Map<java.lang.String,java.lang.Object> processVariables)ProcessInstanceFormServiceImpl. submitStartForm(java.lang.String processDefinitionId, java.lang.String businessKey, java.util.Map<java.lang.String,java.lang.Object> properties)ProcessInstanceFormServiceImpl. submitStartForm(java.lang.String processDefinitionId, java.util.Map<java.lang.String,java.lang.Object> properties)ProcessInstanceFormServiceImpl. submitStartFormData(java.lang.String processDefinitionId, java.lang.String businessKey, java.util.Map<java.lang.String,java.lang.String> properties)ProcessInstanceFormServiceImpl. 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 ProcessInstanceSubmitStartFormCmd. execute(CommandContext commandContext)protected ProcessInstanceAbstractCorrelateMessageCmd. instantiateProcess(CommandContext commandContext, CorrelationHandlerResult correlationResult)protected ProcessInstanceEvaluateStartConditionCmd. 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 voidAbstractDeleteProcessInstanceCmd. 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 classExecutionEntityclassProcessInstanceWithVariablesImplMethods 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 ProcessInstanceMessageCorrelationResultImpl. processInstanceMethods in org.camunda.bpm.engine.impl.runtime that return ProcessInstance Modifier and Type Method Description ProcessInstanceMessageCorrelationResultImpl. getProcessInstance()Methods in org.camunda.bpm.engine.impl.runtime with parameters of type ProcessInstance Modifier and Type Method Description voidMessageCorrelationResultImpl. 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 ProcessInstanceDtoProcessInstanceDto. 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 interfaceProcessInstanceWithVariablesRepresents a process instance with the corresponding latest variables.Methods in org.camunda.bpm.engine.runtime that return ProcessInstance Modifier and Type Method Description ProcessInstanceMessageCorrelationBuilder. correlateStartMessage()Executes the message correlation.ProcessInstanceProcessInstantiationBuilder. execute()Start the process instance.ProcessInstanceProcessInstantiationBuilder. execute(boolean skipCustomListeners, boolean skipIoMappings)Start the process instance.ProcessInstanceMessageCorrelationResult. 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 ProcessInstanceBpmnAwareTests. calledProcessInstance()Helper method to easily access the only called process instance currently available in the context of the last asserted process instance.static ProcessInstanceBpmnAwareTests. 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 ProcessInstanceBpmnAwareTests. 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 ProcessInstanceBpmnAwareTests. calledProcessInstance(ProcessInstance processInstance)Helper method to easily access the only called process instance currently available in the context of the given process instance.static ProcessInstanceBpmnAwareTests. 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 ProcessInstanceBpmnAwareTests. 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 ProcessInstanceProcessInstanceAssert. getCurrent()Methods in org.camunda.bpm.engine.test.assertions.bpmn with parameters of type ProcessInstance Modifier and Type Method Description static ProcessInstanceAssertBpmnAwareTests. assertThat(ProcessInstance actual)Assert that...protected static CalledProcessInstanceAssertCalledProcessInstanceAssert. assertThat(ProcessEngine engine, ProcessInstance actual)protected static ProcessInstanceAssertProcessInstanceAssert. assertThat(ProcessEngine engine, ProcessInstance actual)static ProcessInstanceBpmnAwareTests. 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 ProcessInstanceBpmnAwareTests. calledProcessInstance(ProcessInstance processInstance)Helper method to easily access the only called process instance currently available in the context of the given process instance.static ProcessInstanceBpmnAwareTests. 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 ExternalTaskBpmnAwareTests. 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 ExternalTaskBpmnAwareTests. 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 ExternalTaskBpmnAwareTests. externalTask(ProcessInstance processInstance)Helper method to easily access the only external task currently available in the context of the given process instance.static JobBpmnAwareTests. 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 JobBpmnAwareTests. 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 JobBpmnAwareTests. job(ProcessInstance processInstance)Helper method to easily access the only job currently available in the context of the given process instance.static ProcessDefinitionBpmnAwareTests. processDefinition(ProcessInstance processInstance)Helper method to easily access the process definition on which the given process instance is based.static TaskBpmnAwareTests. 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 TaskBpmnAwareTests. task(ProcessInstance processInstance)Helper method to easily access the only task currently available in the context of the given process instance.static TaskBpmnAwareTests. 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.StringProcessInstanceAssert. 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 ProcessInstanceUpgradeTestRule. processInstance()
-