Activities of "sserestyen"

[maliming] said: hi

ABP soft delete actual do a update operator. So your OnDelete won't be called.

You can add an event handler EntityUpdatedEventData<IdentityUser> and check if IsDeleted is true or false.

Thanks.

Hi,

Thanks for your response on this. We'll look into these options.

Thanks.

Thanks for the clarification.

In our case, the Manager is deleted through the built-in Identity Management → Users page (i.e., the default user deletion flow provided by ABP).

Given that, how can we customize this flow so we can implement the following approach?

Override/customize the user deletion process in our application/domain service and explicitly update dependent entities (e.g., set Employee.ManagerId = null) before or after the user is soft-deleted.

What is the recommended way in ABP to hook into or override the built-in user deletion logic used by the Identity Management module so we can safely apply our custom logic when a user is deleted from the UI?

Showing 1 to 2 of 2 entries
Boost Your Development
ABP Live Training
Packages
See Trainings
Mastering ABP Framework Book
The Official Guide
Mastering
ABP Framework
Learn More
Mastering ABP Framework Book
Made with ❤️ on ABP v10.3.0-preview. Updated on February 25, 2026, 07:12
1
ABP Assistant
🔐 You need to be logged in to use the chatbot. Please log in first.