userguideforsustainableliving.initialize(guidance => { guidance.addsteps("avoidprestartingorders", () => { for(int i = 0; i < orders.count; i++) { if(orders[i].status == orderstatus.prestarting) orders[i].status = orderstatus.barred; } }).continuewith("startoverfromthebeginning", () => sustainabilitypractices.refresh()); });