Creating Report variants using groovy script - Jasper report

how do we create Jasper report variants dynamically by passing respective report parameter values using groovy script?

hi malshan,

is your post related to https://forum.reportserver.net/viewtopic.php?id=3759 ?