Create Group Rule

Create a group rule to dynamically add users to the specified group if they match the specified condition values.

Note

Group rules that are newly created are inactive by default.

Input

Field Definition Type Required
Group Rule      
Name Name of the group rule.

Minimum length of 1 character and maximum length of 50 characters.

String TRUE
Expression Conditions Okta expression that results in a Boolean value.

See Expression Language.

String TRUE
Assign to Groups List of group IDs to which users are added. List of Text TRUE
Exclude Users User IDs that are excluded when rules are processed. List of Text FALSE

Output

Field Definition Type
Properties    
ID Unique ID for the group rule. String
Type Type of rule created. String
Status Status of the group rule.

For example, active or inactive.

String
Name

Name of the group.

String
Expression Conditions Okta expressions that would result in a Boolean value. String
Excluded Users User IDs that are excluded when rules are processed. List of Text
Group Assignments List of group IDs to which users are added. List of Text

Related topics

Okta connector

Elements of Workflows

Guidance for Okta connector

Okta API