AnsweredAssumed Answered

query error

Question asked by r3dge on Jun 21, 2016
Latest reply on Jun 24, 2016 by martin.grofcik
Hello,

I'm trying to perform a query with the Activiti 5.17 API. I don't understand why the "includeProcessVariable" change the number of result : the same query with "includeProcessVariables" does not retrieve the same number of results.

Here is the JUnit test case :


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());
   }


Is there a problem ?

Regards,

Outcomes