10/03/2023 04:22 AM
HI Team,
I am trying to use if-else condition for dynamic attribute and getting exception in logs.
can someone help me in correcting the query. I am using below code in the UPDATEACCOUNTJSON
\"DefaultCurrencyIsoCode\": \"${if(requestAccessAttributes.get('Currency').toString()=='USD - US Dollar') 'USD' else ${account.customproperty18}\"
Error from task is :
{"call1":{"message":"Unrecognized token '$': was expecting ('true', 'false' or 'null')\n at [Source: java.io.StringReader@7b654e0d; line: 1, column: 1803]","status":"Failed"}}
10/06/2023 01:18 PM
Hi @nmand396 ,
Please refer the forum post - https://forums.saviynt.com/t5/identity-governance/rest-connector-create-account-json-if-else-using-d...
Thanks.