Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Info

Just wait until the schedule has triggered the job and view the result in the Asset module

...

Special notes

Update Import Mapping is versioned using the _version scripted variable. If you have multiple imports to okta make sure to have separate versions.

note that calling this twice results in 400, that is expected

...

Okta calls are paginated, these are found under Advanced → Pagination

...

Special Dynamic Flow Variable is used to collect the users and groups from Okta Apps.

Since the Get Okta app call returns an array of users, the Get users/groups in Apps will use an Iteration with $ to iterate over the response. It will also use this dynamic flow variable:

Name

Value

Behaviour

Name Property

$.response.data

$.id

Append foreach

id

...

This is because the response from the Get apps will be a link to the user info which returns some user info, we will collect the user into in a variable called _flow like this

Code Block
_flow: { "userid":["appid1","appid2"] }

Submitting user and groups uses special mustache function. Mustache and Handlebars

This will return an JSON array where it takes the response from the user/group and merge that with the _flow variable based on the property id and then it will be called apps in the final result.

Code Block
{
    "data":{
        "users":{{{flowVarMerge payload _flow 'id' 'apps'}}}
    }
}

...