Announcing the Saviynt Knowledge Exchange unifying the Saviynt forums, documentation, training,
and more in a single search tool across platforms. Read the announcement here.

Custom CN creation logic in CreateAccountJSON

Diptansu11
New Contributor III
New Contributor III

Hello Team , 

There is a requirement if CP35='External' cn should be EXT_lastname,firstname else lastname,firstname

using something like this in createaccountjson  {if(user.customproperty35 in ['External']) {'EXT_'.concat(cn)} else {cn}} but not working though. CONCAT('EXT_',cn) is not working either saying method not correct. 

 

Please suggest.

 

4 REPLIES 4

rushikeshvartak
All-Star
All-Star

"cn": "${user.customproperty35.equalsIgnoreCase('External') ? 'cn+/"Ext/"' : cn}",


Regards,
Rushikesh Vartak
If you find the response useful, kindly consider selecting Accept As Solution and clicking on the kudos button.

As we need EXT_ as prefix used like this : ${user.customproperty35.equalsIgnoreCase('External') ? 'EXT_' + cn : cn} but still getting failed. Any suggestions ?

 

Whats the error


Regards,
Rushikesh Vartak
If you find the response useful, kindly consider selecting Accept As Solution and clicking on the kudos button.

@Diptansu11  Is this resolved ?


Regards,
Rushikesh Vartak
If you find the response useful, kindly consider selecting Accept As Solution and clicking on the kudos button.