Salicylaldehyde (I) was alkylated with 1,3-dibromopropane (II) to provide bromopropyl ether (III). Furter displacement of the bromine of (III) with the potassium salt of 2-mercaptoimidazole (IV) gave thioether (V). Condensation of methyl cyanoacetate (VI) with 3-chlorobenzylamine (VII) at 120 C afforded cyanoacetamide (VIII). Finally, Knoevenagel reaction of (VIII) with benzaldehyde (V) in the presence of beta-alanine furnished the title compound.