Totara Learn Open Discussions

Setting an automatic purge type by default for all new users

 
Jane Warwick
Setting an automatic purge type by default for all new users
von Jane Warwick – Tuesday, 16. December 2025, 16:44
 

Hello

Our users are created automatically via the HR Import.

We would like to add a new automatic purge type for all users. I can see that this can be added to all existing users via bulk scheduled actions, but then it would still need to be added to for all new users.

Is there any way to do have a purge added by default, for all new users?

If not, I am keen to hear how other organisations with automatic purges apply these to new users.

Thanks very much

Jane

Sue Blake
Re: Setting an automatic purge type by default for all new users
von Sue Blake – Thursday, 18. December 2025, 01:07
Gruppe Good learner 2023Gruppe Most Helpful Contributor 2022Gruppe Most helpful contributor 2023Gruppe TXP Site AdministratorGruppe V18 Program Complete

Hi Jane

I use a manual purge type for suspended users, but am just testing an automatic purge type for deleting accounts.

I would be interested to know what you are purging for new users.

Sue

Jane Warwick
Re: Setting an automatic purge type by default for all new users
von Jane Warwick – Sunday, 21. December 2025, 14:14
 

Hi Sue

We also use a manual purge for suspended users but only for roles, e.g. if someone has trainer access on a large number of courses.

For the automatic purge, we want to remove a user's information 7 years after they have left.

To achieve this, I've set up a scheduled user action to automatically delete users after they have been suspended for seven years. I've also set up an automatic purge to purge all data when a user is deleted.

My issue is how to apply the automatic purge to new users when they are created.

I can see that you can add the deleted purge type to current users' profiles via bulk user actions (Automatic purging once user is deleted). What I want to do is apply the deleted purge type to new users automatically when they are set up, but I can't see any documentation that outlines how to do that.

Interested to hear what you are up to.

Thanks

Jane

Jane Warwick
Re: Setting an automatic purge type by default for all new users
von Jane Warwick – Sunday, 21. December 2025, 14:54
 

I think I have found the answer, there is a setting under User data management | Settings

Default purging type for deleted users: Select a purge type that will be set and applied when a user is deleted, but has no automatic deleted purge type set already.

I will test this, but it hopefully will resolve the issue.