Uses of Interface
org.flowable.engine.runtime.ProcessInstance
Package
Description
Public API of the Flowable 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
s.RuntimeService
: For starting and searching ProcessInstance
s.TaskService
: Exposes operations to manage human (standalone) tasks, such as claiming, completing and assigning tasks.IdentityService
: Used for managing users, groups and the relations between them.ManagementService
: Exposes engine administration and maintenance operations,
which have no relation to the runtime exection 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.API implementation classes, which shouldn't directly be used by end-users.
Classes related to the
RuntimeService
.-
Uses of ProcessInstance in org.flowable.engine
Modifier 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, 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, 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.startProcessInstanceByKeyAndTenantId
(String processDefinitionKey, String tenantId) Similar toRuntimeService.startProcessInstanceByKey(String)
, but using a specific tenant identifier.RuntimeService.startProcessInstanceByKeyAndTenantId
(String processDefinitionKey, String businessKey, String tenantId) Similar toRuntimeService.startProcessInstanceByKey(String, String)
, but using a specific tenant identifier.RuntimeService.startProcessInstanceByKeyAndTenantId
(String processDefinitionKey, String businessKey, Map<String, Object> variables, String tenantId) Similar toRuntimeService.startProcessInstanceByKey(String, String, Map)
, but using a specific tenant identifier.RuntimeService.startProcessInstanceByKeyAndTenantId
(String processDefinitionKey, Map<String, Object> variables, String tenantId) Similar toRuntimeService.startProcessInstanceByKey(String, Map)
, but using a specific tenant identifier.RuntimeService.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.startProcessInstanceByMessageAndTenantId
(String messageName, String tenantId) Similar toRuntimeService.startProcessInstanceByMessage(String)
, but with tenant context.RuntimeService.startProcessInstanceByMessageAndTenantId
(String messageName, String businessKey, String tenantId) Similar toRuntimeService.startProcessInstanceByMessage(String, String)
, but with tenant context.RuntimeService.startProcessInstanceByMessageAndTenantId
(String messageName, String businessKey, Map<String, Object> processVariables, String tenantId) Similar toRuntimeService.startProcessInstanceByMessage(String, String, Map)
, but with tenant context.RuntimeService.startProcessInstanceByMessageAndTenantId
(String messageName, Map<String, Object> processVariables, String tenantId) Similar toRuntimeService.startProcessInstanceByMessage(String, Map)
, but with tenant context.RuntimeService.startProcessInstanceWithForm
(String processDefinitionId, String outcome, Map<String, Object> variables, String processInstanceName) Starts a new process instance in the exactly specified version of the process definition with the given id.FormService.submitStartFormData
(String processDefinitionId, String businessKey, Map<String, String> properties) Start a new process instance with the user data that was entered as properties in a start form.FormService.submitStartFormData
(String processDefinitionId, Map<String, String> properties) Start a new process instance with the user data that was entered as properties in a start form.Modifier and TypeMethodDescriptionvoid
InternalProcessLocalizationManager.localize
(ProcessInstance processInstance, String locale, boolean withLocalizationFallback) -
Uses of ProcessInstance in org.flowable.engine.compatibility
Modifier and TypeMethodDescriptionFlowable5CompatibilityHandler.getProcessInstance
(String processInstanceId) Flowable5CompatibilityHandler.startProcessInstance
(String processDefinitionKey, String processDefinitionId, Map<String, Object> variables, Map<String, Object> transientVariables, String businessKey, String tenantId, String processInstanceName) Flowable5CompatibilityHandler.startProcessInstanceByMessage
(String messageName, Map<String, Object> variables, Map<String, Object> transientVariables, String businessKey, String tenantId) Flowable5CompatibilityHandler.submitStartFormData
(String processDefinitionId, String businessKey, Map<String, String> properties) Modifier and TypeMethodDescriptionFlowable5CompatibilityHandler.getVariables
(ProcessInstance processInstance) -
Uses of ProcessInstance in org.flowable.engine.impl
Modifier and TypeMethodDescriptionRuntimeServiceImpl.startProcessInstance
(org.flowable.engine.impl.runtime.ProcessInstanceBuilderImpl processInstanceBuilder) RuntimeServiceImpl.startProcessInstanceAsync
(org.flowable.engine.impl.runtime.ProcessInstanceBuilderImpl processInstanceBuilder) RuntimeServiceImpl.startProcessInstanceById
(String processDefinitionId) RuntimeServiceImpl.startProcessInstanceById
(String processDefinitionId, String businessKey) 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, Map<String, Object> variables) RuntimeServiceImpl.startProcessInstanceByKey
(String processDefinitionKey, Map<String, Object> variables) RuntimeServiceImpl.startProcessInstanceByKeyAndTenantId
(String processDefinitionKey, String tenantId) RuntimeServiceImpl.startProcessInstanceByKeyAndTenantId
(String processDefinitionKey, String businessKey, String tenantId) RuntimeServiceImpl.startProcessInstanceByKeyAndTenantId
(String processDefinitionKey, String businessKey, Map<String, Object> variables, String tenantId) RuntimeServiceImpl.startProcessInstanceByKeyAndTenantId
(String processDefinitionKey, Map<String, Object> variables, String tenantId) 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.startProcessInstanceByMessageAndTenantId
(String messageName, String tenantId) RuntimeServiceImpl.startProcessInstanceByMessageAndTenantId
(String messageName, String businessKey, String tenantId) RuntimeServiceImpl.startProcessInstanceByMessageAndTenantId
(String messageName, String businessKey, Map<String, Object> processVariables, String tenantId) RuntimeServiceImpl.startProcessInstanceByMessageAndTenantId
(String messageName, Map<String, Object> processVariables, String tenantId) RuntimeServiceImpl.startProcessInstanceWithForm
(String processDefinitionId, String outcome, Map<String, Object> variables, String processInstanceName) FormServiceImpl.submitStartFormData
(String processDefinitionId, String businessKey, Map<String, String> properties) FormServiceImpl.submitStartFormData
(String processDefinitionId, Map<String, String> properties) Modifier and TypeMethodDescriptionNativeProcessInstanceQueryImpl.executeList
(org.flowable.common.engine.impl.interceptor.CommandContext commandContext, Map<String, Object> parameterMap) ProcessInstanceQueryImpl.executeList
(org.flowable.common.engine.impl.interceptor.CommandContext commandContext) Modifier and TypeMethodDescriptionvoid
DefaultProcessLocalizationManager.localize
(ProcessInstance processInstance, String locale, boolean withLocalizationFallback) -
Uses of ProcessInstance in org.flowable.engine.interceptor
Modifier and TypeMethodDescriptionvoid
ProcessInstanceQueryInterceptor.afterProcessInstanceQueryExecute
(ProcessInstanceQuery processInstanceQuery, List<ProcessInstance> processInstances) -
Uses of ProcessInstance in org.flowable.engine.migration
Modifier and TypeMethodDescriptionvoid
ProcessInstanceMigrationCallback.processInstanceMigrated
(ProcessInstance processInstance, ProcessDefinition procDefToMigrateTo, ProcessInstanceMigrationDocument document, org.flowable.common.engine.impl.interceptor.CommandContext commandContext) -
Uses of ProcessInstance in org.flowable.engine.runtime
Modifier and TypeMethodDescriptionProcessInstanceBuilder.start()
Start the process instanceProcessInstanceBuilder.startAsync()
Start the process instance asynchronously