public class DefaultProcessInstanceService extends Object implements ProcessInstanceService
| Modifier and Type | Field and Description |
|---|---|
protected ProcessEngineConfigurationImpl |
processEngineConfiguration |
| Constructor and Description |
|---|
DefaultProcessInstanceService(ProcessEngineConfigurationImpl processEngineConfiguration) |
| Modifier and Type | Method and Description |
|---|---|
void |
deleteProcessInstance(String processInstanceId)
Deletes the given process instance.
|
String |
generateNewProcessInstanceId() |
List<IOParameter> |
getOutputParametersOfCaseTask(String executionId)
Retrieves the
IOParameter out parameters of a case task currently being execution by the given execution. |
Object |
getVariable(String executionId,
String variableName)
Returns the variable value for a given variable.
|
Map<String,Object> |
getVariables(String executionId)
Returns all variables for the given execution (or process instance).
|
Object |
resolveExpression(String executionId,
String expressionString)
Resolves the given expression within the context of the passed execution.
|
String |
startProcessInstanceByKey(String processDefinitionKey,
String predefinedProcessInstanceId,
String stageInstanceId,
String tenantId,
Boolean fallbackToDefaultTenant,
String parentDeploymentId,
Map<String,Object> inParametersMap,
String businessKey,
Map<String,Object> variableFormVariables,
FormInfo variableFormInfo,
String variableFormOutcome)
Starts a process instance without a reference to a plan item instance (i.e.
|
String |
startProcessInstanceByKey(String processDefinitionKey,
String predefinedProcessInstanceId,
String planItemInstanceId,
String stageInstanceId,
String tenantId,
Boolean fallbackToDefaultTenant,
String parentDeploymentId,
Map<String,Object> inParametersMap,
String businessKey,
Map<String,Object> variableFormVariables,
FormInfo variableFormInfo,
String variableFormOutcome)
Starts a process instance with a reference to a plan item instance (i.e.
|
void |
triggerCaseTask(String executionId,
Map<String,Object> variables)
Triggers a case instance that was started by a process instance.
|
protected ProcessEngineConfigurationImpl processEngineConfiguration
public DefaultProcessInstanceService(ProcessEngineConfigurationImpl processEngineConfiguration)
public String generateNewProcessInstanceId()
generateNewProcessInstanceId in interface ProcessInstanceServicepublic String startProcessInstanceByKey(String processDefinitionKey, String predefinedProcessInstanceId, String stageInstanceId, String tenantId, Boolean fallbackToDefaultTenant, String parentDeploymentId, Map<String,Object> inParametersMap, String businessKey, Map<String,Object> variableFormVariables, FormInfo variableFormInfo, String variableFormOutcome)
ProcessInstanceServicestartProcessInstanceByKey in interface ProcessInstanceServicepublic String startProcessInstanceByKey(String processDefinitionKey, String predefinedProcessInstanceId, String planItemInstanceId, String stageInstanceId, String tenantId, Boolean fallbackToDefaultTenant, String parentDeploymentId, Map<String,Object> inParametersMap, String businessKey, Map<String,Object> variableFormVariables, FormInfo variableFormInfo, String variableFormOutcome)
ProcessInstanceServicestartProcessInstanceByKey in interface ProcessInstanceServicepublic void triggerCaseTask(String executionId, Map<String,Object> variables)
ProcessInstanceServicetriggerCaseTask in interface ProcessInstanceServicepublic List<IOParameter> getOutputParametersOfCaseTask(String executionId)
ProcessInstanceServiceIOParameter out parameters of a case task currently being execution by the given execution.getOutputParametersOfCaseTask in interface ProcessInstanceServicepublic void deleteProcessInstance(String processInstanceId)
ProcessInstanceServicedeleteProcessInstance in interface ProcessInstanceServicepublic Object getVariable(String executionId, String variableName)
ProcessInstanceServicegetVariable in interface ProcessInstanceServicepublic Map<String,Object> getVariables(String executionId)
ProcessInstanceServicegetVariables in interface ProcessInstanceServicepublic Object resolveExpression(String executionId, String expressionString)
ProcessInstanceServiceresolveExpression in interface ProcessInstanceServiceCopyright © 2023 Flowable. All rights reserved.