The invention relates to compounds of Formula (I) and their pharmaceutically acceptable salts, wherein the substituents are as described herein, and their use in medicine for the treatment of diseases, disorders associated with the modulation of calcium release-activated calcium (CRAC) channel. The invention also relates to pharmaceutical compositions containing such compounds in treating diseases disorders associated with calcium release- activated calcium (CRAC) channel modulators.