add the advanced criteria condition for the smartclient gem