How to run a schedule job when a user log in the instance? What should be the condition
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-17-2024 03:30 AM
5 REPLIES 5
Community Alums
Not applicable
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-17-2024 06:18 AM
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
var userObject = gs.getUser();
Please mark my answer correct and helpful if this works for you
Thanks and Regards
Sarthak