*8212* allow flexible stage list in workflow