Creating ChainBuilder via Functional Interface

Thanks @slandelle ! . Just for anyone referring to this in the future, this worked :

scenario("Simulation")
.exec(jobReq.doUpdate)
       .doIf(session -> session.getInt("filteredCount")>0)
          .then(exec(approveJobReqs()));