dataManager condition in Report Groovy

How to use Logical condition in groovy? Using the method like in Java, I get errors

Hello,

Logical conditions in groovy are similar to Java language. The reason for the error is probably something else. Look in the application logs there will be more information about the cause of the error.

Groovy - The Apache Groovy programming language - Operators

Regards,
Nikita