added resetWorkFlow