| | |
| | | return hisTaskInstanceQuery().processInstanceId(processInstanceId); |
| | | } |
| | | |
| | | public static HistoricTaskInstanceQuery hisTaskBusinessKeyQuery(String businessKey) { |
| | | return hisTaskInstanceQuery().processInstanceBusinessKey(businessKey); |
| | | } |
| | | |
| | | public static ProcessInstanceQuery instanceQuery() { |
| | | ProcessInstanceQuery query = PROCESS_ENGINE.getRuntimeService().createProcessInstanceQuery(); |
| | | if (TenantHelper.isEnable()) { |
| | |
| | | |
| | | public static ProcessInstanceQuery instanceQuery(String processInstanceId) { |
| | | return instanceQuery().processInstanceId(processInstanceId); |
| | | } |
| | | |
| | | public static ProcessInstanceQuery businessKeyQuery(String businessKey) { |
| | | return instanceQuery().processInstanceBusinessKey(businessKey); |
| | | } |
| | | |
| | | public static ProcessInstanceQuery instanceQuery(Set<String> processInstanceIds) { |
| | |
| | | return hisInstanceQuery().processInstanceId(processInstanceId); |
| | | } |
| | | |
| | | public static HistoricProcessInstanceQuery hisBusinessKeyQuery(String businessKey) { |
| | | return hisInstanceQuery().processInstanceBusinessKey(businessKey); |
| | | } |
| | | |
| | | public static HistoricProcessInstanceQuery hisInstanceQuery(Set<String> processInstanceIds) { |
| | | return hisInstanceQuery().processInstanceIds(processInstanceIds); |
| | | } |