Multifunctional Sanitary Valve and Method of Operating Such