In most jurisdictions, mediation is mandatory before the court will proceed to trial. If it is not mandatory, your attorney can file a motion to request the judge order mediation.