and more in a single search tool across platforms. Read the announcement here. |
03/23/2023 07:01 AM - edited 03/23/2023 07:03 AM
Hi Experts and @rushikeshvartak
we have a scenario where after 14 days if a user ex - A123 is rehire it should enable the accounts which was previously there for the same user.
But for one of the application ex - XYZ after 14 days the account will be in deleted form saying A123_Deleted which wont allow to create new account for A123.(If we use UserUpdateRule - Enable account it wont work over here)
Problem is my earlier account xyz is mapped with my old ID. I am not going to enable my old ID. Now the new ID which is coming after 14 days (rehire)should be treated as new ID.
Since I have account with old user entry that account should mapped to my new user entry and that account should be enabled.
Any suggestion on this is appreciable.
Thank You,
Richi
03/23/2023 08:53 AM
Sorry your query is not clear. Are you asking how to map an account from old user identity to new user identity?
03/23/2023 10:59 PM - edited 03/24/2023 04:49 AM
Thank You @sk for your respond,
Yes correct! Old account should map to new user.
The old user has username as A123_Deleted where new entry that came in is A123(User).
Now I want the account from A123_Deleted to associated with new user A123 and also that should be enable.
Thank You
04/04/2023 10:30 AM
Hi @RMohanty
Why do you want to map the old deleted account from old user to map to new user. ( Its not a valid usecase). you can just create a new account by user update rules or via ARS
Thanks
Darshan
04/12/2023 07:41 AM
Hi @Darshanjain ,
This use case is for rehire after x number of days ,the new user coming in is actually an old user but as per business logic it will be created as a new fresh user entry.
The user will get new accounts for some basic applications like AD and LDAP because the old account would have been deleted on those applications, but there are few inhouse application where accounts never get deleted they will be only deactivated on user's terminations. Hence in a rehire case those old accounts need to be mapped to this new user entry.
Thank You,
Richi
04/12/2023 07:45 AM
Okay Understood, But unfortunately we dont have a direct way to get this updated. You can try out the below options
1. Identify those accounts and make the changes from UI to map to those users
2. You can update the user_accounts table from customquery job for bulk users.
3. If you want to make it automatic way, then you should be able to write a sql query which matches the condition and then update the user_accounts table based on that and run it frequently.
Thanks
Darshan