Uses of Interface
org.flowable.engine.runtime.ProcessInstance
-
Packages that use ProcessInstance Package Description org.flowable.engine Public API of the Flowable 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 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.migration org.flowable.engine.runtime Classes related to theRuntimeService. -
-
Uses of ProcessInstance in org.flowable.engine
Methods in org.flowable.engine that return ProcessInstance Modifier and Type Method Description ProcessInstanceRuntimeService. startProcessInstanceById(String processDefinitionId)Starts a new process instance in the exactly specified version of the process definition with the given id.ProcessInstanceRuntimeService. startProcessInstanceById(String processDefinitionId, String businessKey)Starts a new process instance in the exactly specified version of the process definition with the given id.ProcessInstanceRuntimeService. 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.ProcessInstanceRuntimeService. 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.ProcessInstanceRuntimeService. startProcessInstanceByKey(String processDefinitionKey)Starts a new process instance in the latest version of the process definition with the given key.ProcessInstanceRuntimeService. startProcessInstanceByKey(String processDefinitionKey, String businessKey)Starts a new process instance in the latest version of the process definition with the given key.ProcessInstanceRuntimeService. 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.ProcessInstanceRuntimeService. startProcessInstanceByKey(String processDefinitionKey, Map<String,Object> variables)Starts a new process instance in the latest version of the process definition with the given keyProcessInstanceRuntimeService. startProcessInstanceByKeyAndTenantId(String processDefinitionKey, String tenantId)Similar toRuntimeService.startProcessInstanceByKey(String), but using a specific tenant identifier.ProcessInstanceRuntimeService. startProcessInstanceByKeyAndTenantId(String processDefinitionKey, String businessKey, String tenantId)Similar toRuntimeService.startProcessInstanceByKey(String, String), but using a specific tenant identifier.ProcessInstanceRuntimeService. startProcessInstanceByKeyAndTenantId(String processDefinitionKey, String businessKey, Map<String,Object> variables, String tenantId)Similar toRuntimeService.startProcessInstanceByKey(String, String, Map), but using a specific tenant identifier.ProcessInstanceRuntimeService. startProcessInstanceByKeyAndTenantId(String processDefinitionKey, Map<String,Object> variables, String tenantId)Similar toRuntimeService.startProcessInstanceByKey(String, Map), but using a specific tenant identifier.ProcessInstanceRuntimeService. startProcessInstanceByMessage(String messageName)Signals the process engine that a message is received and starts a newProcessInstance.ProcessInstanceRuntimeService. startProcessInstanceByMessage(String messageName, String businessKey)Signals the process engine that a message is received and starts a newProcessInstance.ProcessInstanceRuntimeService. startProcessInstanceByMessage(String messageName, String businessKey, Map<String,Object> processVariables)Signals the process engine that a message is received and starts a newProcessInstance.ProcessInstanceRuntimeService. startProcessInstanceByMessage(String messageName, Map<String,Object> processVariables)Signals the process engine that a message is received and starts a newProcessInstance.ProcessInstanceRuntimeService. startProcessInstanceByMessageAndTenantId(String messageName, String tenantId)Similar toRuntimeService.startProcessInstanceByMessage(String), but with tenant context.ProcessInstanceRuntimeService. startProcessInstanceByMessageAndTenantId(String messageName, String businessKey, String tenantId)Similar toRuntimeService.startProcessInstanceByMessage(String, String), but with tenant context.ProcessInstanceRuntimeService. startProcessInstanceByMessageAndTenantId(String messageName, String businessKey, Map<String,Object> processVariables, String tenantId)Similar toRuntimeService.startProcessInstanceByMessage(String, String, Map), but with tenant context.ProcessInstanceRuntimeService. startProcessInstanceByMessageAndTenantId(String messageName, Map<String,Object> processVariables, String tenantId)Similar toRuntimeService.startProcessInstanceByMessage(String, Map), but with tenant context.ProcessInstanceRuntimeService. 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.ProcessInstanceFormService. 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.ProcessInstanceFormService. 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.Methods in org.flowable.engine with parameters of type ProcessInstance Modifier and Type Method Description voidInternalProcessLocalizationManager. localize(ProcessInstance processInstance, String locale, boolean withLocalizationFallback) -
Uses of ProcessInstance in org.flowable.engine.compatibility
Methods in org.flowable.engine.compatibility that return ProcessInstance Modifier and Type Method Description ProcessInstanceFlowable5CompatibilityHandler. getProcessInstance(String processInstanceId)ProcessInstanceFlowable5CompatibilityHandler. startProcessInstance(String processDefinitionKey, String processDefinitionId, Map<String,Object> variables, Map<String,Object> transientVariables, String businessKey, String tenantId, String processInstanceName)ProcessInstanceFlowable5CompatibilityHandler. startProcessInstanceByMessage(String messageName, Map<String,Object> variables, Map<String,Object> transientVariables, String businessKey, String tenantId)ProcessInstanceFlowable5CompatibilityHandler. submitStartFormData(String processDefinitionId, String businessKey, Map<String,String> properties)Methods in org.flowable.engine.compatibility with parameters of type ProcessInstance Modifier and Type Method Description Map<String,Object>Flowable5CompatibilityHandler. getVariables(ProcessInstance processInstance) -
Uses of ProcessInstance in org.flowable.engine.impl
Methods in org.flowable.engine.impl that return types with arguments of type ProcessInstance Modifier and Type Method Description List<ProcessInstance>NativeProcessInstanceQueryImpl. executeList(CommandContext commandContext, Map<String,Object> parameterMap)List<ProcessInstance>ProcessInstanceQueryImpl. executeList(CommandContext commandContext)Methods in org.flowable.engine.impl with parameters of type ProcessInstance Modifier and Type Method Description voidDefaultProcessLocalizationManager. localize(ProcessInstance processInstance, String locale, boolean withLocalizationFallback) -
Uses of ProcessInstance in org.flowable.engine.impl.cmd
Methods in org.flowable.engine.impl.cmd that return ProcessInstance Modifier and Type Method Description ProcessInstanceStartProcessInstanceAsyncCmd. execute(CommandContext commandContext)ProcessInstanceStartProcessInstanceByMessageCmd. execute(CommandContext commandContext)ProcessInstanceStartProcessInstanceCmd. execute(CommandContext commandContext)protected ProcessInstanceSubmitStartFormCmd. execute(CommandContext commandContext, ProcessDefinitionEntity processDefinition)protected ProcessInstanceStartProcessInstanceCmd. handleProcessInstanceWithForm(CommandContext commandContext, ProcessDefinition processDefinition, ProcessEngineConfigurationImpl processEngineConfiguration)protected ProcessInstanceStartProcessInstanceCmd. startProcessInstance(ProcessDefinition processDefinition)Methods in org.flowable.engine.impl.cmd that return types with arguments of type ProcessInstance Modifier and Type Method Description protected List<ProcessInstance>AbstractSetProcessDefinitionStateCmd. fetchProcessInstancesPage(CommandContext commandContext, ProcessDefinition processDefinition, int currentPageStartIndex)Methods in org.flowable.engine.impl.cmd with parameters of type ProcessInstance Modifier and Type Method Description protected voidAbstractDynamicInjectionCmd. createDerivedProcessDefinition(CommandContext commandContext, ProcessInstance processInstance)protected abstract AbstractSetProcessInstanceStateCmdAbstractSetProcessDefinitionStateCmd. getProcessInstanceChangeStateCmd(ProcessInstance processInstance)Subclasses should return aCommandimplementation that matches the process definition state change.protected AbstractSetProcessInstanceStateCmdActivateProcessDefinitionCmd. getProcessInstanceChangeStateCmd(ProcessInstance processInstance)protected AbstractSetProcessInstanceStateCmdSuspendProcessDefinitionCmd. getProcessInstanceChangeStateCmd(ProcessInstance processInstance) -
Uses of ProcessInstance in org.flowable.engine.impl.migration
Methods in org.flowable.engine.impl.migration with parameters of type ProcessInstance Modifier and Type Method Description protected voidProcessInstanceMigrationManagerImpl. changeProcessDefinitionReferenceOfHistory(ProcessInstance processInstance, ProcessDefinition processDefinition, CommandContext commandContext)protected voidProcessInstanceMigrationManagerImpl. doMigrateProcessInstance(ProcessInstance processInstance, ProcessDefinition procDefToMigrateTo, ProcessInstanceMigrationDocument document, CommandContext commandContext)protected voidProcessInstanceMigrationManagerImpl. executeExpression(ProcessInstance processInstance, ProcessDefinition procDefToMigrateTo, String preUpgradeJavaDelegateExpression, CommandContext commandContext)protected voidProcessInstanceMigrationManagerImpl. executeJavaDelegate(ProcessInstance processInstance, ProcessDefinition procDefToMigrateTo, String preUpgradeJavaDelegate, CommandContext commandContext)protected voidProcessInstanceMigrationManagerImpl. executeScript(ProcessInstance processInstance, ProcessDefinition procDefToMigrateTo, Script script, CommandContext commandContext) -
Uses of ProcessInstance in org.flowable.engine.impl.persistence.entity
Subinterfaces of ProcessInstance in org.flowable.engine.impl.persistence.entity Modifier and Type Interface Description interfaceExecutionEntityClasses in org.flowable.engine.impl.persistence.entity that implement ProcessInstance Modifier and Type Class Description classExecutionEntityImplMethods in org.flowable.engine.impl.persistence.entity that return types with arguments of type ProcessInstance Modifier and Type Method Description List<ProcessInstance>ExecutionEntityManager. findProcessInstanceAndVariablesByQueryCriteria(ProcessInstanceQueryImpl executionQuery)List<ProcessInstance>ExecutionEntityManagerImpl. findProcessInstanceAndVariablesByQueryCriteria(ProcessInstanceQueryImpl executionQuery)List<ProcessInstance>ExecutionEntityManager. findProcessInstanceByNativeQuery(Map<String,Object> parameterMap)List<ProcessInstance>ExecutionEntityManagerImpl. findProcessInstanceByNativeQuery(Map<String,Object> parameterMap)List<ProcessInstance>ExecutionEntityManager. findProcessInstanceByQueryCriteria(ProcessInstanceQueryImpl executionQuery)List<ProcessInstance>ExecutionEntityManagerImpl. findProcessInstanceByQueryCriteria(ProcessInstanceQueryImpl executionQuery) -
Uses of ProcessInstance in org.flowable.engine.impl.persistence.entity.data
Methods in org.flowable.engine.impl.persistence.entity.data that return types with arguments of type ProcessInstance Modifier and Type Method Description List<ProcessInstance>ExecutionDataManager. findProcessInstanceAndVariablesByQueryCriteria(ProcessInstanceQueryImpl executionQuery)List<ProcessInstance>ExecutionDataManager. findProcessInstanceByNativeQuery(Map<String,Object> parameterMap)List<ProcessInstance>ExecutionDataManager. findProcessInstanceByQueryCriteria(ProcessInstanceQueryImpl executionQuery) -
Uses of ProcessInstance in org.flowable.engine.impl.persistence.entity.data.impl
Methods in org.flowable.engine.impl.persistence.entity.data.impl that return types with arguments of type ProcessInstance Modifier and Type Method Description List<ProcessInstance>MybatisExecutionDataManager. findProcessInstanceAndVariablesByQueryCriteria(ProcessInstanceQueryImpl processInstanceQuery)List<ProcessInstance>MybatisExecutionDataManager. findProcessInstanceByNativeQuery(Map<String,Object> parameterMap)List<ProcessInstance>MybatisExecutionDataManager. findProcessInstanceByQueryCriteria(ProcessInstanceQueryImpl processInstanceQuery) -
Uses of ProcessInstance in org.flowable.engine.impl.runtime
Methods in org.flowable.engine.impl.runtime that return ProcessInstance Modifier and Type Method Description ProcessInstanceProcessInstanceBuilderImpl. start()ProcessInstanceProcessInstanceBuilderImpl. startAsync() -
Uses of ProcessInstance in org.flowable.engine.impl.test
Methods in org.flowable.engine.impl.test with parameters of type ProcessInstance Modifier and Type Method Description protected voidAbstractFlowableTestCase. assertHistoricActivitiesDeleteReason(ProcessInstance processInstance, String expectedDeleteReason, String... activityIds)protected voidAbstractFlowableTestCase. assertHistoricTasksDeleteReason(ProcessInstance processInstance, String expectedDeleteReason, String... taskNames) -
Uses of ProcessInstance in org.flowable.engine.impl.util
Methods in org.flowable.engine.impl.util that return ProcessInstance Modifier and Type Method Description ProcessInstanceProcessInstanceHelper. createAndStartProcessInstanceByMessage(ProcessDefinition processDefinition, String messageName, String businessKey, String businessStatus, Map<String,Object> variables, Map<String,Object> transientVariables, String callbackId, String callbackType, String referenceId, String referenceType, String ownerId, String assigneeId)ProcessInstanceProcessInstanceHelper. createAndStartProcessInstanceWithInitialFlowElement(ProcessDefinition processDefinition, String businessKey, String businessStatus, 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 ownerId, String assigneeId, String stageInstanceId, boolean startProcessInstance)ProcessInstanceProcessInstanceHelper. createAndStartProcessInstanceWithInitialFlowElement(ProcessDefinition processDefinition, String businessKey, String businessStatus, String processInstanceName, org.flowable.bpmn.model.FlowElement initialFlowElement, org.flowable.bpmn.model.Process process, Map<String,Object> variables, Map<String,Object> transientVariables, String ownerId, String assigneeId, boolean startProcessInstance)ProcessInstanceProcessInstanceHelper. createProcessInstance(ProcessDefinition processDefinition, String businessKey, String businessStatus, String processInstanceName, String startEventId, String overrideDefinitionTenantId, String predefinedProcessInstanceId, Map<String,Object> variables, Map<String,Object> transientVariables, String callbackId, String callbackType, String referenceId, String referenceType, String ownerId, String assigneeId, String stageInstanceId, boolean startProcessInstance)ProcessInstanceProcessInstanceHelper. createProcessInstance(ProcessDefinition processDefinition, String businessKey, String businessStatus, String processInstanceName, Map<String,Object> variables, Map<String,Object> transientVariables, String ownerId, String assigneeId)Methods in org.flowable.engine.impl.util with parameters of type ProcessInstance Modifier and Type Method Description voidProcessInstanceHelper. callCaseInstanceStateChangeCallbacks(CommandContext commandContext, ProcessInstance processInstance, String oldState, String newState) -
Uses of ProcessInstance in org.flowable.engine.interceptor
Method parameters in org.flowable.engine.interceptor with type arguments of type ProcessInstance Modifier and Type Method Description voidProcessInstanceQueryInterceptor. afterProcessInstanceQueryExecute(ProcessInstanceQuery processInstanceQuery, List<ProcessInstance> processInstances) -
Uses of ProcessInstance in org.flowable.engine.migration
Methods in org.flowable.engine.migration with parameters of type ProcessInstance Modifier and Type Method Description voidProcessInstanceMigrationCallback. processInstanceMigrated(ProcessInstance processInstance, ProcessDefinition procDefToMigrateTo, ProcessInstanceMigrationDocument document, CommandContext commandContext) -
Uses of ProcessInstance in org.flowable.engine.runtime
Methods in org.flowable.engine.runtime that return ProcessInstance Modifier and Type Method Description ProcessInstanceProcessInstanceBuilder. start()Start the process instanceProcessInstanceProcessInstanceBuilder. startAsync()Start the process instance asynchronously
-