anachii86 Posted March 30, 2017 Share Posted March 30, 2017 I added an expression to a parameter which I put inside select (query). And my expression looks like:When I generate report in my JasperStudio all is ok, however when I try to generate report on server (local or remote) it always enters in false condition and doesn't filter by selected (provided) value. When I put just "and any item in orgs.path.to.property satisfies item.value = '$P!{tp}' end" (which is under the true condition) all is ok. Link to comment Share on other sites More sharing options...
anachii86 Posted April 3, 2017 Author Share Posted April 3, 2017 When some parameters are used in expressions the parameters' order in which they were created metters! If the expression, which contains Param1, is used in Param2 and in parameters the Param2 stays before Param1 then this expression will not work, because Param1 isnot existed. I personaly think that this is like a flow and should be corrected. Moreover, this peroblem doesn't exist in JasperStudio, just on server. Link to comment Share on other sites More sharing options...
anachii86 Posted April 3, 2017 Author Share Posted April 3, 2017 ! Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now