I don't think this is possible with the API, but you certainly can do this with a bit of hql hackery, the database schema is here:
http://community.jboss.org/wiki/jbpm4DataBaseModel
check the JBPM4_PARTICIPATION table for the entries with the group names and find the associated tasks