- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-27-2025 06:32 PM
I need to send a scheduled report to users but have the report filter changed so it's only records pertinent to the user. For example, a report of all incidents where "Assigned to" is the recipient. If I have a group with 5 people in it, then each of those 5 people would receive the report with only the incidents assigned to themselves.
Thanks in advance.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-02-2025 04:29 PM - edited ‎03-02-2025 07:13 PM
EDIT: I've finally got it working. Ankur I found some of your other posts and putting things together it worked. This method uses a prebuilt report that is scheduled. I then have to update the report filter and the scheduled report distribution. A wait timer was required as well otherwise only the last person was getting a report.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-27-2025 07:09 PM
does your report have filter condition as Assigned to Dynamic me?
If yes then how are you generating the scheduled report?
Are you including email body in it? if yes then why not provide link to the report in that email body
When the users receive this email and they click on link it shows reports for incidents where assigned to is him/her and then they can export it?
If my response helped please mark it correct and close the thread so that it benefits future readers.
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-27-2025 07:18 PM
I need the report to be provided via email for access external to ServiceNow. I tried having the 'Assigned to dynamic Me' but that generates the file emailed out is then the same to every person (it's only filtered based on user record that system uses to generate the scheduled report).
I started to look into scripting the report, but running into issues with it either setting the filter properly or actually generating the email, so wanted to see what input the community had before going much further down that path.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-27-2025 07:42 PM
Hi @Ryan S
I do not think you can achieve this with one scheduled report for all recipients using standard reporting functionalities.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-27-2025 08:57 PM
you can do this but it's very custom solution and you will have to test it thoroughly
Note: remember this solution might impact if user is seeing report on front end during the time when the scheduled report runs
1) have a scheduled job
2) get the group and iterate for each group member
2) query sys_report and update the filter condition dynamically i.e. Assigned to = Member 1
3) then run the scheduled report via script so that it sends report only for that Member/User
If my response helped please mark it correct and close the thread so that it benefits future readers.
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader