Hello Everyone,
Requirement: Auto-generate an ID and assign it as User ID (uid) for user as part of User Creation task.
I have created a PX Policy to generate a random number and check for uniqueness of it. Added Action Rules to assign this random number against UID and Login ID of the user profile.
Issue:
Scenario 1:
I tried to create the user profile without giving UID and Login ID in the Create User Screen. Received an error stating uid and login id are mandatory for Create User Event.
Scenario 2:
Included both uid and login id in Create User Screen but made it as hidden since I thought the PX policy that I created will assign auto-generated IDs to these attributes. But I get the same error again as received in Scenario 1.
Note: I tried to disable the policy and made uid and login id to be editable fields and it works good.
How do I achieve my requirement of auto-generating uid during user profile creation. Please do share your suggestions here.
Thanks much!
Regards,
Navin