I have a Report with several Subscriptions. This report should display parameters and those values dynamically. To be more concrete: particular SubscriptionA for ReportA has it's own set of params and schedule. SubscriptionB for ReportA has another set of params. In the ReportA I need to display a list of params which were choosen when that report was running for particular SubscriptionA or SubscriptionB.
To achieve that - I fetch data from [ReportServer].[dbo].[SnapshotData] and [ReportServerTempDB].[dbo].[SessionData] tables. [ReportServer] is default SSRS's DB.
But I can't Identify and match the current Sebscription ID and current Session Id.
Question: who knows how to identify (e.g. select from database table) current execution Session Id? Mayby it is some build-in hidded Field? Maybe I'm messy and digging in the wrong direction - please help.