public interface ProcessInstanceService
| Modifier and Type | Method and Description |
|---|---|
void |
deleteProcessInstance(String processInstanceId)
Deletes the given process instance.
|
String |
generateNewProcessInstanceId() |
List<org.flowable.cmmn.model.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 expression)
Resolves the given expression within the context of the passed execution.
|
String |
startProcessInstanceByKey(String processDefinitionKey,
String predefinedProcessInstanceId,
String tenantId,
Boolean fallbackToDefaultTenant,
Map<String,Object> inParametersMap)
Starts a process instance without a reference to a plan item instance (i.e.
|
String |
startProcessInstanceByKey(String processDefinitionKey,
String predefinedProcessInstanceId,
String planItemInstanceId,
String tenantId,
Boolean fallbackToDefaultTenant,
Map<String,Object> inParametersMap)
Starts a process instance with a reference to a plan item instance (i.e.
|
void |
triggerCaseTask(String executionId,
Map<String,Object> variables)
Triggeres a case instance that was started by a process instance.
|
String generateNewProcessInstanceId()
String startProcessInstanceByKey(String processDefinitionKey, String predefinedProcessInstanceId, String tenantId, Boolean fallbackToDefaultTenant, Map<String,Object> inParametersMap)
String startProcessInstanceByKey(String processDefinitionKey, String predefinedProcessInstanceId, String planItemInstanceId, String tenantId, Boolean fallbackToDefaultTenant, Map<String,Object> inParametersMap)
void deleteProcessInstance(String processInstanceId)
Object getVariable(String executionId, String variableName)
Map<String,Object> getVariables(String executionId)
Object resolveExpression(String executionId, String expression)
void triggerCaseTask(String executionId, Map<String,Object> variables)
Copyright © 2019 Flowable. All rights reserved.