I have a forloop on which the EvalExpression is like below -
(@[User::Sales] == 1 || DATEPART("hh", GETDATE()) >= 22) ? "False":"True"
leaving InitExpression and AssignExpression blank.
so, my req is either of the above evaluates to true then the loop needs to break.
The process will come out of loop if the boolean evaluates to false. So, the executeSQL task inside the forloop is assigning "1" to @[User::Sales] and I expect it to break the loop and proceed further. But, the loop is still continuing endlessly. Please let me know If I am missing anything. thank you.