most important factors for preheat are carbon content or carbon equivalent, combined thickness, hydrogen content of filler material and heat input of the selected process - this is for "normal" (low-alloyed) steels.
When dealing with high % Ni, martensitic, chromoly, ... steels, you should study each case to see what the metallurgical consequences are.
PWHT is also used to alter the inner structure of the steels, in case you could end up with a less desirable microstructure.
I suggest you ask either specific questions or read up (a lot) about this, as this is not something one can cover in an internet thread (it took me a certain % of two years at school, there's more to it than meets the eye - literally)...