0 Replies Latest reply on Mar 17, 2014 7:19 PM by Jaykumar Pandya

    retrieve all the tasks of a process in jBPM6

    Jaykumar Pandya Novice

      how can i access all the tasks associated with any process instance in jBPM6 using REST API.

      i can see following way to retrieve the same, please suggest any better approach

       

      get all the tasks id from task

      List<Long> lst = taskService.getTasksByProcessInstanceId(processInstance.getId());

      and then based on the id get tasks name

       

      also please suggest better approach to implement the functionality which i have attached here with