how to deactivate inactive user through flow designer

Vinod S Patil
Tera Contributor

Hello SN Team,

I have requirement to deactivate user, if user is not active for 15 days using flow designer.
can anyone suggest me to resolve it.

2 REPLIES 2

Amit Verma
Kilo Patron
Kilo Patron

Hi @Vinod S Patil 

 

Configure the flow as below :

 

Trigger - Could be set Monthly

 

Actions -

 

AmitVerma_0-1707301194906.png

 

AmitVerma_1-1707301214654.png

 

AmitVerma_2-1707301231908.png

 

AmitVerma_3-1707301251162.png

 

Thanks & Regards

Amit Verma


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

Dr Atul G- LNG
Tera Patron
Tera Patron

Hi @Vinod S Patil 

 

https://www.servicenow.com/community/now-platform-forum/how-to-deactivate-inactive-user-through-flow...

 

It is already here buddy. 

 

create a new flow designer with trigger as daily

LearnNGrowAtul_0-1707301454802.png

 

Do Look up Records Action

LearnNGrowAtul_1-1707301454869.png

 

 

LearnNGrowAtul_2-1707301454787.png

 

 

then use for each to do the lookup

LearnNGrowAtul_3-1707301454882.png

 

 

Update User table

LearnNGrowAtul_4-1707301455015.png

 

 

 

Credit : @Harish KM 

*************************************************************************************************************
If my response proves useful, please indicate its helpfulness by selecting " Accept as Solution" and " Helpful." This action benefits both the community and me.

Regards
Dr. Atul G. - Learn N Grow Together
ServiceNow Techno - Functional Trainer
LinkedIn: https://www.linkedin.com/in/dratulgrover
YouTube: https://www.youtube.com/@LearnNGrowTogetherwithAtulG
Topmate: https://topmate.io/atul_grover_lng [ Connect for 1-1 Session]

****************************************************************************************************************