parameters in report scheduler
Submitted by Matt Young on Tue, 17/04/2018 - 20:36
In 2.0 when scheduling a report to run, how are the parameters used? I had a look in the documentation but it wasn't clear.
Will it use default parameters for the report? Or the parameter values in the job when the job is created? If it's the latter I assume I can't use macros or expressions in there?
Re: parameters in report scheduler
The available parameters are determined from the report when it was first selected.
The values passed to the report are those you have entered in the job configuration. They are static values - you can't use macros or expressions.
If you want to do expressions (e.g. give me the last 2 weeks of data), this needs to be done within the report, but the parameters can help (e.g you can pass the number of weeks and the report calculates the actual dates).