I have a little problem with my flow and hope someone can help me.
The workflow is started as soon as someone adds a new entry in the calendar.
Captured are Start and End.
He should pay the days and put in a variable.
For more than 5 days an approval should be started. For less than 5 days, the entry should be added.
Unfortunately, he does not work the way I would like to.
As seen in the example, the loop runs for 4 days longer than it has to and thus goes into the Approval.
What am I doing wrong.
here my flow:







for the best Example i add a running flow with content to it.
start when create new entry in calandar


Variable intialize





here is my problem, the loop does not recognize the termination point



Thus, the conditions are also not correct and he runs into the approval.
Does anyone have an idea why this might be.