Deactivating dynamic group updates

Dynamic groups are created whenever a team or a task assignment is created using an expression. These expressions select users based on user attributes, group membership, and various other criteria. As a result, a dynamic group is created in the database. Because updating dynamic groups can be time consuming, you can configure IBM® Business Process Manager to deactivate specific triggers to prevent dynamic group updates.

When are dynamic groups updated?

There are several triggers that can cause dynamic group updates:
  • When IBM Business Process Manager internal groups or a member of an internal group are updated in the Process Admin Console.
  • When a user logs in to a IBM Business Process Manager web interface, the external group membership is replicated based on the external security provider settings. If changes are detected, dynamic groups are recalculated.
  • When a user updates user attributes in the Process Admin Console or while using a REST API.
  • During task creation using dynamic group expression.

Configuring IBM Business Process Manager to deactivate dynamic group updates

Modify the 100Custom.xml configuration file to deactivate updates for the specified triggers, as shown in the following example:
<properties>
<server merge="mergeChildren">
<update-dynamic-groups-on-login merge="replace">false</update-dynamic-groups-on-login>
<update-dynamic-groups-on-task-creation merge="replace">false</update-dynamic-groups-on-task-creation>
<update-dynamic-groups-on-uadchange merge="replace">false</update-dynamic-groups-on-uadchange>
</server>
</properties>
Alternatively, you can update dynamic groups by executing administrative scripts. See Synchronizing group membership by users.