What are the different ways in which a matter can be decided without going to trial?

(1) Mutual agreement between the parties involved, without judicial intervention. (2) Court ordered mediation or arbitration. (3) Civil suit in court.