Merge branch 'feature/REQ-5965' into dev
This commit is contained in:
commit
d274905609
@ -1924,6 +1924,9 @@ public class BpmnProcessInstanceServiceImpl implements BpmnProcessInstanceServic
|
|||||||
}
|
}
|
||||||
HistoricVariableInstance historicVariableInstance = historyService.createHistoricVariableInstanceQuery().processInstanceId(processInstanceId)
|
HistoricVariableInstance historicVariableInstance = historyService.createHistoricVariableInstanceQuery().processInstanceId(processInstanceId)
|
||||||
.variableName(SIGN_BIZ_CUSTOM_DOCS).singleResult();
|
.variableName(SIGN_BIZ_CUSTOM_DOCS).singleResult();
|
||||||
|
if (Objects.isNull(historicVariableInstance)) {
|
||||||
|
return Collections.emptyList();
|
||||||
|
}
|
||||||
List<CustomDocDTO> bizCustomDocs = Optional.ofNullable((List<CustomDocDTO>) historicVariableInstance.getValue())
|
List<CustomDocDTO> bizCustomDocs = Optional.ofNullable((List<CustomDocDTO>) historicVariableInstance.getValue())
|
||||||
.orElse(Collections.emptyList());
|
.orElse(Collections.emptyList());
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user