Customize

If the User Belongs to All Groups and Organizations (Departments)

Summary

Check whether the user belongs to the specified group or organization.

If multiple groups or organizations are specified, the condition is met only if the user belongs to all of them. If there is even one group or organization that the user does not belong to, the condition is determined to be unmet.

How to use

Before using this condition, perform an action that sets one of the followings:

Please note that the above actions do not finish instantly and may take some time to complete. Therefore, to ensure accurate determination, it is necessary to wait for the action to complete at “When other actions have completed.

Then, this condition is used in combination with other “when to execute” conditions.

For example, if you want to specify a condition like “when the record list is displayed, and the current user belongs to both Organization A and Organization B,” do the following.

* Combining conditions like “When Record List Page Displayed” and “If the User Belongs to All Group/Organization” will result in an error. At the stage of “When Record List Page Displayed,” “Get Belonging Organization of Login User” has not yet completed, so it cannot be determined correctly.

Parameters

Set Group/Organization to Which the User Belongs and Group Code/Organization Code

Group/Organization to Which the User Belongs

To determine the group, specify an action that includes “Get Belonging Group of the Login User” or “Get Belonging Group of Selected User.”

To determine the organization, specify an action that includes “Get Belonging Organization of Login User” or “Get Belonging Organization of Selected User.”

Group code/Organization code

Enter the group code or organization code.

If specifying multiple, enter one group code or organization code per line. You can specify multiple items by separating them with commas.

To specify the selected value in a Group Selection field or Department Selection field, use the ${} format as shown below.

${Department_selection_1.code}

Restrictions

  • When there is a parent-child relationship in the organization, specifying a parent organization in the “Group Code/Organization Code” field does not meet the condition unless the user directly belongs to that parent organization.

  • Group codes and organization codes that contain commas cannot be specified.