<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
0D54z00007q0tG8CAIOkta Identity EngineWorkflowsAnswered2026-05-01T09:00:20.000Z2022-07-19T13:00:08.000Z2022-07-19T19:11:03.000Z

6mcug (6mcug) asked a question.

How to select multiple values in an enumerated list when updating an Okta user profile

Hello! I'm trying to make some updates to user profiles, and running to a roadblock figuring out how to select multiple options from a checkbox set of enumerated values.

 

We have a field for practices within the company, and some users overlap across multiple. The update works fine for a single value selection, but for the life of me I can't sort out to how to select more than one value. What is the special way for it to be concatenated in the string for the Okta Update User Card to parse it correctly?


  • Hello,

     

    I am not really understanding the ask. I am assuming you are referring to a specific attribute type with multiple "options" defined but I am just not sure.

     

    Can you navigate to Directory > Profile Editor > Okta (user) > & Edit / provide a screenshot of the attribute schema you are referring to? Make sure to edit out anything that might be sensitive to your company (Such as the profile sources etc)

     

    I want to be able to recreate the same attribute structure you have defined then attempt to answer your question.

    Expand Post
  • urz01 (urz01)

    Hi Tim! Thanks for the response. Yes, that is effectively what I'm shooting for. The custom attribute has a variety of options as a checkbox, and multiple can be selected. I'm just struggling in figuring out how to do that via workflows Update User Card.

  • Okay, so assuming you are talking about a data type "String Array" as the profile attribute:

     

    image 

    There are two columns "Display name" and "Value". The Value columns "actual value" in this example data1 - data5 these are the values used to update the property.

     

    When you leverage Update User you will want to make sure it is "Partial".

     

    • The input for the field requires a list.
    • If an empty list is provided it will set all values to unchecked.
    • If all values are checked and you pass in a list of just one item. Only that item will now be checked.

     

    As an example the following would make data1,3,5 checked. If 2 & 4 were previously checked they no longer would be.

     

    image 

    image

    Expand Post
This question is closed.
Loading
How to select multiple values in an enumerated list when updating an Okta user profile