The conditions that favor the synthesis of triazole from hydrazone and nitrile using acetonitrile solvent & triethyl amine as a base catalyst. You need C=N.NH2 group & CN group in the same compd. Intramolecular cyclization is possible. Amino group reacts with CN group to give triazole.