GENERAL METHOD: A mixed solution of N-cyanoimido-S,S-dimethyl dithiocarbonate (17.4 mmol), acetonitrile (10 mL) and N-methylpiperazine (17.4 mmol) was heated and refluxed for 2 hours. After the reaction was completed, it was cooled to room temperature, hydrazine monohydrate (25.6 mmol) was added, and heating and refluxing was continued for 5 hours. At the end of the reaction, the solvent was removed by evaporation under reduced pressure and the resulting crude product was purified by recrystallization using ethyl acetate. Operating according to General Method B, the compound 3-amino-5-(4-methylpiperazinyl)-1H-1,2,4-triazole (11k) was obtained as a light yellow solid in 80% yield with a melting point of 103-104 °C. 1H NMR (200 MHz, DMSO-d6) δ: 10.95 (br s, 1H); 5.72 (br s, 2H); 3.16- 3.11 (m, 4H); 2.34-2.29 (m, 4H); 2.17 (s, 3H).