BACKLOG-5333 : Allows to resolve conditions directly by java code instead of querying elasticsearch