Hi,
I am going to say that what you have is not what you are explaining. And since your Condition is outside of an Apply to each , yes it will trigger ANOTHER apply to each.
1. You do not need arrays at all
2. You do not need more than 1 Apply to each
3. Creating the variable for Todays Date. Ok, not necessary, but ok
You were perfect until you added all that other stuff.
1. List rows (check)
2. Iterate Rows (check) (aka Apply to Each)
--Inside Apply to Each
2a. use Condition to check to see if you need to email them or not (TO BE ADDED) -- you have it but in the wrong place, it has to be inside and you
do not need arrays and stuff.
(Today + Add 180 Days) = Their Date and of course you only want the Date not the Times.
-Turn Today into a Date
addDays(formatDateTime(utcNow(), "yyyy-MM-dd"), 180)
is equal to
formatDateTime(theircolumndate, "yyyy-MM-dd")
2b. Send the Email (TO BE ADDED)
And bingo done.
Note, I dont see any tracking, and I definitely suggest you write to a list somewhere, that you did this and that the email was sent successful etc.