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

leave of absence json error

esinam_g
New Contributor
New Contributor

Hello

I am trying to put a message leave of absence message under the display name when there is an absence.However my json doesnt seem to work.can someone please double check

Thank you

here is the json

"displayName": "${if(user.customproperty1=='On Leave' && (user.customproperty3=='J0')){user.displayname+' - Absent'} else {user.displayname}}"

 

1 REPLY 1

rushikeshvartak
All-Star
All-Star
"displayName": "${user.customproperty1=='On Leave' && user.customproperty3=='J0' ? user.displayname + ' - Absent' : user.displayname}"

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