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

Need to change UPN as per required condition

Ratna
New Contributor II
New Contributor II

As per requirement, we need to change UPN while disabling accounts when there is change in user DIVISION. In other cases, under normal termination it should not update UPN. We tried to put in the below mentioned condition in disable account JSON. But, the task is not getting processed.

"userPrincipalName": "${if(user.Division='BU10')?{user.customproperty2} else {user.customproperty1}}"

2 REPLIES 2

Amit_Malik
Valued Contributor II
Valued Contributor II

"userPrincipalName": "${if(user.division='BU10'){user.customproperty2} else {user.customproperty1}}"

 

Kind Regards,
Amit Malik
If this helped you move forward, please click on the "Kudos" button.
If this answers your query, please select "Accept As Solution".

rushikeshvartak
All-Star
All-Star

"userPrincipalName": "${user.division == 'BU10' ? user.customproperty2 : user.customproperty1}"


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