COGNOiSe.com - The IBM Cognos Community

IBM Cognos 10 Platform => Cognos 10 BI => Cognos Connection, Viewer, Scheduler => Topic started by: kkirnbauer on 25 Oct 2016 01:01:04 AM

Title: Send Excel Files every Month to different supervisors with restricted view
Post by: kkirnbauer on 25 Oct 2016 01:01:04 AM
Hi,

if created a native SQL Statement in Report Studio, which gives me information on employees about holidays, ....

In the Report every Supervisor can only see his employees. I've used the session parameter as filter criteria (#sq($account.personalInfo.givenName)#)

Now there should be a monthly scheduled task, which send this report via mail as Excel File to the supervisors. Is there any chance to do that?

Thanks

Kind Regards
Title: Re: Send Excel Files every Month to different supervisors with restricted view
Post by: hespora on 25 Oct 2016 03:20:54 AM
Not like that. If you setup the schedule centrally, it will be executed with your user account rather than the ones you setup that filter for.

What you want is to create a view for each user and have them schedule those themselves, so they are executed with their own user. Otherwise, just ditch the dynamic filter and hardcode it.