Synthesis of 2,6'-dioxo-1',5',6',7'-tetrahydrospiro[indoline-3,4'-pyrazolo[3,4-b]pyridine]-5'-carbonitriles via a one-pot, three-component reaction in water.