The invention provides a compound of Formula (I)pharmaceutically acceptable salts, pro-drugs, biologically active metabolites, stereoisomers and isomers thereof wherein the variable are defined herein. The compounds of the invention are useful for treating immunological and oncological conditions.本發明提供一種式(I)化合物醫藥上可接受鹽、前藥、生物活性代謝物、其立體異構物以及異構物,其中變數係如本文所定義。本發明化合物係用於治療免疫與腫瘤症狀。