var analysis = sociologyanalysismodule.startfromthetop(datacollectionprocedure, (procedure) => { while(!procedure.complete) { if(procedure.currentstep.isunreachable) { procedure.leaveoutcurrentstep(); procedure.continuewithnextstep(); } else { procedure.executecurrentstep(); } if(procedure.ispreexpiration()) break; } return procedure.generatereport("positiveoutcome"); });