Adding Criteria var on request to make custom queries defined in configuration

Signed-off-by: José Luis Di Biase <josx@interorganic.com.ar>