The “usernameGenerator” transform can only be applied to an attribute that is marked as an Account ID in the Account Schema. For e.g., in case of the Active Directory source, we can use this transform only to generate the unique distinguishedName by defining different patterns. But, if you want to generate the unique value for other attributes then you will need to leverage the “Attribute Generator Rule”.
I believe you will need to apply the “usernameGenerator” in the “Create Profile” for an Account ID attribute.
Could you please apply the below version of the transform in the “Create Profile” and see if it works (I haven’t tested it)
According to your screenshot, it looks like you want to generate the value for “PersonID”. If that’s not the case, change the attribute’s name in the above transform.
Note: Make sure that the FirstName and LastName attributes from the source “TestSF” are not null.
Hi @Sushantmrj Thank You for your reply.
In my lower environment, we have not setup VA , so we don’t have AD connection now.
I want to check above logic ( generate Person ID) with Dummy Authoritative Source.
Is it possible to implement with unique Counter?