I tested the described scenario with a simple report (attached - DateTimeNow.trdp
) displaying the values of two report parameters, the first one (CurrentDate
) with value "=Now()"
, the second (PastMonth
) with value depending of the first parameter "= AddMonths(Parameters.CurrentDate.Value, -1)"
I uploaded the report in the report server and scheduled a task to send the report daily. The report was rendered with the correct Date values - both when send as scheduled, and when run from the "Execute" button of the Report Server Manager.
The report parameters are evaluated early in the report processing stage - check Report Life Cycle
. The value of the parameter will be set according to its assigned Expression
. The Now()
function will get the current Date/Time, hence on each execution the CurrentDate
parameter should have a fresh value.
In scheduled tasks we do not use caching, hence I exclude also this possibility.
If the problem persists consider opening a support ticket where to attach a sample runnable report reproducing the issue so that we may investigate locally.
Do you want to have your say when we set our development plans?
Do you want to know when a feature you care about is added or when a bug fixed?
Telerik Feedback Portal
and vote to affect the priority of the items