
Hi,
In an Apply To Each loop, I want to know if 'x task list' contains title by the name of 'name of task.' We will increment through all 40 variables (based on an Excel tables' rows), and I want to know if any of these 40 entries (tasks) exist on their respective Task Lists.
I CAN pull all tasks from the 'x task list' once for each increment. Then, I filter out completed tasks so we are only left with active tasks.
NEXT, I WANT TO check if my current item in the Apply to Each loop is contained within this 'x task list.'
List tasks and filtering them results in an ARRAY. I want to know if 'x task list' contains my current Apply to Each item's TITLE.
I can clearly see the outputs of 'x task list' and how it does include that task. YET, my CONDITION is not recognizing this.
I figure my issue is with the condition, but who knows. Please advise.
createarray is from the Filter Array 4 output. The Condition says [does output of filter 4, in array form, contain the 'name of task' as indicated by the current item in the Apply to Each?].
Next, run history.
My CreateArray output CLEARLY has 'block - rr update' in it. Yet, my condition rings 'false.' Next, my Flow creates a task with that title, because the condition is false. Intentionally, the condition should ring 'true' in this case.
Thoughts? How can I access only the 'title' field in the array, comparing my 'name of task' to all titles?
-R
To answer my own question, I found my answer here: https://powerusers.microsoft.com/t5/General-Power-Automate/How-to-validate-if-a-item-exists-in-array-of-objects/td-p/1212407
...like so.