what will you achieve by grouping the processes and tasks? and to whom you want to display these results??
Since our jBPM based application is installed based on modules we need to display list of processes & tasks available for each module in a tree hierarchy. So basically the processes & tasks will be shown as children of each modules. If possible I'd like to categorize this processes and tasks at database level to be queried.
this may not be proper answer but you can use prefix to mention the module name just before your process name and you can as well query to database to get module instances by looking at the prefix and build jbpm console war make changes into the xhtml pages if possible in jars...
I agree, this is something that'll need a manual modification. Ie by using a prefix in the process def names or by adding a join table, matching process def to a module.