The invention relates to derivatives of formula (I),wherein the substituents are as defined in the specification; to processes for the preparation of such derivatives; pharmaceutical compositions comprising such derivatives; such derivatives as a medicament; such derivatives for the treatment of a disorder or a disease mediated by the ghrelin receptor.