Saviynt unveils its cutting-edge Intelligence Suite products to revolutionize Identity Security!
Click HERE to see how Saviynt Intelligence is transforming the industry.
Saviynt Copilot Icon

Create account json throws error when email is passes as null in proxy address

Prajna
New Contributor
New Contributor

Hi Team,

We are using the below json for proxy address. But when the email is passed as null it throws attribute conversion error.

Can you please suggest a logic so that it will pass null value in email.

"proxyAddresses":[
        "${user.customproperty7.contains('EA01')? 'SMTP:'+user.email +',' + 'smtp:' + user.username + '@ausgriddev.com.au':''}",
        "${user.customproperty7.contains('2001')? 'SMTP:'+user.email +',' + 'smtp:' + user.username + '@plusesdev.com.au':''}"
],
1 REPLY 1

rushikeshvartak
All-Star
All-Star

"proxyAddresses":[
"${user.customproperty7.contains('EA01') && user.email != null ? 'SMTP:'+user.email +',' + 'smtp:' + user.username + '@ausgriddev.com.au':''}",
"${user.customproperty7.contains('2001') && user.email != null ? 'SMTP:'+user.email +',' + 'smtp:' + user.username + '@plusesdev.com.au':''}"
]


Regards,
Rushikesh Vartak
If this helped you move forward, click 'Kudos'. If it solved your query, select 'Accept As Solution'.