<iframe src="https://www.googletagmanager.com/ns.html?id=GTM-M74D8PB" height="0" width="0" style="display:none;visibility:hidden">
Loading
Skip to NavigationSkip to Main Content
Copy an Okta User Attribute to Another Using Workflows
Okta Classic Engine
Okta Identity Engine
Workflows

Overview

This article will guide you through copying an Okta user attribute to another attribute using Okta Workflows.

 

Solution

The solution has two flows:

 

  1. List users: list all users to update.
  2. Copy user profile attribute – helper: copies a profile attribute to another attribute for each user.

 

List users

The List users flow lists all users to update.

 

List users flow 
List users – flow.

 

How the flow works

  1. The Okta-List User with Search card lists (finds) users from a group to update. The card finds all users except those with a status of ‘DEPROVISIONED’, since it does not specify any input parameters. The card utilizes the streaming option to direct users to a helper flow.

 

Copy user profile attribute – helper

The helper flow copies a profile attribute to another attribute for each user.

 

Copy user profile attribute flow 
Copy user profile attribute – flow.

 

How the flow works

  1. Since the Helper Flow uses the streaming option, it has two fields: Record and State. The Record field holds the current user and defines the ID field, which is the user ID.
  2. The Okta-Read User card reads the Preferred language attribute to copy.
  3. The Okta-Update User card updates a user’s properties. This flow copies (updates) the Custom 1 user profile property with the value of the Preferred language attribute.

As an optional step, after copying the Preferred language to the Custom 1 attribute, an admin could change the Custom 1 attribute to read-only in the Admin Console.

 

Related References

 

 

Loading
Copy an Okta User Attribute to Another Using Workflows