The first goal of mediation is to settle the lawsuit for the best possible result and avoid a trial. Mediation is also useful to educate the lawyers and the parties about the strengths and weaknesses of the case and the opinions of the other side. Where mediation is mandatory, the goal can be only to satisfy a judicial requirement to attend a mediation in order to be given a trial date.