Condensation of ethyl succinyl chloride (II) with 4-(1-cyclohexenyl)morpholine (I) in the presence of Et3N produced enamino ketoester (III). Cyclization of (III) with diethyl aminomalonate (IV) gave the tetrahydroindole (V). Hydrolysis of the ester functions of (V) with NaOH, followed by acidic decarboxylation, afforded the tetrahydroindolylpropionic acid (VI). Vilsmeier formylation of (VI) with DMF and POCl3 furnished aldehyde (VII). This was then condensed with 5-bromo-2-oxindole (IX) (obtained by treatment of (VIII) with N-bromosuccinimide), using either pyrrolidine or piperidine in refluxing EtOH to yield the title compound.