- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-17-2023 08:59 AM - edited ‎02-17-2023 09:01 AM
I would like to know whether the last login is updated when an user approves something directly through email (without loging).
Thanks in advance.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-23-2023 02:56 AM
Hi Cristiano,
As per the below KB Article, i feel the last login will get updated for the user.
https://support.servicenow.com/kb?id=kb_article_view&sysparm_article=KB0824070
You can also check further in this :
https://www.servicenow.com/community/developer-forum/how-last-login-time-works/m-p/2432299#M947661
Please mark helpful if it answers your question.
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-23-2023 02:56 AM
Hi Cristiano,
As per the below KB Article, i feel the last login will get updated for the user.
https://support.servicenow.com/kb?id=kb_article_view&sysparm_article=KB0824070
You can also check further in this :
https://www.servicenow.com/community/developer-forum/how-last-login-time-works/m-p/2432299#M947661
Please mark helpful if it answers your question.
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-23-2023 03:11 AM
Hi @Cristiano Souz1,
No, the last login field is not updated when a user approves something directly through email in ServiceNow.
The "last_login" field in ServiceNow is a system field that is updated only when a user logs into the ServiceNow instance. If a user approves something directly through email without logging into ServiceNow, the "last_login" field will not be updated. To track user activity in ServiceNow, you can use features such as Audit Log, System Log.
Reference : https://support.servicenow.com/kb?id=kb_article_view&sysparm_article=KB0564981
Regards,
Shravan
Shravan
Please mark this as helpful and correct answer, if this helps you
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-23-2023 03:39 AM
Not by default.
The below script action is responsible for updating the "Last login" field on sys_user.
https://<your instance>.service-now.com/nav_to.do?uri=sysevent_script_action.do?sys_id=8e93ed730a05001301dec5cd65369e9e
This Script Action is triggered whenever a "login" event is created in the Event Queue.
You could create a custom Event (and a Business Rule that triggers it whenever an inbound email is received on the instance) and create a custom Script Action to update the "Login time" similarly as the out of the box action is doing it.
While it is possible, I do not recommend doing it

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-24-2023 05:20 AM
The last login date for a user in ServiceNow is typically updated when the user logs in to the platform directly through the ServiceNow user interface.
However, when a user directly approves things by email in ServiceNow, the last login date for that user may not be updated, as they are not technically logging in to the platform.