CLSN-2020 move conditions directive on server side

validation code added