[API] Query tasks with process name in the same query


Is it possible to obtain a process name when performing a TaskQuery? I’m trying to find a way to create a dashboard for the users which would include something like:

Process Name - Task Name - Assignee
Holiday Approval - Approve Requests - Bob
Purchase approval - Validate Invoice - Alice (etc…)

However the Task interface only provides the Process Instance ID which would force me to perform an additional query for each of the found tasks to determine the name of the process

If this isn’t currently possible, might I suggest it as a feature?

Thank you!


If you really need to create a query which is not supported by the engine, you can use custom queries. (http://www.flowable.org/docs/userguide/index.html#advanced.custom.sql.queries)