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-21-2016 01:18 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-21-2016 01:31 PM
Never mind... You cannot do that at all. I was basing my assumption off of the way client templates work, but this is obviously not true for the scheduled reports. I will look for another solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-21-2016 01:57 PM
OK, I did it, but it isn't elegant. I put a business rule on the email table that looked for a specific subject from the Scheduled Report (you can trigger it off anything, really):
Then had a script include:
And it did what I wanted.
My queries are simplistic, but it worked. Just change the queries up to what you want to get the email addresses.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-22-2016 08:01 AM
Mike,
That definitely works as you describe, assuming that the groups' "Group email" attributes are populated. It does not quite get all the way to where I need to go...but I think I can build off if it. Thank you VERY MUCH!
The result I'm going for is to have the recipients list be all of the individual members' email addresses of the target groups, not just the "Group email" of the group. I'll try to figure that one out. Your response was very helpful!