Sending scheduled report to groups "dynamically" based on report content?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-21-2016 12:49 PM
Hello. I'm wondering if anyone has tackled this previously. Here's the scenario...
I have the need to send a scheduled report to one or more Groups depending on the results in the report. For example:
This report creates a list of Application CI's that have no Description on them. I would like this to run as a "Scheduled Report" and have the results sent automatically to all of the Assignment Groups on the CI's listed in the report. So the example report would be sent to everyone in the Amsterdam, Boston, and Austin groups. I know how to schedule reports, it's the sending to the target groups I struggle with.
Not sure if this can be done, but wondering if anyone's tackled this. Thanks for your time and attention!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-22-2016 09:58 AM
Yeah, just take what I have, query sys_user_grmember and grab all the member emails instead of the group email.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-22-2016 10:27 AM
Yes...thanks. I'll give it a shot. Again, thanks for the responses!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-22-2016 10:48 AM
No worries. It's what we're here for.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-17-2016 12:44 PM
Thanks Mike - glad I can still rely on you for solutions even when our career paths fork - I hope you're doing well. We just raised this question today. We'll try to implement your solution as well.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-02-2017 09:51 PM
You are a very clever person, this worked really well and I would suggest this question is definitely answered. I just had to make sure the script include used the same query filter as the report and the system returned the list of email addresses as required. This also taught me a bit about the way the business rule actually works. Thank you so much.