and more in a single search tool across platforms. Read the announcement here. |
03/22/2024 03:44 AM - last edited on 03/24/2024 10:59 PM by Sunil
Hi,
In an application. we are calculating the account name by using dynamic attribute.
and as per the logic. acct name- AZADMIN-count(current accounts)@abc.com
for first user account name would be - AZADMIN-1@abc.com
for second user account name would be - AZADMIN-2@abc.com
issue- if two users try to submit the request in ARS at the same time. and both user's session is alive.
then both users will have same account name. ex-
user3 and user4 both will have AZADMIN-3@abc.com
so, one user account will be created and for second user task will get error by stating account already present.
is it possible to somehow handle this process?
if multiple request submission session going on same time then dynamic query will generate the distinct accountname for users.
03/22/2024 12:21 PM
@WeAreVoid
Did you try enabling the instant provisioning at SecuritySystem, test it once again, and share your findings?
03/23/2024 11:08 AM
What will happen post enable this check?
actually, here issue if two request submitted with same dynamic query account name.
both requests will go to approval process.
but account will be created for the request that has been approved firstly.
and second task will get error. because account already created by first request.
03/23/2024 01:39 PM
@WeAreVoid
When you enable instant provisioning, it is not required to run the WSRETRY job or manually provision the request to complete the tasks. You can select the task types that need to be provisioned using instant provisioning configuration and they are accordingly provisioned.
Try updating the query.
The accountnames of the requests are stored in the request_access_attrs table. Please update your query to check the unique value and try incrementing the name. Modify is as per your request.
03/24/2024 07:02 PM
You need to fix your dynamic attribute query to consider used incremental number from request_Access_attrs table.
Or use database function FN https://docs.saviyntcloud.com/bundle/EIC-Admin-v2022x/page/Content/Chapter02-Identity-Repository/Dat...