- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-08-2019 01:18 AM
Hi,
I need to fetch a report in which I need to find out the no. of users who have joined the ServiceNow instance in the past week or month. For that, I need to know when the user has logged in for the first time.
If anyone has come up with same requirement before and knows the solution, please help.
Solved! Go to Solution.
- Labels:
-
Team Development
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-08-2019 02:49 AM
Hello,
would it be an Option for you to create a new field on the User table to track the first Login time?
When user logs in for the first time, the value in the field "Last Login Time" gets populated. And if the field changes from "empty" to "ANY VALUE" you could trigger a Business Rule to fill your new Custom field with the timestamp.
And than you could report on that additional field who joined the Instance in the past week/month.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-08-2019 02:19 AM
Hi,
If you want to fetch the report of users who joined ServiceNow in the past week or month, you can do this based on user creation date instead of login time.
User login time is NOT equal to user creation time (joining) in ServiceNow.
You can simply create a report on sys_user table and add the condition of created on last month. here is the screenshot for reference.
Along with last month, you have various filters which you can use such as this month, last month, last 3 months, this week, last week, etc.
Kindly mark the answer as correct if this answers your question.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-08-2019 02:23 AM
Can't do that as it will not give appropriate result. If I create 10 users today and only 5 are using the accounts, rest 5 have not used it, then the reports will display incorrect result.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-08-2019 02:32 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-08-2019 02:42 AM
That will also not serve the purpose, because if there is a user whose account was created two months ago, but who logged in for the first time in last month, then in this case, this current filter will give wrong result. That is why I need to find out if there is any other way to know when a user is logging in for the first time in Servicenow.