Create Group Rule

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

Group rules that are newly created are inactive by default.

Scopes

See Action cards for the list of required OAuth scopes for this card.

Input

Field Definition Type Required

Group Rule

Name Name of the group rule.

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

Text

TRUE

Expression Conditions Okta expression that results in a Boolean value.

See Expression Language.

Text

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.

Text

Type

Type of rule created.

Text

Status Status of the group rule.

For example, active or inactive.

Text

Name

Name of the group.

Text

Expression Conditions

Okta expressions that would result in a Boolean value.

Text

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

Workflow elements

Guidance for Okta connector

Okta API documentation