This example uses an oncreate script on the group to determine whether to do a page break or not. To get to the script select the group in the outline view and then click the script tab in report editor. The script looks like:
if( this.getRowData().getColumnValue("ORDERNUMBER") == 10104 ){
this.getStyle().pageBreakBefore = "always";
}