How to define parameters for reports, and then be able to use them in a valuation script to calculate the values for other parameters?
An example might be as follows:
A report needs to be implemented with historic assignment information. The timeframe shall be given as "number of days into the past" (relative to the generation time) and not as start date (MinDate).
As the "min date or range" only accepts (fixed) date values, the following could be used: Add parameter "Duration" with which the user can select the number of days. Calculate MinDate value using a Valuation script. But how is it possible to reference the Duration parameter in the valuation script?
The syntax to use is as follows.
On the attached document there is an example of this in use. In this case parameters were required for a StartDate and an EndDate, then these were used to calculate a range.