Not able to add users to user group

spimple
Tera Contributor

I have created a ON DEMAND scheduled job which removes the users on specific condtions (Last Login is empty). but as it is ON DEMAND job it should run only when i execute. But what happening is as soon as i am adding the user to the target group the users are vanishing as soon as i add it. 
Can you please advise ? 

Note: there are no Business rules which is preventing me.

2 REPLIES 2

Dr Atul G- LNG
Tera Patron
Tera Patron

could you please share code for same plz. 

*************************************************************************************************************
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]

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

siva krishna M2
Tera Guru

Hello @spimple 

 

Please provide the code to debug and check the issue