Hi,
I mapped the below transform for generating unique username in create profile for distinguishedName attribute.
it is generated dn like below.
CN=MNHLH, TtestN,OU=SailPoint,OU=Test OU Structure,DC=ss,DC=org is generated , but it is missed middlename
expected like this CN=MNHLH, TtestN G,OU=SailPoint,OU=Test OU Structure,DC=ss,DC=org
G is the middle name and it is not populated
And uniqueCounter also not working.
Is there anything that I missed.
{
"attributes": {
"cloudMaxSize": "100",
"cloudMaxUniqueChecks": "25",
"cloudRequired": "true"
},
"isRequired": false,
"multi": false,
"name": "distinguishedName",
"type": "string",
"transform": {
"type": "usernameGenerator",
"attributes": {
"sourceCheck": true,
"patterns": [
"CN=$ln\\, $fn $mi,OU=SailPoint,OU=Test OU Structure,DC=ss,DC=org",
"CN=$ln\\, $fn,OU=SailPoint,OU=Test OU Structure,DC=ss,DC=org",
"CN=$ln\\, $fn,${uniqueCounter},OU=SailPoint,OU=Test OU Structure,DC=ss,DC=org",
"CN=$ln\\, $fn $mi,${uniqueCounter},OU=SailPoint,OU=Test OU Structure,DC=ss,DC=org"
],
"ln": {
"type": "substring",
"attributes": {
"input": {
"type": "identityAttribute",
"attributes": {
"name": "lastname"
}
},
"begin": 0,
"end": 5
}
},
"fn": {
"type": "identityAttribute",
"attributes": {
"name": "firstname"
}
},
"mi": {
"type": "substring",
"attributes": {
"input": {
"type": "identityAttribute",
"attributes": {
"name": "middleName"
}
},
"begin": 0,
"end": 1
}
}
}
}
}