I want to check which user record got inactive in 90 last days using script.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-06-2025 08:29 AM - edited ‎01-09-2025 07:44 AM
I want to check which user record got inactive in 90 last days using script using the history table not from user table filter.
- Labels:
-
Architect

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-06-2025 08:32 AM - edited ‎01-06-2025 08:34 AM
Hm... You can check inactive users for which ones were updated in the last 90 days, but that won't tell you specifically that the user was deactivated in the last 90 days. Is that sufficient? If so, you can build a query and/or code to do that. The query would look something like this:
active=false^sys_updated_onRELATIVEGT@dayofweek@ago@90
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-06-2025 08:36 AM
This query can work but do I need to check this on history table?

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-06-2025 08:43 AM
The query I added above would just be on the user table. Checking the history table would be a much more involved effort.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-06-2025 08:52 AM
I am targeting Hr profile table that checked if record got inactive in last 90 days