+ Start a Discussion

How can we get community details in Answer's Trigger?

I am implementing trigger for Question and there I require community and datacategory detail which assign to Question.
Actually in trigger, I have to put the logic on the basis of those values.
Please anybody will tell that how can I achieve this?
Thanks In Advance!