| Package | Description |
|---|---|
| org.flowable.engine |
Public API of the Flowable engine.
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 Deployments.RuntimeService: For starting and searching ProcessInstances.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. |
| org.flowable.engine.compatibility | |
| org.flowable.engine.impl |
API implementation classes, which shouldn't directly be used by end-users.
|
| org.flowable.engine.impl.cmd | |
| org.flowable.engine.impl.migration | |
| org.flowable.engine.impl.persistence.entity | |
| org.flowable.engine.impl.persistence.entity.data | |
| org.flowable.engine.impl.persistence.entity.data.impl | |
| org.flowable.engine.impl.runtime | |
| org.flowable.engine.impl.test | |
| org.flowable.engine.impl.util | |
| org.flowable.engine.interceptor | |
| org.flowable.engine.runtime |
Classes related to the
RuntimeService. |
| Modifier and Type | Method and Description |
|---|---|
ProcessInstance |
RuntimeService.startProcessInstanceById(String processDefinitionId)
Starts a new process instance in the exactly specified version of the process definition with the given id.
|
ProcessInstance |
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.
|
ProcessInstance |
RuntimeService.startProcessInstanceById(String processDefinitionId,
String businessKey)
Starts a new process instance in the exactly specified version of the process definition with the given id.
|
ProcessInstance |
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.
|
ProcessInstance |
RuntimeService.startProcessInstanceByKey(String processDefinitionKey)
Starts a new process instance in the latest version of the process definition with the given key.
|
ProcessInstance |
RuntimeService.startProcessInstanceByKey(String processDefinitionKey,
Map<String,Object> variables)
Starts a new process instance in the latest version of the process definition with the given key
|
ProcessInstance |
RuntimeService.startProcessInstanceByKey(String processDefinitionKey,
String businessKey)
Starts a new process instance in the latest version of the process definition with the given key.
|
ProcessInstance |
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.
|
ProcessInstance |
RuntimeService.startProcessInstanceByKeyAndTenantId(String processDefinitionKey,
Map<String,Object> variables,
String tenantId)
Similar to
RuntimeService.startProcessInstanceByKey(String, Map), but using a specific tenant identifier. |
ProcessInstance |
RuntimeService.startProcessInstanceByKeyAndTenantId(String processDefinitionKey,
String tenantId)
Similar to
RuntimeService.startProcessInstanceByKey(String), but using a specific tenant identifier. |
ProcessInstance |
RuntimeService.startProcessInstanceByKeyAndTenantId(String processDefinitionKey,
String businessKey,
Map<String,Object> variables,
String tenantId)
Similar to
RuntimeService.startProcessInstanceByKey(String, String, Map), but using a specific tenant identifier. |
ProcessInstance |
RuntimeService.startProcessInstanceByKeyAndTenantId(String processDefinitionKey,
String businessKey,
String tenantId)
Similar to
RuntimeService.startProcessInstanceByKey(String, String), but using a specific tenant identifier. |
ProcessInstance |
RuntimeService.startProcessInstanceByMessage(String messageName)
Signals the process engine that a message is received and starts a new
ProcessInstance. |
ProcessInstance |
RuntimeService.startProcessInstanceByMessage(String messageName,
Map<String,Object> processVariables)
Signals the process engine that a message is received and starts a new
ProcessInstance. |
ProcessInstance |
RuntimeService.startProcessInstanceByMessage(String messageName,
String businessKey)
Signals the process engine that a message is received and starts a new
ProcessInstance. |
ProcessInstance |
RuntimeService.startProcessInstanceByMessage(String messageName,
String businessKey,
Map<String,Object> processVariables)
Signals the process engine that a message is received and starts a new
ProcessInstance. |
ProcessInstance |
RuntimeService.startProcessInstanceByMessageAndTenantId(String messageName,
Map<String,Object> processVariables,
String tenantId)
Similar to
RuntimeService.startProcessInstanceByMessage(String, Map), but with tenant context. |
ProcessInstance |
RuntimeService.startProcessInstanceByMessageAndTenantId(String messageName,
String tenantId)
Similar to
RuntimeService.startProcessInstanceByMessage(String), but with tenant context. |
ProcessInstance |
RuntimeService.startProcessInstanceByMessageAndTenantId(String messageName,
String businessKey,
Map<String,Object> processVariables,
String tenantId)
Similar to
RuntimeService.startProcessInstanceByMessage(String, String, Map), but with tenant context. |
ProcessInstance |
RuntimeService.startProcessInstanceByMessageAndTenantId(String messageName,
String businessKey,
String tenantId)
Similar to
RuntimeService.startProcessInstanceByMessage(String, String), but with tenant context. |
ProcessInstance |
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.
|
ProcessInstance |
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.
|
ProcessInstance |
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.
|
| Modifier and Type | Method and Description |
|---|---|
void |
InternalProcessLocalizationManager.localize(ProcessInstance processInstance,
String locale,
boolean withLocalizationFallback) |
| Modifier and Type | Method and Description |
|---|---|
ProcessInstance |
Flowable5CompatibilityHandler.getProcessInstance(String processInstanceId) |
ProcessInstance |
Flowable5CompatibilityHandler.startProcessInstance(String processDefinitionKey,
String processDefinitionId,
Map<String,Object> variables,
Map<String,Object> transientVariables,
String businessKey,
String tenantId,
String processInstanceName) |
ProcessInstance |
Flowable5CompatibilityHandler.startProcessInstanceByMessage(String messageName,
Map<String,Object> variables,
Map<String,Object> transientVariables,
String businessKey,
String tenantId) |
ProcessInstance |
Flowable5CompatibilityHandler.submitStartFormData(String processDefinitionId,
String businessKey,
Map<String,String> properties) |
| Modifier and Type | Method and Description |
|---|---|
Map<String,Object> |
Flowable5CompatibilityHandler.getVariables(ProcessInstance processInstance) |
| Modifier and Type | Method and Description |
|---|---|
List<ProcessInstance> |
ProcessInstanceQueryImpl.executeList(CommandContext commandContext) |
List<ProcessInstance> |
NativeProcessInstanceQueryImpl.executeList(CommandContext commandContext,
Map<String,Object> parameterMap) |
| Modifier and Type | Method and Description |
|---|---|
void |
DefaultProcessLocalizationManager.localize(ProcessInstance processInstance,
String locale,
boolean withLocalizationFallback) |
| Modifier and Type | Method and Description |
|---|---|
ProcessInstance |
StartProcessInstanceCmd.execute(CommandContext commandContext) |
ProcessInstance |
StartProcessInstanceAsyncCmd.execute(CommandContext commandContext) |
ProcessInstance |
StartProcessInstanceByMessageCmd.execute(CommandContext commandContext) |
protected ProcessInstance |
SubmitStartFormCmd.execute(CommandContext commandContext,
ProcessDefinitionEntity processDefinition) |
protected ProcessInstance |
StartProcessInstanceCmd.handleProcessInstanceWithForm(CommandContext commandContext,
ProcessDefinition processDefinition,
ProcessEngineConfigurationImpl processEngineConfiguration) |
protected ProcessInstance |
StartProcessInstanceCmd.startProcessInstance(ProcessDefinition processDefinition) |
| Modifier and Type | Method and Description |
|---|---|
protected List<ProcessInstance> |
AbstractSetProcessDefinitionStateCmd.fetchProcessInstancesPage(CommandContext commandContext,
ProcessDefinition processDefinition,
int currentPageStartIndex) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
AbstractDynamicInjectionCmd.createDerivedProcessDefinition(CommandContext commandContext,
ProcessInstance processInstance) |
protected AbstractSetProcessInstanceStateCmd |
ActivateProcessDefinitionCmd.getProcessInstanceChangeStateCmd(ProcessInstance processInstance) |
protected AbstractSetProcessInstanceStateCmd |
SuspendProcessDefinitionCmd.getProcessInstanceChangeStateCmd(ProcessInstance processInstance) |
protected abstract AbstractSetProcessInstanceStateCmd |
AbstractSetProcessDefinitionStateCmd.getProcessInstanceChangeStateCmd(ProcessInstance processInstance)
Subclasses should return a
Command implementation that matches the process definition state change. |
| Modifier and Type | Method and Description |
|---|---|
protected void |
ProcessInstanceMigrationManagerImpl.changeProcessDefinitionReferenceOfHistory(ProcessInstance processInstance,
ProcessDefinition processDefinition,
CommandContext commandContext) |
protected void |
ProcessInstanceMigrationManagerImpl.doMigrateProcessInstance(ProcessInstance processInstance,
ProcessDefinition procDefToMigrateTo,
ProcessInstanceMigrationDocument document,
CommandContext commandContext) |
protected void |
ProcessInstanceMigrationManagerImpl.executeExpression(ProcessInstance processInstance,
ProcessDefinition procDefToMigrateTo,
String preUpgradeJavaDelegateExpression,
CommandContext commandContext) |
protected void |
ProcessInstanceMigrationManagerImpl.executeJavaDelegate(ProcessInstance processInstance,
ProcessDefinition procDefToMigrateTo,
String preUpgradeJavaDelegate,
CommandContext commandContext) |
protected void |
ProcessInstanceMigrationManagerImpl.executeScript(ProcessInstance processInstance,
ProcessDefinition procDefToMigrateTo,
Script script,
CommandContext commandContext) |
| Modifier and Type | Interface and Description |
|---|---|
interface |
ExecutionEntity |
| Modifier and Type | Class and Description |
|---|---|
class |
ExecutionEntityImpl |
| Modifier and Type | Method and Description |
|---|---|
List<ProcessInstance> |
ExecutionEntityManagerImpl.findProcessInstanceAndVariablesByQueryCriteria(ProcessInstanceQueryImpl executionQuery) |
List<ProcessInstance> |
ExecutionEntityManager.findProcessInstanceAndVariablesByQueryCriteria(ProcessInstanceQueryImpl executionQuery) |
List<ProcessInstance> |
ExecutionEntityManagerImpl.findProcessInstanceByNativeQuery(Map<String,Object> parameterMap) |
List<ProcessInstance> |
ExecutionEntityManager.findProcessInstanceByNativeQuery(Map<String,Object> parameterMap) |
List<ProcessInstance> |
ExecutionEntityManagerImpl.findProcessInstanceByQueryCriteria(ProcessInstanceQueryImpl executionQuery) |
List<ProcessInstance> |
ExecutionEntityManager.findProcessInstanceByQueryCriteria(ProcessInstanceQueryImpl executionQuery) |
| Modifier and Type | Method and Description |
|---|---|
List<ProcessInstance> |
ExecutionDataManager.findProcessInstanceAndVariablesByQueryCriteria(ProcessInstanceQueryImpl executionQuery) |
List<ProcessInstance> |
ExecutionDataManager.findProcessInstanceByNativeQuery(Map<String,Object> parameterMap) |
List<ProcessInstance> |
ExecutionDataManager.findProcessInstanceByQueryCriteria(ProcessInstanceQueryImpl executionQuery) |
| Modifier and Type | Method and Description |
|---|---|
List<ProcessInstance> |
MybatisExecutionDataManager.findProcessInstanceAndVariablesByQueryCriteria(ProcessInstanceQueryImpl executionQuery) |
List<ProcessInstance> |
MybatisExecutionDataManager.findProcessInstanceByNativeQuery(Map<String,Object> parameterMap) |
List<ProcessInstance> |
MybatisExecutionDataManager.findProcessInstanceByQueryCriteria(ProcessInstanceQueryImpl executionQuery) |
| Modifier and Type | Method and Description |
|---|---|
ProcessInstance |
ProcessInstanceBuilderImpl.start() |
ProcessInstance |
ProcessInstanceBuilderImpl.startAsync() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
AbstractFlowableTestCase.assertHistoricActivitiesDeleteReason(ProcessInstance processInstance,
String expectedDeleteReason,
String... activityIds) |
protected void |
AbstractFlowableTestCase.assertHistoricTasksDeleteReason(ProcessInstance processInstance,
String expectedDeleteReason,
String... taskNames) |
| Modifier and Type | Method and Description |
|---|---|
ProcessInstance |
ProcessInstanceHelper.createAndStartProcessInstanceByMessage(ProcessDefinition processDefinition,
String messageName,
String businessKey,
Map<String,Object> variables,
Map<String,Object> transientVariables,
String callbackId,
String callbackType,
String referenceId,
String referenceType) |
ProcessInstance |
ProcessInstanceHelper.createAndStartProcessInstanceWithInitialFlowElement(ProcessDefinition processDefinition,
String businessKey,
String processInstanceName,
org.flowable.bpmn.model.FlowElement initialFlowElement,
org.flowable.bpmn.model.Process process,
Map<String,Object> variables,
Map<String,Object> transientVariables,
boolean startProcessInstance) |
ProcessInstance |
ProcessInstanceHelper.createAndStartProcessInstanceWithInitialFlowElement(ProcessDefinition processDefinition,
String businessKey,
String processInstanceName,
String overrideDefinitionTenantId,
String predefinedProcessInstanceId,
org.flowable.bpmn.model.FlowElement initialFlowElement,
org.flowable.bpmn.model.Process process,
Map<String,Object> variables,
Map<String,Object> transientVariables,
String callbackId,
String callbackType,
String referenceId,
String referenceType,
String stageInstanceId,
boolean startProcessInstance) |
ProcessInstance |
ProcessInstanceHelper.createProcessInstance(ProcessDefinition processDefinition,
String businessKey,
String processInstanceName,
Map<String,Object> variables,
Map<String,Object> transientVariables) |
ProcessInstance |
ProcessInstanceHelper.createProcessInstance(ProcessDefinition processDefinition,
String businessKey,
String processInstanceName,
String overrideDefinitionTenantId,
String predefinedProcessInstanceId,
Map<String,Object> variables,
Map<String,Object> transientVariables,
String callbackId,
String callbackType,
String referenceId,
String referenceType,
String stageInstanceId,
boolean startProcessInstance) |
| Modifier and Type | Method and Description |
|---|---|
void |
ProcessInstanceHelper.callCaseInstanceStateChangeCallbacks(CommandContext commandContext,
ProcessInstance processInstance,
String oldState,
String newState) |
| Modifier and Type | Method and Description |
|---|---|
void |
ProcessInstanceQueryInterceptor.afterProcessInstanceQueryExecute(ProcessInstanceQuery processInstanceQuery,
List<ProcessInstance> processInstances) |
| Modifier and Type | Method and Description |
|---|---|
ProcessInstance |
ProcessInstanceBuilder.start()
Start the process instance
|
ProcessInstance |
ProcessInstanceBuilder.startAsync()
Start the process instance asynchronously
|
Copyright © 2020 Flowable. All rights reserved.