The case will be dismissed if you file the petition and don’t show up. But, if your ex filed the petition and you don’t show up, the court may be considered a circumstantial admission of guilt, and the other party could win by default.