Click HERE to see how Saviynt Intelligence is transforming the industry. |
08/19/2024 11:42 AM
Hi Team,
We have a requirement as below.
Entitlements : AppRole1, AppRole2
Application Name : AppName1,AppName2,AppName3,
Application Name ID: AppID1, AppID2, AppID3
We have pulled ApplicationName, ApplicationNameID and Entitlements as EntitlementType as part of the importAccountEntJSON.
The payload for the create account is as followed.
{
"user": {
"email": "testuser2@domain.com",
"ROLES": [
{
"ID": "AppID1",
"IDNAME": "AppName1",
"roles": [
"AppRole1"
]
},
{
"ID": "AppID3",
"IDNAME": "AppName3",
"roles": [
"AppRole2"
]
},
{
"ID": "AppID2",
"IDNAME": "AppName2",
"roles": [
"AppRole3"
]
}
],
"scope": "site",
"fullName": "testuser2",
"fullNameReadOnly": "true",
"twoFaEnabled": "true",
}
}
We are trying to achieve the same using Dynamic attribute. Where the user can select multiple Application Name and then can select Entitlements for each of them. But there are around 17 applications and user can select the list dynamically. which will update the create json dynamically based on the application selection.
Could you please suggest a way to achieve this. And also the createAccountJSON format for it.
Thanks
08/19/2024 11:47 AM
use conditional if else
08/19/2024 11:49 AM
Hi @rushikeshvartak ,
Can you please suggest some more insight on this please. Like a format of the create json. Or how we can acheive it.
Thanks
08/19/2024 01:09 PM
Share your draft JSON for 1 application. I can suggest a contextual part on it.