Dynamic Groups

A dynamic group maintains its member list automatically by auto-adding contexts that match the group's Validity Expression, if the latter is specified. Contexts that do not match the Validity Expression are automatically removed.

Dynamic groups can still have manually added members. However, there is no way to remove dynamically added members from the group.

Dynamic groups will include only members that are accessible to the group owner according to his permissions.

Example:

Validity Expression: startsWith({.:#type}, 'device.') && {.:genericProperties$type} == 'printer'

Update Rules:

  • Mask = users.*.devices.*, Event = infoChanged

  • Mask = users.*.devices.*, Event = updated

This dynamic group will include all network printers, e.g. devices those context type string (specified by .:#type reference) starts with device. and device type (specified by type field of genericProperties variable) equals to printer. Each time context type or device type changes (this will be indicated by infoChanged or updated event respectively) the device will be re-considered for the group.

Was this page helpful?