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

Service Account Name Rule with INCREMENTINDEX

aro
Regular Contributor
Regular Contributor

We create Service Accounts for AD and the account name should look like this

      ad-srv-00047       (with 5 digits at the end)

Is there any way to add leading '00000' to the INCREMENTINDEX and limit the name to the last 5 digits? For example: '00000' + '47' = '00047'.

The Service Account Name Rule now looks like this:

ad-${if(accountType.equals('Service Account')) {'srv'} else if(accountType.equals('Shared Account')) {'shr'} else {''}}###INCREMENTINDEX###

1 REPLY 1

rushikeshvartak
All-Star
All-Star

You need to have dynamic attribute calculate incremental index


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