private String getForLoopCondition(int loopCount) {
        return "if ( $."
                + getTaskReferenceName()
                + "['iteration'] < "
                + loopCount
                + ") { true; } else { false; }";
    }
Similar to a for loop, run tasks for N times

@param taskReferenceName
@param loopCount
@param tasks
java-sdk/src/main/java/com/netflix/conductor/sdk/workflow/def/tasks/DoWhile.java