Announcing the Saviynt Knowledge Exchange unifying the Saviynt forums, documentation, training,
and more in a single search tool across platforms. Read the announcement here.

Rest if else json

iam01
Regular Contributor
Regular Contributor

Hi Team,

how to do if else for json data in rest update account json. If cp2!=av then i want to include fn and Ln on Update requset json.  

Below is example

{

if(cp2!= 'av')

"fn": "test",

"ln":"test",

else

"abc": "ff",

"abc1": "dd"

}

1 REPLY 1

rushikeshvartak
All-Star
All-Star

use hashmap

https://docs.saviyntcloud.com/bundle/AD-v24x/page/Content/Configuring-the-Integration-for-Provisioni...


Regards,
Rushikesh Vartak
If you find the response useful, kindly consider selecting Accept As Solution and clicking on the kudos button.