In ACT_PROC_DEF column KEY_ must be used for query
CAM-2864 Its not possible to see some running processes in history via rest api
CAM-2938 Historical Process Query API returns incorrect results
CAM-113 HistoricProcessInstanceQuery.processDefinitionKey() does not work if key-length > ~25