Uses of Interface
org.camunda.bpm.engine.runtime.ProcessInstance
Packages that use ProcessInstance
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 DeploymentsRuntimeService:
For starting and searching ProcessInstancesTaskService:
Exposes operations to manage human (standalone) Tasks,
such as claiming, completing and assigning tasksIdentityService:
Used for managing Users,
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.API implementation classes, which shouldn't directly be used by end-users.
Classes related to the
RuntimeService.-
Uses of ProcessInstance in org.camunda.bpm.engine
Methods in org.camunda.bpm.engine that return ProcessInstanceModifier and TypeMethodDescriptionRuntimeService.startProcessInstanceById(String processDefinitionId) Starts a new process instance in the exactly specified version of the process definition with the given id.RuntimeService.startProcessInstanceById(String processDefinitionId, String businessKey) Starts a new process instance in the exactly specified version of the process definition with the given id.RuntimeService.startProcessInstanceById(String processDefinitionId, String businessKey, String caseInstanceId) Starts a new process instance in the exactly specified version of the process definition with the given id.RuntimeService.startProcessInstanceById(String processDefinitionId, String businessKey, String caseInstanceId, Map<String, Object> variables) Starts a new process instance in the exactly specified version of the process definition with the given id.RuntimeService.startProcessInstanceById(String processDefinitionId, String businessKey, Map<String, Object> variables) Starts a new process instance in the exactly specified version of the process definition with the given id.RuntimeService.startProcessInstanceById(String processDefinitionId, Map<String, Object> variables) Starts a new process instance in the exactly specified version of the process definition with the given id.RuntimeService.startProcessInstanceByKey(String processDefinitionKey) Starts a new process instance in the latest version of the process definition with the given key.RuntimeService.startProcessInstanceByKey(String processDefinitionKey, String businessKey) Starts a new process instance in the latest version of the process definition with the given key.RuntimeService.startProcessInstanceByKey(String processDefinitionKey, String businessKey, String caseInstanceId) Starts a new process instance in the latest version of the process definition with the given key.RuntimeService.startProcessInstanceByKey(String processDefinitionKey, String businessKey, String caseInstanceId, Map<String, Object> variables) Starts a new process instance in the latest version of the process definition with the given key.RuntimeService.startProcessInstanceByKey(String processDefinitionKey, String businessKey, Map<String, Object> variables) Starts a new process instance in the latest version of the process definition with the given key.RuntimeService.startProcessInstanceByKey(String processDefinitionKey, Map<String, Object> variables) Starts a new process instance in the latest version of the process definition with the given keyRuntimeService.startProcessInstanceByMessage(String messageName) Signals the process engine that a message is received and starts a newProcessInstance.RuntimeService.startProcessInstanceByMessage(String messageName, String businessKey) Signals the process engine that a message is received and starts a newProcessInstance.RuntimeService.startProcessInstanceByMessage(String messageName, String businessKey, Map<String, Object> processVariables) Signals the process engine that a message is received and starts a newProcessInstance.RuntimeService.startProcessInstanceByMessage(String messageName, Map<String, Object> processVariables) Signals the process engine that a message is received and starts a newProcessInstance.RuntimeService.startProcessInstanceByMessageAndProcessDefinitionId(String messageName, String processDefinitionId) Signals the process engine that a message is received and starts a newProcessInstance.RuntimeService.startProcessInstanceByMessageAndProcessDefinitionId(String messageName, String processDefinitionId, String businessKey) Signals the process engine that a message is received and starts a newProcessInstance.RuntimeService.startProcessInstanceByMessageAndProcessDefinitionId(String messageName, String processDefinitionId, String businessKey, Map<String, Object> processVariables) Signals the process engine that a message is received and starts a newProcessInstance.RuntimeService.startProcessInstanceByMessageAndProcessDefinitionId(String messageName, String processDefinitionId, Map<String, Object> processVariables) Signals the process engine that a message is received and starts a newProcessInstance.FormService.submitStartForm(String processDefinitionId, String businessKey, Map<String, Object> properties) Start a new process instance with the user data that was entered as properties in a start form.FormService.submitStartForm(String processDefinitionId, Map<String, Object> properties) Start a new process instance with the user data that was entered as properties in a start form.FormService.submitStartFormData(String processDefinitionId, String businessKey, Map<String, String> properties) Deprecated.FormService.submitStartFormData(String processDefinitionId, Map<String, String> properties) Deprecated. -
Uses of ProcessInstance in org.camunda.bpm.engine.cdi
Methods in org.camunda.bpm.engine.cdi that return ProcessInstanceModifier and TypeMethodDescriptionBusinessProcess.getProcessInstance()Returns theProcessInstancecurrently associated or 'null'CurrentProcessInstance.getProcessInstance()Returns theProcessInstancecurrently associated or 'null'BusinessProcess.startProcessById(String processDefinitionId) BusinessProcess.startProcessById(String processDefinitionId, String businessKey) BusinessProcess.startProcessById(String processDefinitionId, String businessKey, Map<String, Object> variables) BusinessProcess.startProcessById(String processDefinitionId, Map<String, Object> variables) BusinessProcess.startProcessByKey(String key) BusinessProcess.startProcessByKey(String key, String businessKey) BusinessProcess.startProcessByKey(String key, Map<String, Object> variables) BusinessProcess.startProcessByMessage(String messageName) BusinessProcess.startProcessByMessage(String messageName, String businessKey, Map<String, Object> processVariables) BusinessProcess.startProcessByMessage(String messageName, Map<String, 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 ProcessInstanceModifier and TypeMethodDescriptionBusinessKeyProducer.businessKey(ProcessInstance processInstance) -
Uses of ProcessInstance in org.camunda.bpm.engine.impl
Methods in org.camunda.bpm.engine.impl that return ProcessInstanceModifier and TypeMethodDescriptionMessageCorrelationBuilderImpl.correlateStartMessage()ProcessInstantiationBuilderImpl.execute()ProcessInstantiationBuilderImpl.execute(boolean skipCustomListeners, boolean skipIoMappings) RuntimeServiceImpl.startProcessInstanceById(String processDefinitionId) RuntimeServiceImpl.startProcessInstanceById(String processDefinitionId, String businessKey) RuntimeServiceImpl.startProcessInstanceById(String processDefinitionId, String businessKey, String caseInstanceId) RuntimeServiceImpl.startProcessInstanceById(String processDefinitionId, String businessKey, String caseInstanceId, Map<String, Object> variables) RuntimeServiceImpl.startProcessInstanceById(String processDefinitionId, String businessKey, Map<String, Object> variables) RuntimeServiceImpl.startProcessInstanceById(String processDefinitionId, Map<String, Object> variables) RuntimeServiceImpl.startProcessInstanceByKey(String processDefinitionKey) RuntimeServiceImpl.startProcessInstanceByKey(String processDefinitionKey, String businessKey) RuntimeServiceImpl.startProcessInstanceByKey(String processDefinitionKey, String businessKey, String caseInstanceId) RuntimeServiceImpl.startProcessInstanceByKey(String processDefinitionKey, String businessKey, String caseInstanceId, Map<String, Object> variables) RuntimeServiceImpl.startProcessInstanceByKey(String processDefinitionKey, String businessKey, Map<String, Object> variables) RuntimeServiceImpl.startProcessInstanceByKey(String processDefinitionKey, Map<String, Object> variables) RuntimeServiceImpl.startProcessInstanceByMessage(String messageName) RuntimeServiceImpl.startProcessInstanceByMessage(String messageName, String businessKey) RuntimeServiceImpl.startProcessInstanceByMessage(String messageName, String businessKey, Map<String, Object> processVariables) RuntimeServiceImpl.startProcessInstanceByMessage(String messageName, Map<String, Object> processVariables) RuntimeServiceImpl.startProcessInstanceByMessageAndProcessDefinitionId(String messageName, String processDefinitionId) RuntimeServiceImpl.startProcessInstanceByMessageAndProcessDefinitionId(String messageName, String processDefinitionId, String businessKey) RuntimeServiceImpl.startProcessInstanceByMessageAndProcessDefinitionId(String messageName, String processDefinitionId, String businessKey, Map<String, Object> processVariables) RuntimeServiceImpl.startProcessInstanceByMessageAndProcessDefinitionId(String messageName, String processDefinitionId, Map<String, Object> processVariables) FormServiceImpl.submitStartForm(String processDefinitionId, String businessKey, Map<String, Object> properties) FormServiceImpl.submitStartForm(String processDefinitionId, Map<String, Object> properties) FormServiceImpl.submitStartFormData(String processDefinitionId, String businessKey, Map<String, String> properties) FormServiceImpl.submitStartFormData(String processDefinitionId, Map<String, String> properties) Methods in org.camunda.bpm.engine.impl that return types with arguments of type ProcessInstanceModifier and TypeMethodDescriptionConditionEvaluationBuilderImpl.evaluateStartConditions()NativeProcessInstanceQueryImpl.executeList(CommandContext commandContext, Map<String, Object> parameterMap, int firstResult, int maxResults) 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 ProcessInstanceModifier and TypeMethodDescriptionDefaultAuthorizationProvider.newProcessInstance(ProcessInstance processInstance) 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 ProcessInstanceModifier and TypeMethodDescriptionSubmitStartFormCmd.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 ProcessInstanceModifier and TypeMethodDescriptionEvaluateStartConditionCmd.execute(CommandContext commandContext) protected List<ProcessInstance>AbstractSetProcessInstanceStateCmd.obtainProcessInstances(CommandContext commandContext) Method parameters in org.camunda.bpm.engine.impl.cmd with type arguments of type ProcessInstanceModifier and TypeMethodDescriptionvoidAbstractDeleteProcessInstanceCmd.triggerHistoryEvent(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 ProcessInstanceMethods in org.camunda.bpm.engine.impl.persistence.entity that return types with arguments of type ProcessInstanceModifier and TypeMethodDescriptionExecutionManager.findProcessInstanceByNativeQuery(Map<String, Object> parameterMap, int firstResult, int maxResults) 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 ProcessInstanceModifier and TypeFieldDescriptionprotected ProcessInstanceMessageCorrelationResultImpl.processInstanceMethods in org.camunda.bpm.engine.impl.runtime that return ProcessInstanceMethods in org.camunda.bpm.engine.impl.runtime with parameters of type ProcessInstanceModifier and TypeMethodDescriptionvoidMessageCorrelationResultImpl.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 ProcessInstanceModifier and TypeMethodDescriptionstatic ProcessInstanceDtoProcessInstanceDto.fromProcessInstance(ProcessInstance instance) Constructors in org.camunda.bpm.engine.rest.dto.runtime with parameters of type ProcessInstance -
Uses of ProcessInstance in org.camunda.bpm.engine.runtime
Subinterfaces of ProcessInstance in org.camunda.bpm.engine.runtimeModifier and TypeInterfaceDescriptioninterfaceRepresents a process instance with the corresponding latest variables.Methods in org.camunda.bpm.engine.runtime that return ProcessInstanceModifier and TypeMethodDescriptionMessageCorrelationBuilder.correlateStartMessage()Executes the message correlation.ProcessInstantiationBuilder.execute()Start the process instance.ProcessInstantiationBuilder.execute(boolean skipCustomListeners, boolean skipIoMappings) Start the process instance.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 -
Uses of ProcessInstance in org.camunda.bpm.engine.test.assertions.bpmn
Methods in org.camunda.bpm.engine.test.assertions.bpmn that return ProcessInstanceModifier and TypeMethodDescriptionstatic 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(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(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 ProcessInstanceModifier and TypeMethodDescriptionstatic 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(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(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(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(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 StringProcessInstanceAssert.toString(ProcessInstance processInstance) Constructors in org.camunda.bpm.engine.test.assertions.bpmn with parameters of type ProcessInstanceModifierConstructorDescriptionprotectedCalledProcessInstanceAssert(ProcessEngine engine, ProcessInstance actual) protectedProcessInstanceAssert(ProcessEngine engine, ProcessInstance actual) protectedProcessInstanceAssert(ProcessEngine engine, ProcessInstance actual, Class<?> selfType) -
Uses of ProcessInstance in org.camunda.bpm.qa.upgrade
Methods in org.camunda.bpm.qa.upgrade that return ProcessInstance
FormService.submitStartForm(String, String, Map)