Ad hoc group - If a team calculates its members using a service, the service returns a set of users and groups. This list of users and groups is then persisted as a reusable entry in the database. Ad hoc groups are immutable. Ad hoc groups can also be created by using a list of users or a list of groups
in IBM BPM Ad-hoc groups are getting created when we use routing option 'List of Users'
this ad hoc groups are temporary in nature and continue to exist until they have at least one available instance.
Ad hoc group will be deleted when all the task related to ad-hoc groups are deleted or reassigned.