Click here to monitor SSC
SQLServerCentral is supported by Redgate
 
Log in  ::  Register  ::  Not logged in
 
 
 


Report Subscription - Send email after saving to windows share


Report Subscription - Send email after saving to windows share

Author
Message
kk1173
kk1173
SSC Rookie
SSC Rookie (38 reputation)SSC Rookie (38 reputation)SSC Rookie (38 reputation)SSC Rookie (38 reputation)SSC Rookie (38 reputation)SSC Rookie (38 reputation)SSC Rookie (38 reputation)SSC Rookie (38 reputation)

Group: General Forum Members
Points: 38 Visits: 89
I have a SSRS data subscription that saves a file to windows share. The report runs monthly.
There is a new requirement now that after the file gets saved to the windows share, an email needs to be generated to users mentioning that the file is available at the windows shared location.

Please help if this is possible. I only see either windows file or email option in SSRS.

thanks
kk
robert.gerald.taylor
robert.gerald.taylor
Ten Centuries
Ten Centuries (1.3K reputation)Ten Centuries (1.3K reputation)Ten Centuries (1.3K reputation)Ten Centuries (1.3K reputation)Ten Centuries (1.3K reputation)Ten Centuries (1.3K reputation)Ten Centuries (1.3K reputation)Ten Centuries (1.3K reputation)

Group: General Forum Members
Points: 1326 Visits: 1399
kk1173 (8/26/2013)
I have a SSRS data subscription that saves a file to windows share. The report runs monthly.
There is a new requirement now that after the file gets saved to the windows share, an email needs to be generated to users mentioning that the file is available at the windows shared location.

Please help if this is possible. I only see either windows file or email option in SSRS.

Would it be possible to run the report from SSIS and then use SSIS' Send Mail task to email that it is completed? You could create a SQL Agent job and schedule it to run monthly.

There's an article here on SSC: http://www.sqlservercentral.com/articles/Integration+Services+(SSIS)/93504/

HTH,
Rob
kk1173
kk1173
SSC Rookie
SSC Rookie (38 reputation)SSC Rookie (38 reputation)SSC Rookie (38 reputation)SSC Rookie (38 reputation)SSC Rookie (38 reputation)SSC Rookie (38 reputation)SSC Rookie (38 reputation)SSC Rookie (38 reputation)

Group: General Forum Members
Points: 38 Visits: 89
Thanks but that may not be possible. Is there any other workaround?
eric.muller
eric.muller
Mr or Mrs. 500
Mr or Mrs. 500 (562 reputation)Mr or Mrs. 500 (562 reputation)Mr or Mrs. 500 (562 reputation)Mr or Mrs. 500 (562 reputation)Mr or Mrs. 500 (562 reputation)Mr or Mrs. 500 (562 reputation)Mr or Mrs. 500 (562 reputation)Mr or Mrs. 500 (562 reputation)

Group: General Forum Members
Points: 562 Visits: 1306
You could also set an Agent job to periodically monitor the status of the File Share subscription, using the Subscription table in the ReportServer db. Then, upon successful completion and whatever other parameters you wanted, it could kick off the second Email subscrip.

If you absolutely HAD to use *only* SSRS, then you might be able to get away with a similar approach as outlined HERE, but instead your EXISTS clause would again read from the Subscriptions table on the ReportServer db to find a successful saving of the FileShare subscription file. You would probably have to run it like every 5 minutes starting when your FileShare subscrip fires, and then have it go for some amount of time until you're sure the FileShare subscrip would be done.

I've never tried it before, I would just use SSIS, but off the dome it seems like it might work?
Go


Permissions

You can't post new topics.
You can't post topic replies.
You can't post new polls.
You can't post replies to polls.
You can't edit your own topics.
You can't delete your own topics.
You can't edit other topics.
You can't delete other topics.
You can't edit your own posts.
You can't edit other posts.
You can't delete your own posts.
You can't delete other posts.
You can't post events.
You can't edit your own events.
You can't edit other events.
You can't delete your own events.
You can't delete other events.
You can't send private messages.
You can't send emails.
You can read topics.
You can't vote in polls.
You can't upload attachments.
You can download attachments.
You can't post HTML code.
You can't edit HTML code.
You can't post IFCode.
You can't post JavaScript.
You can post emoticons.
You can't post or upload images.

Select a forum

































































































































































SQLServerCentral


Search