);    /**    * Only select process instances which had a global variable with the given value when they ended. The type only applies to already ended process instances, otherwise use a    * {@link ProcessInstanceQuery} instead! of variable is determined based on the value, using types configured in {@link ProcessEngineConfiguration#getVariableTypes()}. Byte-arrays and    * {@link Serializable} objects (which are not primitive type wrappers) are not supported.    *    * @param name    *          of the variable, cannot be null.    */   HistoricProcessInstanceQuery variableValueEquals(String name, Object value);    /**    * Only select process instances which had a