- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
I'm trying to report on the ITIL users who do not have any tasks assigned to them.
Trying to use the related list condition of "None"
How do I relate Tasks->Assigned to to the sys_user_has_role?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
Thank you, @aruncr0122, this is exactly what I did after I posted the questions 🙂 The issue I was running into was that the field "Roles" on the user table had an ACL so only admins could see it.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
Hi @bekfro,
Glad the issue is resolved!
If my response helped, please mark it as ‘Accept as Solution’ and ‘Helpful’ to assist others.
Thanks!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
Create a new report → Table = User [sys_user].
Add a filter: Roles → Name is ITIL (this pulls only ITIL users).
Then add a Related List Condition:
Task [task] → Assigned to = None
This ensures you only get users who currently don’t have any tasks assigned.
If “None” doesn’t work directly, another approach is:
From User table, add condition → Assigned to (Task) does not have records.
That way it excludes any user who has at least one task.
If you need it more flexible (like showing all ITIL users and count of their tasks), you can also use a dot-walked report:
Table = Task
Group by Assigned to
Then filter only ITIL role users via Assigned to → Roles contains ITIL.
Anyone missing from this report = ITIL with no tasks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
@bekfro ,
you can utilize a combination of the sys_user_has_role and task tables..... Begin by creating a report based on the sys_user table..... Apply filters to include only active users who possess the ITIL role, which can be determined by referencing the sys_user_has_role table..... Next, configure a related list condition for the Assigned to field in the task table, setting the quantity to None to filter users who do not have any tasks assigned....
If you found my response helpful, please mark it as ‘Accept as Solution’ and ‘Helpful’. This helps other community members find the right answer more easily and supports the community.
Kaushal Kumar Jha - ServiceNow Consultant - Lets connect on Linkedin: https://www.linkedin.com/in/kaushalkrjha/
