A viability approach to the skorohod problem · Study