Generating users data in JSON format

Hi,

I am looking to generate JSON data for users with 5 fields of data using Okta workflows.

I am able to get the data for each user in JSON string format. How can I consolidate all JSON strings into the list format mentioned?

[
  {
  "Employee_Type": "Employee",
  "Field1": "foo",
  "Field2": "bar",
  "Field3": "bar",
  "Field4": "bar"
  },
  {
  "Employee_Type": "Employee",
  "Field1": "foo",
  "Field2" : "bar",
  "Field3": "bar",
  "Field4": "bar"
   }
  ]

Thanks,
Kesav

Hello @ckrajoli,

The best way to consolidate the JSON data you’re talking about in Workflows is likely going to be to use an Object - Construct card as outlined here: Okta Help Center (Lightning)

1 Like

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.