The present invention relates to substituted triazole compounds of the formula (I) and pharmaceutically acceptable salts thereof, to pharmaceutical compositions containing them and their use in medicine. In particular, the invention relates to compounds for modulating SCD activity.