AI Assistant
Help Center AI Assistant is now available
Got questions about Lark? Use our AI chat to find the answers.
00:00
Click and hold to drag
Got It
Try Now

Admin | Configure dynamic groups

5 min read
Available with these plans:
Starter
Basic
Pro
Enterprise
To upgrade your Lark Plan or for more information, contact Support or your Customer Success Manager. The Lark Basic plan supports only specific countries and regions.
I. Intro
🔖
Who can perform these steps: Primary administrators or administrators with "User Group" permission.
A dynamic group is a group that administrators can set rules to get members automatically added into or removed from accordingly. The rules specify the criteria that qualify a member to be added or removed from the dynamic group. Once the information of a member matches the specified rules, they get into the group automatically. And once their information changes and no longer matches the rules, they get removed from the group automatically.
For example, an administrator can create a dynamic group called "All interns in Office A"; all new hires that match the filtering rules will be automatically identified and added to this dynamic group.
II. Steps
Create a new group
🔖
Notice: "Manage Group" is only visible to primary administrators or administrators with all user group management permissions.
We recommend creating user groups before you create a dynamic group, so you can easily assign the management scope to admins when you create admin roles.
Note: If you have already created some dynamic groups before you upgrade the User Group function, you can find a group named "Unassigned" that includes those dynamic groups.
  1. Open the Lark Admin Console and click Organization > User Group > Dynamic Group.
  1. Click Manage Group > New Group.
  • 250px|700px|reset
  1. Enter the group name and click Save.
  1. If you set the name wrong, click Manage Group again to Edit or Delete the group.
  • Note: Groups with child dynamic groups can't be deleted. Move or delete the sub-dynamic groups in the group before you delete it.
  • 250px|700px|reset
Create a new dynamic group
When members' information is updated, if they meet the criteria or no longer meet the criteria of a dynamic group, they will be added to or removed from the dynamic group.
  1. On the Dynamic Group tab, click Add user group in the lower-left corner.
  • 250px|700px|reset
  1. Set the basic information of the dynamic group, and click Next.
  • User group name: Enter the name of the dynamic group. The names must be unique within the organization among user groups and dynamic groups.
  • User group description: Add a description of the dynamic group.
  • Group belonged: Select a group for this dynamic group. You can only see the groups for which you have permission.
  1. Set up filter rules and click Next.
  • Department filter rules define the applicable scope of the dynamic group rules.
  • Include sub-departments: All members of the selected department and the sub-departments will be added to this dynamic group once they match the rules.
  • Otherwise: Only the direct members of the selected department will join the dynamic group once they're qualified. Members of the sub-department are ignored.
  • Member filter rules support advanced operations that allow you to create compound rules to help with complicated scenarios.
  • Option
    Description
    Filter rules
    • Support selecting preset fields and custom fields of members as attributes.
    • The custom fields of members support text, options, personnel, and other types. For more information about creating custom fields, see Manage member profile.
    • Operators vary according to the filter condition types and values. For example, after selecting the attribute as "Workforce Type", you can select one of the following operators: equals, not equal to, is any of, is none of, is empty, or is not empty. Some operators have an ⓘ Info symbol at the end, over which you can hover to check what the operator means.
    • For member filter rules, if you selected Department or Main department as the filter subject and selected the checkbox before Include sub-departments, you can only choose the operator between Partly belong to and Don't belong to.
    • Based on the selected attributes, the administrator can enter text information as the value of the filtering conditions, or select from the drop-down options.
    Advanced operations
    The operation relationship between rules can be defined using OR, AND or (), of which the default is AND. If the operation rule is turned off, the relationship between all rules is defaulted to AND.
    • OR: Either one must be satisfied.
    • AND: All rules must be satisfied.
    • (): Specifies the order of logical operations. The left and right parentheses must appear in pairs.
    For example, "1 OR 2 OR 3" applies to members who meet any of the rules 1, 2, 3; "1 AND (2 OR 3)" applies to members who meet rule 1 and at the same time meet either rule 2 or 3.
    Note: You can't have duplicate numbers in Advanced operations.
  • 250px|700px|reset
    image.png
  • Set allowlist to make exceptions. You can have at most 100 people in the allowlist or blocklist.
  • Members in the allowlist will be added to the dynamic group regardless of whether they match the group rules.
  • Members in the blocklist will not be added to the dynamic group even if they match the group rules.
  1. Select the applicable scenarios (excluding the Lark Admin Console) and member scope where this dynamic group can be applied. Or click Batch Operation Tool above the list to select multiple applicable scenarios for the same member scope in batches.
  • All members: All members of the organization can access this dynamic group in the applications selected in the corresponding applicable scenario.
  • Group members: Only members within this dynamic group can access it in the corresponding applicable scenario.
  • Specific members: Click the textbox to the right to select the members that can access this dynamic group in the corresponding applicable scenario.
  • 250px|700px|reset
  • Note: Applicable scenarios refer to Lark products such as Docs, Approval, Lingo, and so on, except the Lark Admin Console. Hover over the Info icon to the right of a scenario option to view the details of how the dynamic group will be used in the applications.
  1. Click Next, after confirming that all the information is correct, click Confirm.
Manage dynamic groups
You can select a dynamic group to check the current members in it, modify its settings, or remove it if you no longer need it.
  • To view members of the dynamic group, click View members in the upper-right corner. Or you can search for a name to check whether the specific member is in the current dynamic group.
  • To edit a dynamic group, click the ··· icon to its right > Edit User Group.
  • Note: After modifying a dynamic group, the group must be fully recalculated. The calculation time varies depending on the size of the organization and dynamic group.
  • To delete a dynamic group, click Delete user group in the upper-right corner of the group details, or click the ··· icon to its right in the left list > Delete User Group. Confirm again in the pop-up.
  • Note:
  • Deleting a dynamic group will not affect the users, but the dynamic group will become invalid and can't be found by searching.
  • A deleted dynamic group can't be restored.
250px|700px|reset
III. FAQs
How many filter conditions can be added to a dynamic group?
20.
In the "Department filter rules" of a dynamic group, how many departments can be added?
10.
What does the operator in the "filter conditions" mean?
Operator
Successful match when
Equals
The corresponding field information of the member matches the value selected in the filter condition.
Not equal to
The corresponding field information of the member does not match the value selected in the filter condition.
Is empty
The corresponding field of the member doesn't have any information.
Is not empty
The corresponding field of the member has information.
Contains
The corresponding field of the member contains the value set in the filter condition.
Does not contain
The corresponding field of the member doesn't contain the value set in the filter condition.
Include all
The corresponding field of the member contains all selected departments specified in the filter condition.
Applies when "Department" or "Departments managed" is the filter condition.
Is any of
The corresponding field of the member includes any value selected in the filter condition.
Is none of
The corresponding field of the member doesn't include any specified value specified in the filter condition.
Belong to
The corresponding field of the member completely falls under the selected departments specified in the filter condition.
Applies when "Department" or "Departments managed" is the filter condition.
Partly belong to
The corresponding field of the member overlaps with the selected departments specified in the filter condition.
Applies when "Department" or "Departments managed" is the filter condition.
Don't belong to
The corresponding field of the member doesn't belong to any of the selected departments specified in the filter condition.
Applies when "Department" or "Departments managed" is the filter condition.
Starts with
The corresponding field of the member begins with the value set in the filter condition.
Is before
The corresponding field of the member is earlier than the date set in the filter condition.
Applies "Date of employment" and other date fields is the filter condition.
Is on or before
The corresponding field of the member is earlier than or equal to the date set in the filter condition.
Applies "Date of employment" and other date fields is the filter condition.
Is after
The corresponding field of the member is later than the date set in the filter condition.
Applies "Date of employment" and other date fields is the filter condition.
Is on or after
The corresponding field of the member is equal to or later than the date set in the filter condition.
Applies "Date of employment" and other date fields is the filter condition.
Is between
The corresponding field of the member is between or equal to the set date range.
Applies "Date of employment" and other date fields is the filter condition.
If I choose "Owning department" or "Main department" as the attribute, how do I choose the filter condition values?
After choosing "Owning department" or "Main department" as the attribute for a filter condition, you must choose the direct department where the member is as the value.
For example, if the filter condition is "Owning department equals Human Resources Department", A is directly affiliated to the "Human Resources Department", and B is directly affiliated to a sub-department of it called "Recruitment Department", then the result of this filter rule only includes A.
If you want this rule to include both A and B, you must choose both "Human Resources Department" and "Recruitment Department".
Written by: Lark Help Center
Updated on 2024-12-30
How satisfied are you with this content?
Thank you for your feedback!
Need more help? Please contact Support.
0
rangeDom
rangeDom
rangeDom
rangeDom
rangeDom