We are delighted to share our new EIC Delivery Methodology for efficiently managing Saviynt Implementations and delivering quick time to value. CLICK HERE.

how to add a suffix in username to mark it deleted

abhiupadhyay
New Contributor III
New Contributor III

In our use case we want to mark a user deleted after x number of days of inactivation. the same username can be reused in future for the same rehire, hence we need to disable the user and change the username with suffix _Deleted_on_<date> .. 

what is the best approach to achieve this?  Can we do it using userupdate rule and submit "user update task" .. if yes where do I mention the logic to add the suffix. 

6 REPLIES 6

ParitaSavla
Saviynt Employee
Saviynt Employee

Is the username part of the import? If not, is Saviynt generating the username. 

Once the user is marked with Username_deleted is that user going to be part of the next import?

abhiupadhyay
New Contributor III
New Contributor III

@ParitaSavla username is part of import only. we are importing all the users .. so in this case when user becomes inActive on authsource, same will be marked as inactive in saviynt. post x number of days the user needs to be marked deleted on saviynt. user will still be coming in recon as inActive since the entry is not deleted on auth source. 

for a rehire case the same user entry will become active after n number of days .. and we need to treat it as new user. ( since basic accounts for this user would have been deleted by then) 

ParitaSavla
Saviynt Employee
Saviynt Employee

Since the user is going to be part of the import after it is marked as deleted in Saviynt, a new user with the username (as present in source) is going to come in Saviynt with Inactive Status as username is a unique field in Saviynt.

So appending deleted on to the username will not work for you.

@ParitaSavla  Any suggestions? 

I can handle the scenario of same user coming in as a new entry in pre-processor to remove such inactive records coming in or can make inActive users not coming in. 

If you know could you please answer on how to change the username, and let me know if you have any suggestions for the entire use case. 

abhiupadhyay
New Contributor III
New Contributor III

Any reply here ? 

@abhiupadhyay 

There is no such feature to mark the username as deleted. If you need to do that, then you can again use the preprocessor queries to mark all users' name with -deleted based on the number of days condition.

But please make sure you cover all scenarios of active and inactive users here and test it. As Parita mentioned above, the user will still come in the next import with the respective status. So you will have to account to that as well.