and more in a single search tool across platforms. Read the announcement here. |
05/08/2024 08:08 AM - edited 05/16/2024 05:45 AM
Hi,
in Saviynt version 23.x I set up the Create User form with multiple attributes that generate a username and systemusername dependend on a parent attribute.
I followed this article for the configuration:
https://forums.saviynt.com/t5/saviynt-knowledge-base/configuring-create-register-user-form-in-eic/ta...
At the start of the Create User form is a dropdown to select the type of user you want to create. Dependend on this selection the fields for username and systemusername are displayed.
So for each type in the dropdown exists one dyn. attribute to generate a systemusername with value systemUserName in the User Column.
We recently noticed that having multiple dynamic attributes with the same value in the User Column results in an error after sending the Create User form.
Can someone confirm this behaviour or is my configuration wrong?
Kind regards,
David
05/08/2024 09:42 PM
You can have same column name for different use case like employee and contractor
05/08/2024 11:03 PM
Hi @DavidK
Are you getting any error in logs. Kindly share the error message from the logs.
Regards,
Dhruv Sharma
05/10/2024 02:43 AM
Hi,
I changed the workflow to manager approval and now I can give a better error description.
First I create a new user with type consultant and the dynamic attribute generates username B_01.
Then I create a second user with type external and the other dynamic attribute generates username E_01.
After submitting the second user the error message "User name already exist and Its pending for approval" pops up.
It looks to me that the username from the hidden dynamic attribute is stored which should not happen.
I already deleted and recreated the username and systemusername attribute with differen names.
Kind regards,
David
05/12/2024 06:54 PM
Can you check entries of previous request under request_Access_attrs table
05/13/2024 12:36 AM
I can't find infos about user creation in table request_Access_attrs
05/13/2024 08:47 PM
Share data analyzer screenshot with query in text format
05/14/2024 02:00 AM
Endpointkey = 7 is the SAP system I test with.
select REQUEST_ACCESS_ATTRSKEY, ATTRIBUTE_NAME, ATTRIBUTE_VALUE, ORDERINDEX, REQUEST_ACCESS_KEY, ACCOUNTS_COLUMN, ATTRIBUTEGROUP, ATTRIBUTELABLE, ATTRIBUTE_OLDVALUE, DESCRIPTION, EXTERNAL_LINK_RETRY_COUNT, ATTRIBUTE_TYPE
from request_Access_attrs where REQUEST_ACCESS_KEY in (select REQUEST_ACCESS_KEY from request_access_attrs where attribute_name = 'endpoint' and attribute_value = '7')
I'm not sure how this helps with the issue. I can't remove SAP accounts via ARS when the system has dynamic attributes with a value in the accounts column.
05/14/2024 08:31 PM
Its seems actual issue vs what you responding is not correlated . Initial post is about user column and then there is no link to endpoint here.
05/15/2024 01:13 AM
Sorry, please ignore my last reply as this is about a different problem as you mentioned.
About previous entries in table request_access_attrs this is the last user I created via the create user form and is currently pending and waiting for manager approval
The query for this result is
select * from request_access_attrs where REQUEST_ACCESS_KEY = 650
Now when I try to create a new user and with a dynamic attribte that generates a different username I get the error that the username already exists
My conclusion is that the hidden dynamic attribute, which was used for the created user in the first screenshot, is used for my second user as well.
05/15/2024 08:02 PM
Screenshot 1 have username as K_123913 and Screenshot 2 have B_00003 how its matching ?
05/15/2024 11:03 PM
Hi @DavidK , are you keeping two dynamic attribute for username generation??
05/16/2024 05:54 AM
@rushikeshvartak the different dynamic attributes both have username / systemusername in the user column and it looks to me that the system chooses the value from the hidden dynamic attribute for the username / systemusername
@NM I just updated the screenshots in the initial message (one was blurry). There you can see that I have multiple attributes to calculate the username / systemusername. The selectCreateForm attribute has the action string configured so that one of these attributes is displayed.
05/16/2024 07:35 PM
Please disable below config from global configuration and validate
Expose hidden dynamic attributes in workflow
05/17/2024 01:07 AM
The option Expose hidden dynamic attributes in workflow is already disabled. I also enabled it and disabled it again but the problem still exists.