As we transition to the new Hyland Community, some post links may be temporarily disrupted as we finalize redirects. We apologize for the inconvenience and are working to resolve this as quickly as possible. Details.
public void test() { ProcessEngineConfiguration pec = ProcessEngineConfiguration.createProcessEngineConfigurationFromResourceDefault(); ProcessEngine pe = pec.buildProcessEngine(); TaskService taskService = pe.getTaskService(); assertEquals( taskService.createTaskQuery().includeProcessVariables().active().list().size() , taskService.createTaskQuery().active().list().size()); }