You need the "medium-cage" version of the rival derailleur for the 11-32. That was the whole point of coming out with said derailleur.
Since you haven't bought the parts yet, i'm not sure why you seem to be hesitant on using the part that was designed for that specific ridiculous gearing (11-32).