Details
Description
I need a method that allows to get task variables for more then one task. I propose to add the following methods in the TaskService interface:
Map<String, Map<String, Object>> getVariables(Collection<String> taskIds, Collection<String> variableNames);
Map<String, Map<String, Object>> getVariablesLocal(Collection<String> taskIds, Collection<String> variableNames);
In our project we have a task list that has to display more then basic task data. In the current version of Activiti (5.8) we would have to find tasks by the TaskQuery and then retrieve variables for each task separately. I would like to retrieve variables for multiple tasks in a single call.
Commited revision 3171 in "consdata" branch:
https://fisheye.codehaus.org/changelog/activiti?cs=3171
Tom, can you review the change and merge it to trunk?