Abstract: The present invention relates to processes for the preparation of a compound of the formula wherein W is nitrogen or —CR3; R1 is halogen, haloalkyl, haloalkoxy, R4S(O)n— or —SF5; R2 is hydrogen or halogen; R3 is halogen; R4 is alkyl or haloalkyl; and n is 0, 1 or 2; and processes for using a compound of the formula (I) in the synthesis of compounds of the formula