Click HERE to see how Saviynt Intelligence is transforming the industry. |
05/21/2024 03:50 AM - last edited on 05/22/2024 02:56 AM by Sunil
I need to write an if else block for my AD connection updateaccountjson. I am using the below json but getting json parse error during provisioning :
{${if(user.customproperty44 !=null && user.customproperty44.equals('Immediate Suspension'))
'\"description\" : \"Please contact IAM Operations or PS Exec to discuss the status of this account\",'}}
I have been referring to the below posts and believe the issue was similar :
I have been following your comments on the above post but not sure if this is similar.
[This post has been edited by a Moderator. We discourage the @ mention of other forum users or employees unless they have already involved themselves on the forum post.]
05/23/2024 12:03 AM
Could you please try with below syntax.
{
${
if(user.customproperty44 !=null && user.customproperty44.equals('Immediate Suspension'))
'\"description\" : \"Please contact IAM Operations or PS Exec to discuss the status of this account\"'
}
}
Regards,
Dhruv Sharma