接口 CustomHistoricVariableService
-
- 所有已知实现类:
CustomHistoricVariableServiceImpl
public interface CustomHistoricVariableService- 作者:
- qinman, zhangchongjie
- Date:
- 2022/12/30
-
-
方法概要
所有方法 实例方法 抽象方法 修饰符和类型 方法 说明 org.flowable.variable.api.history.HistoricVariableInstancegetByProcessInstanceIdAndVariableName(String processInstanceId, String variableName, String year)Description: 根据流程实例Id和流程变量的Key,获取历史流程变量的值org.flowable.variable.api.history.HistoricVariableInstancegetByTaskIdAndVariableName(String taskId, String variableName, String year)Description: 根据流程实例Id和流程变量的Key,获取历史任务变量的值Map<String,Object>getVariables(String tenantId, String processInstanceId, Collection<String> keys)根据流程实例Id,获取指定的流程变量List<org.flowable.variable.api.history.HistoricVariableInstance>listByProcessInstanceId(String processInstanceId)根据流程实例Id,获取历史流程变量集合List<org.flowable.variable.api.history.HistoricVariableInstance>listByTaskId(String taskId)根据流程实例Id,获取历史任务变量的值集合
-
-
-
方法详细资料
-
getByProcessInstanceIdAndVariableName
org.flowable.variable.api.history.HistoricVariableInstance getByProcessInstanceIdAndVariableName(String processInstanceId, String variableName, String year)
Description: 根据流程实例Id和流程变量的Key,获取历史流程变量的值- 参数:
processInstanceId-variableName-year-- 返回:
-
getByTaskIdAndVariableName
org.flowable.variable.api.history.HistoricVariableInstance getByTaskIdAndVariableName(String taskId, String variableName, String year)
Description: 根据流程实例Id和流程变量的Key,获取历史任务变量的值- 参数:
taskId-variableName-year-- 返回:
-
getVariables
Map<String,Object> getVariables(String tenantId, String processInstanceId, Collection<String> keys)
根据流程实例Id,获取指定的流程变量- 参数:
tenantId-processInstanceId-keys-- 返回:
-
listByProcessInstanceId
List<org.flowable.variable.api.history.HistoricVariableInstance> listByProcessInstanceId(String processInstanceId)
根据流程实例Id,获取历史流程变量集合- 参数:
processInstanceId-- 返回:
-
-