
iamt.80022 (Customer) asked a question.
Hi i am trying to create a string array mapping for roles using mapping api.
Properties that i am setting are:
userSchemaAttribute.setTitle(attr);
userSchemaAttribute.setDescription(attr);
userSchemaAttribute.setType("array");
also tried with
userSchemaAttribute.setType("stringarray");
nothing works.

Hi @iamt.80022 (Customer) , Thank you for reaching out to the Okta Community!
I've been looking around for any similar reported issues and the only things slightly related to this was:
https://github.com/okta/terraform-provider-okta/issues/604
That being said, I don't want to send you down the wrong path.
My advice would be to reach out to the devforum.okta.com to take advantage of their expertise.
While we'll do our best to answer all of your questions here, this medium is more inclined towards Okta core products.
If my answer helped, remember to mark it as best to increase its visibility for other members of the Okta Community who might have the same questions as you.
Hope my answer helps!
--------------------------------
The Okta Community Catalysts Program is now live. Collect online badges when you participate in the Okta Help Center Questions community. Learn more here.