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

How to add trim in CreateAccountJson

nfraternali
New Contributor
New Contributor

Hi,

we have to set a trim in the CreateAccountJson for AD connector. In particular we want to trim the surname with max 64 caracters. 

How can we do that?

Thank you

Noemi

@JustSalva @FCaremoli 

1 REPLY 1

rushikeshvartak
All-Star
All-Star

${user.lastname.substring(0, user.lastname.length()>=64 ? 64 : user.lastname.length())}


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