Request to remove users.

Request to remove users.

I used this instruction, it works fine, thanks.

https://pitstop.manageengine.com/portal/kb/articles/how-to-populate-user-names-in-request-additional-field

If you create a request from a technical specialist, then both active users and deleted users are uploaded to the additional field.



I see two options for how to solve the problem.
Edit the script so that only active users are unloaded, or ...

Please tell me a query to the database for the final removal of deleted users.