[SalesForce] Call pagereference method from Trigger

Can I call pagereference method from trigger.
I tried to call but I got nullPointerException.

Best Answer

You shouldn't really do this. In this post you can find some explanations why. But basically trigger runs behind the scene so users can't see it and be redirected from there.