#1 2022-05-30 10:35:25

Johann
Member
Registered: 2022-05-30

Possibility of Scheduling Groovy Reports

I noticed other reports such as JXLS have the option to 'schedule' whereas Groovy scripts do not seem to have such an option. Is it possible to schedule Groovy scripts, and if so how should I go about doing it?

When I try selecting a groovy report when creating a new scheduler job under the Scheduler tab, I get the following error message, which I am not sure how to resolve: "The chosen configuration is invalid."

Thank you in advance!

Offline

#2 2022-05-30 10:40:49

eduardo
Administrator
Registered: 2016-11-01
Website

Re: Possibility of Scheduling Groovy Reports

Hi Johann,

you can schedule script reports analogously as any other report type, so this should not be an issue. You have to first make sure the script report works. Infos on script reports: https://reportserver.net/en/guides/scri … Reporting/

If you want to directly schedule a script, not a report, you can as explained here: https://reportserver.net/en/guides/scri … g-Scripts/

Regards,
Eduardo

Offline

#3 2022-05-30 10:49:49

Johann
Member
Registered: 2022-05-30

Re: Possibility of Scheduling Groovy Reports

To clarify, I am trying to schedule a report.

The reports I have are working alright, I can set parameters and preview the report. However, it’s just that after selecting the report in the Scheduler, I am unable to click on “Submit”, and if I try to click on “Next” I get the above error message.

Offline

#4 2022-05-30 14:54:51

eduardo
Administrator
Registered: 2016-11-01
Website

Re: Possibility of Scheduling Groovy Reports

Hi Johann,

could you pls post some screenshots where exactly do you click for scheduling, how is the report configuration, etc? You can use http://imgbb.com for this. Also pls post the exact reportserver version (administration -> system console)
Are you trying to schedule a base report or a variant ?

Regards,
Eduardo

Offline

#5 2022-05-31 01:54:48

Johann
Member
Registered: 2022-05-30

Re: Possibility of Scheduling Groovy Reports

eduardo wrote:

could you pls post some screenshots where exactly do you click for scheduling, how is the report configuration, etc?

I select the report after clicking on "New Scheduler Job":  https://ibb.co/gt0Zrvm
I get the following error: https://ibb.co/B68vcZW


eduardo wrote:

Also pls post the exact reportserver version (administration -> system console)

I am using version 3.71: https://ibb.co/BgxGC5B


eduardo wrote:

Are you trying to schedule a base report or a variant ?

I believe it is a variant.

Last edited by Johann (2022-06-01 02:22:32)

Offline

#6 2022-06-01 02:59:06

Johann
Member
Registered: 2022-05-30

Re: Possibility of Scheduling Groovy Reports

I have been trying again but am still unable to select Groovy Reports for scheduling. Is there anything else I can try to troubleshoot?

Any help or advice would be greatly appreciated. Thank you!

Edit: Issue was that the export format was not set. Once the export format was set, the configuration was accepted and the scheduling worked.

Last edited by Johann (2022-06-01 06:56:32)

Offline

Board footer

Powered by FluxBB