The CreatorCon Call for Content is officially open! Get started here.

flow design or scheduled job for inactive user removal

Balakrishna_ABK
Tera Guru

Is there any OOB or custom flow design or scheduled jobs to delete inactive users by triggering request to line manager for approval and once its approved delete users from ServiceNow.

1 ACCEPTED SOLUTION

Amit Verma
Kilo Patron
Kilo Patron

Hi @Balakrishna_ABK 

 

OOB, we don't have any flow or scheduled job to take care of this. You can build a flow, though, as shown below, for your requirement:

 

AmitVerma_0-1736222331090.png

 

Thanks and Regards

Amit Verma


Please mark this response as correct and helpful if it assisted you with your question.

View solution in original post

6 REPLIES 6

Runjay Patel
Giga Sage

Hi @Balakrishna_ABK 

 

 

ServiceNow does not offer an OOB solution specifically for deleting inactive users, as user deletion is a sensitive operation that requires careful consideration. Instead of deleting user records, it is recommended to deactivate them. Deleting user records is generally discouraged because they are often referenced across multiple modules. If you delete a user, it may become challenging to trace historical records created or requested by that user in the future. Deactivation ensures the user cannot access the system while preserving their data for auditing and reporting purposes.

 

If you still wanna delete it then use flow designer to send email and create a task for approval. once they approve close the task and delete the respective user record.

 

-------------------------------------------------------------------------

If you found my response helpful, please consider selecting "Accept as Solution" and marking it as "Helpful." This not only supports me but also benefits the community.


Regards
Runjay Patel - ServiceNow Solution Architect
YouTube: https://www.youtube.com/@RunjayP
LinkedIn: https://www.linkedin.com/in/runjay

-------------------------------------------------------------------------

Hi @Balakrishna_ABK 

 

Thank you for marking my solution as helpful! The community now supports multi-solution acceptance, allowing you to accept multiple answers.