How to run a schedule job when a user log in the instance? What should be the condition

Rosy14
Tera Guru
 
5 REPLIES 5

Community Alums
Not applicable

Hi @Rosy14 .

There is a table in serviceNow instance which contains the data of user logged in and transaction times you can refer that table v_user_session_list and sys_user_session_list. 

You can also give scripting condition like 

SarthakKashya2_0-1713359853115.png

var userObject = gs.getUser();

 

Please mark my answer correct and helpful if this works for you

 

Thanks and Regards 

Sarthak