Synthesis of carboxamide and sulfonyl carboxamide linked azoles under green conditions