I have created a custom Export format for bank integration. I need to call ER report from the code and pass the query filter before calling run method. I don't have user input parameters since I am using a query to filter records.
I am stuck on the code on how to pass the value before calling the run method. I have followed this document to pass the value but it is not working coz I don't have a user input parameter and gets into an exception.
This is what I am passing

When i run the report from ER

This is where the system throws exception
