step a; testBlock("Block1",checkSomething) step b; } #### step a; if(checkSomething){ step b; }else{ print "Not running step b as checkSomething failed" }