By condensation of nicotinoyl chloride N-oxide (I) with 3-[3-(3-methylpiperidin-1-ylmethyl)phenoxy]propylamine (II) by means of pyridine at O C.