@amitRosenberg, you already have criteria as method input, why won't you add the additional criteriaArr attributes in the criteria?